kernel-ark/arch/ppc64/mm
Michael Ellerman 4c55130b2a ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel()
early_setup() calls htab_initialize() which is similar, but not identical
to iSeries_bolt_kernel().

On iSeries the Hypervisor has already inserted some ptes for us, and we
simply have to detect that and bolt them. iSeries_hpte_bolt_or_insert()
implements that logic.

For the case of a non-existing pte we just call iSeries_hpte_insert(). This
appears to work, although it's not entirely equivalent to the old code in
iSeries_make_pte() which panicked if we got a secondary slot. Not sure if
that's important.

Finally we call iSeries_hpte_bolt_or_insert() from create_pte_mapping(),
which is called from htab_initialize() for each lmb region.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2005-09-23 14:47:58 +10:00
..
fault.c [PATCH] ppc64: build fix 2005-09-17 11:50:01 -07:00
hash_low.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
hash_native.c [PATCH] ppc64: Store virtual address in TLB flush batches 2005-09-21 19:21:07 +10:00
hash_utils.c ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() 2005-09-23 14:47:58 +10:00
hugetlbpage.c [PATCH] Invert sense of SLB class bit 2005-09-06 16:57:46 +10:00
imalloc.c [PATCH] Four level pagetables for ppc64 2005-08-29 10:53:31 +10:00
init.c [PATCH] ppc64: Fix oops for !CONFIG_NUMA 2005-09-09 22:11:34 +10:00
Makefile [PATCH] ppc64: sparsemem memory model 2005-06-23 09:45:06 -07:00
mmap.c
numa.c [PATCH] SPARSEMEM EXTREME 2005-09-05 00:05:38 -07:00
slb_low.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
slb.c [PATCH] Invert sense of SLB class bit 2005-09-06 16:57:46 +10:00
stab.c [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
tlb.c [PATCH] ppc64: Store virtual address in TLB flush batches 2005-09-21 19:21:07 +10:00