kiobufs and highmem

From: William Waddington (waddington@tahomatech.com)
Date: Wed Jul 17 2002 - 13:15:22 EST


Hello All,

I have a 2.4.x char driver which works fine, except in boxes with lots of
memory.

user_buffer -> write() -> map_user_kiobuf() -> pci_map_sg() -> Pci DMA

I'm using the .page/.offset version of the scatterlist, but in the HIGHMEM case,
map_user_kiobuf() seems to return peculiar page addresses.

What is the state of kiobufs/HIGHMEM in 2.4.x? Do I need to implement
a bounce buffer in the driver? Some email correspondence indicates so,
but I would be grateful for a definitive word from the kernel folks.

TIA,
Bill Waddington

-- 
*** please note our new name and address ***

Tahoma Technology (formerly Ikon Corporation) 107 2nd Avenue North, Seattle, WA, USA, 98109 Voice: 206.728.6465 Fax: 206.728.1633 http://www.tahomatech.com tahoma@tahomatech.com

- 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 : Tue Jul 23 2002 - 22:00:24 EST