[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181114212843.16954-1-bp@alien8.de>
Date: Wed, 14 Nov 2018 22:28:40 +0100
From: Borislav Petkov <bp@...en8.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: X86 ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] x86/CPUID: CPUID parsing rework, p1
From: Borislav Petkov <bp@...e.de>
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(-)
--
2.19.1
Powered by blists - more mailing lists