ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
stable inclusion from stable-v5.10.180 commit 7d731faebc8efc6b41f3fbad69318ad5f62c963d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7d731faebc8efc6b41f3fbad69318ad5f62c963d -------------------------------- [ Upstream commit 8fafb7e5 ] 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 Stable-dep-of: 0b16b34e ("ARM: dts: qcom: ipq8064: Fix the PCI I/O port range") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment