Areca RAID driver remaining items?
Dear Arjan van de Ven,
I had misconstruction with
Quoted 2 lines
Quoted 2 lines
[Exception is that you can say that you are ok with a bigger mask for this type of memory, but just don't do that if you're not]
it should be "pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)."
Best Regards
Erich Chen
----- Original Message ----- From: "erich" <[email protected]>
To: "Arjan van de Ven" <[email protected]>
Cc: """"Christoph Hellwig"""" <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>
Sent: Friday, February 24, 2006 10:08 AM
Subject: Re: Areca RAID driver remaining items?
Quoted 41 lines
Dear Arjan van de Ven,
I would keep
dma_alloc_coherentusage.Quoted 2 lines
[Exception is that you can say that you are ok with a bigger mask for this type of memory, but just don't do that if you're not]
Should I remove "
pci_set_dma_mask(pci_device, DMA_64BIT_MASK)" for this case?Best Regards
Erich Chen----- Original Message -----
From: "Arjan van de Ven" <[email protected]>
To: "erich" <[email protected]>
Cc: """Christoph Hellwig""" <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>
Sent: Thursday, February 23, 2006 8:07 PM
Subject: Re: Areca RAID driver remaining items?Quoted 20 lines · erich
Quoted 2 lines
If Linux can not assurent the contingous memory space allocating of "
dma_alloc_coherent" .coherent memory is guaranteed to be in the "lower" 32 bit of memory! So that is good news, I think you are just fine.
[Exception is that you can say that you are ok with a bigger mask for this type of memory, but just don't do that if you're not]
Quoted 2 lines
When arcmsr get a physical ccb address from areca's firmware. Does linux has any functions for converting of "bus to virtual" ?
not without using pools. You would have to search the list of memory you gave it to find that out.
(USB has a similar problem, afaik they solved it with pools)