|
@@ -63,4 +63,12 @@ static inline bool security_ftr_enabled(unsigned long feature)
|
|
|
// Firmware configuration indicates user favours security over performance
|
|
|
#define SEC_FTR_FAVOUR_SECURITY 0x0000000000000200ull
|
|
|
|
|
|
+
|
|
|
+// Features enabled by default
|
|
|
+#define SEC_FTR_DEFAULT \
|
|
|
+ (SEC_FTR_L1D_FLUSH_HV | \
|
|
|
+ SEC_FTR_L1D_FLUSH_PR | \
|
|
|
+ SEC_FTR_BNDS_CHK_SPEC_BAR | \
|
|
|
+ SEC_FTR_FAVOUR_SECURITY)
|
|
|
+
|
|
|
#endif /* _ASM_POWERPC_SECURITY_FEATURES_H */
|