android_kernel_xiaomi_sm7250/arch/ppc64
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
..
boot [PATCH] PPC64: large INITRD causes kernel not to boot 2005-09-09 22:11:37 +10:00
configs [PATCH] ppc64: Add CONFIG_HZ 2005-08-30 13:40:02 +10:00
kernel ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() 2005-09-23 14:47:58 +10:00
lib [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
mm ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() 2005-09-23 14:47:58 +10:00
xmon [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
defconfig [PATCH] ppc64: Add CONFIG_HZ 2005-08-30 13:40:02 +10:00
Kconfig [PATCH] powerpc: Move arch/ppc*/oprofile/Kconfig to arch/powerpc 2005-09-21 19:21:08 +10:00
Kconfig.debug [PATCH] ppc64: update xmon helptext 2005-09-05 00:06:01 -07:00
Makefile [PATCH] powerpc: merge the rest of arch/ppc*/oprofile 2005-09-21 19:21:08 +10:00