HomeFreeBSD

powerpc/booke: Use a pseudo-DMAP for the device mappings on booke64

Description

powerpc/booke: Use a pseudo-DMAP for the device mappings on booke64

Since powerpc64 has such a large virtual address space, significantly larger
than its physical address space, take advantage of this, and create yet
another DMAP-like instance for the device mappings. In this case, the
device mapping "DMAP" is in the 0x8000000000000000 - 0xc000000000000000
range, so as not to overlap the physical memory DMAP.

This will allow us to add TLB1 entry coalescing in the future, especially
useful for things like the radeonkms driver, which maps parts of the GPU at
a time, but eventually maps all of it, using up a lot of TLB1 entries (~40).

Details

Provenance
jhibbitsAuthored on
Parents
rS358304: [PowerPC] Fix LLD10 linking of ofw loader on ppc
Branches
Unknown
Tags
Unknown