summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/930-crashlog.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix crashlog on x86/64Jo-Philipp Wich2016-08-151-2/+6
| | | | | | | | | | | | The bootmem area reserved for crashlog might be smaller than CRASHLOG_OFFSET bytes, leading to an integer underflow when calculating the memory address in crashlog_set_addr() which subsequently causes the kernel to crash when attempting to vmap() the crashlog pages. Change the logic to only consider the offset when the size of the used memory area is sufficient. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: fix crashlog issues on highmem systemsFelix Fietkau2016-08-111-19/+32
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog regression on x86Felix Fietkau2016-07-301-20/+32
| | | | | | | | Check memblock regions for sufficient size before attempting to use them. Allow checks for multiple memblock regions until a suitable one is found. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog issues on various architecturesFelix Fietkau2016-07-281-13/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add support for uncompressed zImage on ARMFelix Fietkau2016-06-151-1/+1
| | | | | | | This can be used to prevent double compression for platforms where the boot loader already expects compressed images. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix section mismatch in crashlogHauke Mehrtens2016-03-051-1/+1
| | | | | | | | | | | | | | | The function memblock_insert_region() is in the section __init_memblock, also put crashlog_init_memblock there. This fixes this section mismatch warning: The function memblock_insert_region.isra.1() references the function __meminit crashlog_init_memblock(). This is often because memblock_insert_region.isra.1 lacks a __meminit annotation or the annotation of crashlog_init_memblock is wrong. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48931
* kernel: add linux 4.4 supportJonas Gorski2015-12-021-0/+276
Based on 4.4-rc3. Runtime tested on MIPS. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47701