147d99948SChristophe Leroy# SPDX-License-Identifier: GPL-2.0 247d99948SChristophe Leroy 347d99948SChristophe Leroyccflags-y := $(NO_MINIMAL_TOC) 447d99948SChristophe Leroy 5387e220aSNicholas Pigginobj-y += mmu_context.o pgtable.o trace.o 6387e220aSNicholas Pigginifdef CONFIG_PPC_64S_HASH_MMU 747d99948SChristophe LeroyCFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE) 8f693d38dSChristophe Leroyobj-y += hash_pgtable.o hash_utils.o hash_tlb.o slb.o slice.o 97ebc4903SNicholas Pigginobj-$(CONFIG_PPC_HASH_MMU_NATIVE) += hash_native.o 1047d99948SChristophe Leroyobj-$(CONFIG_PPC_4K_PAGES) += hash_4k.o 1147d99948SChristophe Leroyobj-$(CONFIG_PPC_64K_PAGES) += hash_64k.o 12387e220aSNicholas Pigginobj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o 13387e220aSNicholas Pigginobj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage_prot.o 14387e220aSNicholas Pigginendif 15387e220aSNicholas Piggin 16f43d2ffbSNicholas Pigginobj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 17387e220aSNicholas Piggin 18387e220aSNicholas Pigginobj-$(CONFIG_PPC_RADIX_MMU) += radix_pgtable.o radix_tlb.o 1947d99948SChristophe Leroyifdef CONFIG_HUGETLB_PAGE 2047d99948SChristophe Leroyobj-$(CONFIG_PPC_RADIX_MMU) += radix_hugetlbpage.o 2147d99948SChristophe Leroyendif 2247d99948SChristophe Leroyobj-$(CONFIG_SPAPR_TCE_IOMMU) += iommu_api.o 23227ae625SAneesh Kumar K.Vobj-$(CONFIG_PPC_PKEY) += pkeys.o 2447d99948SChristophe Leroy 2547d99948SChristophe Leroy# Instrumenting the SLB fault path can lead to duplicate SLB entries 2647d99948SChristophe LeroyKCOV_INSTRUMENT_slb.o := n 27*41b7a347SDaniel Axtens 28*41b7a347SDaniel Axtens# Parts of these can run in real mode and therefore are 29*41b7a347SDaniel Axtens# not safe with the current outline KASAN implementation 30*41b7a347SDaniel AxtensKASAN_SANITIZE_mmu_context.o := n 31*41b7a347SDaniel AxtensKASAN_SANITIZE_pgtable.o := n 32*41b7a347SDaniel AxtensKASAN_SANITIZE_radix_pgtable.o := n 33*41b7a347SDaniel AxtensKASAN_SANITIZE_radix_tlb.o := n 34*41b7a347SDaniel AxtensKASAN_SANITIZE_slb.o := n 35*41b7a347SDaniel AxtensKASAN_SANITIZE_pkeys.o := n 36