File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 337
337
#define X86_FEATURE_VIRT_SSBD (13*32+25) /* Virtualized Speculative Store Bypass Disable */
338
338
#define X86_FEATURE_AMD_SSB_NO (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */
339
339
#define X86_FEATURE_CPPC (13*32+27) /* Collaborative Processor Performance Control */
340
+ #define X86_FEATURE_AMD_PSFD (13*32+28) /* "" Predictive Store Forwarding Disable */
340
341
#define X86_FEATURE_BTC_NO (13*32+29) /* "" Not vulnerable to Branch Type Confusion */
341
342
#define X86_FEATURE_BRS (13*32+31) /* Branch Sampling available */
342
343
Original file line number Diff line number Diff line change @@ -60,12 +60,6 @@ u32 xstate_required_size(u64 xstate_bv, bool compacted)
60
60
return ret ;
61
61
}
62
62
63
- /*
64
- * This one is tied to SSB in the user API, and not
65
- * visible in /proc/cpuinfo.
66
- */
67
- #define KVM_X86_FEATURE_AMD_PSFD (13*32+28) /* Predictive Store Forwarding Disable */
68
-
69
63
#define F feature_bit
70
64
71
65
/* Scattered Flag - For features that are scattered by cpufeatures.h. */
@@ -715,7 +709,7 @@ void kvm_set_cpu_caps(void)
715
709
F (CLZERO ) | F (XSAVEERPTR ) |
716
710
F (WBNOINVD ) | F (AMD_IBPB ) | F (AMD_IBRS ) | F (AMD_SSBD ) | F (VIRT_SSBD ) |
717
711
F (AMD_SSB_NO ) | F (AMD_STIBP ) | F (AMD_STIBP_ALWAYS_ON ) |
718
- __feature_bit ( KVM_X86_FEATURE_AMD_PSFD )
712
+ F ( AMD_PSFD )
719
713
);
720
714
721
715
/*
You can’t perform that action at this time.
0 commit comments