All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message
@ 2019-08-05 16:44 Andrew Cooper
  2019-08-06  8:00 ` Jan Beulich
  2019-08-06 18:37 ` Woods, Brian
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cooper @ 2019-08-05 16:44 UTC (permalink / raw)
  To: Xen-devel
  Cc: Jan Beulich, Wei Liu, Andrew Cooper, Suravee Suthikulpanit,
	Boris Ostrovsky, Brian Woods, Roger Pau Monné

Since c/s 9fa94e10585 "x86/ACPI: also parse AMD IOMMU tables early", this
function is unconditionally called in all cases where a DMAR ACPI table
doesn't exist.

As a consequnce, "AMD-Vi: IOMMU not found!" is printed in all cases where an
IOMMU isn't present, even on non-AMD systems.  Drop the message - it isn't
terribly interesting anyway, and is now misleading is a number of common
cases.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wl@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
CC: Brian Woods <brian.woods@amd.com>
---
 xen/drivers/passthrough/amd/pci_amd_iommu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xen/drivers/passthrough/amd/pci_amd_iommu.c b/xen/drivers/passthrough/amd/pci_amd_iommu.c
index b3e1933b53..3bcfcc8404 100644
--- a/xen/drivers/passthrough/amd/pci_amd_iommu.c
+++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c
@@ -155,7 +155,6 @@ int __init acpi_ivrs_init(void)
 
     if ( (amd_iommu_detect_acpi() !=0) || (iommu_found() == 0) )
     {
-        printk("AMD-Vi: IOMMU not found!\n");
         iommu_intremap = 0;
         return -ENODEV;
     }
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message
  2019-08-05 16:44 [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message Andrew Cooper
@ 2019-08-06  8:00 ` Jan Beulich
  2019-08-06 18:37 ` Woods, Brian
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2019-08-06  8:00 UTC (permalink / raw)
  To: Andrew Cooper
  Cc: Wei Liu, Suravee Suthikulpanit, Xen-devel, Boris Ostrovsky,
	Brian Woods, Roger Pau Monné

On 05.08.2019 18:44, Andrew Cooper wrote:
> Since c/s 9fa94e10585 "x86/ACPI: also parse AMD IOMMU tables early", this
> function is unconditionally called in all cases where a DMAR ACPI table
> doesn't exist.
> 
> As a consequnce, "AMD-Vi: IOMMU not found!" is printed in all cases where an
> IOMMU isn't present, even on non-AMD systems.

Oh, I didn't even notice this yet.

>  Drop the message - it isn't
> terribly interesting anyway, and is now misleading is a number of common
> cases.

Plus there's no VT-d side equivalent message.

Acked-by: Jan Beulich <jbeulich@suse.com>

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

* Re: [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message
  2019-08-05 16:44 [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message Andrew Cooper
  2019-08-06  8:00 ` Jan Beulich
@ 2019-08-06 18:37 ` Woods, Brian
  1 sibling, 0 replies; 3+ messages in thread
From: Woods, Brian @ 2019-08-06 18:37 UTC (permalink / raw)
  To: Andrew Cooper
  Cc: Jan Beulich, Wei Liu, Suthikulpanit, Suravee, Xen-devel,
	Boris Ostrovsky, Woods, Brian, Roger Pau Monné

On Mon, Aug 05, 2019 at 05:44:30PM +0100, Andy Cooper wrote:
> Since c/s 9fa94e10585 "x86/ACPI: also parse AMD IOMMU tables early", this
> function is unconditionally called in all cases where a DMAR ACPI table
> doesn't exist.
> 
> As a consequnce, "AMD-Vi: IOMMU not found!" is printed in all cases where an
> IOMMU isn't present, even on non-AMD systems.  Drop the message - it isn't
> terribly interesting anyway, and is now misleading is a number of common
> cases.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Brian Woods <brian.woods@amd.com>

> ---
> CC: Jan Beulich <JBeulich@suse.com>
> CC: Wei Liu <wl@xen.org>
> CC: Roger Pau Monné <roger.pau@citrix.com>
> CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> CC: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
> CC: Brian Woods <brian.woods@amd.com>
> ---
>  xen/drivers/passthrough/amd/pci_amd_iommu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/xen/drivers/passthrough/amd/pci_amd_iommu.c b/xen/drivers/passthrough/amd/pci_amd_iommu.c
> index b3e1933b53..3bcfcc8404 100644
> --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c
> +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c
> @@ -155,7 +155,6 @@ int __init acpi_ivrs_init(void)
>  
>      if ( (amd_iommu_detect_acpi() !=0) || (iommu_found() == 0) )
>      {
> -        printk("AMD-Vi: IOMMU not found!\n");
>          iommu_intremap = 0;
>          return -ENODEV;
>      }
> -- 
> 2.11.0
> 

-- 
Brian Woods

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2019-08-06 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-05 16:44 [Xen-devel] [PATCH] passthrough/amd: Drop "IOMMU not found" message Andrew Cooper
2019-08-06  8:00 ` Jan Beulich
2019-08-06 18:37 ` Woods, Brian

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.