ramdump: add ramdump support for kernel [4/6]
authortao zeng <tao.zeng@amlogic.com>
Fri, 18 May 2018 08:58:13 +0000 (16:58 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sun, 3 Jun 2018 09:57:35 +0000 (02:57 -0700)
commit9cbd99daf1bc88b2086d0d5fdd280a78a120189e
treebb69b85b7aa42af9f8e90a56381eb128279856df
parent446ebd1696857efa1144258c1d7f9542bd3d8cde
ramdump: add ramdump support for kernel [4/6]

PD#165764: add ramdump support

1. Add Makefile and driver of ramdump;
2. Flush all cache before panic reboot;
3. Change panic reboot reason when ramdump is disabled;
4. Add dts support/open watch dog for chips.

Change-Id: Ieeb418f038bfda119c3156a7f8f8b05c8bc58ad2
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
13 files changed:
MAINTAINERS
arch/arm64/boot/dts/amlogic/mesonaxg.dtsi
arch/arm64/boot/dts/amlogic/mesong12a.dtsi
arch/arm64/boot/dts/amlogic/mesongxl.dtsi
arch/arm64/boot/dts/amlogic/mesongxm.dtsi
arch/arm64/boot/dts/amlogic/mesontxlx.dtsi
arch/arm64/configs/meson64_defconfig
drivers/amlogic/memory_ext/Kconfig
drivers/amlogic/memory_ext/Makefile
drivers/amlogic/memory_ext/ram_dump.c [new file with mode: 0644]
drivers/amlogic/reboot/reboot.c
include/linux/amlogic/ramdump.h [new file with mode: 0644]
kernel/panic.c