From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761AbdJFW7z (ORCPT ); Fri, 6 Oct 2017 18:59:55 -0400 Received: from mail-pg0-f48.google.com ([74.125.83.48]:50356 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbdJFW7x (ORCPT ); Fri, 6 Oct 2017 18:59:53 -0400 X-Google-Smtp-Source: AOwi7QCCniltTQzbroPwheRcTSrrwk4uiv4Qzck4hddKcHum2eYOAOcP3E4/QBr7/s8A0PSqaZRpJg== From: Kevin Hilman To: Linus =?utf-8?Q?L=C3=BCssing?= Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Carlo Caione , Martin Blumenstingl , Mark Rutland , Rob Herring , Russell King Subject: Re: [PATCH] ARM: dts: meson8b: add reserved memory zone to fix silent freezes Organization: BayLibre References: <20171002155903.19511-1-linus.luessing@c0d3.blue> Date: Fri, 06 Oct 2017 15:59:40 -0700 In-Reply-To: <20171002155903.19511-1-linus.luessing@c0d3.blue> ("Linus =?utf-8?Q?L=C3=BCssing=22's?= message of "Mon, 2 Oct 2017 17:59:03 +0200") Message-ID: <7h1smf992b.fsf@baylibre.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v96N01vC002477 Linus Lüssing writes: > 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 Applied to v4.15/dt with Martin's Tested-by, Thanks, Kevin