Re: g_serial / fsl_udc_core: yet another BUG: scheduling while atomic

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

 



Hi Robert,

> > I'm using linux 2.6.31.6 on a Freescale i.MX27 (arm9) platform. For
> > communication purposes the device uses the g_serial gadget to connect to
> > a pc (running Windows XP, but with Linux on the other side the same
> > problem occurs).
> 
> Can you try to reproduce with the latest mainline kernel or mxc-master?

Yes I could try, but first need to bring my board specific changes to
the newest kernel.

Indeed there hasn't been any relevant changes in neither the g_serial
code (u_serial.c, serial.c) nor in the fsl_udc_core.c driver (diffed
latest against mainline 2.6.34-rc7) nor in dmapool.c

Indeed there was a single line changed in these files:

diff fsl_udc_core.c /tmp/linux-2.6.34-rc7/drivers/usb/gadget
/fsl_udc_core.c 
686d685
< 
2143c2142
< dma_free_coherent(dev, udc_controller->ep_qh_size,
---
> dma_free_coherent(dev->parent, udc_controller->ep_qh_size,

This is just a fix for an oops on driver removal which came in on 2.6.32
AFAIK, but does not matter in this case.

Do you think a test with a newer kernel does make any sense anyway in
this case?

Regards,

Ole Reinhardt

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux