Hello,
While testing Andy's current Edison kernel[1], I notice a regression
compared to the 4.9-rc8:
loading dwc3 module emits:
[ 1637.327602] dwc3 dwc3.1.auto: can't allocate event buffer
[ 1637.333201] dwc3 dwc3.1.auto: failed to allocate event buffers
[ 1637.341101] dwc3: probe of dwc3.1.auto failed with error -12
A quick kgdb session finds:
Thread 121 hit Breakpoint 3, dma_alloc_from_coherent
(dev=0xf4e6440c, size=256, dma_handle=0xf4901eac, ret=0xf4895cd8) at
drivers/base/dma-coherent.c:165
165 int order = get_order(size);
(gdb) print dev->dma_mem
$8 = (struct dma_coherent_mem *) 0x0
Which I traced back to:
commit d64ff406e51e4f359afedbf2468a10440d6d8cef
Author: Arnd Bergmann
Date: Thu Nov 17 17:13:47 2016 +0530
usb: dwc3: use bus->sysdev for DMA configuration
I am not sure where to go from here: I believe there is no specific
change in Andy's tree related to the dwc3, but I'm not familiar with
how devices are discovered (and even less how dma memory is assigned).
I did not (yet) tried with this commit (and the one following it)
reverted.
[1] https://github.com/andy-shev/linux/tree/eds as of
3cfd6f93b96355542e044240f2daf11840dda0b2
Regards,
--
Vincent Pelletier
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html