OSDN Git Service

arm64: dts: qcom: sdm845: narrow LLCC address space
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 28 Jul 2022 11:37:47 +0000 (13:37 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 17 Aug 2022 17:07:39 +0000 (12:07 -0500)
The Last Level Cache Controller (LLCC) device does not need to access
entire LLCC address space.  Currently driver uses only hardware info and
status registers which both reside in LLCC0_COMMON range (offset
0x30000, size 0x1000).  Narrow the address space to allow binding other
drivers to rest of LLCC address space.

Cc: Rajendra Nayak <quic_rjendra@quicinc.com>
Cc: Sibi Sankar <quic_sibis@quicinc.com>
Reported-by: Steev Klimaszewski <steev@kali.org>
Suggested-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220728113748.170548-11-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sdm845.dtsi

index f0e2867..4d5ae58 100644 (file)
 
                llcc: system-cache-controller@1100000 {
                        compatible = "qcom,sdm845-llcc";
-                       reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
+                       reg = <0 0x01100000 0 0x31000>, <0 0x01300000 0 0x50000>;
                        reg-names = "llcc_base", "llcc_broadcast_base";
                        interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
                };