OrangePi_CM5/arch/x86/kernel/cpu/resctrl
Kohei Tarumizu 294395caac x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
[ Upstream commit 499c8bb4693d1c8d8f3d6dd38e5bdde3ff5bd906 ]

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: 018961ae55 ("x86/intel_rdt: Pseudo-lock region creation/removal core")
Fixes: 443810fe61 ("x86/intel_rdt: Create debugfs files for pseudo-locking testing")
Fixes: 8a2fc0e1bc ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:25:19 +02:00
..
Makefile
…
core.c x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails 2021-10-20 11:44:59 +02:00
ctrlmondata.c
…
internal.h
…
monitor.c x86/resctrl: Fix a maybe-uninitialized build warning treated as error 2021-09-15 09:50:47 +02:00
pseudo_lock.c x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register 2022-10-26 13:25:19 +02:00
pseudo_lock_event.h
…
rdtgroup.c x86/resctrl: Don't move a task to the same resource group 2021-01-12 20:18:23 +01:00