Re: [PATCH 1/2] USB: Allow HCDs to specifiy their DMA alignment requirements

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

 



2010/9/4 Martin Fuzzey <mfuzzey@xxxxxxxxx>:
> If the buffer is not aligned to the _hardware_ requirements
> fixing it (whether in the HCD or usb core and by whatever
> technique - bounce buffer, PIO,..) will require CPU access

Seems there is very few such cases (buffer is not aligned to the
HC controller requirement) now, why not fix it in upper driver (do the
bounce and PIO in interface driver instead of usbcore)?

> to the buffer. If the buffer is coherently mapped that will
> work but if not it will need to be unmapped or synced first
> (I believe this applies even if the device hardware never
> touches the buffer?)


-- 
Lei Ming
--
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