[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/2] AMD/IOMMU: Always print IOMMU errors


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Wed, 27 Nov 2019 10:19:10 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Juergen Gross <jgross@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Wed, 27 Nov 2019 09:19:22 +0000
  • Ironport-sdr: 4PhC1/brODB0Klm+LEZF/tF36VDq4tNqnZfaKyypcSWcdWz6qdgn9SD3PLLLyx4jxqMZcmdMTC G2G53UpgCb7zK5FsFA9xQt2PhJHjc1TDpEKi3qVZWOg/ugbkyEs7e8aw79VeeXTGAq5Hj/Jswe TEPKckCCrV5OfSNgNZXsiFKdsd7Wcmp3VSxSNsH/RA9SR6ObmFWqw1q6BYzA+58DMHPpoTfBA4 3SHLCfhMmaOqSIt+4rAgRICRJyIeMfzzADy9GvSbqFLroml7riPyEahrlCWs5a6euea5Orz90w HXw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Tue, Nov 26, 2019 at 03:01:11PM +0000, Andrew Cooper wrote:
> Unhandled IOMMU errors (i.e. not IO_PAGE_FAULT) should still be printed, and
> not hidden behind iommu=debug.
> 
> While adjusting this, factor out the symbolic name handling to just one
> location exposing its off-by-one nature.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxxx>

LGTM:

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

I wonder however whether XENLOG_G_ERR should be used instead of
XENLOG_ERR in order to rate limit IOMMU faults triggered by guests.

Thanks, Roger.

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.