aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeontx
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-04-26 22:25:11 +0200
committerMathias Kresin <dev@kresin.me>2018-04-27 21:34:18 +0200
commit3877550114c37be4dfcb6dce7f28ef5400529326 (patch)
tree79b9e6f140ac4ebed0a520c6cc39b57d7ce16add /target/linux/octeontx
parent25f47c7bf938fd934575015fd032d0145806c3f7 (diff)
downloadupstream-3877550114c37be4dfcb6dce7f28ef5400529326.tar.gz
upstream-3877550114c37be4dfcb6dce7f28ef5400529326.tar.bz2
upstream-3877550114c37be4dfcb6dce7f28ef5400529326.zip
arm64: enable harden branch predictor
Enable the harden branch predictor for arm64 as it is recommend. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/octeontx')
-rw-r--r--target/linux/octeontx/config-4.142
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14
index 6e70c9d327..b2ea99be0a 100644
--- a/target/linux/octeontx/config-4.14
+++ b/target/linux/octeontx/config-4.14
@@ -253,6 +253,7 @@ CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_THUNDERX=y
# CONFIG_GRO_CELLS is not set
CONFIG_HANDLE_DOMAIN_IRQ=y
+CONFIG_HARDEN_BRANCH_PREDICTOR=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_HAS_DMA=y
CONFIG_HAS_IOMEM=y
@@ -513,6 +514,7 @@ CONFIG_TASK_XACCT=y
CONFIG_TEE=y
CONFIG_THIN_ARCHIVES=y
CONFIG_THREAD_INFO_IN_TASK=y
+CONFIG_UNMAP_KERNEL_AT_EL0=y
CONFIG_THUNDER_NIC_BGX=y
CONFIG_THUNDER_NIC_PF=y
CONFIG_THUNDER_NIC_RGX=y