x86, microcode: Reload ucode only per-system
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86, microcode: Sanitize per-cpu microcode reloading interfacearch/ | +19 | 10 replies | |
| 2/2 | x86, microcode: Make reload interface per systemarch/ | +28 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra | Borislav Petkov |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v2 0/2] x86, microcode: Reload ucode only per-system
From: Borislav Petkov <[email protected]>
Ok, here's the second version with all review comments addressed. I've dropped the stable tag since this has been that way (and b0rked) since forever so stable rules don't apply.
We can probably do single backports if distros want it.
Changelog:
-v1:
Once upon a time there was this microcode reloading interface /sys/devices/system/cpu/cpuX/microcode/reload, where X is an online cpu on the system, which allowed the loading of microcode in a per-cpu manner.
This had problems like having different ucode revisions on an otherwise homogeneous system and needed O(n^2) overhead when tracking minimum microcode revision per-core.
So make this interface per-system so that it does microcode reloading on the whole system only.
Single commit messages have more info too.
The first patch has a stable tag which I'd like to see in stable but since it is not fixing a direct regression, I'd like to not push it upstream now but have it get tested in linux-next and go upstream during the next merge window from where it can trickle slowly to stable.
Patches have been tested on all AMD families, it wouldn't hurt if it saw some Intel testing too, although it should just work.
Holler if you see regressions/problems with it.
Thanks.