diff options
author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2021-06-15 00:14:25 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-15 18:46:48 +0300 |
commit | 293649307ef9abcd4f83f6dac4d4400dfd97c936 (patch) | |
tree | 745286c3c1d2ef6bc847a92046bb619bb47d02f0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ad3c2e174938d72fded674acead42e2464a3b460 (diff) | |
download | linux-293649307ef9abcd4f83f6dac4d4400dfd97c936.tar.xz |
x86/tsx: Clear CPUID bits when TSX always force aborts
As a result of TSX deprecation, some processors always abort TSX
transactions by default after a microcode update.
When TSX feature cannot be used it is better to hide it. Clear CPUID.RTM
and CPUID.HLE bits when TSX transactions always abort.
[ bp: Massage commit message and comments. ]
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Tested-by: Neelima Krishnan <neelima.krishnan@intel.com>
Link: https://lkml.kernel.org/r/5209b3d72ffe5bd3cafdcc803f5b883f785329c3.1623704845.git-series.pawan.kumar.gupta@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions