Skip to content

Commit cd7bb53

Browse files
committed
sh: Fix up async PCIe probing on SMP.
For the SMP case we run in to a lockup without a full synchronization prior to continuing with the boot. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent e8cdfb0 commit cd7bb53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/sh/drivers/pci/pcie-sh7786.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ static int __init sh7786_pcie_init(void)
571571
async_schedule(sh7786_pcie_hwops->port_init_hw, port);
572572
}
573573

574+
async_synchronize_full();
575+
574576
return 0;
575577
}
576578
arch_initcall(sh7786_pcie_init);

0 commit comments

Comments
 (0)