]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] mm: fix page table initialization
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 4 Nov 2008 10:52:28 +0000 (10:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Nov 2008 17:45:32 +0000 (17:45 +0000)
commitb3086a2eec14d7cef5b02e3fcd1c155acf1ca4c6
tree90a877fcab8defd4a6770aaab4dcb3de6e69ba04
parenta545a562052a803433b8355abff27c2f1abb42f7
[ARM] mm: fix page table initialization

As a result of the ptebits changes, we ended up marking device mappings
as normal memory on ARMv7 CPUs, resulting in undesirable behaviour with
serial ports and the like.  While reviewing the section mapping table
entries, other errors in the memory type settings for devices were
detected and confirmed to prevent Xscale3 platforms booting.

Tested on:
OMAP34xx (ARMv7),
OMAP24xx (ARMv6),
OMAP16xx (ARM926T, ARMv5),
PXA311 (Xscale3),
PXA272 (Xscale),
PXA255 (Xscale),
IXP42x (Xscale),
S3C2410 (ARM920T, ARMv4T),
ARM720T (ARMv4T)
StrongARM-110 (ARMv4)

Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Mike Rapoport <mike@compulab.co.il>
Tested-by: Ben Dooks <ben-linux@fluff.org>
Tested-by: Anders Grafström <grfstrm@users.sourceforge.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/system.h
arch/arm/mm/mmu.c
arch/arm/mm/proc-v7.S