After Rob pointed out there's a non-ancient version of the devicetree bindings for pstore/ramoops, I figured it would be worth migrating over to using it.
So this series adds pstore/ramoops support to hikey, and its much more tidy compared to the last patch for this.
Would love any extra feedback and review.
The reserved ramoops address is mostly chosen at random, and while the bootloader doesn't seen to clear that memory, I suspect we will need a change to make sure that memory is protected by the bootloader and UEFI applications don't scribble over it. So help there would be appreciated!
thanks -john
Cc: Rob Herring rob.herring@linaro.org Cc: Arnd Bergmann arnd.bergmann@linaro.org Cc: Haojian Zhuang haojian.zhuang@linaro.org Cc: Guodong Xu guodong.xu@linaro.org Cc: Vishal Bhoj vishal.bhoj@linaro.org
Greg Hackmann (1): pstore-ram: add Device Tree bindings
John Stultz (1): hikey: dts: Add pstore support for HiKey
Documentation/ramoops.txt | 6 +- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 13 +++ arch/arm64/configs/hikey_defconfig | 7 ++ fs/pstore/ram.c | 114 ++++++++++++++++++++++++- 4 files changed, 134 insertions(+), 6 deletions(-)