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

[Xen-devel] Re: [osrc-patches] [PATCH] amd iommu: Fix a xen crash after

To: Keir Fraser <keir@xxxxxxx>
Subject: [Xen-devel] Re: [osrc-patches] [PATCH] amd iommu: Fix a xen crash after pci-attach (backport)
From: Wei Wang2 <wei.wang2@xxxxxxx>
Date: Wed, 9 Feb 2011 16:24:59 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Feb 2011 07:28:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201102011727.17297.wei.wang2@xxxxxxx>
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: <201102011727.17297.wei.wang2@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20070904.708012)
On Tuesday 01 February 2011 17:27:16 Wei Wang2 wrote:
> Keir,
> pci-detach triggers IO page table deallocation if the last passthru device
> has been removed from pdev list, and this will result a BUG on amd systems
> for next pci-attach. This patch fixes this issue.
> Thanks,
> Wei
>
> Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
> --
> Advanced Micro Devices GmbH
> Sitz: Dornach, Gemeinde Aschheim,
> Landkreis München Registergericht München,
> HRB Nr. 43632
> WEEE-Reg-Nr: DE 12919551
> Geschäftsführer:
> Alberto Bozzo, Andrew Bowd

Keir, 
I think this should also be back ported to 4.0, I found the same issue with 
xen-4.0.2-rc2-pre. Patch has been attached.
Thanks,
Wei
Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>

Attachment: fix_detach_xen40.patch
Description: fix_detach_xen40.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>