]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 7 Jul 2022 01:09:40 +0000 (03:09 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 17 Jul 2022 02:44:23 +0000 (21:44 -0500)
commitc16e4dfda02f5a5185b7fe6b3e70288cad5431a3
treeefb0d17dc372f4fc782137f14fae42ea621772eb
parent0376035dee63f8f13b63ddb9d20c10cb701523aa
ARM: dts: qcom: ipq8064: reduce pci IO size to 64K

The current value for pci IO is problematic for ath10k wifi card
commonly connected to ipq8064 SoC.
The current value is probably a typo and is actually uncommon to find
1MB IO space even on a x86 arch. Also with recent changes to the pci
driver, pci1 and pci2 now fails to function as any connected device
fails any reg read/write. Reduce this to 64K as it should be more than
enough and 3 * 64K of total IO space doesn't exceed the IO_SPACE_LIMIT
hardcoded for the ARM arch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Tested-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220707010943.20857-7-ansuelsmth@gmail.com
arch/arm/boot/dts/qcom-ipq8064.dtsi