Page MenuHomeFreeBSD

arm64/vmm: Move vttbr_el2 & vtimer into struct hypctx
Needs ReviewPublic

Authored by kajetan.puchalski_arm.com on Tue, Apr 21, 11:09 AM.
Tags
None
Referenced Files
F154119329: D56554.id176260.diff
Sun, Apr 26, 8:00 AM
F154107889: D56554.id176254.diff
Sun, Apr 26, 6:15 AM
F154104710: D56554.id176276.diff
Sun, Apr 26, 5:40 AM
Unknown Object (File)
Sat, Apr 25, 5:47 AM
Unknown Object (File)
Sat, Apr 25, 5:23 AM
Unknown Object (File)
Sat, Apr 25, 5:03 AM
Unknown Object (File)
Fri, Apr 24, 7:25 AM
Unknown Object (File)
Fri, Apr 24, 6:00 AM
Subscribers

Details

Reviewers
andrew
manu
Group Reviewers
arm64
Summary

Move vttbr_el2 & vtimer from struct hyp into struct hypctx to streamline
the logic and handle them in the same way as other *_el2 registers are
already being handled.

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 72438
Build 69321: 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