]> git.baikalelectronics.ru Git - kernel.git/commit
POWERPC: Allow 32-bit hashed pgtable code to support 36-bit physical
authorBecky Bruce <becky.bruce@freescale.com>
Wed, 24 Sep 2008 16:01:24 +0000 (11:01 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 24 Sep 2008 21:29:44 +0000 (16:29 -0500)
commitde2d9025c5dd075d87e38500aa0d3f08244e5329
treef9f147f0293bc33e2962ac1c1aa5bbcbd9c0edce
parenta567e48879237d7e2bf98b28a7eab5a8b2f538cc
POWERPC: Allow 32-bit hashed pgtable code to support 36-bit physical

This rearranges a bit of code, and adds support for
36-bit physical addressing for configs that use a
hashed page table.  The 36b physical support is not
enabled by default on any config - it must be
explicitly enabled via the config system.

This patch *only* expands the page table code to accomodate
large physical addresses on 32-bit systems and enables the
PHYS_64BIT config option for 86xx.  It does *not*
allow you to boot a board with more than about 3.5GB of
RAM - for that, SWIOTLB support is also required (and
coming soon).

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/io.h
arch/powerpc/include/asm/page_32.h
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/mm/hash_low_32.S
arch/powerpc/mm/pgtable_32.c
arch/powerpc/mm/tlb_32.c
arch/powerpc/platforms/Kconfig.cputype