summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2013-06-12 17:28:33 +0000
committerRalf Baechle <ralf@linux-mips.org>2013-06-21 18:07:01 +0200
commitd949b4fe6d23dd92b5fa48cbf7af90ca32beed2e (patch)
tree4bb1fb9476533e1db8e9f5fc9fd8055bd476bb4a /lib
parent4f675e8a6b338ff6ac510595649c647d4888576e (diff)
downloadop-kernel-dev-d949b4fe6d23dd92b5fa48cbf7af90ca32beed2e.zip
op-kernel-dev-d949b4fe6d23dd92b5fa48cbf7af90ca32beed2e.tar.gz
MIPS: Octeon: Don't clobber bootloader data structures.
Commit abe77f90dc (MIPS: Octeon: Add kexec and kdump support) added a bootmem region for the kernel image itself. The problem is that this is rounded up to a 0x100000 boundary, which is memory that may not be owned by the kernel. Depending on the kernel's configuration based size, this 'extra' memory may contain data passed from the bootloader to the kernel itself, which if clobbered makes the kernel crash in various ways. The fix: Quit rounding the size up, so that we only use memory assigned to the kernel. Signed-off-by: David Daney <david.daney@cavium.com> Cc: <stable@vger.kernel.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5449/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud