From: Tim Deegan Subject: Re: Re: IOMMU faults Date: Fri, 17 Jun 2011 09:08:36 +0100 Message-ID: <20110617080836.GL17634@whitby.uk.xensource.com> References: <20110616092509.GH17634@whitby.uk.xensource.com> <201106161630.15290.wei.wang2@amd.com> <20110616144730.GA6108@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <20110616144730.GA6108@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Wei Wang2 , Jean, "xen-devel@lists.xensource.com" , Allen Kay , Guyader List-Id: xen-devel@lists.xenproject.org At 10:47 -0400 on 16 Jun (1308221250), Konrad Rzeszutek Wilk wrote: > Perhaps make something similar to the MCE fault interrupts? As in when > the error happens, the Dom0 is notified of the offending BDF and > persuses whatever action it thinks are neccessary. The action would be > to tell the device driver to turn itself off. But how it would > interact with the driver.. Well how does Linux deal with this today? > Is there an extension to the device driver API (similar to the power) > to notify the driver that it has done bad things and to shut itself > off? That sort of interface might be nice too, but I was worried more about badly-behaved guests or devices. In the livelock case the guest might never get to run so can't do anything, and a malicious guest would just ignore the message anyway. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)