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
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]