Skip to content

Commit 7af1418

Browse files
konradybcioandersson
authored andcommitted
arm64: dts: qcom: x1e80100: Fix up BAR spaces
The 32-bit BAR spaces are reaching outside their assigned register regions. Shrink them to match their actual sizes. This resolves an issue where the regions overlap and one of the controllers won't come up, which can be seen in the log as: qcom-pcie 1c08000.pci: resource collision: [mem 0x7c300000-0x7fffffff] conflicts with 1c00000.pci dbi [mem 0x7e000000-0x7e000f1c] While at it, unify the style. Fixes: 5eb83fc ("arm64: dts: qcom: x1e80100: Add PCIe nodes") Cc: stable@vger.kernel.org Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Tested-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20240710-topic-barman-v1-1-5f63fca8d0fc@linaro.org [bjorn: Added note about overlapping resource regions] Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 717f063 commit 7af1418

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm64/boot/dts/qcom/x1e80100.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2924,9 +2924,9 @@
29242924
"mhi";
29252925
#address-cells = <3>;
29262926
#size-cells = <2>;
2927-
ranges = <0x01000000 0 0x00000000 0 0x70200000 0 0x100000>,
2928-
<0x02000000 0 0x70300000 0 0x70300000 0 0x3d00000>;
2929-
bus-range = <0 0xff>;
2927+
ranges = <0x01000000 0x0 0x00000000 0x0 0x70200000 0x0 0x100000>,
2928+
<0x02000000 0x0 0x70300000 0x0 0x70300000 0x0 0x1d00000>;
2929+
bus-range = <0x00 0xff>;
29302930

29312931
dma-coherent;
29322932

@@ -3173,8 +3173,8 @@
31733173
"mhi";
31743174
#address-cells = <3>;
31753175
#size-cells = <2>;
3176-
ranges = <0x01000000 0 0x00000000 0 0x7c200000 0 0x100000>,
3177-
<0x02000000 0 0x7c300000 0 0x7c300000 0 0x3d00000>;
3176+
ranges = <0x01000000 0x0 0x00000000 0x0 0x7c200000 0x0 0x100000>,
3177+
<0x02000000 0x0 0x7c300000 0x0 0x7c300000 0x0 0x1d00000>;
31783178
bus-range = <0x00 0xff>;
31793179

31803180
dma-coherent;

0 commit comments

Comments
 (0)