]> git.karo-electronics.de Git - linux-beck.git/commit
sh: Ensure active regions have a backing PMB entry.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 11 May 2010 04:52:50 +0000 (13:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 May 2010 04:52:50 +0000 (13:52 +0900)
commit21823259a70b7a2a21eea1d48c25a6f38896dd11
treee1bc3e69cbf01534e77a89e450ea047d261da510
parentdfbca89987b74c34d9b1a2414b0e5ccee65347e0
sh: Ensure active regions have a backing PMB entry.

In the NUMA or memory hot-add case where system memory has been
partitioned up, we immediately run in to a situation where the existing
PMB entry doesn't cover the new range (primarily as a result of the entry
size being shrunk to match the node size early in the initialization). In
order to fix this up it's necessary to preload a PMB mapping for the new
range prior to activation in order to circumvent reset by MMU.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c