x86, pkeys: fix prefetch/pkeys interaction
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86, tracing: fix x86 exceptions trace headerarch/ | +1 | 1 reply | |
| 2/3 | x86: add some better documentation for probe_kernel_address()include/ | +8 | 3 replies | |
| 3/3 | x86, pkeys: allow instruction fetches in presence of pkeysarch/ | +49 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Steven Rostedt |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] x86, pkeys: fix prefetch/pkeys interaction
The first two patches here are useful in any case, I think.
But, as for the third: There are no known prefetch errata on processors that support memory protection keys. There have not been any that I can find in any recent generations, either.
But, if there were a future erratum, we would need this. Otherwise, apps who hit the theoretical erratum and used pkeys would not be fixed up by the prefetch erratum detection code.
It also occurs to me that *if* there were an erratum on a modern CPU, we might not know because we have so many workarounds in place.
So, I'm submitting this, but I don't feel that strongly about it. It doesn't fix a real problem, but it's also not that much code, or in any kind of fast path.