Page MenuHomeFreeBSD

Only crop the VPN on POWER4 and derivatives for TLBIE operations
ClosedPublic

Authored by jhibbits on May 26 2018, 12:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 17, 12:55 AM
Unknown Object (File)
Tue, Jan 28, 9:50 PM
Unknown Object (File)
Jan 18 2025, 10:17 PM
Unknown Object (File)
Jan 10 2025, 8:13 AM
Unknown Object (File)
Jan 8 2025, 9:33 AM
Unknown Object (File)
Dec 24 2024, 10:41 PM
Unknown Object (File)
Dec 2 2024, 5:43 AM
Unknown Object (File)
Nov 22 2024, 6:09 PM
Subscribers

Details

Summary

PowerISA 2.03 and later require bits 14:65 in the RB register argument,
which is the full value of the vpn argument post-shift. Only POWER4, POWER4+,
and PPC970* need the upper 16 bits cropped.

With this change FreeBSD can boot to multi-user on POWER9.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16855
Build 16734: arc lint + arc unit

Event Timeline

On POWER9, I think the lock is unnecessary (the ISA spec doesn't mention it).

This revision is now accepted and ready to land.May 26 2018, 12:29 AM

On POWER9, I think the lock is unnecessary (the ISA spec doesn't mention it).

I can revisit that later. First make it work, then make it fast.

This revision was automatically updated to reflect the committed changes.