Page MenuHomeFreeBSD

arm64/vmm: Store non-VNCR registers in an array
Needs ReviewPublic

Authored by kajetan.puchalski_arm.com on Tue, Apr 21, 11:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 2:57 PM
Unknown Object (File)
Thu, May 14, 2:53 PM
Unknown Object (File)
Thu, May 14, 7:37 AM
Unknown Object (File)
Thu, May 14, 6:52 AM
Unknown Object (File)
Thu, May 14, 4:40 AM
Unknown Object (File)
Thu, May 14, 2:51 AM
Unknown Object (File)
Wed, May 13, 7:24 PM
Unknown Object (File)
Wed, May 13, 6:26 PM
Subscribers

Details

Reviewers
andrew
manu
Group Reviewers
arm64
Summary

Move non-VNCR EL0 and EL1 registers into a dedicated array inside of
hypctx. This enables uniform accesses to both VNCR and non-VNCR guest
register state through hypctx_[read|write]_sys_reg().

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 72696
Build 69579: arc lint + arc unit

Event Timeline

Update with changes to other commits in the stack

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