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]

 



Am Dienstag, 31. August 2010, 21:23:05 schrieb David Brownell:
> I thought the resolution was that any HCD which
> requires alignment other than 1-byte was buggy;
> trying to use it would break too many drivers,
> and try to spread rude constaints to too many
> subsystems that don't want such stuff any more
> than the USB stack (doesn't want it).

True. It is a requirenment that a HCD work with any kmalloced
buffer. The proposed patch does that. Two issues remain

1. Drivers mapping their own buffers.
The problem here is that I am not sure we have a valid pointer
which can support a copy to a bounce buffer.

2. Some drivers may want to care. Network drivers in particular
might be able to employ a memmove instead of a copy.

	Regards
		Oliver
--
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