Commit ed82ae05 authored by Christian Marangi's avatar Christian Marangi Committed by sanglipeng
Browse files

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: default avatarChristian Marangi <ansuelsmth@gmail.com>
Tested-by: default avatarJonathan McDowell <noodles@earth.li>
Signed-off-by: default avatarBjorn 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: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent a8d55514
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment