1*9a868f63SMichael Ellerman // SPDX-License-Identifier: GPL-2.0+ 2*9a868f63SMichael Ellerman // 3*9a868f63SMichael Ellerman // Security related flags and so on. 4*9a868f63SMichael Ellerman // 5*9a868f63SMichael Ellerman // Copyright 2018, Michael Ellerman, IBM Corporation. 6*9a868f63SMichael Ellerman 7*9a868f63SMichael Ellerman #include <linux/kernel.h> 8*9a868f63SMichael Ellerman #include <asm/security_features.h> 9*9a868f63SMichael Ellerman 10*9a868f63SMichael Ellerman 11*9a868f63SMichael Ellerman unsigned long powerpc_security_features __read_mostly = \ 12*9a868f63SMichael Ellerman SEC_FTR_L1D_FLUSH_HV | \ 13*9a868f63SMichael Ellerman SEC_FTR_L1D_FLUSH_PR | \ 14*9a868f63SMichael Ellerman SEC_FTR_BNDS_CHK_SPEC_BAR | \ 15*9a868f63SMichael Ellerman SEC_FTR_FAVOUR_SECURITY; 16