All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial)
@ 2006-03-08 21:48 Jon Mason
  2006-03-10  1:02 ` Terence Ripperda
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Mason @ 2006-03-08 21:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: mulix, Andi Kleen

Oops, forgot to CC lkml.

----- Forwarded message from Jon Mason <jdmason@us.ibm.com> -----

User-Agent: Mutt/1.5.11
From: Jon Mason <jdmason@us.ibm.com>
To: Andi Kleen <ak@muc.de>
Date: Wed, 8 Mar 2006 15:45:49 -0600
Subject: [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial)

Have the GART_IOMMU help text specify that this is the hardware IOMMU in
amd64 processors.  This will be significant if/when other IOMMUs are
added to the x86-64 architecture. :-)

Also, note that the previous help text stated that IOMMU was needed for
>3GB memory instead of >4GB.  This is fixed in the newer version.

Thanks,
Jon

Signed-off-by: Jon Mason <jdmason@us.ibm.com>

diff -r 149aa2a22913 arch/x86_64/Kconfig
--- a/arch/x86_64/Kconfig	Tue Feb 28 22:02:10 2006
+++ b/arch/x86_64/Kconfig	Wed Mar  8 15:24:44 2006
@@ -364,13 +364,14 @@
 	select SWIOTLB
 	depends on PCI
 	help
-	  Support the IOMMU. Needed to run systems with more than 3GB of memory
-	  properly with 32-bit PCI devices that do not support DAC (Double Address
-	  Cycle). The IOMMU can be turned off at runtime with the iommu=off parameter.
-	  Normally the kernel will take the right choice by itself.
-	  This option includes a driver for the AMD Opteron/Athlon64 northbridge IOMMU
-	  and a software emulation used on other systems.
-	  If unsure, say Y.
+	  Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors.
+	  Needed to run systems with more than 4GB of memory properly with
+	  32-bit PCI devices that do not support DAC (Double Address Cycle).
+	  The IOMMU can be turned off at runtime with the iommu=off parameter.
+  	  Normally the kernel will take the right choice by itself.
+  	  This option includes a driver for the AMD Opteron/Athlon64 IOMMU
+  	  northbridge and a software emulation used on some other systems.
+  	  If unsure, say Y.
 
 # need this always enabled with GART_IOMMU for the VIA workaround
 config SWIOTLB

----- End forwarded message -----

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

* Re: [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial)
  2006-03-10  1:02 ` Terence Ripperda
@ 2006-03-09 17:47   ` Andi Kleen
  0 siblings, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2006-03-09 17:47 UTC (permalink / raw)
  To: Terence Ripperda; +Cc: Jon Mason, linux-kernel, mulix

On Friday 10 March 2006 02:02, Terence Ripperda wrote:
> > Also, note that the previous help text stated that IOMMU was needed for
> > >3GB memory instead of >4GB.  This is fixed in the newer version.
> 
> note that many system bioses have memory remapping, to accomodate pci
> i/o ranges. some address space is reserved by the bios for these i/o
> ranges, and as system memory approaches this reserved space, the
> memory is remapped to >4GB. this usually happens around 3.25GB -
> 3.5GB, but probably varies based on bios and pci devices. once this
> memory is remapped to >4GB, the IOMMU kicks in.
> 
> so the original text is probably more accurate.

Yep. I already fixed this when applying the patch.

3GB is a rough round number I generally use for this.

-Andi


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

* Re: [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial)
  2006-03-08 21:48 [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial) Jon Mason
@ 2006-03-10  1:02 ` Terence Ripperda
  2006-03-09 17:47   ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Terence Ripperda @ 2006-03-10  1:02 UTC (permalink / raw)
  To: Jon Mason; +Cc: linux-kernel, mulix, Andi Kleen

> Also, note that the previous help text stated that IOMMU was needed for
> >3GB memory instead of >4GB.  This is fixed in the newer version.

note that many system bioses have memory remapping, to accomodate pci
i/o ranges. some address space is reserved by the bios for these i/o
ranges, and as system memory approaches this reserved space, the
memory is remapped to >4GB. this usually happens around 3.25GB -
3.5GB, but probably varies based on bios and pci devices. once this
memory is remapped to >4GB, the IOMMU kicks in.

so the original text is probably more accurate.

On Wed, Mar 08, 2006 at 03:48:30PM -0600, jdmason@us.ibm.com wrote:
> Oops, forgot to CC lkml.
> 
> ----- Forwarded message from Jon Mason <jdmason@us.ibm.com> -----
> 
> User-Agent: Mutt/1.5.11
> From: Jon Mason <jdmason@us.ibm.com>
> To: Andi Kleen <ak@muc.de>
> Date: Wed, 8 Mar 2006 15:45:49 -0600
> Subject: [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial)
> 
> Have the GART_IOMMU help text specify that this is the hardware IOMMU in
> amd64 processors.  This will be significant if/when other IOMMUs are
> added to the x86-64 architecture. :-)
> 
> Also, note that the previous help text stated that IOMMU was needed for
> >3GB memory instead of >4GB.  This is fixed in the newer version.
> 
> Thanks,
> Jon
> 
> Signed-off-by: Jon Mason <jdmason@us.ibm.com>
> 
> diff -r 149aa2a22913 arch/x86_64/Kconfig
> --- a/arch/x86_64/Kconfig	Tue Feb 28 22:02:10 2006
> +++ b/arch/x86_64/Kconfig	Wed Mar  8 15:24:44 2006
> @@ -364,13 +364,14 @@
>  	select SWIOTLB
>  	depends on PCI
>  	help
> -	  Support the IOMMU. Needed to run systems with more than 3GB of memory
> -	  properly with 32-bit PCI devices that do not support DAC (Double Address
> -	  Cycle). The IOMMU can be turned off at runtime with the iommu=off parameter.
> -	  Normally the kernel will take the right choice by itself.
> -	  This option includes a driver for the AMD Opteron/Athlon64 northbridge IOMMU
> -	  and a software emulation used on other systems.
> -	  If unsure, say Y.
> +	  Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors.
> +	  Needed to run systems with more than 4GB of memory properly with
> +	  32-bit PCI devices that do not support DAC (Double Address Cycle).
> +	  The IOMMU can be turned off at runtime with the iommu=off parameter.
> +  	  Normally the kernel will take the right choice by itself.
> +  	  This option includes a driver for the AMD Opteron/Athlon64 IOMMU
> +  	  northbridge and a software emulation used on some other systems.
> +  	  If unsure, say Y.
>  
>  # need this always enabled with GART_IOMMU for the VIA workaround
>  config SWIOTLB
> 
> ----- End forwarded message -----
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 

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

end of thread, other threads:[~2006-03-10  1:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 21:48 [PATCH] x86-64: Make GART_IOMMU kconfig help text more specific (trivial) Jon Mason
2006-03-10  1:02 ` Terence Ripperda
2006-03-09 17:47   ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.