]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/powerpc/kernel/security.c
powerpc: Add security feature flags for Spectre/Meltdown
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / kernel / security.c
1 // SPDX-License-Identifier: GPL-2.0+
2 //
3 // Security related flags and so on.
4 //
5 // Copyright 2018, Michael Ellerman, IBM Corporation.
6
7 #include <linux/kernel.h>
8 #include <asm/security_features.h>
9
10
11 unsigned long powerpc_security_features __read_mostly = \
12 SEC_FTR_L1D_FLUSH_HV | \
13 SEC_FTR_L1D_FLUSH_PR | \
14 SEC_FTR_BNDS_CHK_SPEC_BAR | \
15 SEC_FTR_FAVOUR_SECURITY;