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
F175286931: D23983.id69344.diff
Fri, Oct 9, 4:53 PM
F175268031: D23983.id69344.diff
Fri, Oct 9, 2:32 PM
F175267818: D23983.id69250.diff
Fri, Oct 9, 2:30 PM
F175219139: D23983.diff
Fri, Oct 9, 5:02 AM
Unknown Object (File)
Sun, Oct 4, 3:00 PM
Unknown Object (File)
Tue, Sep 29, 4:46 PM
Unknown Object (File)
Tue, Sep 22, 8:36 PM
Unknown Object (File)
Tue, Sep 22, 8:30 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #69250)

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