Page MenuHomeFreeBSD

[PowerPC64LE] Radix fixes for LE
ClosedPublic

Authored by bdragon on Nov 11 2020, 6:41 PM.
Referenced Files
Unknown Object (File)
Mon, Sep 29, 8:56 AM
Unknown Object (File)
Aug 22 2025, 4:03 AM
Unknown Object (File)
Aug 15 2025, 7:28 PM
Unknown Object (File)
Aug 5 2025, 2:05 AM
Unknown Object (File)
Jul 17 2025, 12:05 PM
Unknown Object (File)
Jul 15 2025, 1:20 PM
Unknown Object (File)
Jul 12 2025, 9:09 AM
Unknown Object (File)
Jul 6 2025, 5:51 PM
Subscribers

Details

Summary

There were many, many endianness fixes needed for Radix MMU. Every interaction with PTE memory was wrong.

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/powerpc/aim/mmu_radix.c
1823 ↗(On Diff #79437)

This bit is a bugfix I noticed while doing readthroughs. I will probably commit it separately.

This revision is now accepted and ready to land.Nov 11 2020, 10:48 PM

Wow, that's really a lot of endianness fixes, nice job!

It looks good to me.

sys/powerpc/aim/mmu_radix.c
2638–2661 ↗(On Diff #79437)

This part is a fix for both LE and BE, right?
It could be moved to another diff, but I'm fine with leaving it as part of this one too.

This revision was automatically updated to reflect the committed changes.