mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: cciss patches for 2.4.21-rc1, 4 of 4
@ 2003-04-25 13:48 Miller, Mike (OS Dev)
  2003-04-25 13:09 ` Alan Cox
  2003-04-25 14:06 ` Arjan van de Ven
  0 siblings, 2 replies; 4+ messages in thread
From: Miller, Mike (OS Dev) @ 2003-04-25 13:48 UTC (permalink / raw)
  To: Cameron, Steve; +Cc: linux-kernel

I haven't seen any issues (yet) on ia64. I'm running with 5GB RAM.

mikem

-----Original Message-----
From: Cameron, Steve 
Sent: Friday, April 25, 2003 8:25 AM
Cc: linux-kernel@vger.kernel.org; Miller, Mike (OS Dev)
Subject: RE: cciss patches for 2.4.21-rc1, 4 of 4



Mike Miller wrote:

> Changes:
>	1. Sets the DMA mask to 64 bits. Removes RH's code for the DMA mask.

In order for this to work, it depends on pci_alloc_consistent always
returning memory with physical addresses that fit in 32 bits, 
regardless of the DMA mask, since the cciss device's command register 
is 32 bits, and the command buffer addresses must fit in there.  If 
that's the case, this is fine.  Otherwise, this may fail if pci_alloc_consistent
returns memory above 4GB.  (on x86, I think this is not a problem, not
sure of other archs, e.g. alpha, ia64)

Note the cciss devices *are* capable of 64 bit addressing for DMA, provided
you can find a way to tell it a 64 bit address.  For data, it's no problem.
Only for command buffers is it a problem.

-- steve

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: cciss patches for 2.4.21-rc1, 4 of 4
@ 2003-04-25 14:50 Cameron, Steve
  0 siblings, 0 replies; 4+ messages in thread
From: Cameron, Steve @ 2003-04-25 14:50 UTC (permalink / raw)
  To: arjanv, Miller, Mike (OS Dev); +Cc: linux-kernel, davem

Arjan van de Ven wrote:
> Cameron, lots of people told you numerous times that pci_alloc_consitent
> is guaranteed to return 32 bit addresses by the API, see
> Documentation/DMA-mapping.txt for the API definition.

Ok.  You won't have to remind me again, since, as it happens,
today is officially my last day at HP doing anything in the linux kernel.
(I'm still at HP, just doing something else now.)

Thanks,

-- steve


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-25 14:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-25 13:48 cciss patches for 2.4.21-rc1, 4 of 4 Miller, Mike (OS Dev)
2003-04-25 13:09 ` Alan Cox
2003-04-25 14:06 ` Arjan van de Ven
2003-04-25 14:50 Cameron, Steve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®