Martin,

> So there is no way to control proper alignment required for PCI BM-DMA
> when submitting the urb to the HC. 

What "proper alignment"?  None is mentioned in any
part of the linux/Documentation/DMA-mapping.txt ...
if there are such requirements on any platform, I'd
certainly expect them to be mentioned there!


> BTW, I'm not sure whether individually GFP_KERNEL-allocated and aligned
> buffers are still required with Dave's recent pci_pool-related patches,
> but at least it should not cause any harm.

The pci_pool patches should only affect data structures used
internally to the host controllers.

Related patches for pci_map_single should handle all the
data (or control setup) buffers handed by device drivers
to the HCDs.


> BTW2, since it is ok to call the DMA mapping API functions from interrupt
> context it should be ok to call usb_submit_urb() from your urb completion
> handler catc_irq(), regardless whether you use the pci_pool patches or
> not, IMHO.

In fact, the only USB driver API functions that you can't call
from interrupt context should be the blocking API calls
(usb_control_msg, usb_bulk_msg).

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to