HomeFreeBSD

riscv: fix vm.pmap.kernel_maps with Sv48

Description

riscv: fix vm.pmap.kernel_maps with Sv48

With 4-level paging enabled, the layout of KVA is identical, but we need
to step through an extra level to find the L1 table.

Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45473

Details

Provenance
mhorneAuthored on Jun 4 2024, 11:18 PM
Reviewer
markj
Differential Revision
D45473: riscv: fix vm.pmap.kernel_maps with Sv48
Parents
rG191bf63da255: riscv: Move sigcode out of locore.S
Branches
Unknown
Tags
Unknown