From patchwork Fri Apr 7 19:54:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81012 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp499676vqo; Fri, 7 Apr 2023 13:00:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bgom+7+5JG3Hds41/wgB4aQr14Co6NxI94Vtx4OhvvxNofS/qUvAU44Zzbfw0g+zuncNXl X-Received: by 2002:a17:906:1c47:b0:930:1391:da7c with SMTP id l7-20020a1709061c4700b009301391da7cmr486116ejg.60.1680897608137; Fri, 07 Apr 2023 13:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680897608; cv=none; d=google.com; s=arc-20160816; b=Lw1OBXuUe8jyWyJmwCKsCyb5X9WrsQeMyUU/scyuebnxDUYTMMaq9jmCbNuqoIrPXi l7Ktj/HVVSsUQEIqZ1JFO0Hz8fMO8ebJ4juc+m7qQjZPoF+aACu4xx/a8svpeKcTOw/3 LyXExhLMmTuvaGuduWrdrO/1Ne5K2Tcjl5Rb9ErR5GxZ19ms801Fp6bDGFNfSHVIEHNn 6po7e8nx+UfgGmP0N3vNlxgBBaeaJ1TLF08jRTru+lW7GuylYDckjKF6bO1bP1O4bW6s p4+vF0+sh7aGwJ1Lc0W2UKQAJQBC9XuKnxBcLQi8RBuHzuoIx1DFeXQ3KIOL45WaR5CD Elzw== 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=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=eZp2dPUvt34ufCGYPIzcnD+gv8EPbOeilp1Zy007/Pm55lf6zy6/exHqODZsSeVWQ2 ysm07mRb7yUHkRjXcSQeW+8veVPXpG2mB1v2HXixPyAEYqAypp2Yzsvgmvr5YVEPTGKh FlteJXMcZ8wpdff5tt1jrby09jrl5pds5CWce6DpFAxAn4a2km5ZdOX0pLz2LGUdh5fp iHnt/OrZYS1GxNnayL26ysWnk9OYmgFRyEeogGMBDggFHlKjNd82qSpNBZ5c+dijJXEY P8lARFUKxClm00kf+L2B0/CkJNeVZ2t8jILty8RWZq+5FOLm9sPj8T20CNQxMomHLRsx yc2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bMuJhqfH; 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 c17-20020a17090654d100b00945347f282csi3931389ejp.1041.2023.04.07.12.59.44; Fri, 07 Apr 2023 13:00:08 -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=bMuJhqfH; 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 S231129AbjDGTzB (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230518AbjDGTyu (ORCPT ); Fri, 7 Apr 2023 15:54:50 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A962A277 for ; Fri, 7 Apr 2023 12:54:49 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id z8so1359759lfb.12 for ; Fri, 07 Apr 2023 12:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897288; 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=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=bMuJhqfHPpyn6QximJG/STPxFywOBESH03woaCLph8VyGfvK7QATR+kTRLm7E64BQY tBsiV0HeWFZrMYjgmtyoSqouLEWwMsTO03s1brNnWaRxWdDN95pY3hmH7EFOhxj2p61r 3H6/nbA98vsZ3EcAHDGvEdMLbxHd7xRc/QC6/9cfP1jpLPgFlVyLNgfcVLwtRdtMUFfh ZlRwGpnJDtcb5oSvVlp1N29tnkeROai5vTiTeZoFZ2lWtEvspcYCkJ5JLA9LwTBNwdbw WWizPbLuO/Oouyz7RSne9BMT+pflTHannixNeuw5OLaf1/Ohni+BAeJPooWIqeRLZ+nL Y2og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897288; 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=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=l9leFaxHdlRV5deaNBNvxu4E+MeShChPlzHch4SPKkkZkLmKNNfZ5mueDKhyIvXoIJ bTxnGccYcLRXLtiKZaSPB/PbABJFyvvmGFv3WWmy7e9A+Q41wfKqYs+516xCDZelrd68 fSFA0GNMGAun/rMBTy+YZaRP1e4vWhJJ0Ejr27vnLF0l+RY0k4ZwYOsPMyHVrkjW5iF7 iftCB8aw97Z//rCH4XvP+ZiwTVA8vW9Bpsr7yWgASN5RuINNq74QaCf0tO8Z++v3oo2i FDZLLovOSPDsdGdOAYTsQeI3HN5a7azUkn/Y3KbfkFGEqig8GPI96+mRET+DKoQ9xeho JHkQ== X-Gm-Message-State: AAQBX9d8oCpTbS6eAi7PLHi483wAgebWzP5GZCYV7mErj28RZiLTmUSl jCpFft5sxG2Rm347b8XfYmfdmA== X-Received: by 2002:ac2:4838:0:b0:4dd:af29:92c1 with SMTP id 24-20020ac24838000000b004ddaf2992c1mr786647lft.44.1680897287743; Fri, 07 Apr 2023 12:54:47 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:47 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:41 +0200 Subject: [PATCH v2 1/4] arm64: dts: qcom: sm6115-j606f: Add ramoops node MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-1-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=841; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=E/tv8jOaoTtifU3iJkgY+Xi2d+mKQ2GWGkNbT8cN8Ck=; b=ZZHXQ2cKIx+C02ak8/jM5lpthy0RYTcN2FKcZFAytNmq9sljyputmzIU+Df5yjE0Al55eYDdtUWv X+gR0JmdCdB65vFzgB82jYBFS/RGCg+6V/MW/6uQ58I66cEE1Uty 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762548890062358617?= X-GMAIL-MSGID: =?utf-8?q?1762548890062358617?= Add a ramoops node to enable retrieving crash logs. Signed-off-by: Konrad Dybcio --- 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..cd47fbc993ba 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>; + ftrace-size = <0x20000>; + ecc-size = <16>; + }; + }; }; &dispcc {