aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2020-05-05 15:36:18 -0700
committerBorislav Petkov <bp@suse.de>2020-05-06 18:08:32 +0200
commit0c4d5ba1b998e713815b7790d3db6ced0ae49489 (patch)
treea3505b4a0a63ef801deae4d6e9c12ca033ff61e1 /arch/powerpc/kernel/vmlinux.lds.S
parentx86/resctrl: Support CPUID enumeration of MBM counter width (diff)
downloadwireguard-linux-0c4d5ba1b998e713815b7790d3db6ced0ae49489.tar.xz
wireguard-linux-0c4d5ba1b998e713815b7790d3db6ced0ae49489.zip
x86/resctrl: Support wider MBM counters
The original Memory Bandwidth Monitoring (MBM) architectural definition defines counters of up to 62 bits in the IA32_QM_CTR MSR while the first-generation MBM implementation uses statically defined 24 bit counters. The MBM CPUID enumeration properties have been expanded to include the MBM counter width, encoded as an offset from 24 bits. While eight bits are available for the counter width offset IA32_QM_CTR MSR only supports 62 bit counters. Add a sanity check, with warning printed when encountered, to ensure counters cannot exceed the 62 bit limit. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/69d52abd5b14794d3a0f05ba7c755ed1f4c0d5ed.1588715690.git.reinette.chatre@intel.com
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions