From patchwork Tue May 17 12:21:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume LA ROQUE X-Patchwork-Id: 12852368 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B6C4C433F5 for ; Tue, 17 May 2022 12:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bFvSFfllxKTYFbKYwm0bTQhtdc/3d3mcSJpxb1lAPHA=; b=HPkbq3dCML1y/7 uo1Eabxk+E8+NdzqGmBcpCM8zF5vg3tv1+IxhqIUq706iY+O2QlvpFqPLTRO+mfyx6S5Sdzw8IjMz XEAzNjtxl6AWhLyxHPVyevIFKxTuHoVeXtsh7TWvgovvi5SSrEfl8E1HfY/zms7hGm7pf52eCG/lK XFpVAnTATq95tmSCJFCxXv2LMk/3K+nu7yfHI5SnSdPugfXO9pFnsJ1nOniuloT3JPrNGlT+5iSIF Su60yS5u0mXoUvwI8GJwWhuAV5EjGvZhiKMHlfIuwJmj7//J5CR/7GPjR0GgettdvZKo8wrZH7vC6 EX4Ah7deuUoWhd+c8WGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqwCd-00DVzQ-Ke; Tue, 17 May 2022 12:21:27 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqwCZ-00DVyi-Ou for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 12:21:25 +0000 Received: by mail-wr1-x434.google.com with SMTP id d21so8595287wra.10 for ; Tue, 17 May 2022 05:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UHPga2rv4XEPsZ7eOj3JF1r7UfBdUQqURmJTlLH2NDY=; b=0g8BurUM/NcaRyMYeBisBnq+KemPvbNzX6Dwli45sQLELRbXThIZ95FjJ+MUCGxv5r TjKFTmdDO6tGNK4DoXDOXo09IW+hdePLlTmrq6NBPrXJcvGN36FV/JW8Bryb0KaIKleT yumFGMZCoJFWdbQl8HHvQCb97zyo3anSzy94CIsyirBQzSCaYC9lSfLMfyKsfC+ZCTqM MimdUrkjjgYZ42RoCx0elKQ6kRjh8HvIgC7YJFc53eyZHc5Z8+WXJ8Cf0yVT35q/AMAm 5Dw1OcX0/v7/8I9+8R/fm1W+xyPdM8zISsE5364KgHnuWxS7cMAaCU8TID6AegU8ageO c1+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UHPga2rv4XEPsZ7eOj3JF1r7UfBdUQqURmJTlLH2NDY=; b=Sxwa66po+adeCDjzBzdpk6kMuy2SDa2abInXB4ueWWDq4lk9QBkYdqlyZwQ/I4cfWc Awrg+WJvKIoIRnJ4mNUzZ/XfSNUiQxgF1YsYta5AsH6nhE+S/0zkN/d6g3LGgxC3D6Gg sPXX/SxpA29IZavBNT31QitNsym3pw+Bp7fV8tF4swtDEV4xEC74vguDIBlgJbEd8NCt 8kzDTmnU5ZGGHmU/XOupbKwfs5x3QayM5KcmL6xyC/86/UeDsTFcSJOkEpUPOilzHFRM 2rgJF1IkhOODbIpBb5Fv+nOZEPesbCqiJdiXAWAdA7eLODktvZ4pmaQorn/ZayH40jEl S1wg== X-Gm-Message-State: AOAM532pytyGKB07up8KoIiofDrnya2lJq06UncsL3FliOpyUEkHEn22 w2BxgdmBHFge0hEUTZVWlBs66Q== X-Google-Smtp-Source: ABdhPJxo4Hfk2/PkA70p+JTbdQOMGy8TB2bhssxaWMuDrGsBE2wxZ966OlitsqB2pFHKjuuNTlgFqw== X-Received: by 2002:a05:6000:1145:b0:20d:12f9:82c2 with SMTP id d5-20020a056000114500b0020d12f982c2mr4410678wrx.680.1652790080120; Tue, 17 May 2022 05:21:20 -0700 (PDT) Received: from localhost.localdomain ([88.127.185.201]) by smtp.gmail.com with ESMTPSA id m39-20020a05600c3b2700b003942a244ec5sm1748704wms.10.2022.05.17.05.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 05:21:19 -0700 (PDT) From: Guillaume La Roque To: linux-omap@vger.kernel.org, nm@ti.com, vigneshr@ti.com Cc: praneeth@ti.com, linux-arm-kernel@lists.infradead.org, khilman@baylibre.com Subject: [PATCH v3] arm64: dts: ti: k3-am625-sk: enable ramoops Date: Tue, 17 May 2022 14:21:18 +0200 Message-Id: <20220517122118.2976665-1-glaroque@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220517_052124_035647_0AB45D71 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable ramoops fetures to easily debug some issues. Signed-off-by: Guillaume La Roque Signed-off-by: Kevin Hilman --- Changes in : v3: - run dtbs_check v2: - Apply script create-mem_map.py with args given by Nishanth Menon - Spelling fix --- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.25.1 diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 0de4113ccd5d..62d8503b5923 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -36,6 +36,15 @@ reserved-memory { #size-cells = <2>; ranges; + ramoops@9ca00000 { + compatible = "ramoops"; + reg = <0x00 0x9ca00000 0x00 0x00100000>; + record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x00>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>;