Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8887903rwb; Tue, 13 Dec 2022 11:45:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Katvs2hePaS+VmSwHFFKruefX3R96PEAThZDpwyJDcEQyHRpGS9y2IyDpgz+YuCZ3nFvx X-Received: by 2002:a17:90a:aa94:b0:218:d638:1628 with SMTP id l20-20020a17090aaa9400b00218d6381628mr24717719pjq.42.1670960718539; Tue, 13 Dec 2022 11:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670960718; cv=none; d=google.com; s=arc-20160816; b=HJaizrb/OfzaMYBWWC6/JmyyyVaO4KnuUQI1FciwNfo+47lGK3nT0AGekd1VClDRY/ oflgF/2Aw27cNWXGtFRk0REFTNVfPuc2E+zYKpox9CtuX/uvBJo/k8iQpviwFRF2PNzp 3IvL3WUqj+TdBgYHhkE1p//eplKhvf2RSzYk22emeDcp9w0fphVAM9AMUC159NJc+ZRI 9iislYdx+aUz3MjLtnLm/XoCn6Emt6Z9P40QDFI4a5pixE5QSPYeq2NFF6JaLjRLT5zd s0OgkW5+JbhLnEZuHe8muBJlJ0gLvnyXCueJJDQabnNezJuvLExMVPSxbKIMsCqf7EST fFbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=L303KNiiCGa2s8e57cnLjfvhyKQwQ4Pq4U8Wh9sxeAM=; b=yPj0uLqY7pipL60x1Jp/8OYug6AqFk7dAsGa2HFeij9MxtLiXeO2DhB5YvJAbgQydd EW7vVZhFgboSZdu6nwpnXGIHrE1DKRsKDaL3bDqby4ynPRGjx1SunFMeoqXYHi8XkOtE rptGPGn0VGJ3SMxHAM5EnZ4sNyblnz+mrsrZ0QuKNytjdtjjFzaOXCP1iTBczmB2eDnr xGbGP7QsDZgCrF/Y8zUIogxngSKvff2/TtlG+Rt1IVg09eWxghMHKnKBEqAsa+4D2r8H Xd+iWZn7LmJEryawlYM9JBEqcgUrL1m87J/JkSbuZwGB6mvZO0GajUlLFUA2q1BHRKaL 9p1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mbZMTgzM; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nl7-20020a17090b384700b0021945f60e1asi14471911pjb.61.2022.12.13.11.45.08; Tue, 13 Dec 2022 11:45:18 -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=mbZMTgzM; 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 S236654AbiLMShd (ORCPT + 72 others); Tue, 13 Dec 2022 13:37:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236752AbiLMShM (ORCPT ); Tue, 13 Dec 2022 13:37:12 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4869425296 for ; Tue, 13 Dec 2022 10:37:10 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id p8so6343181lfu.11 for ; Tue, 13 Dec 2022 10:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=L303KNiiCGa2s8e57cnLjfvhyKQwQ4Pq4U8Wh9sxeAM=; b=mbZMTgzMhOaneVV7iiak9c6D7suF3fdKwaHLlfn1P9N9puXV3Yg4bIzEbYppr/Bm4d STzIGbHWYqW5og/Be1fNLf2MleWqkisHbGGja5Mv3HZr4+Kh0vE6Fo4YCYjq2wmvQotj X+6PECu5ZAvQxSfwCcSOuQJtTC6h7scxjmqwar0NIjVTNKmhbS9eRNz/GVuuS4vYaXP4 sN9sFgz32ThTb5i7YdglhOPxTN0nCc8ZIdMCEoPhdnQ6dK3IAv2jr7xUUHWqr+uv1qch rg6XCdIQOBFDYc4UbjHWqVRsHBFZ/E/ECaFfOpcjwY4117PO50C4VP5X+KGT9Rr5zrjo bEww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L303KNiiCGa2s8e57cnLjfvhyKQwQ4Pq4U8Wh9sxeAM=; b=s8wP0Q9qkobhSXHOxgoT05wiRa+26N1Bf63zGv3vyVM3ktS+6P9qrsgxjdc5dQqcKl JrpjFZHC34Rus9Vt81OWxIaPbDrbo+uhKfdwoCjyxLuX4WocF5Q/V1oZ4bxBc0bgzEtV 6Q28rT1wbSfHidqSop9WDQILuzsMm083nssXc3bXEwzMhP6vl1MyKqML9lgQx930KM9k m0SKRZLoPs7AOrDbNrQ0kh4lcCopvFaupaVgTBl2FWon6lgTn2Yn2UGafb1x2aZRc0+L kZHzZ2kiv5yNxkGN9cQGcfbjIf1Jluu3Z3Mr1fCguoHTiG/2XfY32bCP5Uqadh+JRUhH DL4Q== X-Gm-Message-State: ANoB5pkz1zAY0qeaK/fMZzh1nYn1K5TdBaKfLDAu7Di2Xnwv5ZoSMqmE Tz0H7tTr7yKcQbXaC5Ar4lsLWw== X-Received: by 2002:ac2:5314:0:b0:4b5:a4f1:fbbe with SMTP id c20-20020ac25314000000b004b5a4f1fbbemr7593894lfh.67.1670956628642; Tue, 13 Dec 2022 10:37:08 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id f11-20020a056512360b00b004b55da01d3csm463102lfs.191.2022.12.13.10.37.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Dec 2022 10:37:08 -0800 (PST) Message-ID: <75ae9a48-6ddd-2e85-a7e2-7b0e6baf0ccf@linaro.org> Date: Tue, 13 Dec 2022 19:37:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v2 03/13] arm64: dts: qcom: sdm845: Fix the base addresses of LLCC banks Content-Language: en-US To: Manivannan Sadhasivam Cc: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com, 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, stable@vger.kernel.org References: <20221212123311.146261-1-manivannan.sadhasivam@linaro.org> <20221212123311.146261-4-manivannan.sadhasivam@linaro.org> <038e6569-9f8f-3b59-0243-af6dcf0c2d80@linaro.org> <20221213171356.GD4862@thinkpad> From: Krzysztof Kozlowski In-Reply-To: <20221213171356.GD4862@thinkpad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 13/12/2022 18:13, Manivannan Sadhasivam wrote: > On Tue, Dec 13, 2022 at 05:27:45PM +0100, Krzysztof Kozlowski wrote: >> On 12/12/2022 13:33, Manivannan Sadhasivam wrote: >>> 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. >>> >>> Also, let's get rid of reg-names property as it is not needed anymore. >>> The driver is expected to parse the reg field based on index to get the >>> addresses of each LLCC banks. >>> >>> Cc: # 5.4 >> >> No, you cannot backport it. You will break users. >> > > If the driver change gets backported, it will break users, isn't it? Whether driver change gets backported or not - all out of tree kernel users, other systems, firmwares/bootloaders are broken and backporting driver piece will not fix it. By this backport you mean that the change can go alone to v5.4 kernel (you did not write here dependency on other backport) and I wonder if v5.4 kernel works with this patch... > >>> Fixes: ba0411ddd133 ("arm64: dts: sdm845: Add device node for Last level cache controller") >>> Reported-by: Parikshit Pareek >>> Signed-off-by: Manivannan Sadhasivam >>> --- >>> arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++-- >>> 1 file changed, 3 insertions(+), 2 deletions(-) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi >>> index 65032b94b46d..683b861e060d 100644 >>> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi >>> @@ -2132,8 +2132,9 @@ uart15: serial@a9c000 { >>> >>> llcc: system-cache-controller@1100000 { >>> compatible = "qcom,sdm845-llcc"; >>> - reg = <0 0x01100000 0 0x31000>, <0 0x01300000 0 0x50000>; >>> - reg-names = "llcc_base", "llcc_broadcast_base"; >> >> Once property was made required, you cannot remove it. What if other >> bindings user depends on it? >> >> Please instead keep/update the reg-names and/or mark it as deprecated. >> It must stay in DTS for some time. >> > > Fair enough. I will mark it as deprecated in binding and will keep it in dts. Best regards, Krzysztof