Re: DMA mapping on SCSI device?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Monday, January 28, 2008 - 9:28 pm

> The ideal solution would be to do mapping against a different struct

I cannot imagine why it should be that difficult. The PCI subsystem
could over a pci_clone_device() or similar function.   For all complicated
purposes (sysfs etc)  the original device could be used, so it would
be hopefully not that difficult.

The alternative would be to add a new family of PCI mapping
functions that take an explicit mask. Disadvantage would be changing 
all architectures, but on the other hand the interface could be phase
in one by one (and nF4 primarily only works on x86 anyways) 

I suspect the later would be a little cleaner, although they don't
make much difference.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
DMA mapping on SCSI device?, Robert Hancock, (Mon Jan 28, 5:08 pm)
Re: DMA mapping on SCSI device?, Grant Grundler, (Mon Jan 28, 8:21 pm)
Re: DMA mapping on SCSI device?, Matthew Wilcox, (Mon Jan 28, 8:37 pm)
Re: DMA mapping on SCSI device?, Andi Kleen, (Mon Jan 28, 9:28 pm)
Re: DMA mapping on SCSI device?, James Bottomley, (Tue Jan 29, 8:33 am)
Re: DMA mapping on SCSI device?, Luben Tuikov, (Tue Jan 29, 3:09 pm)
Re: DMA mapping on SCSI device?, Luben Tuikov, (Tue Jan 29, 3:23 pm)
Re: DMA mapping on SCSI device?, Robert Hancock, (Tue Jan 29, 7:00 pm)
Re: DMA mapping on SCSI device?, Mark Lord, (Wed Jan 30, 9:56 am)
Re: DMA mapping on SCSI device?, Mark Lord, (Wed Jan 30, 10:00 am)
Re: DMA mapping on SCSI device?, Robert Hancock, (Wed Jan 30, 5:09 pm)
Re: DMA mapping on SCSI device?, Matthew Wilcox, (Wed Jan 30, 10:01 pm)