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)
Thu, Sep 11, 8:26 AM
Unknown Object (File)
Thu, Sep 11, 2:17 AM
Unknown Object (File)
Sep 1 2025, 11:01 AM
Unknown Object (File)
Sep 1 2025, 12:18 AM
Unknown Object (File)
Aug 14 2025, 11:50 PM
Unknown Object (File)
Jul 7 2025, 8:57 AM
Unknown Object (File)
Jul 5 2025, 10:26 PM
Unknown Object (File)
Jul 5 2025, 10:52 AM
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