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
Unknown Object (File)
Feb 4 2024, 3:10 PM
Unknown Object (File)
Dec 28 2023, 8:11 AM
Unknown Object (File)
Dec 23 2023, 1:38 AM
Unknown Object (File)
Dec 12 2023, 6:24 PM
Unknown Object (File)
Sep 23 2023, 11:26 PM
Unknown Object (File)
Aug 31 2023, 2:53 PM
Unknown Object (File)
Aug 3 2023, 9:58 PM
Unknown Object (File)
Jun 14 2023, 1:43 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 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