Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp196718pxb; Wed, 18 Nov 2020 21:21:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzujpbva9MbnIrtZ3mgqrxICNMw9CoFjIeVt4mSKulz4ubV4BRzSbGocc7Tj+y01Zey49JV X-Received: by 2002:a17:906:26c2:: with SMTP id u2mr25900326ejc.529.1605763316062; Wed, 18 Nov 2020 21:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605763316; cv=none; d=google.com; s=arc-20160816; b=YrFRHZtNTpOj/GxJ81n/FUmQ+Ww68XETlijb/g7hCBpeYycGOOG4YkFokoAcDVDZ3+ sChv7qJi5/SsrsFmoAjXdLESh8N+eO/umXIhf7N5gl2l0QZ51HysJ8tPE/XVJUOG8ePc dwjQQUpIOkKgzxrawq8061rxV+uvdWoabb905LkzxzyzmNf1HXUhB5+lBScGaIjDLmz1 7+OrZK2SPj4aTayBfPTBvx9edk8o2xAQrwa0MEJlyfOZgjHw8fQPw0hMtfRo5GrRFqk8 q6ENMfKohUGSWPON6jiTwO+9ei5oQ8TIk/MhHd951xau9k/ikc794NIQip9US3aYnn7T XfhA== 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=pS7KdQ8JkGLBhZmDEyT+dB0u8xhj5n1AeXL63Pha2Fo=; b=VgJFWf2hJp+OlQk4Iuupvi5/7FRWYxrnwoPbRNjDjVc5SlIY9KuUA106eB3WbU/WjV sq1ardvtdQ7OKKahsDJiqF66uacRC8Re0fWCBDS08Lq+JKmVfu+Wm3fD4uSQkE7hWDul +NgwePZ+1JnG9QxflXhRsrwQ8H0SCBU8ZBA/EE8/pzjKCfAmk/X9AEPbvACNJrKpNLKM 3QR3kiEnl8zYXhbGpDaJy+2kqzd5XICyllGzR+Bhjh5JzKWCsjYj5UJ0V9W86d4OETG1 lEocki26znIkO04FBnmqAhICcJcT6BZDHKAMDWSv6N+zdc0Os8krZG8a746zei4m26od hK8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=izmRNWMI; 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 h9si15532775ejx.477.2020.11.18.21.21.20; Wed, 18 Nov 2020 21:21: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=izmRNWMI; 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 S1725915AbgKSFRr (ORCPT + 99 others); Thu, 19 Nov 2020 00:17:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgKSFRq (ORCPT ); Thu, 19 Nov 2020 00:17:46 -0500 Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 966F8C0613D4; Wed, 18 Nov 2020 21:17:45 -0800 (PST) Received: by mail-qv1-xf41.google.com with SMTP id ek7so2297631qvb.6; Wed, 18 Nov 2020 21:17:45 -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=pS7KdQ8JkGLBhZmDEyT+dB0u8xhj5n1AeXL63Pha2Fo=; b=izmRNWMIYthZ/HU5FjfWgpUBzj4kR1JnWFFMkGF9fWC8m3Bry4y2YWkKQ9kTZ0JfNy x9a3amTxT60ls9Yh3gdyZ3rBj2ZWoanrxWybhglwkU01JtOK0XRXo6cqVATtUuUZrWym 8OWum+pJbyXSqxZZ24YYML/AGcCmc3nAosQgg= 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=pS7KdQ8JkGLBhZmDEyT+dB0u8xhj5n1AeXL63Pha2Fo=; b=TiPV7L2wB05GL45CSb/46Ku4oeWJq7MZLNiqfVKGhEyXPku8pzpSGF3hmZK4RMSk2g PGHzB7PX3nKqOu5lMw+YSZxXwP/P844HLaxfZhbQ7RJt/q/QH6DoJ9GsAV/QVrURkdvd DHAsjyvZ7YJhTPBJO0zQluiCyJ7FwKfo8tIw1kQ4DCPDP3tNDYJzgVzccQ5olItJxjbY YSnL+7ZGIkjVMdKe6h7ojbGHLv4Dk7oFE8kAfTo66zhW+DODhcwePdrCU67trmwzNbTo 7GP04J9w2pANoiLZw317dahy9GEOEB0VKkT0ZlR5OhzoyDQbYbmaoBpdGARSEGUQKzGx UmKA== X-Gm-Message-State: AOAM530jMqE7r8ksHkRGpmyjxj6I7LhVf8PSOTowEzKrUr9C6hgPyNnb iAAyRVschwx8CwoDX7MQAuEeXAVV4Ph2TUZ8hYM= X-Received: by 2002:a0c:c984:: with SMTP id b4mr9219438qvk.10.1605763064832; Wed, 18 Nov 2020 21:17:44 -0800 (PST) MIME-Version: 1.0 References: <20201022014731.2035438-1-andrew@aj.id.au> <20201022014731.2035438-6-andrew@aj.id.au> In-Reply-To: <20201022014731.2035438-6-andrew@aj.id.au> From: Joel Stanley Date: Thu, 19 Nov 2020 05:17:32 +0000 Message-ID: Subject: Re: [PATCH v2 5/6] ARM: dts: rainier: 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-ibm-rainier.dts | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index 802027a3c43c..8431cf1b32e6 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -55,6 +55,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 >