Page MenuHomeFreeBSD

arm64/vmm: Update exception vectors around a guest
ClosedPublic

Authored by andrew on Jul 23 2024, 11:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 2:37 AM
Unknown Object (File)
Aug 8 2026, 6:20 PM
Unknown Object (File)
Aug 5 2026, 2:19 AM
Unknown Object (File)
Aug 4 2026, 5:56 AM
Unknown Object (File)
Jul 26 2026, 6:33 PM
Unknown Object (File)
Jul 25 2026, 10:15 AM
Unknown Object (File)
Jul 25 2026, 9:06 AM
Unknown Object (File)
Jul 22 2026, 11:10 PM
Subscribers

Details

Summary

When entering into a guest with VHE we need to switch from the kernel
exception vectors to the vmm exception vectors. The latter understands
an exception will be from a guest and can switch back to a kernel
context.

Rather than encoding the location of the kernel vectors we can just
read the value from vbar_el2 and restore it later.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable