<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 01.02.2022 um 22:25 schrieb H. Nikolaus Schaller <<a href="mailto:hns@goldelico.com" class="">hns@goldelico.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class="">anyone else also observing this issue?<br class=""><br class="">I have booted letux-5.17-rc2 and get console log:<br class=""><br class="">[ 23.131195] using random self ethernet address<br class="">[ 23.135894] using random host ethernet address<br class="">[ 23.142639] using host ethernet address: 32:70:05:18:ff:78<br class="">[ 23.142639] using self ethernet address: 46:10:3a:b3:af:d9<br class="">[ 23.161499] usb0: HOST MAC 32:70:05:18:ff:78<br class="">[ 23.186492] usb0: MAC 46:10:3a:b3:af:d9<br class="">[ 23.196533] using random self ethernet address<br class="">[ 23.201293] using random host ethernet address<br class="">[ 23.206085] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008<br class="">[ 23.216064] g_ether gadget: g_ether ready<br class="">[ 23.286529] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.485809] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.597503] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.603607] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.926086] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.965881] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 23.976470] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 24.680023] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">[ 24.688232] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 24.694335] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 24.706481] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 25.742034] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">[ 25.750061] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">[ 25.757995] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">[ 25.766113] musb-hdrc musb-hdrc.1.auto: Could not enable: -22<br class="">[ 25.772399] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready<br class="">[ 25.779479] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">...<br class="">[ 49.359893] musb-hdrc musb-hdrc.1.auto: pm runtime get failed in musb_gadget_queue<br class="">usw.<br class=""><br class="">This is as soon/as long as the USB cable is connected.<br class=""><br class="">I have also tried letux-5.16.0, letux-5.16.4 which do not have the issue<br class="">while letux-5.17-rc1 also has it.<br class=""><br class="">So it is once again some bug introduced from upstream :(<br class=""><br class="">Direct musb related commits seem to be:<br class=""><br class="">iMac:master hns$ git log --oneline v5.16..v5.17-rc1 --grep musb<br class="">ce1d37cb7697a usb: musb: dsps: Use platform_get_irq_byname() to get the interrupt<br class="">cf081d009c447 usb: musb: Set the DT node on the child device<br class="">9879c81b68079 usb: musb: Drop unneeded resource copying<br class="">iMac:master hns$ <br class=""><br class="">Trying to reverting them one after one on top of letux-5.17-rc2 makes<br class="">me believe that reverting cf081d009c447 is partially sufficient...<br class=""><br class="">There are still spurious stack trace exceptions from irq_exit.<br class=""><br class="">Can anyone please confirm before we report an official upstream bug?<br class=""></div></div></blockquote></div><div class=""><br class=""></div>bisect:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cf081d009c447647c6b36aced535ca427dbebe72 is the first bad commit</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">commit cf081d009c447647c6b36aced535ca427dbebe72</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Author: Rob Herring <<a href="mailto:robh@kernel.org" class="">robh@kernel.org</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Date: Wed Dec 15 17:07:57 2021 -0600</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> usb: musb: Set the DT node on the child device</span></div><p style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> The musb glue drivers just copy the glue resources to the musb child device.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Instead, set the musb child device's DT node pointer to the parent device's</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> node so that platform_get_irq_byname() can find the resources in the DT.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> This removes the need for statically populating the IRQ resources from the</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> DT which has been deprecated for some time.</span></div><p style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Signed-off-by: Rob Herring <<a href="mailto:robh@kernel.org" class="">robh@kernel.org</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Link: <a href="https://lore.kernel.org/r/20211215230756.2009115-3-robh@kernel.org" class="">https://lore.kernel.org/r/20211215230756.2009115-3-robh@kernel.org</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Signed-off-by: Greg Kroah-Hartman <<a href="mailto:gregkh@linuxfoundation.org" class="">gregkh@linuxfoundation.org</a>></span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; min-height: 14px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/am35x.c | 2 ++</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/da8xx.c | 2 ++</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/jz4740.c | 1 +</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/mediatek.c | 2 ++</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/omap2430.c | 1 +</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> drivers/usb/musb/ux500.c | 1 +</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 6 files changed, 9 insertions(+)</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">So my guess is confirmed and we can send a bug report.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">BR,</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Nikolaus</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></body></html>