Page MenuHomeFreeBSD

[PowerPC64LE] Radix fixes for LE
ClosedPublic

Authored by bdragon on Nov 11 2020, 6:41 PM.
Referenced Files
Unknown Object (File)
Thu, Dec 19, 2:08 PM
Unknown Object (File)
Tue, Dec 17, 10:27 PM
Unknown Object (File)
Sun, Nov 24, 7:06 AM
Unknown Object (File)
Nov 6 2024, 2:53 PM
Unknown Object (File)
Oct 3 2024, 7:32 AM
Unknown Object (File)
Sep 27 2024, 11:04 PM
Unknown Object (File)
Sep 27 2024, 9:28 PM
Unknown Object (File)
Sep 27 2024, 3:48 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.