x86/CPUID: CPUID parsing rework, p1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/cpuid: Make cpuinfo_x86.x86_vendor_id globalarch/ arch/ arch/ +4 more | +12 | 0 replies | |
| 2/3 | x86/cpuid: Get vendor ID on the BSParch/ | +10 | 0 replies | |
| 3/3 | x86/cpuid: Make cpuinfo_x86.x86_model_id globalarch/ arch/ arch/ +12 more | +35 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] x86/CPUID: CPUID parsing rework, p1
From: Borislav Petkov <[email protected]>
Hi all,
this is the beginning of a long conversion. The final goal is to have one global, read-only CPUID hierarchy representation in arch/x86/ to replace all the gazillion places where CPUID is read and thus slim a lot of code. And improve all that X86_FEATURE* diddling. We'll see...
Anyway, these are the first three patches slimming cpuinfo_x86 by 80 bytes per CPU, by making vendor ID and brand name global and __ro_after_init.
Comments, reviews, etc are welcome, as always.
Thx.
Borislav Petkov (3):
x86/cpuid: Make cpuinfo_x86.x86_vendor_id global x86/cpuid: Get vendor ID on the BSP x86/cpuid: Make cpuinfo_x86.x86_model_id global
arch/x86/include/asm/processor.h | 6 +-- arch/x86/kernel/asm-offsets_32.c | 1 - arch/x86/kernel/cpu/amd.c | 4 +- arch/x86/kernel/cpu/centaur.c | 2 +- arch/x86/kernel/cpu/common.c | 56 +++++++++++++++------------- arch/x86/kernel/cpu/cyrix.c | 7 ++-- arch/x86/kernel/cpu/intel.c | 2 +- arch/x86/kernel/cpu/proc.c | 4 +- arch/x86/kernel/head_32.S | 5 --- arch/x86/kernel/setup.c | 3 ++ drivers/cpufreq/powernow-k8.c | 2 +- drivers/cpufreq/speedstep-centrino.c | 6 +-- drivers/cpufreq/speedstep-lib.c | 2 +- drivers/edac/e752x_edac.c | 3 +- drivers/hwmon/coretemp.c | 2 +- drivers/hwmon/k10temp.c | 2 +- drivers/platform/x86/intel_ips.c | 6 +-- 17 files changed, 57 insertions(+), 56 deletions(-)
Signature · 1 line
2.19.1