Page MenuHomeFreeBSD

arm64/vmm: Move host-side EL2 regs into sys_regs
Needs ReviewPublic

Authored by kajetan.puchalski_arm.com on Tue, Apr 21, 11:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 3:24 PM
Unknown Object (File)
Thu, May 14, 3:35 PM
Unknown Object (File)
Thu, May 14, 11:36 AM
Unknown Object (File)
Thu, May 14, 8:22 AM
Unknown Object (File)
Thu, May 14, 6:50 AM
Unknown Object (File)
Thu, May 14, 3:48 AM
Unknown Object (File)
Wed, May 13, 10:17 PM
Unknown Object (File)
Wed, May 13, 9:10 PM
Subscribers

Details

Reviewers
andrew
manu
Group Reviewers
arm64
Summary

Move EL2 host registers that are not visible to the guest into
hypctx->sys_regs. Prefix them with HOST_ to distinguish from EL2
registers which are part of the guest's own state (e.g. in VNCR).

Signed-off-by: Kajetan Puchalski <kajetan.puchalski@arm.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72699
Build 69582: arc lint + arc unit

Event Timeline

Encode VNCR values into enum hypctx_sysreg as 64-bit offsets

Handle non-VHE, store the vncr page as a pointer

Address remaining style review comments

Use Static_assert to ensure correct struct hypctx size