Re: [PATCH 00/22] Explicitly deny IRQ0 in the USB host drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 18, 2021 at 09:39:08PM +0300, Sergey Shtylyov wrote:
> 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. I think that the solution to this issue
> is either explicitly deny or accept IRQ0 in usb_add_hcd()... /but/ here's this
> patch set to get the things going...
> 
> Sergey Shtylyov (22):

For patches 1 - 18 (EHCI and OHCI):

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

>   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(-)
> 
> -- 
> 2.26.3



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux