From: Ralf Baechle <ralf@linux-mips.org>
To: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org, David Daney <david.daney@cavium.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] MIPS: OCTEON: Don't clobber bootloader data structures.
Date: Thu, 13 Jun 2013 16:35:28 +0200 [thread overview]
Message-ID: <20130613143528.GC22906@linux-mips.org> (raw)
In-Reply-To: <1371061713-29028-1-git-send-email-ddaney.cavm@gmail.com>
On Wed, Jun 12, 2013 at 11:28:33AM -0700, David Daney wrote:
> 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.
>
> Can be applied to v3.8 and later.
Thanks, applied. Will send to Linus with the next pull request.
Ralf
prev parent reply other threads:[~2013-06-13 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 18:28 [PATCH] MIPS: OCTEON: Don't clobber bootloader data structures David Daney
2013-06-12 18:28 ` David Daney
2013-06-13 14:35 ` Ralf Baechle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130613143528.GC22906@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=david.daney@cavium.com \
--cc=ddaney.cavm@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.