diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2017-10-02 17:59:03 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-10-06 15:58:39 -0700 |
commit | b9b4bf504c9e94fe38b93aa2784991c80cebcf2e (patch) | |
tree | 76a9b612bae38cfb57c755d995e2e2ce9d3bb8ee /arch | |
parent | bd835d53f505d3b4f8b19bc8f7ea28eb3cab7391 (diff) | |
download | lwn-b9b4bf504c9e94fe38b93aa2784991c80cebcf2e.tar.gz lwn-b9b4bf504c9e94fe38b93aa2784991c80cebcf2e.zip |
ARM: dts: meson8b: add reserved memory zone to fix silent freezes
So far, the stress-ng tool for instance quickly resulted in a silent
freeze of the system with no prior notice on a serial console when
running its filesystem or memory stressor classes.
Even with a panic-on-OOM and reboot-on-panic (vm.panic_on_oom=1,
kernel.panic=10) configured, the system would neither reboot nor
would the OOM killer get any chance to otherwise do its job.
The Amlogic reference source code uses a 2MB PHYS_OFFSET. With these 2MB
reserved via DT, stress-ng was able to run on an Odroid C1+ just fine for
several hours, the OOM killer was able to kill processes again and if
configured would successfully trigger a reboot of the system.
Fixes: 4a69fcd3a108 ("ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/meson8b.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 274d5e4806a1..bc4d4a237ea5 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -83,6 +83,18 @@ }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* 2 MiB reserved for Hardware ROM Firmware? */ + hwrom@0 { + reg = <0x0 0x200000>; + no-map; + }; + }; + scu@c4300000 { compatible = "arm,cortex-a5-scu"; reg = <0xc4300000 0x100>; |