WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: IOMMU faults

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: IOMMU faults
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Fri, 17 Jun 2011 09:08:36 +0100
Cc: Wei Wang2 <wei.wang2@xxxxxxx>, Jean, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Allen Kay <allen.m.kay@xxxxxxxxx>, Guyader <Jean.Guyader@xxxxxxxxxx>
Delivery-date: Fri, 17 Jun 2011 01:09:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110616144730.GA6108@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110616092509.GH17634@xxxxxxxxxxxxxxxxxxxxxxx> <201106161630.15290.wei.wang2@xxxxxxx> <20110616144730.GA6108@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
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 <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>