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
F153988665: D56552.id176097.diff
Sat, Apr 25, 6:57 AM
F153985254: D56552.id176103.diff
Sat, Apr 25, 6:35 AM
F153985046: D56552.id175975.diff
Sat, Apr 25, 6:34 AM
Unknown Object (File)
Fri, Apr 24, 6:21 AM
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 72508
Build 69391: 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