lkml.org 
[lkml]   [2023]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH RESEND v9 04/36] x86/cpufeatures: Add the cpu feature bit for FRED
    Date
    From: "H. Peter Anvin (Intel)" <hpa@zytor.com>

    Add the CPU feature bit for FRED.

    Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
    Tested-by: Shan Kang <shan.kang@intel.com>
    Signed-off-by: Xin Li <xin3.li@intel.com>
    ---
    arch/x86/include/asm/cpufeatures.h | 1 +
    tools/arch/x86/include/asm/cpufeatures.h | 1 +
    2 files changed, 2 insertions(+)

    diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h
    index cb8ca46213be..fd3ddd5c0283 100644
    --- a/arch/x86/include/asm/cpufeatures.h
    +++ b/arch/x86/include/asm/cpufeatures.h
    @@ -317,6 +317,7 @@
    #define X86_FEATURE_FZRM (12*32+10) /* "" Fast zero-length REP MOVSB */
    #define X86_FEATURE_FSRS (12*32+11) /* "" Fast short REP STOSB */
    #define X86_FEATURE_FSRC (12*32+12) /* "" Fast short REP {CMPSB,SCASB} */
    +#define X86_FEATURE_FRED (12*32+17) /* Flexible Return and Event Delivery */
    #define X86_FEATURE_LKGS (12*32+18) /* "" Load "kernel" (userspace) GS */
    #define X86_FEATURE_AMX_FP16 (12*32+21) /* "" AMX fp16 Support */
    #define X86_FEATURE_AVX_IFMA (12*32+23) /* "" Support for VPMADD52[H,L]UQ */
    diff --git a/tools/arch/x86/include/asm/cpufeatures.h b/tools/arch/x86/include/asm/cpufeatures.h
    index cb8ca46213be..fd3ddd5c0283 100644
    --- a/tools/arch/x86/include/asm/cpufeatures.h
    +++ b/tools/arch/x86/include/asm/cpufeatures.h
    @@ -317,6 +317,7 @@
    #define X86_FEATURE_FZRM (12*32+10) /* "" Fast zero-length REP MOVSB */
    #define X86_FEATURE_FSRS (12*32+11) /* "" Fast short REP STOSB */
    #define X86_FEATURE_FSRC (12*32+12) /* "" Fast short REP {CMPSB,SCASB} */
    +#define X86_FEATURE_FRED (12*32+17) /* Flexible Return and Event Delivery */
    #define X86_FEATURE_LKGS (12*32+18) /* "" Load "kernel" (userspace) GS */
    #define X86_FEATURE_AMX_FP16 (12*32+21) /* "" AMX fp16 Support */
    #define X86_FEATURE_AVX_IFMA (12*32+23) /* "" Support for VPMADD52[H,L]UQ */
    --
    2.34.1
    \
     
     \ /
      Last update: 2023-08-01 11:04    [W:2.930 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site