pci: mvebu: Unable to assign mbus windows for 2nd pcie controller
authorTony Dinh <mibodhi@gmail.com>
Mon, 29 Sep 2025 21:49:12 +0000 (14:49 -0700)
committerStefan Roese <stefan.roese@mailbox.org>
Mon, 13 Oct 2025 14:13:21 +0000 (16:13 +0200)
commit81598d19ca7d60724c403a3ed4a10840e177288b
tree5382e9cce3ee3c1bcf2ca386a969ad3b61d3791e
parentb44f18923be58ecc5087f7a12d3204a16d468eec
pci: mvebu: Unable to assign mbus windows for 2nd pcie controller

Correct the memory and IO mbus windows size increments in mvebu_pcie_bind.

Currently, pcie1 controller resource_size(&mem) and resource_size(&io)
checks result in a failure. This is because mem.end and io.end must be
incremented at the end of pcie0 windows assignment.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>
drivers/pci/pci_mvebu.c