[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240521074635.17938-1-quic_akakum@quicinc.com>
Date: Tue, 21 May 2024 13:16:35 +0530
From: Akash Kumar <quic_akakum@...cinc.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jing Leng
<jleng@...arella.com>, Felipe Balbi <balbi@...nel.org>,
Pratham PratapĀ <quic_ppratap@...cinc.com>,
Jack Pham
<quic_jackp@...cinc.com>, <kernel@...cinc.com>,
Wesley Cheng
<quic_wcheng@...cinc.com>,
Vijayavardhan Vennapusa
<quic_vvreddy@...cinc.com>,
Krishna Kurapati <quic_kriskura@...cinc.com>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Akash Kumar
<quic_akakum@...cinc.com>
Subject: [PATCH] USB: pci-quirks: Skip usb_early_handoff for Renesas PCI USB
Skip usb_early_handoff for the Renesas PCI USB controller due to
the firmware not being loaded beforehand, which impacts the bootup
time.
Signed-off-by: Akash Kumar <quic_akakum@...cinc.com>
---
drivers/usb/host/pci-quirks.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index 0b949acfa258..a0770ecc0861 100644
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -1264,6 +1264,11 @@ static void quirk_usb_early_handoff(struct pci_dev *pdev)
}
}
+ /* Skip handoff for Renesas PCI USB controller on QCOM SOC */
+ if ((pdev->vendor == PCI_VENDOR_ID_RENESAS) &&
+ (pcie_find_root_port(pdev)->vendor == PCI_VENDOR_ID_QCOM))
+ return;
+
if (pdev->class != PCI_CLASS_SERIAL_USB_UHCI &&
pdev->class != PCI_CLASS_SERIAL_USB_OHCI &&
pdev->class != PCI_CLASS_SERIAL_USB_EHCI &&
--
2.17.1
Powered by blists - more mailing lists