All of lore.kernel.org
 help / color / mirror / Atom feed
* usb: dwc2: screaming interrupt after kexec reboot
@ 2020-05-26  3:25 Frank Mori Hess
  2020-05-27  6:06 ` Minas Harutyunyan
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Mori Hess @ 2020-05-26  3:25 UTC (permalink / raw)
  To: Minas Harutyunyan, linux-usb

Hi,

I get a screaming dwc2 interrupt after rebooting into a new kernel
with kexec.  I fixed it by modifying the dwc2_driver_shutdown function
in dwc2/platform.c so it does

dwc2_writel(hsotg, 0, GINTMSK);
dwc2_writel(hsotg, 0, HAINTMSK);
dwc2_writel(hsotg, 0, DAINTMSK);

rather than calling disable_irq().  Another reason to make this change
is disable_irq() affects other devices if the irq is shared.  I'd
really rather not submit a formal patch, hopefully the maintainer will
adopt this suggestion.

-- 
Frank

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-28 19:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  3:25 usb: dwc2: screaming interrupt after kexec reboot Frank Mori Hess
2020-05-27  6:06 ` Minas Harutyunyan
2020-05-28 19:16   ` Frank Mori Hess

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.