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.

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
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