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] [PATCH] amd iommu: Fix HV crash with 32bit pv_ops kernel (V2

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH] amd iommu: Fix HV crash with 32bit pv_ops kernel (V2)
From: Wei Wang2 <wei.wang2@xxxxxxx>
Date: Mon, 15 Nov 2010 14:58:23 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 15 Nov 2010 06:21:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CE1379702000078000223D4@xxxxxxxxxxxxxxxxxx>
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: <201011151118.40873.wei.wang2@xxxxxxx> <4CE1379702000078000223D4@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20070904.708012)
Hi Jan
Could this new version be a little more clear?
Thanks,
Wei

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>

On Monday 15 November 2010 13:37:27 Jan Beulich wrote:
> >>> On 15.11.10 at 11:18, Wei Wang2 <wei.wang2@xxxxxxx> wrote:
> >
> >--- a/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h  Wed Nov 10 14:56:06
> > 2010 +0000 +++ b/xen/include/asm-x86/hvm/svm/amd-iommu-proto.h      Fri Nov 
> > 12
> > 17:10:31 2010 +0100 @@ -31,8 +31,8 @@
> >
> > #define DMA_32BIT_MASK  0x00000000ffffffffULL
> >
> >-extern int amd_iommu_debug;
> >-extern int amd_iommu_perdev_intremap;
> >+extern bool_t amd_iommu_debug;
> >+extern bool_t amd_iommu_perdev_intremap;
> >
> > #define AMD_IOMMU_DEBUG(fmt, args...) \
> >     do  \
>
> This surely can't be complete: If you had a type mismatch between
> declaration and definition, the defining code is clearly missing an
> #include of the #define-ing header.
>
> Jan


Attachment: fix_pv_ops_32_v2.patch
Description: fix_pv_ops_32_v2.patch

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