Thread (6 messages) read the whole thread 6 messages, 2 authors, 2012-10-16
STALE5035d

[RESEND PATCH 2/2] ARM: kexec: Check segment memory addresses

From: aaro.koskinen@iki.fi (Aaro Koskinen)
Date: 2012-10-16 16:10:21
Also in: linux-omap

Hi,

On Thu, Sep 20, 2012 at 05:03:38PM +0100, Will Deacon wrote:
From: Matthew Leach <redacted>

Ensure that the memory regions that are set within the segments
correspond to physical contiguous memory regions.
This patch seems to break kexec for me in 3.7-rc1 (commit
c564df4db85aac8d1d65a56176a0a25f46138064, bisected).

kexec -l fails with the following output:

kexec_load failed: Invalid argument
entry       = 0x80008000 flags = 280000
nr_segments = 2
segment[0].buf   = 0xc48008
segment[0].bufsz = 230
segment[0].mem   = 0x80001000
segment[0].memsz = 1000
segment[1].buf   = 0xb6a9b008
segment[1].bufsz = 3a4668
segment[1].mem   = 0x80008000
segment[1].memsz = 3a5000
Could not load the kexec kernel: n800-zImage

The board is OMAP2420 / Nokia N800.

A.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help