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
F174864457: D46081.id141262.diff
Tue, Oct 6, 3:26 PM
Unknown Object (File)
Mon, Oct 5, 11:08 AM
Unknown Object (File)
Mon, Oct 5, 1:13 AM
Unknown Object (File)
Mon, Oct 5, 12:42 AM
Unknown Object (File)
Sun, Oct 4, 11:54 PM
Unknown Object (File)
Wed, Sep 23, 2:00 AM
Unknown Object (File)
Wed, Sep 23, 2:00 AM
Unknown Object (File)
Wed, Sep 23, 1:54 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 58779
Build 55667: arc lint + arc unit