Page MenuHomeFreeBSD

[PowerPC64LE] Radix fixes for LE
ClosedPublic

Authored by bdragon on Nov 11 2020, 6:41 PM.
Referenced Files
Unknown Object (File)
Tue, Jul 28, 8:51 PM
Unknown Object (File)
Sun, Jul 26, 3:40 PM
Unknown Object (File)
Fri, Jul 24, 3:47 PM
Unknown Object (File)
Wed, Jul 22, 9:26 AM
Unknown Object (File)
Tue, Jul 21, 3:45 PM
Unknown Object (File)
Sat, Jul 18, 10:12 AM
Unknown Object (File)
Fri, Jul 17, 11:35 PM
Unknown Object (File)
Thu, Jul 16, 2:55 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 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.