kiobufs and highmem

William Waddington (waddington@tahomatech.com)
Wed, 17 Jul 2002 11:15:22 -0700


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/