linux/arch/arm64/kernel
Walter Wu 02c587733c kasan: remove redundant config option
CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN stack
instrumentation, but we should only need one config, so that we remove
CONFIG_KASAN_STACK_ENABLE and make CONFIG_KASAN_STACK workable.  see [1].

When enable KASAN stack instrumentation, then for gcc we could do no
prompt and default value y, and for clang prompt and default value n.

This patch fixes the following compilation warning:

  include/linux/kasan.h:333:30: warning: 'CONFIG_KASAN_STACK' is not defined, evaluates to 0 [-Wundef]

[akpm@linux-foundation.org: fix merge snafu]

Link: https://bugzilla.kernel.org/show_bug.cgi?id=210221 [1]
Link: https://lkml.kernel.org/r/20210226012531.29231-1-walter-zh.wu@mediatek.com
Fixes: d9b571c885 ("kasan: fix KASAN_STACK dependency for HW_TAGS")
Signed-off-by: Walter Wu <walter-zh.wu@mediatek.com>
Suggested-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-16 16:10:36 -07:00
..
probes arm64: kprobes: Restore local irqflag if kprobes is cancelled 2021-04-13 09:30:16 +01:00
vdso clang-lto series for v5.12-rc1 2021-02-23 09:28:51 -08:00
vdso32 arm64: do not descend to vdso directories twice 2021-01-20 12:18:46 +00:00
.gitignore
acpi_numa.c arm64, numa: Change the numa init functions name to be generic 2021-01-14 15:08:54 -08:00
acpi_parking_protocol.c
acpi.c
alternative.c arm64: improve whitespace 2021-02-04 13:59:49 +00:00
armv8_deprecated.c arm64: uaccess: rename privileged uaccess routines 2020-12-02 19:49:10 +00:00
asm-offsets.c arm64: Honor VHE being disabled from the command-line 2021-02-09 13:50:56 +00:00
cacheinfo.c
cpu_errata.c arm64: kernel: disable CNP on Carmel 2021-03-25 10:00:23 +00:00
cpu_ops.c
cpu-reset.h
cpu-reset.S
cpufeature.c KVM/arm64 fixes for 5.12, take #3 2021-03-30 13:06:42 -04:00
cpuidle.c
cpuinfo.c arm64: cpuinfo: Fix a typo 2021-03-22 12:45:13 +00:00
crash_core.c
crash_dump.c arm64: kdump: update ppos when reading elfcorehdr 2021-03-22 12:46:38 +00:00
debug-monitors.c arm64: expose FAR_EL1 tag bits in siginfo 2020-11-23 18:17:39 +00:00
efi-entry.S
efi-header.S arm64: head: tidy up the Image header definition 2020-11-17 16:14:20 +00:00
efi-rt-wrapper.S
efi.c
entry-common.c arm64: entry: consolidate Cortex-A76 erratum 1463225 workaround 2021-02-08 17:39:02 +00:00
entry-fpsimd.S
entry-ftrace.S arm64: rename S_FRAME_SIZE to PT_REGS_SIZE 2021-01-13 15:09:06 +00:00
entry.S arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically 2021-04-12 13:38:45 +01:00
fpsimd.c
ftrace.c
head.S arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds 2021-03-11 13:04:28 +00:00
hibernate-asm.S
hibernate.c arm64: hibernate: add __force attribute to gfp_t casting 2021-02-01 15:57:30 +00:00
hw_breakpoint.c
hyp-stub.S arm64: Add missing ISB after invalidating TLB in enter_vhe 2021-02-24 11:35:36 +00:00
idreg-override.c arm64: Drop support for CMDLINE_EXTEND 2021-03-08 12:56:34 +00:00
image-vars.h KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is available 2021-03-06 04:18:40 -05:00
image.h
insn.c
io.c
irq.c Merge remote-tracking branch 'arm64/for-next/fixes' into for-next/core 2020-12-09 18:04:55 +00:00
jump_label.c
kaslr.c arm64: Move "nokaslr" over to the early cpufeature infrastructure 2021-02-09 13:50:57 +00:00
kexec_image.c
kgdb.c
kuser32.S
machine_kexec_file.c arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails 2021-02-19 17:57:40 +00:00
machine_kexec.c arm64: kexec: call kexec_image_info only once 2021-01-27 15:41:12 +00:00
Makefile Merge branch 'for-next/vdso' into for-next/core 2021-02-12 15:17:42 +00:00
module-plts.c arm64: improve whitespace 2021-02-04 13:59:49 +00:00
module.c kasan, arm64: expand CONFIG_KASAN checks 2020-12-22 12:55:08 -08:00
mte.c arm64: kasan: simplify and inline MTE functions 2021-02-26 09:41:03 -08:00
paravirt.c
pci.c
perf_callchain.c
perf_event.c arm64: perf: Fix 64-bit event counter read truncation 2021-03-10 11:08:23 +00:00
perf_regs.c
pointer_auth.c
process.c arm64/process.c: fix Wmissing-prototypes build warnings 2021-03-25 09:50:16 +00:00
proton-pack.c Merge remote-tracking branch 'arm64/for-next/fixes' into for-next/core 2020-12-09 18:04:55 +00:00
psci.c
ptrace.c arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL) 2021-02-25 10:27:43 +00:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S arm64: kexec: arm64_relocate_new_kernel don't use x0 as temp 2021-01-27 15:41:12 +00:00
return_address.c
sdei.c Merge branch 'kvm-master' into kvm-next 2021-01-07 18:06:52 -05:00
setup.c arm64: Extract early FDT mapping from kaslr_early_init() 2021-02-09 13:47:50 +00:00
signal.c arm64: entry: remove redundant IRQ flag tracing 2021-01-13 12:51:30 +00:00
signal32.c
sigreturn32.S
sleep.S kasan: remove redundant config option 2021-04-16 16:10:36 -07:00
smccc-call.S
smp_spin_table.c
smp.c KVM: arm64: Apply hyp relocations at runtime 2021-01-23 14:01:00 +00:00
stacktrace.c arm64: stacktrace: don't trace arch_stack_walk() 2021-03-22 12:42:49 +00:00
suspend.c arm64: spectre: Prevent lockdep splat on v4 mitigation enable path 2021-02-19 17:49:24 +00:00
sys_compat.c arm64: expose FAR_EL1 tag bits in siginfo 2020-11-23 18:17:39 +00:00
sys.c
sys32.c
syscall.c arm64: entry: consolidate Cortex-A76 erratum 1463225 workaround 2021-02-08 17:39:02 +00:00
time.c
topology.c arm64: topology: Make AMUs work with modular cpufreq drivers 2021-01-20 12:49:40 +00:00
trace-events-emulation.h
traps.c arm64: improve whitespace 2021-02-04 13:59:49 +00:00
vdso-wrap.S arm64: do not descend to vdso directories twice 2021-01-20 12:18:46 +00:00
vdso.c mm: forbid splitting special mappings 2020-12-15 12:13:41 -08:00
vdso32-wrap.S arm64: do not descend to vdso directories twice 2021-01-20 12:18:46 +00:00
vmlinux.lds.S x86: 2021-02-21 13:31:43 -08:00