Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp197855pxb; Wed, 18 Nov 2020 21:24:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJznyUvg3gsMSmtH7F2+bu6D1xBj5aoWfKJASc69rEpiIvHv2TbjWOMU9VlIx93Q4rAf3sUI X-Received: by 2002:a17:906:ca93:: with SMTP id js19mr26260530ejb.124.1605763496831; Wed, 18 Nov 2020 21:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605763496; cv=none; d=google.com; s=arc-20160816; b=BOQ3s0xdZZPTqSdWIsTUjP+uTaTCPp8m/22qYUeXnGMhEIeG8f2xI7e9Tod4CXqWBd zp/1kKR+yN5p6pJYFGS6hEH0kBbbNlV6U0ClYxHQWeF9ztIspgIbivdzNymdYZfsZeVT z03DbeHa1HgVN2n5jttA9BkdbJ51ZufPSHDcSU1yWoHaEju5ic8MGHlY+TWzY/tFfPei oN449CPzVItRZZLJR81ZqNWotaBXaoQnXopol45QMJNVEAtiEJX/Fv+75yUwwyTVHMRC qE3BxtuHhCUfcH5nWacyo0dv9cobME5HV9HC62TctJx75vzbCuMxpOmquJJtiyXpS7OU r7tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OqZSptQt27MJXF+QZPVZ7r04kV7IR2mYe4GqqPa6IEE=; b=HV/BwQEPoP09C/qcdJajPHQgd3FD2rX3M23JX+z4eM2S5o2Y7NbgZfNy4Hs8zPYS2J gWjxIYzkq+662U4iWuAdzAv7n/4HjtIjwB0HlWzDHudg7kCYC61J49zXNMX+6tqUO+jv GVftshgrJG6b0YU9L3Svk/OBTk6nbnyCZNZST8HqYy/KbquF9oIP2NQuJ7WrW5i3fiou BcqamXzT5jMZySkjGfTKI6xnnfBuOBgiVLQvv4piYHd0IxQGsEGjCbwelAktL/TBuHIV Zw0I48T2uze0nOLMsBAw2Qo7fJi8W2uYv9OLXUyxvAcRBzJKbmW6Jgz/qOfSKwXGx59q hP4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=TKzahsrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch15si10257199ejb.113.2020.11.18.21.24.33; Wed, 18 Nov 2020 21:24:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=TKzahsrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725963AbgKSFSO (ORCPT + 99 others); Thu, 19 Nov 2020 00:18:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgKSFSO (ORCPT ); Thu, 19 Nov 2020 00:18:14 -0500 Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8AEFC0613D4; Wed, 18 Nov 2020 21:18:13 -0800 (PST) Received: by mail-qv1-xf44.google.com with SMTP id ek7so2297954qvb.6; Wed, 18 Nov 2020 21:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OqZSptQt27MJXF+QZPVZ7r04kV7IR2mYe4GqqPa6IEE=; b=TKzahsrNBrqKjnKyDEivIbVJkMZS8RSwV+0GvMgueNjzBlMPDIaREBkYIDjwypWiT+ QhlRvpGGsMXvrM09LdEh+CiAF2BU8+mUSRJP66L9xoi38ariG+czv6aPlQkvbWxDSo6e /vmLVCVISKYw4gUvl0iHqdP+g2ZKdrxDwlBvQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OqZSptQt27MJXF+QZPVZ7r04kV7IR2mYe4GqqPa6IEE=; b=LQRCaQA1YgHAlxj+D8A+EflT5FYN7gaTxSQWOJKNF/F1JykKwYSwi3GvthsH+Dg8HZ qeHU37+FoKrbSmpdKbufTgiKww363sXjkfkNxkFdVg5rEE/oNhfIRLeLFWJi/NmmoYbp wpHhaM2LZPtuwWlusW/dGbjVvv/ecgHAFN64Fvk0h1Ri/jIPNJdXtW40YuVihPJvQKXc gKuQAQSwyZDSncDbVOvAbERw84gJzHnNO5LwDzANFbJL9Ahpo02MvzqkH6+dbTGr4zTT wTYsB1kUrfj9aduNsaaFbLWdZ/wTndAFk32iyeFiVfMnpGdXynYbm+BTmatflCQgvtT6 gxGQ== X-Gm-Message-State: AOAM531dyWUMilw08aparqLTHyVDZSMf3b0uOcQZf2/w99Ufo04XZ7dn EqupkyLETPvEwZuco4Hf6rvrZ3PKOkTdPpp0vtnOTRr+X2AC2Q== X-Received: by 2002:a0c:aed4:: with SMTP id n20mr9290736qvd.16.1605763093184; Wed, 18 Nov 2020 21:18:13 -0800 (PST) MIME-Version: 1.0 References: <20201022014731.2035438-1-andrew@aj.id.au> <20201022014731.2035438-7-andrew@aj.id.au> In-Reply-To: <20201022014731.2035438-7-andrew@aj.id.au> From: Joel Stanley Date: Thu, 19 Nov 2020 05:18:01 +0000 Message-ID: Subject: Re: [PATCH v2 6/6] ARM: dts: tacoma: Add reserved memory for ramoops To: Andrew Jeffery Cc: Rob Herring , devicetree , Linux ARM , linux-aspeed , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Oct 2020 at 01:48, Andrew Jeffery wrote: > > Reserve a 1.5MiB region of memory to record kmsg dumps, console and > userspace message state into 16kiB ring-buffer slots. The sizing allows > for up to 16 dumps to be captured and read out. > > Set max-reason to KMSG_DUMP_EMERG to capture bad-path reboots. > > Signed-off-by: Andrew Jeffery Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > index 09b561429579..04efabe70d9f 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > @@ -34,6 +34,15 @@ flash_memory: region@b8000000 { > > /* 48MB region from the end of flash to start of vga memory */ > > + ramoops@bc000000 { > + compatible = "ramoops"; > + reg = <0xbc000000 0x180000>; /* 16 * (3 * 0x8000) */ > + record-size = <0x8000>; > + console-size = <0x8000>; > + pmsg-size = <0x8000>; > + max-reason = <3>; /* KMSG_DUMP_EMERG */ > + }; > + > /* VGA region is dictated by hardware strapping */ > vga_memory: region@bf000000 { > no-map; > -- > 2.25.1 >