Commit 04db6314 authored by Mika Westerberg's avatar Mika Westerberg Committed by sanglipeng
Browse files

PCI: Align extra resources for hotplug bridges properly

stable inclusion
from stable-v5.10.173
commit fdca189e522850ee122a409ed7e693795e31fb58
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7X0QU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fdca189e522850ee122a409ed7e693795e31fb58

--------------------------------

[ Upstream commit 08f0a15e ]

After division the extra resource space per hotplug bridge may not be
aligned according to the window alignment, so align it before passing it
down for further distribution.

Link: https://lore.kernel.org/r/20230131092405.29121-2-mika.westerberg@linux.intel.com


Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 547e8af4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment