Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp921352pxu; Thu, 15 Oct 2020 21:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMLCmwmmZnEreDClChBom99n4YCHjPvN9m3Pr3FyN0YIax00Kz5/K3IQQKdYZsrzGGNnVT X-Received: by 2002:a05:6402:b39:: with SMTP id bo25mr1932510edb.138.1602824143393; Thu, 15 Oct 2020 21:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602824143; cv=none; d=google.com; s=arc-20160816; b=mRuBVHPwNP9aJCc7D20muIslpw6qbIKd/avytWybAVuTAPJmalqfcS/SNgqQAYQgkK 6KGPqy7YIM4QV5MkWjhRKz62yAKNvbDvqrEsmmnymgbgKyh1/9eIyM+WvMKAEr+VqwNt 1SASmBz2+6QhTpdQ5wsEtFRPoAvzk5ullCL37D/kGReri81oVit7ysElPC780lJonFMK 4MngxQXCEmTREhQ4dwfgsq6DT8GBOgV+4CKalbE/H7fCZQC+Nxx8wOfT39VeZ7mzhPAG uJgosuI4b+1k4E7tKYHIrsMnVxX1ZnYhIXQQ3yWBf2g1wLEWNfovi6bFlDy0dK2OI7sJ 0IXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=WXebYGUOxo1OOlaEW5dDl3iLC0qxgbnBraqL8r8/PQA=; b=XUI+RUY99y3+e5W/vLitJNgtW6uYn4FbY/eISvJebnQwNvvMX8/h0rs63yEzzmZz2E 6Mja2tBnZMw/Jig0jCbVgdtPSPNzWhufg0czKcHsqCNt0C3Y6WjhkbUA0udPeruscxjh ZBJ8sovVBlmu0X0ogGsZXn/GV84BnxSiFT2CADWqZIaWjF6hGraDgt4RXFbSrmqWQ/5Z gcgQdBHLD3s2g8GXodFS68X+1O4mFiRqMBn2LDYALbhCScJk+hlbmU9/fJldWNaUaTxl aWoz+61vx3ynDFfQ/BM7+ISnRHdDlb0haFLwuAK8ddmza3wnWbUV6sfPwZTceqS83vCj 4mlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=ibn3w8Qe; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=W7ay5OM4; 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 z27si820110edm.530.2020.10.15.21.55.21; Thu, 15 Oct 2020 21:55:43 -0700 (PDT) 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=@aj.id.au header.s=fm1 header.b=ibn3w8Qe; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=W7ay5OM4; 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 S1732269AbgJPEgT (ORCPT + 99 others); Fri, 16 Oct 2020 00:36:19 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:49385 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731897AbgJPEgT (ORCPT ); Fri, 16 Oct 2020 00:36:19 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id EF479F8E; Fri, 16 Oct 2020 00:36:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 16 Oct 2020 00:36:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=WXebYGUOxo1OO laEW5dDl3iLC0qxgbnBraqL8r8/PQA=; b=ibn3w8QeOpGy5z6YxsRL4s7DugbjY pcC2qXS0x5AsdKtiQZLbSoKE1TEDOz898Q7UwmaK5Xx4v9btkkqAeQ6f6TLIctm7 6iL53dDQjmBt0p3dX6hTXBcqDJfJuGGyeZBHQT2pBjeAbmGOrxhYSVfnahvEPVBi egHW3ZYOQlkUXjy+xpfQ3psulga+ShRzdnyjiFe19RsXxzhIR5r9bgJguXOUjCNr pB2W7n9m9rue2Z+funoiLx66P+RGBXJJTfQRTSC6aZiEZNWq5r8sX7so0h7Qmxd8 +iXJ6aCLI9zAGochRlwiJnz2jk/TUFz/TKWpTuhZZv4DSYkYHDDXYaU3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=WXebYGUOxo1OOlaEW5dDl3iLC0qxgbnBraqL8r8/PQA=; b=W7ay5OM4 gZTxeKzs4zVaV3+LIL+QVsxtM055iwA08B2HcOxuHX3M5V2n/XDs9eizH0waIVyr P19cfSmTT2CMMnXSjEdg3w1HmrYLcYdFT/l7mHkxdgFwNRJF/2M+fPr5qwHxoUwW +myVNM/kS9gJoV+faPRbvW/COMkNCMJYAu7GAjhXixe0qHS5WYIMk1q0l/FAY3dS 02pcsGCp5D7HzKZu7nEIvkE8BPhegMSuyNo8Qij9/GUJM3hCrNanfgAJhjWuRosu RRzVEe3FyLh40s5Tlnoi6Ic+wuRoJI6b6kvke/YcU1QEpmFCXpcR7YiI45MEIyJg AHdsOQqAEn/aEQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrieeggdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghj rdhiugdrrghuqeenucggtffrrghtthgvrhhnpeejgfdvveehteekveeggeellefgleette ejffelffdvudduveeiffegteelvefhteenucfkphepuddukedrvddutddrjedrudektden ucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurh gvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: from localhost.localdomain (ppp118-210-7-180.adl-adc-lon-bras31.tpg.internode.on.net [118.210.7.180]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F7483280059; Fri, 16 Oct 2020 00:36:14 -0400 (EDT) From: Andrew Jeffery To: joel@jms.id.au Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: tacoma: Add reserved memory for ramoops Date: Fri, 16 Oct 2020 15:05:13 +1030 Message-Id: <20201016043513.119841-3-andrew@aj.id.au> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201016043513.119841-1-andrew@aj.id.au> References: <20201016043513.119841-1-andrew@aj.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 32 dumps to be captured and read out. Set max-reason to KMSG_DUMP_EMERG to capture bad-path reboots. Signed-off-by: Andrew Jeffery --- 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 46f2f538baba..4f7e9b490e1a 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -26,6 +26,15 @@ reserved-memory { #size-cells = <1>; ranges; + ramoops@b9e80000 { + compatible = "ramoops"; + reg = <0xb9e80000 0x180000>; + record-size = <0x4000>; + console-size = <0x4000>; + pmsg-size = <0x4000>; + max-reason = <3>; /* KMSG_DUMP_EMERG */ + }; + flash_memory: region@ba000000 { no-map; reg = <0xb8000000 0x4000000>; /* 64M */ -- 2.25.1