lkml.org 
[lkml]   [2022]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v5 02/13] x86/cpufeatures: add AMD Fam19h Branch Sampling feature
    From
    This patch adds a cpu feature for AMD Fam19h Branch Sampling feature as bit
    31 of EBX on CPUID leaf function 0x80000008.

    Signed-off-by: Stephane Eranian <eranian@google.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 6db4e2932b3d..1533b3204a6c 100644
    --- a/arch/x86/include/asm/cpufeatures.h
    +++ b/arch/x86/include/asm/cpufeatures.h
    @@ -318,6 +318,7 @@
    #define X86_FEATURE_VIRT_SSBD (13*32+25) /* Virtualized Speculative Store Bypass Disable */
    #define X86_FEATURE_AMD_SSB_NO (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
    #define X86_FEATURE_CPPC (13*32+27) /* Collaborative Processor Performance Control */
    +#define X86_FEATURE_BRS (13*32+31) /* Branch Sampling available */

    /* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */
    #define X86_FEATURE_DTHERM (14*32+ 0) /* Digital Thermal Sensor */
    --
    2.35.0.rc0.227.g00780c9af4-goog
    \
     
     \ /
      Last update: 2022-01-27 00:36    [W:4.904 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site