Hi, dev jad <devidas.lml@xxxxxxxxx> writes: > Hi Balbi, > > (sorry for top posting in previous mail.) > >> Is it a good idea to add support for ASIC in musb, to be able to enable >> > MUSB_PIO_ONLY ? >> >> depends on what you want to do > > > currently the ASIC doesn't support dma. so to enable USB WiFi dongle I > need to disable DMA usage of USB subsystem in kernel. which is causing > kernel panic(usb_hcd_map_urb_for_dma). > which is caused by > > usb_hcd_map_urb_for_dma -> dma_map_single > -> BUG_ON(!virt_addr_valid(cpu_addr)); > > > 1. so how to make his driver PIO Only like we have in MUSB ? > > 2. Is there any other way to enable PIO only mode in USB HCD other than > adding it in MUSB sub sytem glue driver ? > > 3. Is it possible to enable PIO only mode from MUSB for non ti /mentor > graphics SoC ? no idea, I haven't touched MUSB in a while. You may wanna add the MUSB maintainer to the loop, but again, don't expect for much help if you're stuck in a 3.3 kernel. -- balbi
Attachment:
signature.asc
Description: PGP signature