aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode
diff options
context:
space:
mode:
authorKohei Tarumizu <tarumizu.kohei@fujitsu.com>2022-08-24 09:44:10 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2022-08-31 11:42:17 -0700
commit499c8bb4693d1c8d8f3d6dd38e5bdde3ff5bd906 (patch)
treeb6b1ab36b80d45f1e4e54e61ad4d659c298d5c42 /arch/x86/kernel/cpu/microcode
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
The current pseudo_lock.c code overwrites the value of the MSR_MISC_FEATURE_CONTROL to 0 even if the original value is not 0. Therefore, modify it to save and restore the original values. Fixes: 018961ae5579 ("x86/intel_rdt: Pseudo-lock region creation/removal core") Fixes: 443810fe6160 ("x86/intel_rdt: Create debugfs files for pseudo-locking testing") Fixes: 8a2fc0e1bc0c ("x86/intel_rdt: More precise L2 hit/miss measurements") Signed-off-by: Kohei Tarumizu <tarumizu.kohei@fujitsu.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lkml.kernel.org/r/eb660f3c2010b79a792c573c02d01e8e841206ad.1661358182.git.reinette.chatre@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
0 files changed, 0 insertions, 0 deletions