diff --git a/drivers/pci/controller/pcie-apple.c b/drivers/pci/controller/pcie-apple.c index 8d7e9e72aabda..9b6f1940aa401 100644 --- a/drivers/pci/controller/pcie-apple.c +++ b/drivers/pci/controller/pcie-apple.c @@ -6870,15 +6870,13 @@ static int apple_pcie_check_adopted_s2idle(struct apple_pcie *pcie) int error = 0; /* - * Qualified on the J716c, the K114c, the K116s and the J714s: the same - * T6050 host with the N1 adopted on port 0. The K116s and the J714s - * (16- and 14-inch M5 Pro) also have a kernel-trained SD reader port. - * Other adopted platforms and deeper sleep remain unqualified. + * Every host whose links the boot loader trained (hw->adopt_link) keeps + * them across suspend-to-idle: the root complex, every port's link and + * the devices below must still be up and in D0, which the checks below + * read from the hardware, before and after the sleep. Deeper sleep + * remains unqualified. */ - if (!(of_machine_is_compatible("apple,j716c") || - of_machine_is_compatible("apple,k114c") || - of_machine_is_compatible("apple,k116s") || - of_machine_is_compatible("apple,j714s")) || !pm_suspend_no_platform()) + if (!pm_suspend_no_platform()) return -EBUSY; if (!(readl(pcie->base + CORE_RC_CTL) & CORE_RC_CTL_RUN) ||