From patchwork Tue Oct 26 17:39:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Shtylyov X-Patchwork-Id: 12585275 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E03AAC433EF for ; Tue, 26 Oct 2021 17:39:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C374160F9D for ; Tue, 26 Oct 2021 17:39:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236558AbhJZRmL (ORCPT ); Tue, 26 Oct 2021 13:42:11 -0400 Received: from mxout02.lancloud.ru ([45.84.86.82]:57190 "EHLO mxout02.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231618AbhJZRmK (ORCPT ); Tue, 26 Oct 2021 13:42:10 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout02.lancloud.ru AAA9620C0461 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Sergey Shtylyov To: , Greg Kroah-Hartman , Alan Stern , "Mathias Nyman" Subject: [PATCH v2 00/22] Explicitly deny IRQ0 in the USB host drivers Date: Tue, 26 Oct 2021 20:39:21 +0300 Message-ID: <20211026173943.6829-1-s.shtylyov@omp.ru> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Here are 22 patches against the 'usb-next' branch of Greg KH's 'usb.git' repo. The affected drivers use platform_get_irq() which can return IRQ0 (considered invalid, according to Linus) that means broken HCD when passed to usb_add_hcd() called at the end of the probe() methods. Sergey Shtylyov (22): usb: host: ehci-exynos: deny IRQ0 usb: host: ehci-mv: deny IRQ0 usb: host: ehci-npcm7xx: deny IRQ0 usb: host: ehci-omap: deny IRQ0 usb: host: ehci-platform: deny IRQ0 usb: host: ehci-spear: deny IRQ0 usb: host: ehci-st: deny IRQ0 usb: host: ohci-at91: deny IRQ0 usb: host: ohci-da8xx: deny IRQ0 usb: host: ohci-exynos: deny IRQ0 usb: host: ohci-at91: deny IRQ0 usb: host: ohci-omap: deny IRQ0 usb: host: ohci-platform: deny IRQ0 usb: host: ohci-pxa27x: deny IRQ0 usb: host: ohci-sm501: deny IRQ0 usb: host: ohci-spear: deny IRQ0 usb: host: ohci-st: deny IRQ0 usb: host: ohci-tmio: deny IRQ0 usb: host: xhci-histb: deny IRQ0 usb: host: xhci-mtk: deny IRQ0 usb: host: xhci-plat: deny IRQ0 usb: host: xhci-tegra: deny IRQ0 drivers/usb/host/ehci-exynos.c | 4 ++++ drivers/usb/host/ehci-mv.c | 4 ++++ drivers/usb/host/ehci-npcm7xx.c | 4 ++++ drivers/usb/host/ehci-omap.c | 2 ++ drivers/usb/host/ehci-platform.c | 2 ++ drivers/usb/host/ehci-spear.c | 4 ++++ drivers/usb/host/ehci-st.c | 2 ++ drivers/usb/host/ohci-at91.c | 2 ++ drivers/usb/host/ohci-da8xx.c | 4 ++++ drivers/usb/host/ohci-exynos.c | 4 ++++ drivers/usb/host/ohci-nxp.c | 4 ++++ drivers/usb/host/ohci-omap.c | 4 ++++ drivers/usb/host/ohci-platform.c | 2 ++ drivers/usb/host/ohci-pxa27x.c | 2 ++ drivers/usb/host/ohci-sm501.c | 4 ++++ drivers/usb/host/ohci-spear.c | 4 ++++ drivers/usb/host/ohci-st.c | 2 ++ drivers/usb/host/ohci-tmio.c | 2 ++ drivers/usb/host/xhci-histb.c | 2 ++ drivers/usb/host/xhci-mtk.c | 4 +++- drivers/usb/host/xhci-plat.c | 2 ++ drivers/usb/host/xhci-tegra.c | 2 ++ 22 files changed, 65 insertions(+), 1 deletion(-)