147d99948SChristophe Leroy# SPDX-License-Identifier: GPL-2.0 247d99948SChristophe Leroy 3387e220aSNicholas Pigginobj-y += mmu_context.o pgtable.o trace.o 4387e220aSNicholas Pigginifdef CONFIG_PPC_64S_HASH_MMU 547d99948SChristophe LeroyCFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE) 6f693d38dSChristophe Leroyobj-y += hash_pgtable.o hash_utils.o hash_tlb.o slb.o slice.o 77ebc4903SNicholas Pigginobj-$(CONFIG_PPC_HASH_MMU_NATIVE) += hash_native.o 847d99948SChristophe Leroyobj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o 947d99948SChristophe Leroyobj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o 10387e220aSNicholas Pigginobj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o 11387e220aSNicholas Pigginobj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o 12387e220aSNicholas Pigginendif 13387e220aSNicholas Piggin 14f43d2ffbSNicholas Pigginobj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 15387e220aSNicholas Piggin 16387e220aSNicholas Pigginobj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o 1747d99948SChristophe Leroyifdef CONFIG_HUGETLB_PAGE 1847d99948SChristophe Leroyobj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o 1947d99948SChristophe Leroyendif 2047d99948SChristophe Leroyobj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o 21227ae625SAneesh Kumar K.Vobj-$(CONFIG_PPC_PKEY) += pkeys.o 2247d99948SChristophe Leroy 2347d99948SChristophe Leroy# Instrumenting the SLB fault path can lead to duplicate SLB entries 2447d99948SChristophe LeroyKCOV_INSTRUMENT_slb.o := n 25*41b7a347SDaniel Axtens 26*41b7a347SDaniel Axtens# Parts of these can run in real mode and therefore are 27*41b7a347SDaniel Axtens# not safe with the current outline KASAN implementation 28*41b7a347SDaniel AxtensKASAN_SANITIZE_mmu_context.o := n 29*41b7a347SDaniel AxtensKASAN_SANITIZE_pgtable.o := n 30*41b7a347SDaniel AxtensKASAN_SANITIZE_radix_pgtable.o := n 31*41b7a347SDaniel AxtensKASAN_SANITIZE_radix_tlb.o := n 32*41b7a347SDaniel AxtensKASAN_SANITIZE_slb.o := n 33*41b7a347SDaniel AxtensKASAN_SANITIZE_pkeys.o := n 34