From patchwork Sat Dec 10 10:25:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13070302 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E094DC10F1B for ; Sat, 10 Dec 2022 10:26:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbiLJK0T (ORCPT ); Sat, 10 Dec 2022 05:26:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbiLJK0P (ORCPT ); Sat, 10 Dec 2022 05:26:15 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8182321E13 for ; Sat, 10 Dec 2022 02:26:10 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id p8so10817596lfu.11 for ; Sat, 10 Dec 2022 02:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VtLJNDu+OcXPIw8jTOxpwXv8sktDAvQVvTt3GUvBQb8=; b=EeqEI9z66oRr6x2wHZFZ5qBrARJNGjJFvItHPRCHkOfiqXE0UZYXGWWriTMY38G6KP zHs7RH35l8oT75tuRbtzMC+SkZeIqxDlgmym8qk5RsT6jZwl+zFrC4MJWT9GiZCq2eeK AaHqbaa4gJaVCtIu/e29DSGQ7h1PkkWW+rzAU92o8ftToCSjRI+bXkhC/a0mylhrR9u2 8YUCPCKJm5PnyllM7CSi83wHb30JYY1OI43L4ITMQGSMLoLUYGKBzISt1y0xCTQI/Qas 6f/RksuoffvznEehPhbNTd1GOjk5AtgRzh+mu1/phimoaFVOQqUQUBGKmDz75YjzycCi 9IJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VtLJNDu+OcXPIw8jTOxpwXv8sktDAvQVvTt3GUvBQb8=; b=ClMsVWX33YEuShBIxwPJw8vmSb0AxWxvRVCru44lDyIt1adba60FSdr61yARY1nv0f kffAeq0LVIMI0gknuMRnYIFHFCB0tq7vHyF5p2i5uytbmr8HhS7i9HufD+VJJCul2rw0 uvlpd8/FYLQR7yKC2MZaaBg1OEvzAuOr1rsU+JOc893DGx1c8txjUvVCdVJ4d1s7VoRg yO3SaMPGKkCXndtBTyX84XMeDuJ8RVwSlILVbzTIaLl4wPnKtMMqkrDiksQ/+t9FdxEk cw0BFOB5hoedi33U0fTits/IRjzvqRBOsTg2umYfQzAMhSBFnTtFbNgzP6/xzQ8pL79f jwQg== X-Gm-Message-State: ANoB5pkrW1zi3Lpr045MTzqAd8k7sSaLJJoHQMjwQtc3A/x+9zqv0+Nb 8aicBvVFToFOv05VSmLwIHeAs2bVW6guJaX9 X-Google-Smtp-Source: AA0mqf6J3YQDAOpPlFae5H80QTDe2s6nxrZKvhZ0wS6Uer1nbjq+KtLf05a0mU8r7EaH4aZkQINmOg== X-Received: by 2002:a05:6512:23a9:b0:4a4:68b8:f4ef with SMTP id c41-20020a05651223a900b004a468b8f4efmr3521377lfv.53.1670667968588; Sat, 10 Dec 2022 02:26:08 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id n6-20020a05651203e600b004b58fadba35sm656049lfq.296.2022.12.10.02.26.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 02:26:08 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Luca Weiss , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm6350: Fix up the ramoops node Date: Sat, 10 Dec 2022 11:25:59 +0100 Message-Id: <20221210102600.589028-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix up the ramoops node to make it match bindings and style: - remove "removed-dma-pool" - don't pad size to 8 hex digits - change cc-size to ecc-size so that it's used - increase ecc-size from to 16 - remove the zeroed ftrace-size Fixes: 5f82b9cda61e ("arm64: dts: qcom: Add SM6350 device tree") Reported-by: Luca Weiss Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 567f4893c562..b8e03efc44a7 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -344,13 +344,12 @@ last_log_region: memory@ffbc0000 { }; ramoops: ramoops@ffc00000 { - compatible = "removed-dma-pool", "ramoops"; - reg = <0 0xffc00000 0 0x00100000>; + compatible = "ramoops"; + reg = <0 0xffc00000 0 0x100000>; record-size = <0x1000>; console-size = <0x40000>; - ftrace-size = <0x0>; msg-size = <0x20000 0x20000>; - cc-size = <0x0>; + ecc-size = <16>; no-map; };