RFC x86, CPU: Run stuff on the BSP
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86, CPU: Drop second get_cpu_cap prototypearch/ | +0 | 0 replies | |
| 2/2 | x86, cpu, amd: Add a per-vendor BSP functionarch/ arch/ arch/ | +20 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/2] x86, CPU: Run stuff on the BSP
From: Borislav Petkov <[email protected]>
Ok,
this is just an RFC and it builds but no further tests have been done on it. The first patch is a trivial cleanup and can go in.
For the second one I opted to look at c->x86_vendor in cpu/common.c which is not very clean but still simpler than adding a miscellaneous struct to contain the ->run_on_bsp() pointer and be statically allocated as __initdata, in the cpu_dev fashion. We can always do that later if there's more ofthe similar functionality needed.
Hmm, so please take a look and let me know if this is going in the right direction.
Thanks.