Page MenuHomeFreeBSD

[PowerPC64LE] Radix fixes for LE
ClosedPublic

Authored by bdragon on Nov 11 2020, 6:41 PM.
Referenced Files
Unknown Object (File)
Nov 20 2023, 12:32 AM
Unknown Object (File)
Nov 15 2023, 1:56 AM
Unknown Object (File)
Sep 6 2023, 7:01 AM
Unknown Object (File)
Sep 6 2023, 6:57 AM
Unknown Object (File)
Sep 6 2023, 6:55 AM
Unknown Object (File)
Sep 1 2023, 5:47 AM
Unknown Object (File)
Jun 25 2023, 11:38 PM
Unknown Object (File)
Jun 25 2023, 11:37 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.