From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A6EFC4363D for ; Fri, 2 Oct 2020 06:40:12 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD584206DD for ; Fri, 2 Oct 2020 06:40:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=aj.id.au header.i=@aj.id.au header.b="XBC2cGXN"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="iLz3hH2l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD584206DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4C2gN923pJzDqcn for ; Fri, 2 Oct 2020 16:40:09 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aj.id.au (client-ip=64.147.123.24; helo=wout1-smtp.messagingengine.com; envelope-from=andrew@aj.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.a=rsa-sha256 header.s=fm3 header.b=XBC2cGXN; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=iLz3hH2l; dkim-atps=neutral Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4C2gGJ2FlNzDqDr for ; Fri, 2 Oct 2020 16:35:02 +1000 (AEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AF910917; Fri, 2 Oct 2020 02:34:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 02 Oct 2020 02:34:59 -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=fm3; bh=dnuu51apKzkSW yyFZhbwMJUaR/W7hcBh9deHqhIeOyo=; b=XBC2cGXNkkmVZAze9EKipOaoWeWJF vZBEcElShEE1x4LdMGtegyR70fPFOBKV+8gNUvWfn5xPBJNC+eiTI1vJXEzIhTAE +XqLS/bMJSN85Z2tbjbIuHWAGL1jUNl2PJQ4SoWGT29vx3/GJaP7K9DPgSjQdf+z amMSw35GBiWrl6Vrb94CE2EsoTLTsohrt+gXFfXmJeYR/2DqPLMtdJlFnhmXa6wd GM+fisstykh3sM0jIgmg1+h/+SJtV8SJTvdziv3XKv8IYTMNILb7/iNauRv4amVv 0nfBYnjCjipJa/n50YqI+n41CT93p9e5rYMrwGshaH8/GIX/M9ajQydLw== 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= fm3; bh=dnuu51apKzkSWyyFZhbwMJUaR/W7hcBh9deHqhIeOyo=; b=iLz3hH2l 7G+RVKueu/qz7Bm3EYmNp8Rhk6UMEoLAFMqijIFY6p7ijyL9edfA1bVI6QYgBxQB Mqsg63EBoNmrpaqBSEHZDV0SCcuwlC/95mliqt1KF7IUeAnshrY86xvZY/puNP64 nA3O2w5J4VBENooOQh//CfUazn408ot2iWzwHrYmkezoZWQhmwZgryw1IuKXcyvQ 0TpRKOgruO1WCnOrm7fWDvEOHlhOVtqe361exOGZDyHnYhR8Z+mWSxACOd836X63 GdM4yPgtB8XVJvdony7f7PZ5eiObjT3mE3K2BXHuDKhQO6ntYlTGiNfY3JBuxQ0f gk8DzfD6xE7mfg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeehgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegr jhdrihgurdgruheqnecuggftrfgrthhtvghrnhepjefgvdevheetkeevgeegleelgfelte etjeffleffvdduudevieffgeetleevhfetnecukfhppeduudekrddvuddtrddukeekrddu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: from localhost.localdomain (ppp118-210-188-175.adl-adc-lon-bras34.tpg.internode.on.net [118.210.188.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 2A4553064686; Fri, 2 Oct 2020 02:34:57 -0400 (EDT) From: Andrew Jeffery To: joel@jms.id.au Subject: [PATCH 1/3] ARM: dts: rainier: Add reserved memory for ramoops Date: Fri, 2 Oct 2020 16:04:12 +0930 Message-Id: <20201002063414.275161-2-andrew@aj.id.au> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201002063414.275161-1-andrew@aj.id.au> References: <20201002063414.275161-1-andrew@aj.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbmc@lists.ozlabs.org Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Reserve a 1MiB region of memory to record kmsg dumps and console state into 16kiB ring-buffer slots. The sizing allows for up to 32 dumps to be captured and read out. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index e6f422edf454..46a0e95049fd 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -47,6 +47,14 @@ reserved-memory { #size-cells = <1>; ranges; + ramoops@b7f00000 { + compatible = "ramoops"; + reg = <0xb7f00000 0x100000>; + record-size = <0x4000>; + console-size = <0x4000>; + pmsg-size = <0x4000>; + }; + flash_memory: region@B8000000 { no-map; reg = <0xB8000000 0x04000000>; /* 64M */ -- 2.25.1