HomeFreeBSD

arm64: Add a macro to find a VM fault address

Description

arm64: Add a macro to find a VM fault address

Add a macro to find which bits from far_el2 are needed to be copied
to get the full intermediate physical address (IPA).

The hpfar_el2 register only contains a 4k aligned fault address. We
need to include the lower bits from far_el2 if we need the full
faulting IPA.

Details

Provenance
andrewAuthored on Feb 21 2024, 6:17 PM
Parents
rG9c52f98c9f1a: arm64: Add the TCR_EL2.PS mask
Branches
Unknown
Tags
Unknown