Skip to contentSkip to conversation

2.6.10-rc1-pa17 more BUS_IS_PHYS fixes

parisc-linux Grant Grundler 1 participant 1 message Nov 21, 2004 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 8 lines · Joel Soete
Quoted 7 lines

I expect one more patch for ccio driver if/when someone is willing to figure out one small problem. ccio_dma_supported() *only* supports 32-bit devices. CCIO should be able to support any device which supports more bits than are needed to cover IO virtual address space. It should be a fairly small project to compute/locate the IOVA space size and then coding that up for ccio_dma_supported(). I'm happy to review patches and printk output if someone does this.

Quoted 4 lines

Sorry, I don't see yet how using structure device to determine the IOVA space size of a dev :(
and not yet where can I find a list of those dev. May be have you an idea to guide me?

The ccio driver just guesses at a "reasonable" size for total IOVA space. Ideally it would have something to do with which type of devices were below it. But this is not the problem I talking about though.

The problem I describe above is what happens *after* the CCIO driver has decided the size of the IOVA space. ccio_dma_support just need to know what the IOVA size is so if a device that supports more or less than 32-bits gets the right answer back. Right now, it's hard coded to 32-bits.

grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux