Makefile (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) Makefile (dbca5e1a04f8b30aea4e2c91e5045ee6e7c3ef43)
1# SPDX-License-Identifier: GPL-2.0
2# Kernel does not boot with instrumentation of tlb.c and mem_encrypt*.c
3KCOV_INSTRUMENT_tlb.o := n
1# SPDX-License-Identifier: GPL-2.0
2# Kernel does not boot with instrumentation of tlb.c and mem_encrypt*.c
3KCOV_INSTRUMENT_tlb.o := n
4KCOV_INSTRUMENT_mem_encrypt.o := n
4KCOV_INSTRUMENT_mem_encrypt_amd.o := n
5KCOV_INSTRUMENT_mem_encrypt_identity.o := n
6
5KCOV_INSTRUMENT_mem_encrypt_identity.o := n
6
7KASAN_SANITIZE_mem_encrypt.o := n
7KASAN_SANITIZE_mem_encrypt_amd.o := n
8KASAN_SANITIZE_mem_encrypt_identity.o := n
9
10# Disable KCSAN entirely, because otherwise we get warnings that some functions
11# reference __initdata sections.
12KCSAN_SANITIZE := n
13
14ifdef CONFIG_FUNCTION_TRACER
8KASAN_SANITIZE_mem_encrypt_identity.o := n
9
10# Disable KCSAN entirely, because otherwise we get warnings that some functions
11# reference __initdata sections.
12KCSAN_SANITIZE := n
13
14ifdef CONFIG_FUNCTION_TRACER
15CFLAGS_REMOVE_mem_encrypt.o = -pg
15CFLAGS_REMOVE_mem_encrypt_amd.o = -pg
16CFLAGS_REMOVE_mem_encrypt_identity.o = -pg
17endif
18
19obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
21
22obj-y += pat/
23

--- 23 unchanged lines hidden (view full) ---

47obj-$(CONFIG_AMD_NUMA) += amdtopology.o
48obj-$(CONFIG_ACPI_NUMA) += srat.o
49obj-$(CONFIG_NUMA_EMU) += numa_emulation.o
50
51obj-$(CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS) += pkeys.o
52obj-$(CONFIG_RANDOMIZE_MEMORY) += kaslr.o
53obj-$(CONFIG_PAGE_TABLE_ISOLATION) += pti.o
54
16CFLAGS_REMOVE_mem_encrypt_identity.o = -pg
17endif
18
19obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
21
22obj-y += pat/
23

--- 23 unchanged lines hidden (view full) ---

47obj-$(CONFIG_AMD_NUMA) += amdtopology.o
48obj-$(CONFIG_ACPI_NUMA) += srat.o
49obj-$(CONFIG_NUMA_EMU) += numa_emulation.o
50
51obj-$(CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS) += pkeys.o
52obj-$(CONFIG_RANDOMIZE_MEMORY) += kaslr.o
53obj-$(CONFIG_PAGE_TABLE_ISOLATION) += pti.o
54
55obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt.o
55obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_amd.o
56obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_identity.o
57obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_boot.o
56obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_identity.o
57obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt_boot.o