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
F157002944: D15581.diff
Sun, May 17, 9:54 PM
F156959296: D15581.id43026.diff
Sun, May 17, 3:59 PM
Unknown Object (File)
Tue, May 12, 8:43 AM
Unknown Object (File)
Wed, May 6, 10:17 PM
Unknown Object (File)
Fri, May 1, 11:22 AM
Unknown Object (File)
Thu, Apr 30, 8:42 AM
Unknown Object (File)
Sat, Apr 25, 8:09 AM
Unknown Object (File)
Apr 14 2026, 12:17 AM
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 Not Applicable
Unit
Tests Not Applicable

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.