aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorPawan Gupta <[email protected]>2020-01-10 14:50:54 -0800
committerThomas Gleixner <[email protected]>2020-01-17 19:13:46 +0100
commit5efc6fa9044c3356d6046c6e1da6d02572dbed6b (patch)
tree7800286c54cdec52b2c62bc2d76c1f9ab1d98b36 /scripts/gdb/linux/clk.py
parentb3a987b0264d3ddbb24293ebff10eddfc472f653 (diff)
x86/cpu: Update cached HLE state on write to TSX_CTRL_CPUID_CLEAR
/proc/cpuinfo currently reports Hardware Lock Elision (HLE) feature to be present on boot cpu even if it was disabled during the bootup. This is because cpuinfo_x86->x86_capability HLE bit is not updated after TSX state is changed via the new MSR IA32_TSX_CTRL. Update the cached HLE bit also since it is expected to change after an update to CPUID_CLEAR bit in MSR IA32_TSX_CTRL. Fixes: 95c5824f75f3 ("x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default") Signed-off-by: Pawan Gupta <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Neelima Krishnan <[email protected]> Reviewed-by: Dave Hansen <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/2529b99546294c893dfa1c89e2b3e46da3369a59.1578685425.git.pawan.kumar.gupta@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions