From patchwork Tue May 17 12:28:28 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: 12852375 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 1EDD6C433EF for ; Tue, 17 May 2022 12:29:35 +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=fehVtL3Gs9q3azeVsNIwsAdvPzPlyEXtZXC5mXu6zs4=; b=c/rYRNO58BtZCs WQjX3/xVgSMkQvSvzZhCEUGzVmypfZ3FQe1+kw+UArplzoQsJzzhAIJh9/LXJ+wFe3LjseH0+v7aw y+klRP6GV/XzpkAcWxRxIPww0d7hVXPFTy07J6bWqPyFwYQik+2rSs47pKf8pGaL3j3nFSsAI8RFq uw7cXDExP/hfgi3AaXNEtD27vPRoZpc4OZLf3dU5aowQN+Mj5v9rQ82U5FhMuvzUviQVjepfBCH15 NfPvtPjGv4g74D2xo7dMpmx3c0jYh47vt68NYTvYWrZUKngdmna1yO1ge6xamyYIKbOajTSk12rMo Zx0apw4BcfuIhyhn4S8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqwJY-00DXnW-MD; Tue, 17 May 2022 12:28:36 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqwJV-00DXlV-87 for linux-arm-kernel@lists.infradead.org; Tue, 17 May 2022 12:28:34 +0000 Received: by mail-wr1-x42a.google.com with SMTP id j25so23528557wrc.9 for ; Tue, 17 May 2022 05:28:31 -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=YrRTOGMgO9zXdnByTZCf3fblVWtGAKIL40Lb6D388lQ=; b=lloC694fCJ2v7wRAkxLMWjNcK8KfUEdFRA+pF3ULM8O9PAD8ZELEzWc3NuIJJOXXmX kj8/vUsDiMoRuQQK+W5QLAPzGdHwQ5YKj+AWXV1SggbyS83Nybdl6lCve6Ex0yNgS0sn uubcOpxdjuye1lYN/TTvUKC8vjrTWn5YPMAMS0PtaaEsT1iHrePN7B5h6IOx821weKEs T+qymkaga2GsQ7Rn24G7Vkm1QPX8sSN8y7jBV7oeK9WWnKW3wcwUaZ9Vq863rYZc4S6C XQmuKd6g4NKPQ/uwTVKEpIcgH2hJTwiEWgT75qqdyPk2d7LTrkIzFQKOwNJCtwbR5Ipy SH/w== 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=YrRTOGMgO9zXdnByTZCf3fblVWtGAKIL40Lb6D388lQ=; b=JaYqiScou7hxaERWcCOlXEYL8waoFm/IRCWth1BQA065CxdpdCYHKtmZtF/mPGvqLT 4XK5SXb0gLvq0wMdew2rXZ9livIbrqAUWq+Fzte1lzzDjDjVWnNomG+18MGrZbmhwc4H qPrKwarcEbg0Di1i/JxuWaRBsooiAdG1Va8zVA1fqOER42/1kRPHMvMCjZWOs7U/ddo8 VjgmMGK9fNwOTfycB1xlrd5CgpwifQzesE0c8b3pIUp0bix1qzbvgwpX4LJa6A+fEj22 5ThF6Y0zETvzlIliajhBOBphbqclu+NGm5Zy26UMt2GtP5XeNRiklFGhCRWIJNYMhtqd dqxQ== X-Gm-Message-State: AOAM533Z1Trs+ufmrJt9Jo8DxtEoPL87xE0Hatz9ERxOOkci3Amna6kZ Zy8hK4/LG7dbgRFvQLEyjn1AYA== X-Google-Smtp-Source: ABdhPJzRz6PWZLnvLsKBaESWu4K8g64TIbExE9OdlnhyFdgzCES/0g6ck3h0/Kt1xqds1GiuyHKYig== X-Received: by 2002:a05:6000:110a:b0:20d:131e:bf0c with SMTP id z10-20020a056000110a00b0020d131ebf0cmr4294667wrw.108.1652790510161; Tue, 17 May 2022 05:28:30 -0700 (PDT) Received: from localhost.localdomain ([88.127.185.201]) by smtp.gmail.com with ESMTPSA id x10-20020adfbb4a000000b0020d0435c97bsm7517928wrg.92.2022.05.17.05.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 05:28:29 -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 v4] arm64: dts: ti: k3-am625-sk: enable ramoops Date: Tue, 17 May 2022 14:28:28 +0200 Message-Id: <20220517122828.2985179-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_052833_322847_21A53410 X-CRM114-Status: GOOD ( 10.03 ) 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 : v4: - fix typo in commit message 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>;