]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32,leon: SRMMU MMU Table probe fix
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 8 Sep 2011 03:11:15 +0000 (03:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2011 19:08:01 +0000 (12:08 -0700)
commit9714fc8a2fa01051366643e88d43e718940e287f
treeef1b0fd170339ac2fd6bea918a7e20498f61ea16
parent046b0bfba4d42bf80a99d04eb1739b7581e0d5b1
sparc32,leon: SRMMU MMU Table probe fix

The LEON MMU Model (SRMMU) does not implement MMu Table probing
in hardware, instead it is implemented in software. However the
software implementation does not return the PTE as it should which
always results in INVALID entires and the PROM mappings are not
inherited as they should during startup. The following patch
removes the masking of the PTE.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtsrmmu.h
arch/sparc/mm/leon_mm.c