Page MenuHomeFreeBSD

powerpc/booke: Split out 32- and 64- bit pmap details from main body
ClosedPublic

Authored by jhibbits on Mar 6 2020, 2:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 27, 5:41 AM
Unknown Object (File)
Thu, Mar 26, 11:38 AM
Unknown Object (File)
Sun, Mar 22, 7:43 AM
Unknown Object (File)
Fri, Mar 20, 7:24 AM
Unknown Object (File)
Fri, Mar 20, 7:23 AM
Unknown Object (File)
Fri, Mar 20, 7:23 AM
Unknown Object (File)
Thu, Mar 19, 5:05 AM
Unknown Object (File)
Tue, Mar 17, 5:59 AM
Subscribers

Details

Summary

This is largely a straight-forward cleave of the 32-bit and 64-bit page
table specifics, along with the mmu_booke_*() functions that are wholely
different between the two implementations.

The ultimate goal of this is to make it easier to reason about and
update a specific implementation without wading through the other
implementation details. This is in support of changing the page table
format for 64-bit to a 4-level full hierarchical page table, instead of
the current hashed top level with holes.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29819
Build 27647: arc lint + arc unit

Event Timeline

I definitely approve conceptually.

Haven't had a chance to properly test this on the x5000 and rb800 yet, but will try to get to it.

Compiles and boots on RB800 and X5000, and is a lot easier to reason about than the combined version.

This revision is now accepted and ready to land.Mar 9 2020, 6:36 PM
sys/powerpc/booke/pmap_64.c
39

Should verify and move these notes to pmap_32.c. Can be done in a later revision just as easily though.