Re: [linux-usb-devel] Re: "sr: unaligned transfer" in 2.5.2-pre1

From: Jens Axboe (axboe@suse.de)
Date: Tue Jan 01 2002 - 12:40:04 EST


On Mon, Dec 31 2001, Matthew Dharm wrote:
> Jens --
>
> Thanks for the info. It may have been discussed 'here' (tho, this is
> crosposted to two different lists), but I've been focused on 2.4 bugs (one
> more left!) and hadn't seen this item.

oh sorry, 'here' means linux-kernel to me :-)

> I think for the first 2.5 kernels, we'll o with your 'vaddr' line, but I
> think that being able to set highmem_io is a worthwhile thing. Which leads
> me to two questions:

indeed

> (1) Do the USB HCDs support highmem? I seem to recall they do, but I'm not
> certain.

most likely, I don't know though. I would imagine they support full
32-bit dma.

> (2) How do I pass a highmem address to the HCDs? The URB structures we use
> don't seem particularly well-suited for this.

you need to use the pci dma mapping interface, see
Documentation/DMA-mapping.txt

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:15 EST