diff options
author | Ingo Molnar <mingo@kernel.org> | 2025-04-09 22:28:57 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-10 11:58:44 +0200 |
commit | 6fa17efe45440f43fa4e059d7a487179bbba053e (patch) | |
tree | 75c4e18e3ffd924f7690073fc587dd50f2e9163e /arch/x86/kernel/cpu/resctrl/core.c | |
parent | 6fe22abacd40e259fffec744a02d5ca3febccd68 (diff) |
x86/msr: Rename 'wrmsrl_safe()' to 'wrmsrq_safe()'
Suggested-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Xin Li <xin@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu/resctrl/core.c')
-rw-r--r-- | arch/x86/kernel/cpu/resctrl/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c index 6d408f78873c..280d6900726b 100644 --- a/arch/x86/kernel/cpu/resctrl/core.c +++ b/arch/x86/kernel/cpu/resctrl/core.c @@ -145,7 +145,7 @@ static inline void cache_alloc_hsw_probe(void) struct rdt_resource *r = &hw_res->r_resctrl; u64 max_cbm = BIT_ULL_MASK(20) - 1, l3_cbm_0; - if (wrmsrl_safe(MSR_IA32_L3_CBM_BASE, max_cbm)) + if (wrmsrq_safe(MSR_IA32_L3_CBM_BASE, max_cbm)) return; rdmsrq(MSR_IA32_L3_CBM_BASE, l3_cbm_0); |