Skip to content

Commit a77d41a

Browse files
Stephane EranianPeter Zijlstra
authored andcommitted
x86/cpufeatures: Add AMD Fam19h Branch Sampling feature
Add a cpu feature for AMD Fam19h Branch Sampling feature as bit 31 of EBX on CPUID leaf function 0x80000008. Signed-off-by: Stephane Eranian <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bfe4daf commit a77d41a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/include/asm/cpufeatures.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@
315315
#define X86_FEATURE_VIRT_SSBD (13*32+25) /* Virtualized Speculative Store Bypass Disable */
316316
#define X86_FEATURE_AMD_SSB_NO (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
317317
#define X86_FEATURE_CPPC (13*32+27) /* Collaborative Processor Performance Control */
318+
#define X86_FEATURE_BRS (13*32+31) /* Branch Sampling available */
318319

319320
/* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */
320321
#define X86_FEATURE_DTHERM (14*32+ 0) /* Digital Thermal Sensor */

0 commit comments

Comments
 (0)