Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux ppc-specific parts of the memory manager. |
| 3 | # |
| 4 | |
Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 5 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
| 6 | |
Anton Blanchard | 1fbe9cf | 2012-11-26 17:41:08 +0000 | [diff] [blame] | 7 | ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) |
Stephen Rothwell | 3a5f8c5 | 2005-10-11 19:40:20 +1000 | [diff] [blame] | 8 | |
Aneesh Kumar K.V | b30e759 | 2014-11-05 21:57:41 +0530 | [diff] [blame] | 9 | obj-y := fault.o mem.o pgtable.o mmap.o \ |
Christophe Leroy | 9b081e1 | 2016-12-07 08:47:24 +0100 | [diff] [blame] | 10 | init_$(BITS).o pgtable_$(BITS).o \ |
| 11 | init-common.o |
Benjamin Herrenschmidt | 2a4aca11 | 2008-12-18 19:13:42 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \ |
| 13 | tlb_nohash_low.o |
Michael Ellerman | 68201fb | 2016-08-11 16:03:14 +1000 | [diff] [blame] | 14 | obj-$(CONFIG_PPC_BOOK3E) += tlb_low_$(BITS)e.o |
Benjamin Herrenschmidt | 9449168 | 2009-06-02 21:17:45 +0000 | [diff] [blame] | 15 | hash64-$(CONFIG_PPC_NATIVE) := hash_native_64.o |
Aneesh Kumar K.V | eee24b5 | 2016-04-29 23:25:44 +1000 | [diff] [blame] | 16 | obj-$(CONFIG_PPC_BOOK3E_64) += pgtable-book3e.o |
Aneesh Kumar K.V | 3df33f1 | 2016-04-29 23:26:29 +1000 | [diff] [blame] | 17 | obj-$(CONFIG_PPC_STD_MMU_64) += pgtable-hash64.o hash_utils_64.o slb_low.o slb.o $(hash64-y) mmu_context_book3s64.o pgtable-book3s64.o |
Aneesh Kumar K.V | 1a472c9 | 2016-04-29 23:26:05 +1000 | [diff] [blame] | 18 | obj-$(CONFIG_PPC_RADIX_MMU) += pgtable-radix.o tlb-radix.o |
Aneesh Kumar K.V | f5df4b4 | 2016-04-29 23:26:03 +1000 | [diff] [blame] | 19 | obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o hash_low_32.o mmu_context_hash32.o |
Michael Ellerman | 68201fb | 2016-08-11 16:03:14 +1000 | [diff] [blame] | 20 | obj-$(CONFIG_PPC_STD_MMU) += tlb_hash$(BITS).o |
Aneesh Kumar K.V | 91f1da9 | 2015-12-01 09:06:43 +0530 | [diff] [blame] | 21 | ifeq ($(CONFIG_PPC_STD_MMU_64),y) |
Aneesh Kumar K.V | a43c0eb | 2015-12-01 09:06:49 +0530 | [diff] [blame] | 22 | obj-$(CONFIG_PPC_4K_PAGES) += hash64_4k.o |
Aneesh Kumar K.V | 91f1da9 | 2015-12-01 09:06:43 +0530 | [diff] [blame] | 23 | obj-$(CONFIG_PPC_64K_PAGES) += hash64_64k.o |
| 24 | endif |
Jimi Xenidis | 9d67028 | 2011-09-29 10:55:12 +0000 | [diff] [blame] | 25 | obj-$(CONFIG_PPC_ICSWX) += icswx.o |
| 26 | obj-$(CONFIG_PPC_ICSWX_PID) += icswx_pid.o |
Josh Boyer | 15f6527 | 2007-08-20 07:27:07 -0500 | [diff] [blame] | 27 | obj-$(CONFIG_40x) += 40x_mmu.o |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 28 | obj-$(CONFIG_44x) += 44x_mmu.o |
Christophe Leroy | a372acf | 2016-02-09 17:07:50 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_PPC_8xx) += 8xx_mmu.o |
Kumar Gala | 55fd766 | 2009-10-16 18:48:40 -0500 | [diff] [blame] | 30 | obj-$(CONFIG_PPC_FSL_BOOK3E) += fsl_booke_mmu.o |
Paul Mackerras | ab1f9da | 2005-10-10 21:58:35 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o |
Greg Kurz | 4b6cfb2 | 2015-02-23 16:14:31 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_PPC_SPLPAR) += vphn.o |
Benjamin Herrenschmidt | d0f13e3 | 2007-05-08 16:27:27 +1000 | [diff] [blame] | 33 | obj-$(CONFIG_PPC_MM_SLICES) += slice.o |
David Gibson | 883a3e5 | 2009-10-26 19:24:31 +0000 | [diff] [blame] | 34 | obj-y += hugetlbpage.o |
Aneesh Kumar K.V | 2940999 | 2013-06-20 14:30:16 +0530 | [diff] [blame] | 35 | ifeq ($(CONFIG_HUGETLB_PAGE),y) |
David Gibson | 883a3e5 | 2009-10-26 19:24:31 +0000 | [diff] [blame] | 36 | obj-$(CONFIG_PPC_STD_MMU_64) += hugetlbpage-hash64.o |
Aneesh Kumar K.V | 4848376 | 2016-04-29 23:26:25 +1000 | [diff] [blame] | 37 | obj-$(CONFIG_PPC_RADIX_MMU) += hugetlbpage-radix.o |
Becky Bruce | 41151e7 | 2011-06-28 09:54:48 +0000 | [diff] [blame] | 38 | obj-$(CONFIG_PPC_BOOK3E_MMU) += hugetlbpage-book3e.o |
David Gibson | 883a3e5 | 2009-10-26 19:24:31 +0000 | [diff] [blame] | 39 | endif |
Aneesh Kumar K.V | 6d492ec | 2013-06-20 14:30:21 +0530 | [diff] [blame] | 40 | obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hugepage-hash64.o |
Paul Mackerras | fa28237 | 2008-01-24 08:35:13 +1100 | [diff] [blame] | 41 | obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o |
Benjamin Herrenschmidt | b16e776 | 2009-05-27 13:36:10 +1000 | [diff] [blame] | 42 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o |
Benjamin Herrenschmidt | 850f6ac3 | 2009-06-18 19:25:00 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_HIGHMEM) += highmem.o |
Ian Munsie | e83d016 | 2014-10-08 19:54:50 +1100 | [diff] [blame] | 44 | obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o |
Alexey Kardashevskiy | 15b244a | 2015-06-05 16:35:24 +1000 | [diff] [blame] | 45 | obj-$(CONFIG_SPAPR_TCE_IOMMU) += mmu_context_iommu.o |
Michael Ellerman | dd5ac03 | 2016-11-30 19:41:02 +1100 | [diff] [blame] | 46 | obj-$(CONFIG_PPC_PTDUMP) += dump_linuxpagetables.o |
| 47 | obj-$(CONFIG_PPC_HTDUMP) += dump_hashpagetable.o |