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)
Mon, Feb 10, 8:55 AM
Unknown Object (File)
Mon, Jan 27, 4:56 PM
Unknown Object (File)
Fri, Jan 24, 5:26 PM
Unknown Object (File)
Thu, Jan 23, 6:29 PM
Unknown Object (File)
Wed, Jan 15, 12:58 PM
Unknown Object (File)
Nov 25 2024, 1:39 AM
Unknown Object (File)
Nov 8 2024, 5:27 AM
Unknown Object (File)
Oct 31 2024, 5:48 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