Page MenuHomeFreeBSD

[PowerPC64LE] Radix fixes for LE
ClosedPublic

Authored by bdragon on Nov 11 2020, 6:41 PM.
Referenced Files
Unknown Object (File)
Tue, Nov 25, 10:33 AM
Unknown Object (File)
Thu, Nov 20, 11:27 PM
Unknown Object (File)
Thu, Nov 20, 11:23 PM
Unknown Object (File)
Thu, Nov 20, 11:17 PM
Unknown Object (File)
Thu, Nov 20, 11:12 PM
Unknown Object (File)
Sat, Nov 1, 8:03 AM
Unknown Object (File)
Oct 28 2025, 1:47 AM
Unknown Object (File)
Oct 22 2025, 1:13 AM
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 Skipped
Unit
Tests Skipped

Event Timeline

sys/powerpc/aim/mmu_radix.c
1823

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

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.