diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-07-13 20:14:25 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-07-14 00:54:46 -0700 |
commit | c49731a04e7c14b2ccd146a7fddf92e78ccae143 (patch) | |
tree | 89f61ec7d8bb96da9ceaa05ba3615f2876f488eb /arch/xtensa | |
parent | 628ccfc8f5f79dd548319408fcc53949fe97b258 (diff) | |
download | linux-stable-c49731a04e7c14b2ccd146a7fddf92e78ccae143.tar.gz linux-stable-c49731a04e7c14b2ccd146a7fddf92e78ccae143.tar.bz2 linux-stable-c49731a04e7c14b2ccd146a7fddf92e78ccae143.zip |
xtensa: enable KCOV support
Select ARCH_HAS_KCOV and set KCOV_INSTRUMENT = n inside
arch/xtensa/boot/lib.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/Kconfig | 1 | ||||
-rw-r--r-- | arch/xtensa/boot/lib/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 0b0f0172cced..c4ef8e9c7249 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -6,6 +6,7 @@ config XTENSA select ARCH_HAS_CURRENT_STACK_POINTER select ARCH_HAS_DEBUG_VM_PGTABLE select ARCH_HAS_DMA_PREP_COHERENT if MMU + select ARCH_HAS_KCOV select ARCH_HAS_SYNC_DMA_FOR_CPU if MMU select ARCH_HAS_SYNC_DMA_FOR_DEVICE if MMU select ARCH_HAS_DMA_SET_UNCACHED if MMU diff --git a/arch/xtensa/boot/lib/Makefile b/arch/xtensa/boot/lib/Makefile index 162d10af36f3..6f9a56a8ca85 100644 --- a/arch/xtensa/boot/lib/Makefile +++ b/arch/xtensa/boot/lib/Makefile @@ -17,6 +17,7 @@ endif KASAN_SANITIZE := n KCSAN_SANITIZE := n +KCOV_INSTRUMENT := n CFLAGS_REMOVE_inflate.o += -fstack-protector -fstack-protector-strong CFLAGS_REMOVE_zmem.o += -fstack-protector -fstack-protector-strong |