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
F135903610: D24993.id72211.diff
Fri, Nov 14, 12:30 AM
F135897625: D24993.id72211.diff
Thu, Nov 13, 11:13 PM
Unknown Object (File)
Tue, Nov 4, 3:28 PM
Unknown Object (File)
Wed, Oct 29, 9:23 AM
Unknown Object (File)
Wed, Oct 29, 9:23 AM
Unknown Object (File)
Wed, Oct 29, 9:23 AM
Unknown Object (File)
Wed, Oct 29, 9:23 AM
Unknown Object (File)
Wed, Oct 29, 3:07 AM
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 31297
Build 28937: 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