From patchwork Mon May 16 14:54:08 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: 12850938 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 5666DC433F5 for ; Mon, 16 May 2022 14:55:26 +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=Vh3v2NLeAvJ6TyEZS5b9S5bxaPYkSd4OSc/Op/XR9Tw=; b=KK2Yebq0F3Bfqw XgJXtUggPDnD2egfDXBtH2JNuXXrW1StLN8hfEqfEvz3i0tJDysghvVY4ekz8nObgYZ5H5/8I7Pxh r1dgJ268ave2HonHx4ACMFc/5qqUJrFwPtllDb9obZbbL3dGt9TcZAPCofjZtNQfyrFox6su1MBr1 mBDxIh++fNWVYJcU8xfsG0o1PgmejoNThMoLiHpzrTqBWx9i8A5t+qjpggL7/5od0kihZhFbASsVJ bmSI1ZL3hd/PvSbykDuskZh3/cm6DfUcEtmLdvzmPK4KxOrooeSrEjdD+Qh6ww9o1iDSLTZFyPNXE yZ94jPPciPNgIFBS2gGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqc72-008Tlq-5r; Mon, 16 May 2022 14:54:20 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqc6v-008Thq-Dr for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 14:54:15 +0000 Received: by mail-wr1-x429.google.com with SMTP id a5so17098442wrp.7 for ; Mon, 16 May 2022 07:54:11 -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=D27O9NvkzcYCoJ4tO1dGPcBhK7hAyt3CAH7+zzdmVTA=; b=v2XglobJ/BUFwMX7baRJyrTSPq+j5JYPK8QA6hHqiGlCN+OtYO2GFHwwCX46wQwMjL Xu8Q7HZwmlu1js+FyiMrRGZ5A8v0ZnnkoFk7FVYJyRb8O0ufDne6HBBAdfxZrKF4PMcb bzoYvJxl+sp+zGKHhg8z5Lfs/9uzX4hr+yNQByTB+Wz0amaIfYyPJJwg8D/pvBZq+Hs1 VZyEVhCKD+9coWO3Ju5bs7FYS71o+VyIcV93cmFP1rgY/jQlsniy/bLJi4BdcDsGfE3L fXPmAO8fChCZ4Fhudg/Nld8gWtRensUuV/ChGntm7hC4X+vrJZOC/QruGsvEroSNpl1r gLKA== 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=D27O9NvkzcYCoJ4tO1dGPcBhK7hAyt3CAH7+zzdmVTA=; b=W7XZdSUylY2zRlq8thkaRxDiCjvvVg8QkOYWJItLrhkYioJNAckXv7WhaVJ0z9ExdF 05ViSQFtUexkUux4b7DWHZxsl36DyJI9E+c6ya/IAipd+3Txm4CR1wkf2eBG+ntFi3n/ 8RrGP8RxGftKhQzyTlnkjZFywTBjZgzDcD4F9AlEWIW6gNSAD3kXCF6NlKjhU7Xrzheo UIoiwMaMkoHGp7mjU8NH3zT7/EXv2TOTSPtABm/+MK8L33sl1suxHbbkP9SpYcvX7ccI EaAELBJsYi083x4d/Xp+4w5XsyqkPgXafTgQPItlLPKK/S6zKXfvr1043GnsZMNtjY9k CmJA== X-Gm-Message-State: AOAM531ZjTiZdvvFGfskBAj3b3s4d5snSv/kenti121c/LNJyO9683FJ oSzS1fp+ZY6W1WGTpJv9Mx8x6Q== X-Google-Smtp-Source: ABdhPJzySvDA5dYQHOye20fhh39zrEsQgtMMSsbLRc3vJolGHJy0b03y8OU73B6E1w/8IHIcepVW4A== X-Received: by 2002:a05:6000:15c1:b0:20c:5825:f043 with SMTP id y1-20020a05600015c100b0020c5825f043mr14474885wry.261.1652712849861; Mon, 16 May 2022 07:54:09 -0700 (PDT) Received: from localhost.localdomain ([88.127.185.201]) by smtp.gmail.com with ESMTPSA id g21-20020a1c4e15000000b003942a244ed0sm10394700wmh.21.2022.05.16.07.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 07:54:09 -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 v2] arm64: dts: ti: k3-am625-sk: enable ramoops Date: Mon, 16 May 2022 16:54:08 +0200 Message-Id: <20220516145408.1000678-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-20220516_075413_715231_55D19CD4 X-CRM114-Status: UNSURE ( 9.90 ) 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 features to easily debug some issues Signed-off-by: Guillaume La Roque Signed-off-by: Kevin Hilman --- Changes in 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..dfb16c29a000 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@0x9ca00000 { + compatible = "ramoops"; + reg = <0x0 0xe0000000 0x0 0x00100000>; + record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>;