public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86 gart: don't complain if no AMD GART found
@ 2008-12-17 19:52 Bjorn Helgaas
  2008-12-17 20:27 ` Dave Jones
  2008-12-17 20:53 ` Joerg Roedel
  0 siblings, 2 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2008-12-17 19:52 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: iommu, Thomas Gleixner, Ingo Molnar, hpa, linux-kernel

It's perfectly normal for no AMD GART to be present, e.g., if you have
Intel CPUs.  None of the other iommu_init() functions makes noise when
it finds nothing.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
 arch/x86/kernel/pci-gart_64.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index ba7ad83..a35eaa3 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -745,10 +745,8 @@ void __init gart_iommu_init(void)
 	unsigned long scratch;
 	long i;
 
-	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0) {
-		printk(KERN_INFO "PCI-GART: No AMD GART found.\n");
+	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0)
 		return;
-	}
 
 #ifndef CONFIG_AGP_AMD64
 	no_agp = 1;


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

* Re: [PATCH] x86 gart: don't complain if no AMD GART found
  2008-12-17 19:52 [PATCH] x86 gart: don't complain if no AMD GART found Bjorn Helgaas
@ 2008-12-17 20:27 ` Dave Jones
  2008-12-18 16:49   ` Bjorn Helgaas
  2008-12-19  0:12   ` Muli Ben-Yehuda
  2008-12-17 20:53 ` Joerg Roedel
  1 sibling, 2 replies; 6+ messages in thread
From: Dave Jones @ 2008-12-17 20:27 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Joerg Roedel, iommu, Thomas Gleixner, Ingo Molnar, hpa,
	linux-kernel

On Wed, Dec 17, 2008 at 12:52:34PM -0700, Bjorn Helgaas wrote:
 > It's perfectly normal for no AMD GART to be present, e.g., if you have
 > Intel CPUs.

Yes! That's annoyed me for some time too.

 >  None of the other iommu_init() functions makes noise when
 > it finds nothing.
 
The Calgary stuff is pretty noisy in the face of non-existant hardware too.
Makes for noisy distro kernels..

Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!

	Dave

-- 
http://www.codemonkey.org.uk

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

* Re: [PATCH] x86 gart: don't complain if no AMD GART found
  2008-12-17 19:52 [PATCH] x86 gart: don't complain if no AMD GART found Bjorn Helgaas
  2008-12-17 20:27 ` Dave Jones
@ 2008-12-17 20:53 ` Joerg Roedel
  2008-12-18 12:26   ` Ingo Molnar
  1 sibling, 1 reply; 6+ messages in thread
From: Joerg Roedel @ 2008-12-17 20:53 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: iommu, Thomas Gleixner, Ingo Molnar, hpa, linux-kernel

On Wed, Dec 17, 2008 at 12:52:34PM -0700, Bjorn Helgaas wrote:
> It's perfectly normal for no AMD GART to be present, e.g., if you have
> Intel CPUs.  None of the other iommu_init() functions makes noise when
> it finds nothing.

True, there are even 64bit AMD processors without GART.

Ingo,

do you want to pick this patch up or should I do it?

> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

Acked-by: Joerg Roedel <joerg.roedel@amd.com>

> ---
>  arch/x86/kernel/pci-gart_64.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
> index ba7ad83..a35eaa3 100644
> --- a/arch/x86/kernel/pci-gart_64.c
> +++ b/arch/x86/kernel/pci-gart_64.c
> @@ -745,10 +745,8 @@ void __init gart_iommu_init(void)
>  	unsigned long scratch;
>  	long i;
>  
> -	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0) {
> -		printk(KERN_INFO "PCI-GART: No AMD GART found.\n");
> +	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0)
>  		return;
> -	}
>  
>  #ifndef CONFIG_AGP_AMD64
>  	no_agp = 1;
> 
> 

-- 
           |           AMD Saxony Limited Liability Company & Co. KG
 Operating |         Wilschdorfer Landstr. 101, 01109 Dresden, Germany
 System    |                  Register Court Dresden: HRA 4896
 Research  |              General Partner authorized to represent:
 Center    |             AMD Saxony LLC (Wilmington, Delaware, US)
           | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy


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

* Re: [PATCH] x86 gart: don't complain if no AMD GART found
  2008-12-17 20:53 ` Joerg Roedel
@ 2008-12-18 12:26   ` Ingo Molnar
  0 siblings, 0 replies; 6+ messages in thread
From: Ingo Molnar @ 2008-12-18 12:26 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Bjorn Helgaas, iommu, Thomas Gleixner, Ingo Molnar, hpa,
	linux-kernel


* Joerg Roedel <joerg.roedel@amd.com> wrote:

> On Wed, Dec 17, 2008 at 12:52:34PM -0700, Bjorn Helgaas wrote:
> > It's perfectly normal for no AMD GART to be present, e.g., if you have
> > Intel CPUs.  None of the other iommu_init() functions makes noise when
> > it finds nothing.
> 
> True, there are even 64bit AMD processors without GART.
> 
> Ingo,
> 
> do you want to pick this patch up or should I do it?
> 
> > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
> 
> Acked-by: Joerg Roedel <joerg.roedel@amd.com>

I have applied it to tip/x86/urgent, thanks guys!

	Ingo

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

* Re: [PATCH] x86 gart: don't complain if no AMD GART found
  2008-12-17 20:27 ` Dave Jones
@ 2008-12-18 16:49   ` Bjorn Helgaas
  2008-12-19  0:12   ` Muli Ben-Yehuda
  1 sibling, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2008-12-18 16:49 UTC (permalink / raw)
  To: Dave Jones
  Cc: Joerg Roedel, iommu, Thomas Gleixner, Ingo Molnar, hpa,
	linux-kernel

On Wednesday 17 December 2008 01:27:24 pm Dave Jones wrote:
> On Wed, Dec 17, 2008 at 12:52:34PM -0700, Bjorn Helgaas wrote:
>  > It's perfectly normal for no AMD GART to be present, e.g., if you have
>  > Intel CPUs.
> 
> Yes! That's annoyed me for some time too.
> 
>  >  None of the other iommu_init() functions makes noise when
>  > it finds nothing.
>  
> The Calgary stuff is pretty noisy in the face of non-existant hardware too.
> Makes for noisy distro kernels..
> 
> Calgary: detecting Calgary via BIOS EBDA area
> Calgary: Unable to locate Rio Grande table in EBDA - bailing!

Yeah, I considered removing that, too.  At least the Calgary stuff
is KERN_DEBUG, so it's not quite as visible.  But I'm in favor of
removing it anyway.

Bjorn

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

* Re: [PATCH] x86 gart: don't complain if no AMD GART found
  2008-12-17 20:27 ` Dave Jones
  2008-12-18 16:49   ` Bjorn Helgaas
@ 2008-12-19  0:12   ` Muli Ben-Yehuda
  1 sibling, 0 replies; 6+ messages in thread
From: Muli Ben-Yehuda @ 2008-12-19  0:12 UTC (permalink / raw)
  To: Dave Jones
  Cc: Bjorn Helgaas, Joerg Roedel, iommu, Thomas Gleixner, Ingo Molnar,
	hpa, linux-kernel

On Wed, Dec 17, 2008 at 03:27:24PM -0500, Dave Jones wrote:

> The Calgary stuff is pretty noisy in the face of non-existant hardware too.
> Makes for noisy distro kernels..
> 
> Calgary: detecting Calgary via BIOS EBDA area
> Calgary: Unable to locate Rio Grande table in EBDA - bailing!

Feel free to nuke it.

Cheers,
Muli
-- 
SYSTOR 2009---The Israeli Experimental Systems Conference
May 4-6, 2009, Haifa, Israel
http://www.haifa.il.ibm.com/conferences/systor2009/

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

end of thread, other threads:[~2008-12-19  1:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 19:52 [PATCH] x86 gart: don't complain if no AMD GART found Bjorn Helgaas
2008-12-17 20:27 ` Dave Jones
2008-12-18 16:49   ` Bjorn Helgaas
2008-12-19  0:12   ` Muli Ben-Yehuda
2008-12-17 20:53 ` Joerg Roedel
2008-12-18 12:26   ` Ingo Molnar

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