lkml.org 
[lkml]   [2020]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH 3/3] x86/cpufeatures: Enumerate TSX suspend load address tracking instructions
    Date
    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.

    Detailed information on the instructions and CPUID feature flag TSXLDTRK
    can be found in the latest Intel Architecture Instruction Set Extensions
    and Future Features Programming Reference and Intel 64 and IA-32
    Architectures Software Developer's Manual.

    Signed-off-by: Kyung Min Park <kyung.min.park@intel.com>
    ---
    arch/x86/include/asm/cpufeatures.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h
    index cd9b1ec022ec..8d850d58ea3b 100644
    --- a/arch/x86/include/asm/cpufeatures.h
    +++ b/arch/x86/include/asm/cpufeatures.h
    @@ -365,6 +365,7 @@
    #define X86_FEATURE_MD_CLEAR (18*32+10) /* VERW clears CPU buffers */
    #define X86_FEATURE_TSX_FORCE_ABORT (18*32+13) /* "" TSX_FORCE_ABORT */
    #define X86_FEATURE_SERIALIZE (18*32+14) /* SERIALIZE instruction */
    +#define X86_FEATURE_TSXLDTRK (18*32+16) /* TSX Suspend Load Address Tracking */
    #define X86_FEATURE_PCONFIG (18*32+18) /* Intel PCONFIG */
    #define X86_FEATURE_SPEC_CTRL (18*32+26) /* "" Speculation Control (IBRS + IBPB) */
    #define X86_FEATURE_INTEL_STIBP (18*32+27) /* "" Single Thread Indirect Branch Predictors */
    --
    2.17.1
    \
     
     \ /
      Last update: 2020-06-10 22:22    [W:2.759 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site