Page MenuHomeFreeBSD

Restructure device mappings for Book-E.
ClosedPublic

Authored by jhibbits on Apr 5 2016, 12:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 11 2024, 8:30 PM
Unknown Object (File)
Nov 12 2023, 3:26 AM
Unknown Object (File)
Oct 11 2023, 2:47 AM
Unknown Object (File)
Oct 10 2023, 7:03 PM
Unknown Object (File)
Sep 30 2023, 4:04 PM
Unknown Object (File)
Jan 8 2023, 10:55 AM
Unknown Object (File)
Dec 19 2022, 12:17 PM
Unknown Object (File)
Nov 27 2022, 6:49 PM
Subscribers

Details

Summary

There is currently a 1GB hole between user and kernel address spaces
into which direct (1:1 PA:VA) device mappings go. This appears to go largely
unused, leaving all devices to contend with the 128MB block at the end of the
32-bit space (0xf8000000-0xffffffff). This easily fills up, and needs to be
densely packed. However, dense packing wastes precious TLB1 space, of which
there are only 16 (e500v2) or 64(e5500) entries available.

Change this by using the 1GB space for all device mappings, and allow the kernel
to use the entire upper 1GB for KVA. This also allows us to use sparse device
mappings, freeing up TLB entries.

Test Plan

Boot tested on p5020.

Diff Detail

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

Event Timeline

jhibbits retitled this revision from to Restructure device mappings for Book-E..
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added reviewers: PowerPC, marcel, nwhitehorn.
This revision was automatically updated to reflect the committed changes.