Page MenuHomeFreeBSD

powerpc/pmap: Convert all PowerPC pmaps to use IFUNCs instead of kobj
ClosedPublic

Authored by jhibbits on May 25 2020, 3:21 AM.
Tags
None
Referenced Files
F154444790: D24993.id72247.diff
Tue, Apr 28, 2:48 PM
F154444704: D24993.id72211.diff
Tue, Apr 28, 2:47 PM
Unknown Object (File)
Mon, Apr 27, 2:09 PM
Unknown Object (File)
Tue, Apr 21, 5:35 PM
Unknown Object (File)
Mon, Apr 20, 6:40 AM
Unknown Object (File)
Mon, Apr 20, 1:33 AM
Unknown Object (File)
Sun, Apr 12, 5:44 AM
Unknown Object (File)
Thu, Apr 9, 10:16 PM
Subscribers
None

Details

Reviewers
nwhitehorn
bdragon
luporl
Group Reviewers
PowerPC
Summary

Since we have ifuncs in kernel now, use them for pmap, instead of our
poor-man's version of singleton kobjs. At the very least, this saves
one extra register stomp in the KPIs.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 31315
Build 28953: arc lint + arc unit

Event Timeline

jhibbits created this revision.

Fix bugs caused by my misunderstanding of how ifuncs work.

After a couple of days of debugging stuff to fix unrelated problems:

works on powerpc AIM32 (PowerPC G4)
works on powerpcspe (e500v2)
works on powerpc64 Book-E (e5500)

Have not tested AIM64 yet.

Tested in AIM64 (in my superglue branch, but should be a valid test anyway)

Also gave it a couple of skims through.

This revision is now accepted and ready to land.May 27 2020, 12:58 AM