public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2/3] Set compatibility flag for 4GB zone on IA64
@ 2005-09-11 16:59 Andi Kleen
  0 siblings, 0 replies; 8+ messages in thread
From: Andi Kleen @ 2005-09-11 16:59 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, discuss, tony.luck

Set compatibility flag for 4GB zone on IA64

IA64 traditionally had a 4GB DMA32 zone. Set the compatibility flag
to keep old drivers working.

For new drivers it would be better to use ZONE_DMA32 now. 

Signed-off-by: Andi Kleen <ak@suse.de>
Cc: tony.luck@intel.com

Index: linux/arch/ia64/Kconfig
===================================================================
--- linux.orig/arch/ia64/Kconfig
+++ linux/arch/ia64/Kconfig
@@ -54,6 +54,10 @@ config IA64_UNCACHED_ALLOCATOR
 	bool
 	select GENERIC_ALLOCATOR
 
+config ZONE_DMA_IS_DMA32
+	bool
+	default y
+
 choice
 	prompt "System type"
 	default IA64_GENERIC

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [2/3] Set compatibility flag for 4GB zone on IA64
@ 2005-09-11 20:44 Luck, Tony
  2005-09-11 21:05 ` Andi Kleen
  2005-09-11 23:24 ` Jeff Garzik
  0 siblings, 2 replies; 8+ messages in thread
From: Luck, Tony @ 2005-09-11 20:44 UTC (permalink / raw)
  To: ak, torvalds, Greg Edwards; +Cc: linux-kernel, discuss

>Set compatibility flag for 4GB zone on IA64
>
>IA64 traditionally had a 4GB DMA32 zone. Set the compatibility flag
>to keep old drivers working.
>
>For new drivers it would be better to use ZONE_DMA32 now. 
>
>Signed-off-by: Andi Kleen <ak@suse.de>
>Cc: tony.luck@intel.com
>
>Index: linux/arch/ia64/Kconfig
>===================================================================
>--- linux.orig/arch/ia64/Kconfig
>+++ linux/arch/ia64/Kconfig
>@@ -54,6 +54,10 @@ config IA64_UNCACHED_ALLOCATOR
> 	bool
> 	select GENERIC_ALLOCATOR
> 
>+config ZONE_DMA_IS_DMA32
>+	bool
>+	default y
>+
> choice
> 	prompt "System type"
> 	default IA64_GENERIC
>

ia64 isn't all that homogeneous.  SGI systems stuff *all* memory
into the DMA zone as their I/O devices have no 32-bit limits (just
as well really as there is no memory below 4G on an Altix!).

What does this ZONE_DMA_IS_DMA32 thing do?

-Tony

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [2/3] Set compatibility flag for 4GB zone on IA64
@ 2005-09-12  1:05 Luck, Tony
  2005-09-12  1:17 ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Luck, Tony @ 2005-09-12  1:05 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: ak, torvalds, Greg Edwards, linux-kernel, discuss


>Luck, Tony wrote:
>> ia64 isn't all that homogeneous.  SGI systems stuff *all* memory
>> into the DMA zone as their I/O devices have no 32-bit limits (just
>> as well really as there is no memory below 4G on an Altix!).
>
>SGI machines support random PCI cards, right?  If so, you 
>cannot presume 
>I/O devices have no 32-bit limits.

No, SGI machines don't support random PCI cards.  The lowest
possible physical address in an Altix is 192GB.  Cards that
can only DMA to addresses below 4G aren't going to be very
useful, are they?

-Tony

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

end of thread, other threads:[~2005-09-12  2:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-11 16:59 [2/3] Set compatibility flag for 4GB zone on IA64 Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2005-09-11 20:44 Luck, Tony
2005-09-11 21:05 ` Andi Kleen
2005-09-11 23:24 ` Jeff Garzik
2005-09-12  2:09   ` Chris Wedgwood
2005-09-12  1:05 Luck, Tony
2005-09-12  1:17 ` Jeff Garzik
2005-09-12  2:58   ` Jesse Barnes

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