Re: [RFC PATCH 4/4] x86/resctrl: Delete resctrl_cpu_detect()

From: Borislav Petkov

Date: Wed Aug 19 2026 - 16:09:15 EST


On Wed, Aug 19, 2026 at 09:13:22AM -0700, Tony Luck wrote:
> cpuinfo_x86::x86_cache_{max_rmid,occ_scale,mbm_width_offset} are no
> longer used.
>
> Delete resctrl_cpu_detect() and the fields from struct cpuinfo_x86.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
> arch/x86/include/asm/processor.h | 4 ---
> arch/x86/include/asm/resctrl.h | 3 ---
> arch/x86/kernel/cpu/amd.c | 3 ---
> arch/x86/kernel/cpu/hygon.c | 3 ---
> arch/x86/kernel/cpu/intel.c | 7 -----
> arch/x86/kernel/cpu/resctrl/core.c | 42 ------------------------------
> 6 files changed, 62 deletions(-)

I obviously love that patch!

Acked-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette