Re: [PATCH] MIPS: OCTEON: Don't clobber bootloader data structures.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux