Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Ingo Molnar:
"Disable function tracing during early SME setup to fix a boot crash on
SME-enabled kernels running distro kernels (some of which have
function tracing enabled)"

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/mm/mem_encrypt: Disable all instrumentation for early SME setup

+23
+12
arch/x86/lib/Makefile
··· 6 6 # Produces uninteresting flaky coverage. 7 7 KCOV_INSTRUMENT_delay.o := n 8 8 9 + # Early boot use of cmdline; don't instrument it 10 + ifdef CONFIG_AMD_MEM_ENCRYPT 11 + KCOV_INSTRUMENT_cmdline.o := n 12 + KASAN_SANITIZE_cmdline.o := n 13 + 14 + ifdef CONFIG_FUNCTION_TRACER 15 + CFLAGS_REMOVE_cmdline.o = -pg 16 + endif 17 + 18 + CFLAGS_cmdline.o := $(call cc-option, -fno-stack-protector) 19 + endif 20 + 9 21 inat_tables_script = $(srctree)/arch/x86/tools/gen-insn-attr-x86.awk 10 22 inat_tables_maps = $(srctree)/arch/x86/lib/x86-opcode-map.txt 11 23 quiet_cmd_inat_tables = GEN $@
+11
lib/Makefile
··· 17 17 KCOV_INSTRUMENT_debugobjects.o := n 18 18 KCOV_INSTRUMENT_dynamic_debug.o := n 19 19 20 + # Early boot use of cmdline, don't instrument it 21 + ifdef CONFIG_AMD_MEM_ENCRYPT 22 + KASAN_SANITIZE_string.o := n 23 + 24 + ifdef CONFIG_FUNCTION_TRACER 25 + CFLAGS_REMOVE_string.o = -pg 26 + endif 27 + 28 + CFLAGS_string.o := $(call cc-option, -fno-stack-protector) 29 + endif 30 + 20 31 lib-y := ctype.o string.o vsprintf.o cmdline.o \ 21 32 rbtree.o radix-tree.o timerqueue.o xarray.o \ 22 33 idr.o int_sqrt.o extable.o \