Files
linux/arch/x86/kernel
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
..
2024-01-03 11:46:22 +01:00
2023-08-17 17:07:09 +02:00
2023-12-15 16:25:55 -08:00
2023-08-09 11:58:34 -07:00
2024-01-03 11:46:22 +01:00
2023-08-02 15:01:51 -07:00
2024-01-03 11:46:22 +01:00
2021-12-01 00:06:43 +01:00
2022-12-10 10:33:11 -06:00
2024-01-03 11:46:22 +01:00
2023-12-27 11:49:56 -05:00
2022-02-25 09:36:05 +01:00
2023-07-11 14:12:19 -07:00
2022-09-26 19:46:16 -07:00
2021-10-25 23:02:36 -04:00
2022-04-14 14:09:43 +02:00
2023-10-10 14:38:19 +02:00