Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Alex Williamson
On Tue, 2013-04-30 at 11:06 -0400, Don Dutile wrote: > On 04/30/2013 10:49 AM, Suravee Suthikulanit wrote: > > On 4/29/2013 3:10 PM, Don Dutile wrote: > >> On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote: > >>> Joerg, > >>> > >>> We are in the process of implementing AMD IOMMU error handling, an

Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Joerg Roedel
On Tue, Apr 30, 2013 at 09:56:22AM -0500, Suthikulpanit, Suravee wrote: > This sounds more like issue with the order of how things are > initialized in the system. No, the problem is that almost all BIOS-provided IVRS tables are buggy because they do not define a unity-mapped region for devices t

Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Don Dutile
On 04/30/2013 10:56 AM, Suravee Suthikulanit wrote: On 4/29/2013 4:42 PM, Don Dutile wrote: On 04/29/2013 04:34 PM, Duran, Leo wrote: I'm wondering if resetting the IOMMU at init-time (once) would clear any BIOS induced noise. Leo Well, depends what you mean by 'reset' (a) setting it up

Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Don Dutile
On 04/30/2013 10:49 AM, Suravee Suthikulanit wrote: On 4/29/2013 3:10 PM, Don Dutile wrote: On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote: Joerg, We are in the process of implementing AMD IOMMU error handling, and I would like some comments from you and the community. Currently, the AMD

Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Suravee Suthikulanit
On 4/29/2013 4:42 PM, Don Dutile wrote: On 04/29/2013 04:34 PM, Duran, Leo wrote: I'm wondering if resetting the IOMMU at init-time (once) would clear any BIOS induced noise. Leo Well, depends what you mean by 'reset' (a) setting it up for OS use is effectively a reset, but doesn't quies

Re: RFC: IOMMU/AMD: Error Handling

2013-04-30 Thread Suravee Suthikulanit
On 4/29/2013 3:10 PM, Don Dutile wrote: On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote: Joerg, We are in the process of implementing AMD IOMMU error handling, and I would like some comments from you and the community. Currently, the AMD IOMMU driver only reports events from the event lo

RE: RFC: IOMMU/AMD: Error Handling

2013-04-29 Thread Duran, Leo
ikulpanit, Suravee; iommu@lists.linux-foundation.org; linux- > ker...@vger.kernel.org > Subject: Re: RFC: IOMMU/AMD: Error Handling > > On 04/29/2013 04:34 PM, Duran, Leo wrote: > > I'm wondering if resetting the IOMMU at init-time (once) would clear any > BIOS induced noise.

Re: RFC: IOMMU/AMD: Error Handling

2013-04-29 Thread Don Dutile
mailto:iommu- boun...@lists.linux-foundation.org] On Behalf Of Don Dutile Sent: Monday, April 29, 2013 3:10 PM To: Suthikulpanit, Suravee Cc: iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org Subject: Re: RFC: IOMMU/AMD: Error Handling On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote

RE: RFC: IOMMU/AMD: Error Handling

2013-04-29 Thread Duran, Leo
2013 3:10 PM > To: Suthikulpanit, Suravee > Cc: iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org > Subject: Re: RFC: IOMMU/AMD: Error Handling > > On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote: > > Joerg, > > > > We are in the process of impleme

Re: RFC: IOMMU/AMD: Error Handling

2013-04-29 Thread Don Dutile
On 04/29/2013 03:45 PM, Suravee Suthikulanit wrote: Joerg, We are in the process of implementing AMD IOMMU error handling, and I would like some comments from you and the community. Currently, the AMD IOMMU driver only reports events from the event log in the dmesg, and does not try to handle