From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] kernel: enable CONFIG_RETPOLINE on aarch64 and armv5tel Date: Tue, 09 Jun 2020 17:23:40 +0000 Message-ID: <5074b6b4-3a7e-4c31-7b47-39a3c6f4241c@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1806813415158908807==" List-Id: --===============1806813415158908807== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Since there seems to be no consistent position for that directive, the current approach is rather messy as it attempts to insert it near CONFIG_SMP (found and enabled across all architectures). When in Rome... Fixes: #12374 Cc: Arne Fitzenreiter Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.aarch64-ipfire | 1 + config/kernel/kernel.config.armv5tel-ipfire-multi | 1 + 2 files changed, 2 insertions(+) diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kerne= l.config.aarch64-ipfire index e0f2f6df8..8301c51bf 100644 --- a/config/kernel/kernel.config.aarch64-ipfire +++ b/config/kernel/kernel.config.aarch64-ipfire @@ -28,6 +28,7 @@ CONFIG_ARCH_DMA_ADDR_T_64BIT=3Dy CONFIG_NEED_DMA_MAP_STATE=3Dy CONFIG_NEED_SG_DMA_LENGTH=3Dy CONFIG_SMP=3Dy +CONFIG_RETPOLINE=3Dy CONFIG_SWIOTLB=3Dy CONFIG_IOMMU_HELPER=3Dy CONFIG_KERNEL_MODE_NEON=3Dy diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi b/config/kerne= l/kernel.config.armv5tel-ipfire-multi index 15183300f..1aca28d01 100644 --- a/config/kernel/kernel.config.armv5tel-ipfire-multi +++ b/config/kernel/kernel.config.armv5tel-ipfire-multi @@ -762,6 +762,7 @@ CONFIG_PCI_HOST_GENERIC=3Dy CONFIG_HAVE_SMP=3Dy CONFIG_SMP=3Dy CONFIG_SMP_ON_UP=3Dy +CONFIG_RETPOLINE=3Dy CONFIG_ARM_CPU_TOPOLOGY=3Dy CONFIG_SCHED_MC=3Dy CONFIG_SCHED_SMT=3Dy --=20 2.26.2 --===============1806813415158908807==--