mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
6c075777d5
In 4.14.57, a new symbol for Spectre v4 mitigation was introduced for
ARM64. Add this symbol to all ARM64 targets using kernel 4.14.
This mitigates CVE-2018-3639 on ARM64.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 77e3e706ce
)
110 lines
3.4 KiB
Plaintext
110 lines
3.4 KiB
Plaintext
CONFIG_64BIT=y
|
|
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
|
|
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
|
|
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
|
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
|
|
CONFIG_ARCH_HAS_KCOV=y
|
|
CONFIG_ARCH_MMAP_RND_BITS=18
|
|
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
|
|
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
|
|
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
|
|
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
|
|
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
|
|
CONFIG_ARCH_PROC_KCORE_TEXT=y
|
|
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
|
|
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
|
|
CONFIG_ARCH_SPARSEMEM_ENABLE=y
|
|
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
|
|
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
|
|
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
|
|
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
|
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
|
|
CONFIG_ARM64=y
|
|
# CONFIG_ARM64_16K_PAGES is not set
|
|
CONFIG_ARM64_4K_PAGES=y
|
|
# CONFIG_ARM64_64K_PAGES is not set
|
|
CONFIG_ARM64_CONT_SHIFT=4
|
|
# CONFIG_ARM64_CRYPTO is not set
|
|
# CONFIG_ARM64_HW_AFDBM is not set
|
|
# CONFIG_ARM64_LSE_ATOMICS is not set
|
|
CONFIG_ARM64_PAGE_SHIFT=12
|
|
# CONFIG_ARM64_PAN is not set
|
|
# CONFIG_ARM64_PMEM is not set
|
|
# CONFIG_ARM64_PTDUMP is not set
|
|
# CONFIG_ARM64_PTDUMP_CORE is not set
|
|
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
|
|
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
|
|
CONFIG_ARM64_SSBD=y
|
|
# CONFIG_ARM64_SW_TTBR0_PAN is not set
|
|
# CONFIG_ARM64_UAO is not set
|
|
CONFIG_ARM64_VA_BITS=39
|
|
CONFIG_ARM64_VA_BITS_39=y
|
|
# CONFIG_ARM64_VA_BITS_48 is not set
|
|
# CONFIG_ARM64_VHE is not set
|
|
CONFIG_ARM_AMBA=y
|
|
CONFIG_ARM_GIC_V3=y
|
|
# CONFIG_ARM_SP805_WATCHDOG is not set
|
|
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
|
|
# CONFIG_COMMON_CLK_VERSATILE is not set
|
|
CONFIG_COMMON_CLK_XGENE=y
|
|
# CONFIG_COMPAT is not set
|
|
# CONFIG_DEBUG_ALIGN_RODATA is not set
|
|
CONFIG_DWMAC_SUN8I=y
|
|
CONFIG_FRAME_POINTER=y
|
|
# CONFIG_FSL_ERRATUM_A008585 is not set
|
|
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
|
|
CONFIG_GENERIC_CSUM=y
|
|
CONFIG_GENERIC_IRQ_MIGRATION=y
|
|
CONFIG_HARDEN_BRANCH_PREDICTOR=y
|
|
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
|
|
CONFIG_HAVE_ARCH_HUGE_VMAP=y
|
|
CONFIG_HAVE_ARCH_KASAN=y
|
|
CONFIG_HAVE_ARCH_VMAP_STACK=y
|
|
CONFIG_HAVE_CMPXCHG_DOUBLE=y
|
|
CONFIG_HAVE_CMPXCHG_LOCAL=y
|
|
CONFIG_HAVE_DEBUG_BUGVERBOSE=y
|
|
CONFIG_HAVE_MEMORY_PRESENT=y
|
|
CONFIG_HAVE_PATA_PLATFORM=y
|
|
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
|
|
CONFIG_KERNEL_MODE_NEON=y
|
|
CONFIG_KVM_ARM_PMU=y
|
|
CONFIG_MDIO_BUS_MUX=y
|
|
CONFIG_MODULES_USE_ELF_RELA=y
|
|
CONFIG_NEED_SG_DMA_LENGTH=y
|
|
CONFIG_NO_IOPORT_MAP=y
|
|
# CONFIG_NUMA is not set
|
|
CONFIG_PARTITION_PERCPU=y
|
|
# CONFIG_PCI_DOMAINS is not set
|
|
# CONFIG_PHY_XGENE is not set
|
|
# CONFIG_PINCTRL_SUN4I_A10 is not set
|
|
CONFIG_PINCTRL_SUN50I_A64=y
|
|
CONFIG_PINCTRL_SUN50I_A64_R=y
|
|
CONFIG_PINCTRL_SUN50I_H5=y
|
|
# CONFIG_PINCTRL_SUN5I is not set
|
|
# CONFIG_PINCTRL_SUN6I_A31 is not set
|
|
# CONFIG_PINCTRL_SUN6I_A31_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_A23 is not set
|
|
# CONFIG_PINCTRL_SUN8I_A23_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_A33 is not set
|
|
# CONFIG_PINCTRL_SUN8I_A83T is not set
|
|
# CONFIG_PINCTRL_SUN8I_A83T_R is not set
|
|
# CONFIG_PINCTRL_SUN8I_H3 is not set
|
|
# CONFIG_PINCTRL_SUN8I_V3S is not set
|
|
# CONFIG_PINCTRL_SUN9I_A80 is not set
|
|
# CONFIG_PINCTRL_SUN9I_A80_R is not set
|
|
# CONFIG_RANDOMIZE_BASE is not set
|
|
CONFIG_REALTEK_PHY=y
|
|
# CONFIG_SERIAL_AMBA_PL011 is not set
|
|
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
|
|
CONFIG_SPARSEMEM=y
|
|
CONFIG_SPARSEMEM_EXTREME=y
|
|
CONFIG_SPARSEMEM_MANUAL=y
|
|
CONFIG_SPARSEMEM_VMEMMAP=y
|
|
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
|
|
CONFIG_SUN50I_A64_CCU=y
|
|
CONFIG_SYSCTL_EXCEPTION_TRACE=y
|
|
CONFIG_THREAD_INFO_IN_TASK=y
|
|
CONFIG_UNMAP_KERNEL_AT_EL0=y
|
|
CONFIG_VMAP_STACK=y
|