linux/arch/x86/kernel/cpu/resctrl
Tony Luck 1b908debf5 x86/resctrl: Fix unused variable warning in cache_alloc_hsw_probe()
In a "W=1" build gcc throws a warning:

  arch/x86/kernel/cpu/resctrl/core.c: In function ‘cache_alloc_hsw_probe’:
  arch/x86/kernel/cpu/resctrl/core.c:139:16: warning: variable ‘h’ set but not used

Switch from wrmsr_safe() to wrmsrl_safe(), and from rdmsr() to rdmsrl()
using a single u64 argument for the MSR value instead of the pair of u32
for the high and low halves.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Babu Moger <babu.moger@amd.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/r/ZULCd/TGJL9Dmncf@agluck-desk3
2024-01-22 19:54:54 +01:00
..
core.c x86/resctrl: Fix unused variable warning in cache_alloc_hsw_probe() 2024-01-22 19:54:54 +01:00
ctrlmondata.c x86/resctrl: Enable non-contiguous CBMs in Intel CAT 2023-10-11 21:48:52 +02:00
internal.h x86/resctrl: Display RMID of resource group 2023-10-17 14:05:40 +02:00
Makefile x86/resctrl: Avoid confusion over the new X86_RESCTRL config 2019-02-02 10:34:52 +01:00
monitor.c x86/resctrl: Fix kernel-doc warnings 2023-10-08 11:45:16 +02:00
pseudo_lock_event.h x86/resctrl: Rename and move rdt files to a separate directory 2018-11-22 20:16:18 +01:00
pseudo_lock.c x86/resctrl: make pseudo_lock_class a static const structure 2023-08-05 08:31:42 +02:00
rdtgroup.c x86/resctrl: Display RMID of resource group 2023-10-17 14:05:40 +02:00