1# SPDX-License-Identifier: GPL-2.0 2 3obj-y += mmu_context.o pgtable.o trace.o 4ifdef CONFIG_PPC_64S_HASH_MMU 5CFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE) 6obj-y += hash_pgtable.o hash_utils.o hash_tlb.o slb.o slice.o 7obj-$(CONFIG_PPC_HASH_MMU_NATIVE) += hash_native.o 8obj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o 9obj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o 10obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o 11obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o 12endif 13 14obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 15 16obj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o 17ifdef CONFIG_HUGETLB_PAGE 18obj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o 19endif 20obj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o 21obj-$(CONFIG_PPC_PKEY) += pkeys.o 22 23# Instrumenting the SLB fault path can lead to duplicate SLB entries 24KCOV_INSTRUMENT_slb.o := n 25 26# Parts of these can run in real mode and therefore are 27# not safe with the current outline KASAN implementation 28KASAN_SANITIZE_mmu_context.o := n 29KASAN_SANITIZE_pgtable.o := n 30KASAN_SANITIZE_radix_pgtable.o := n 31KASAN_SANITIZE_radix_tlb.o := n 32KASAN_SANITIZE_slb.o := n 33KASAN_SANITIZE_pkeys.o := n 34