linux-bl808/arch/powerpc/mm
Paul Mackerras 9d66195807 powerpc/64: Provide functions for accessing POWER9 partition table
POWER9 requires the host to set up a partition table, which is a
table in memory indexed by logical partition ID (LPID) which
contains the pointers to page tables and process tables for the
host and each guest.

This factors out the initialization of the partition table into
a single function.  This code was previously duplicated between
hash_utils_64.c and pgtable-radix.c.

This provides a function for setting a partition table entry,
which is used in early MMU initialization, and will be used by
KVM whenever a guest is created.  This function includes a tlbie
instruction which will flush all TLB entries for the LPID and
all caches of the partition table entry for the LPID, across the
system.

This also moves a call to memblock_set_current_limit(), which was
in radix_init_partition_table(), but has nothing to do with the
partition table.  By analogy with the similar code for hash, the
call gets moved to near the end of radix__early_init_mmu().  It
now gets called when running as a guest, whereas previously it
would only be called if the kernel is running as the host.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-23 10:32:11 +11:00
..
8xx_mmu.c
40x_mmu.c
44x_mmu.c
copro_fault.c powerpc/mm: Prevent unlikely crash in copro_calculate_slb() 2016-10-19 20:32:49 +11:00
dma-noncoherent.c
fault.c powerpc: Use kprobe blacklist for exception handlers 2016-09-19 10:53:54 +10:00
fsl_booke_mmu.c
hash64_4k.c
hash64_64k.c
hash_low_32.S ppc: move exports to definitions 2016-08-07 23:50:09 -04:00
hash_native_64.c powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format 2016-11-16 15:43:25 +11:00
hash_utils_64.c powerpc/64: Provide functions for accessing POWER9 partition table 2016-11-23 10:32:11 +11:00
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage-radix.c powerpc/mm/hugetlb: Add flush_hugetlb_tlb_range 2016-08-01 11:15:13 +10:00
hugetlbpage.c powerpc: Fix usage of _PAGE_RO in hugepage 2016-09-23 07:54:22 +10:00
icswx.c
icswx.h
icswx_pid.c
init_32.c powerpc/32: Add missing \n and switch to pr_warn() 2016-09-13 17:37:11 +10:00
init_64.c powerpc/mm: Convert early cpu/mmu feature check to use the new helpers 2016-08-01 11:15:01 +10:00
Makefile powerpc/Makefile: Drop CONFIG_WORD_SIZE for BITS 2016-09-13 17:37:06 +10:00
mem.c
mmap.c
mmu_context_book3s64.c
mmu_context_hash32.c
mmu_context_iommu.c KVM: PPC: Book3S HV: Migrate pinned pages out of CMA 2016-09-29 15:14:44 +10:00
mmu_context_nohash.c powerpc/mmu nohash: Convert to hotplug state machine 2016-09-06 18:30:27 +02:00
mmu_decl.h
numa.c powerpc: Fix numa topology console print 2016-10-19 20:35:41 +11:00
pgtable-book3e.c
pgtable-book3s64.c powerpc/64/kexec: Fix MMU cleanup on radix 2016-09-23 07:54:17 +10:00
pgtable-hash64.c
pgtable-radix.c powerpc/64: Provide functions for accessing POWER9 partition table 2016-11-23 10:32:11 +11:00
pgtable.c powerpc/mm/radix: Use different pte update sequence for different POWER9 revs 2016-09-13 17:37:10 +10:00
pgtable_32.c treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
pgtable_64.c powerpc/64: Provide functions for accessing POWER9 partition table 2016-11-23 10:32:11 +11:00
ppc_mmu_32.c
slb.c
slb_low.S powerpc updates for 4.9 2016-10-07 20:19:31 -07:00
slice.c
subpage-prot.c
tlb-radix.c powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu 2016-10-27 21:55:13 +11:00
tlb_hash32.c powerpc/mm: remove flush_tlb_page_nohash 2016-08-01 11:15:13 +10:00
tlb_hash64.c
tlb_low_64e.S
tlb_nohash.c powerpc/mm: Drop multiple definition of mm_is_core_local 2016-08-01 11:15:10 +10:00
tlb_nohash_low.S
vphn.c
vphn.h