From patchwork Mon Dec 12 12:33:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 32367 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2221042wrr; Mon, 12 Dec 2022 04:47:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf43hV8tEi0jv1SIM5985mcMvVZfO1UcSgp/pP0/5ditHcT+1FFRAJZlJSPKym4z4/5LNSkl X-Received: by 2002:a17:90b:3c08:b0:221:1232:b0ec with SMTP id pb8-20020a17090b3c0800b002211232b0ecmr8759804pjb.21.1670849266833; Mon, 12 Dec 2022 04:47:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670849266; cv=none; d=google.com; s=arc-20160816; b=EXYzkoFJgtoXsMZc4OIMCi9BzBtaPSFCEW9h3HwrZFMXev+npTyZsHuRr+QgoWKeMb wVSjNdvr1ZrK3oWU10qik5pO+F4U23UvPo4GvXoezYjSanEL5fQSJrX7+Y+h96TUe0KP EN4PrxIuM85tLL+68tCeAMs0vAcquUd9F7Byy7bjLaB7C07FfmtJ6nUhofyflgiNAPla 7ypo7S0SVzkA4sNiA5gqqQQgKtSUa8DuVjbt9mMi9gar0lt1/G7stwCoQ9RTs7OYPQlV dX52Ea/QdkmZWU3U1gOg8/NFA79hUTD0Hp1wPRi8Z7ZpYBN3+4DqsRkIY9BiWPKMW6g+ oxIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cWyQujEvk1ZvvBEgjMYf46UtX0tdPlQNyeagksROeaI=; b=W5fo3hgh+rEvB6EZ2RHbn08pqWQK/zB/bjhZxEXpJh8/9d2xyd3alSchzKfvMN2KO2 UbGX8nWAHo2se5vaIjA2pQ7ECf4Zzv9/Rv8nJYYdpVpoKuzODtjyOrOJ26cFgr1olHn8 oOsysMYzjuQgzfqpXc9xSwx7aOcU4FSeng/IELRrwmJQ/IJqtS9vv/enMeIXrAebmhHi s2sFFvuEgSmfIe+UxhoEE6F/v7L8lUrXn7lbQQfBlcCYWNulxWXrNd9jK7i2RIPZicH5 PcwsxI6JMOFNyRMngXkLgCaK9gcvahOMkM+VllIk5oFHWKkrljheQ7FlqGyoOGNRvupT dYXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M+NOjZk3; 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 gf18-20020a17090ac7d200b00219cc68ea9bsi8993246pjb.115.2022.12.12.04.47.34; Mon, 12 Dec 2022 04:47:46 -0800 (PST) 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=M+NOjZk3; 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 S232226AbiLLMgJ (ORCPT + 99 others); Mon, 12 Dec 2022 07:36:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232364AbiLLMfV (ORCPT ); Mon, 12 Dec 2022 07:35:21 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B9612772 for ; Mon, 12 Dec 2022 04:34:42 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id t2so8933072ply.2 for ; Mon, 12 Dec 2022 04:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cWyQujEvk1ZvvBEgjMYf46UtX0tdPlQNyeagksROeaI=; b=M+NOjZk3UqxL2qLgCMURy7Ekh48jPeaCcqRn64ULQe7hLXCTrQX/RIV15uLXE6ohIx Q2HQnbsrSIbSM3fwr3TKe+sjv/qq6aWEPaxcckJhx/TpQqTtFwU1ndqGT1K+U5ek5cKf 1duNN7KH4MkKiz/3HAoUeuIgmOFaW4PtKxAD7Pkyn2roSKdAbEftDLUCgfVD8CKh1QtM Dng++ZhI/2ylK4xxS2ARFK5UT+ZZLyjtG4M2XZ1xvKrNsCuyotdLqReA4+QAMZ9/zTYi KNFh6iGZtfi+Yot+VNHfjOz2/VhOIglbuhXIt+r5ej2duICSXtQ8ttGOCPspoofzc+CK SIdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cWyQujEvk1ZvvBEgjMYf46UtX0tdPlQNyeagksROeaI=; b=o352P5uY4YxpQnBpWAeJvRkW7vuAWZAqwlogE2m/1PBeEGzLs/UbRyXUSXjkVqS2nU 4VJiys8qYX1+pgocVbHQr/oPaRcP8BQpcQOd8UG0FVCt2DJtGXZ+bdb06lsqDRodcjQK mo3fAtnPRKavG9sL6apQwcUOwCl/U+7W+ehtJ6bzg9xjWEO6YB/kvvlEfGZuiy34FLbH xScNV6PIUiNVDMcU6EczJNEqp4TJ8emn+XaIaJ8SKuDOEZCJYLfdw4VoCfGUgp6A8I5T MynTkRd9/YemDfQ/fpgZc1awyPwbq2P0n2K8O4sEBzdHZF4iPd5iiocuNrRx3ANE79od DAEA== X-Gm-Message-State: ANoB5pmXyjvTuX4YkNyHVHNU6Opui9/hOF1Q09n1Uauex3KnmniNL4Ju 52e/1sZuB1EbfG6Zd7MIMGId X-Received: by 2002:a17:902:bd03:b0:187:1c7b:207 with SMTP id p3-20020a170902bd0300b001871c7b0207mr15731543pls.38.1670848469266; Mon, 12 Dec 2022 04:34:29 -0800 (PST) Received: from localhost.localdomain ([220.158.159.33]) by smtp.gmail.com with ESMTPSA id j14-20020a170902da8e00b00189c93ce5easm6252557plx.166.2022.12.12.04.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 04:34:28 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: quic_saipraka@quicinc.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, quic_ppareek@quicinc.com, luca.weiss@fairphone.com, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH v2 11/13] arm64: dts: qcom: sm6350: Remove reg-names property from LLCC node Date: Mon, 12 Dec 2022 18:03:09 +0530 Message-Id: <20221212123311.146261-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221212123311.146261-1-manivannan.sadhasivam@linaro.org> References: <20221212123311.146261-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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?1752012441123903343?= X-GMAIL-MSGID: =?utf-8?q?1752012441123903343?= The LLCC block has several banks each with a different base address and holes in between. So it is not a correct approach to cover these banks with a single offset/size. Instead, the individual bank's base address needs to be specified in devicetree with the exact size. On SM6350, there is only one LLCC bank available. So only change needed is to remove the reg-names property from LLCC node to conform to the binding. The driver is expected to parse the reg field based on index to get the addresses of each LLCC banks. Cc: # 5.16 Fixes: ced2f0d75e13 ("arm64: dts: qcom: sm6350: Add LLCC node") Reported-by: Parikshit Pareek Signed-off-by: Manivannan Sadhasivam Reviewed-by: Sai Prakash Ranjan --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 43324bf291c3..1f39627cd7c6 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1174,7 +1174,6 @@ dc_noc: interconnect@9160000 { system-cache-controller@9200000 { compatible = "qcom,sm6350-llcc"; reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; }; gem_noc: interconnect@9680000 {