1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Kernel does not boot with instrumentation of !! 2 # 3 KCOV_INSTRUMENT_tlb.o := n !! 3 # Makefile for the Linux/MIPS-specific parts of the memory manager. 4 KCOV_INSTRUMENT_mem_encrypt.o := n !! 4 # 5 KCOV_INSTRUMENT_mem_encrypt_amd.o := n !! 5 6 KCOV_INSTRUMENT_mem_encrypt_identity.o := n !! 6 obj-y += cache.o 7 KCOV_INSTRUMENT_pgprot.o := n !! 7 obj-y += context.o 8 !! 8 obj-y += extable.o 9 KASAN_SANITIZE_mem_encrypt.o := n !! 9 obj-y += fault.o 10 KASAN_SANITIZE_mem_encrypt_amd.o := n !! 10 obj-y += init.o 11 KASAN_SANITIZE_mem_encrypt_identity.o := n !! 11 obj-y += mmap.o 12 KASAN_SANITIZE_pgprot.o := n !! 12 obj-y += page.o 13 !! 13 obj-y += page-funcs.o 14 # Disable KCSAN entirely, because otherwise we !! 14 obj-y += pgtable.o 15 # reference __initdata sections. !! 15 obj-y += tlbex.o 16 KCSAN_SANITIZE := n !! 16 obj-y += tlbex-fault.o 17 # Avoid recursion by not calling KMSAN hooks f !! 17 obj-y += tlb-funcs.o 18 KMSAN_SANITIZE_cpu_entry_area.o := n !! 18 19 KMSAN_SANITIZE_mem_encrypt_identity.o := n !! 19 ifdef CONFIG_CPU_MICROMIPS 20 !! 20 obj-y += uasm-micromips.o 21 ifdef CONFIG_FUNCTION_TRACER !! 21 else 22 CFLAGS_REMOVE_mem_encrypt.o = -pg !! 22 obj-y += uasm-mips.o 23 CFLAGS_REMOVE_mem_encrypt_amd.o = -pg << 24 CFLAGS_REMOVE_mem_encrypt_identity.o = -pg << 25 CFLAGS_REMOVE_pgprot.o = -pg << 26 endif 23 endif 27 24 28 obj-y := init.o ini !! 25 ifndef CONFIG_EVA 29 pgtable.o !! 26 obj-y += maccess.o 30 !! 27 endif 31 obj-y += pat/ << 32 << 33 # Make sure __phys_addr has no stackprotector << 34 CFLAGS_physaddr.o := -fno-stack- << 35 CFLAGS_mem_encrypt_identity.o := -fno-stack- << 36 << 37 CFLAGS_fault.o := -I $(src)/../include/asm/tra << 38 << 39 obj-$(CONFIG_X86_32) += pgtable_32. << 40 28 >> 29 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o >> 30 obj-$(CONFIG_64BIT) += ioremap64.o pgtable-64.o >> 31 obj-$(CONFIG_HIGHMEM) += highmem.o 41 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage 32 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 42 obj-$(CONFIG_PTDUMP_CORE) += dump_pageta !! 33 obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o 43 obj-$(CONFIG_PTDUMP_DEBUGFS) += debug_paget << 44 << 45 obj-$(CONFIG_HIGHMEM) += highmem_32. << 46 << 47 KASAN_SANITIZE_kasan_init_$(BITS).o := n << 48 obj-$(CONFIG_KASAN) += kasan_init_ << 49 << 50 KMSAN_SANITIZE_kmsan_shadow.o := n << 51 obj-$(CONFIG_KMSAN) += kmsan_shado << 52 << 53 obj-$(CONFIG_MMIOTRACE) += mmiotrace.o << 54 mmiotrace-y := kmmio.o pf_ << 55 obj-$(CONFIG_MMIOTRACE_TEST) += testmmiotra << 56 << 57 obj-$(CONFIG_NUMA) += numa.o numa << 58 obj-$(CONFIG_AMD_NUMA) += amdtopology << 59 obj-$(CONFIG_ACPI_NUMA) += srat.o << 60 << 61 obj-$(CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS) << 62 obj-$(CONFIG_RANDOMIZE_MEMORY) << 63 obj-$(CONFIG_MITIGATION_PAGE_TABLE_ISOLATION) << 64 34 65 obj-$(CONFIG_X86_MEM_ENCRYPT) += mem_encrypt !! 35 obj-$(CONFIG_CPU_R3K_TLB) += tlb-r3k.o 66 obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt !! 36 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o >> 37 obj-$(CONFIG_CPU_R3000) += c-r3k.o >> 38 obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o >> 39 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o >> 40 >> 41 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o >> 42 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o >> 43 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o >> 44 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o >> 45 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o 67 46 68 obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt !! 47 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o 69 obj-$(CONFIG_AMD_MEM_ENCRYPT) += mem_encrypt <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.