Message ID | 20230406-topic-lenovo_features-v1-1-c73a5180e48e@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1126720vqo; Thu, 6 Apr 2023 08:51:33 -0700 (PDT) X-Google-Smtp-Source: AKy350ZEmIuYyxtcjFP4EpdC7tiFrnDNnByvUmkEGOExdyPIM6Uobk4zrQn5+FzSTp03uWfHehs4 X-Received: by 2002:aa7:98da:0:b0:5cd:229e:f1d8 with SMTP id e26-20020aa798da000000b005cd229ef1d8mr10243093pfm.4.1680796293106; Thu, 06 Apr 2023 08:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680796293; cv=none; d=google.com; s=arc-20160816; b=UOeB4cIk6qOetioE4HWhGydFBs6q/A45zNGxURgeLcC3rr/KAkNO7qEghxuZdceXij ojHY5gv8ftIWyMudpP3nsYFOcJAALkrLh2C7WIV8d0MmVYBBKqeh6hNZBl8gcM+uon9f I0IY5AiOlrCIOYnMrRzEyDHtN/gBtzRylQ41/SHdSqBlzEmf+/r8p/m0izniyDtst8PX JDS6u1HAUGN9wcGx4qtkN12X4cnbWrcebzE5p9jfVEiO0Ygs/ikvadWYbFXhSxvvhbt7 9a3i+BZlhTWC/lxP1fTVMMEZAi3WhW754A3YCKmCODzHzNrfrelt0TNlTZ688L5/PsQ+ c4ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=On6mduEQURdcWxUOcUqkEV7MHdztcoXcc+xqiYQXjuU=; b=pARyoyxOgqIavyEhOCtng2jAm8PcngfdESMq5aFVpddJmoOepXCkTaO7xeUQMQwEMT 8fEf6+lt/6wbcjQc/RMGBsz+KEr5h02DG2s+k+DxqJLL9c6uRFzWtVgDo+KfMNIBl40g R/vadq/AdhLI6t+4ESA5GGxO/YtnMp0j9nH+mk1gX22gcRdjCeMLbxkE5KiAOEpHqCQi DcJAYDzp2Dj/T2B14HUHN6vn4LhPWQf63Z5UKxAplpk1sN9Lw3rCzpx7uFi3ZH2bBTsA WmHiQl7VAprJb3qJl1BwRoqPopo4qVVSTYZZoVrInCmPCREy0OKaSWtYgdGAp2qSjS7Q nDYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BGIXEp5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k135-20020a62848d000000b00628217e3eb8si1665258pfd.319.2023.04.06.08.51.21; Thu, 06 Apr 2023 08:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BGIXEp5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239623AbjDFP0T (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Thu, 6 Apr 2023 11:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239294AbjDFP0D (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Apr 2023 11:26:03 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B9F9750 for <linux-kernel@vger.kernel.org>; Thu, 6 Apr 2023 08:25:54 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id q16so51277661lfe.10 for <linux-kernel@vger.kernel.org>; Thu, 06 Apr 2023 08:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680794753; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=On6mduEQURdcWxUOcUqkEV7MHdztcoXcc+xqiYQXjuU=; b=BGIXEp5g/nl2qiBEokqx89t+0+XYV9ayZg6eeQ53isBQwoSGuQ4SWzUaePmCVIRII9 V0sh8vaQGjE1UxKsRVQzOHVtOK3jVwVWd/+rG8PwVLXHy/ZriP6Vwh0rophX2ENQ2PZ5 vmgfMvkw27GckReQ3NLbDWZYpgQRa1VbC7DHYwWpa7UAe5lk2IiHA+1mMUMNxaH+BUoi hyVxYb+iDeEdJ2ze9XeetcVaCOzmdXNKAPK8Qpm/JU82FWQnswDVivwY2dmuRHaRpdM0 p28xM6YcayrtLtTHdMWdmNXXbrw70iF4GUo+uUP82Ws9zJePkv6OBzPONkmUaOGSjrUC sgoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680794753; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=On6mduEQURdcWxUOcUqkEV7MHdztcoXcc+xqiYQXjuU=; b=Ecopx6CzYYwmMhC5pNHlVHClvTi6NRqL1psuPq1GOv+jlNbyjjuLlwHD1BS3HQfKia 9G7he3kliRKco5gQipXxL+wZZiqBGuJswULjff2Y41fxk61GkjWukiUSxUVSJmD9NxS3 94NgC5cbyEkLxR7InnGaU68VVDf5qKvwrupOCsogCBdRf69DG3t2dqqcQ+7pkLKXZFyz VrwBgdgLSRRMcUivxySbYpJgCMuqYxOs5eU0QZkTTLHmBxbN7iS91sCxjUmFkZL332Xs PcZZZEkGHf0tOH0o6bf6gwbtULaibyQp1tS3fBhlFap8SmmOhOe7ttMwIlf5OmdY/KOo y60w== X-Gm-Message-State: AAQBX9eYnLYmlubwRzXqRGHjk4W3S6nhzxZ6Wqpyg0tfOL9BDKiXRuYu jeA2+5KxRdwQm1y3LOpAZVlHMw== X-Received: by 2002:a19:f602:0:b0:4b4:e14a:ec7d with SMTP id x2-20020a19f602000000b004b4e14aec7dmr2729448lfe.17.1680794752929; Thu, 06 Apr 2023 08:25:52 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id h4-20020a197004000000b004cc9042c9cfsm300103lfc.158.2023.04.06.08.25.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:25:52 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Thu, 06 Apr 2023 17:25:50 +0200 Subject: [PATCH 1/4] arm64: dts: qcom: sm6115-j606f: Add ramoops node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230406-topic-lenovo_features-v1-1-c73a5180e48e@linaro.org> References: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Kees Cook <keescook@chromium.org>, Tony Luck <tony.luck@intel.com>, "Guilherme G. Piccoli" <gpiccoli@igalia.com> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680794750; l=824; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=rvm75cGvZ9z/bLkN6BF718+f+ov1sAVJupa2vpB7OuE=; b=Hdq4DplYj4C4ORBq/RAiWdOH1xYuyTPYBl0RFUj2466LiFVOhH6Qh3xU6Sf8fF9fI4y8mXJGKXzq GnAtgebcAemuO/60/C5uvZ3i2m7zOC11Mbh/VkGgxZvrI7gA1bok X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762442653340843256?= X-GMAIL-MSGID: =?utf-8?q?1762442653340843256?= |
Series |
Tab P11 features
|
|
Commit Message
Konrad Dybcio
April 6, 2023, 3:25 p.m. UTC
Add a ramoops node to enable retrieving crash logs.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
Comments
On 06/04/2023 18:25, Konrad Dybcio wrote: > Add a ramoops node to enable retrieving crash logs. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts > index 10c9d338446c..fd064899791c 100644 > --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts > +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts > @@ -52,6 +52,17 @@ key-volume-up { > wakeup-source; > }; > }; > + > + reserved-memory { > + ramoops@ffc00000 { > + compatible = "ramoops"; > + reg = <0x0 0xffc00000 0x0 0x100000>; > + record-size = <0x1000>; > + console-size = <0x40000>; no ftrace-size? > + ecc-size = <16>; > + no-map; I see that other ramoops defines are not marked with no-map. Is there any reason for that? > + }; > + }; > }; > > &dispcc { >
On 6.04.2023 19:54, Dmitry Baryshkov wrote: > On 06/04/2023 18:25, Konrad Dybcio wrote: >> Add a ramoops node to enable retrieving crash logs. >> >> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> >> --- >> arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts >> index 10c9d338446c..fd064899791c 100644 >> --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts >> +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts >> @@ -52,6 +52,17 @@ key-volume-up { >> wakeup-source; >> }; >> }; >> + >> + reserved-memory { >> + ramoops@ffc00000 { >> + compatible = "ramoops"; >> + reg = <0x0 0xffc00000 0x0 0x100000>; >> + record-size = <0x1000>; >> + console-size = <0x40000>; > > no ftrace-size? It could use some! > >> + ecc-size = <16>; >> + no-map; > > I see that other ramoops defines are not marked with no-map. Is there any reason for that? Hm, not really. I can get rid of it for v2. Konrad > >> + }; >> + }; >> }; >> &dispcc { >> >
diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index 10c9d338446c..fd064899791c 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -52,6 +52,17 @@ key-volume-up { wakeup-source; }; }; + + reserved-memory { + ramoops@ffc00000 { + compatible = "ramoops"; + reg = <0x0 0xffc00000 0x0 0x100000>; + record-size = <0x1000>; + console-size = <0x40000>; + ecc-size = <16>; + no-map; + }; + }; }; &dispcc {