]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/x86/include/asm/cpufeatures.h
x86/cpufeatures: Enumerate TSX suspend load address tracking instructions
authorKyung Min Park <kyung.min.park@intel.com>
Tue, 25 Aug 2020 00:47:57 +0000 (08:47 +0800)
committerBorislav Petkov <bp@suse.de>
Sun, 30 Aug 2020 15:43:40 +0000 (17:43 +0200)
commit18ec63faefb3fd311822556cd9b949f66b1eecee
tree579ea6408f5422315b5d5508b259939c7ca84341
parentb91e7089ae70d2f7c81a4456e5b78fef498663d9
x86/cpufeatures: Enumerate TSX suspend load address tracking instructions

Intel TSX suspend load tracking instructions aim to give a way to choose
which memory accesses do not need to be tracked in the TSX read set. Add
TSX suspend load tracking CPUID feature flag TSXLDTRK for enumeration.

A processor supports Intel TSX suspend load address tracking if
CPUID.0x07.0x0:EDX[16] is present. Two instructions XSUSLDTRK, XRESLDTRK
are available when this feature is present.

The CPU feature flag is shown as "tsxldtrk" in /proc/cpuinfo.

Signed-off-by: Kyung Min Park <kyung.min.park@intel.com>
Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/1598316478-23337-2-git-send-email-cathy.zhang@intel.com
arch/x86/include/asm/cpufeatures.h