HomeFreeBSD

[PowerPC64LE] Radix MMU fixes for LE.

Description

[PowerPC64LE] Radix MMU fixes for LE.

There were many, many endianness fixes needed for Radix MMU. The Radix
pagetable is stored in BE (as it is read and written to by the MMU hw),
so we need to convert back and forth every time we interact with it when
running in LE.

With these changes, I can successfully boot with radix enabled on POWER9 hw.

Reviewed by: luporl, jhibbits
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D27181

Details

Provenance
bdragonAuthored on
Reviewer
luporl
Differential Revision
D27181: [PowerPC64LE] Radix fixes for LE
Parents
rS367643: [PowerPC] Allow traversal of oversize OF properties.
Branches
Unknown
Tags
Unknown