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] [VTD] [PATCH 2/2] Interrupt remapping

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [VTD] [PATCH 2/2] Interrupt remapping
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Mon, 2 Jun 2008 13:28:06 +0800
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Sun, 01 Jun 2008 22:28:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D5C8C45E0F9B60takebe_akio@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <08DF4D958216244799FC84F3514D70F001691FEB@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <D5C8C45E0F9B60takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjEXidngHht+erzS9eobwDgdeVAYQAEUNMQ
Thread-topic: [Xen-devel] [VTD] [PATCH 2/2] Interrupt remapping
Hi Akio,

Thank you for finding this issue. I worked out a patch based on yours.

Randy (Weidong)

Akio Takebe wrote:
> Hi, Weidong
> 
>> This patch implements interrupt remapping for MSI/MSI-x.
>> 
>> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
> I got the following error at compiling the latest cset(17761).
> 
> make[6]: Entering directory
> `/root/unstable/xen-unstable.hg/xen/drivers/ passthrough/vtd'
> gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing
> -std= gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
> -Wdeclaration-after- statement -DNDEBUG -nostdinc -fno-builtin
> -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
> -I/root/unstable/xen-unstable. hg/xen/include
> -I/root/unstable/xen-unstable.hg/xen/include/asm-x86/mach -generic
> -I/root/unstable/xen-unstable.hg/xen/include/asm-x86/mach- default
> -msoft-float -fno-stack-protector -g -D__XEN__ -c intremap.c -o
> intremap.o 
> cc1: warnings being treated as errors
> intremap.c: In function 'ioapic_rte_to_remap_entry':
> intremap.c:143: error: overflow in implicit constant conversion
> make[6]: *** [intremap.o] Error 1
> make[6]: Leaving directory
> `/root/unstable/xen-unstable.hg/xen/drivers/ passthrough/vtd'
> make[5]: *** [vtd/built_in.o] Error 2
> make[5]: Leaving directory
> `/root/unstable/xen-unstable.hg/xen/drivers/ passthrough'
> make[4]: *** [passthrough/built_in.o] Error 2
> make[4]: Leaving directory
> `/root/unstable/xen-unstable.hg/xen/drivers' make[3]: ***
> [/root/unstable/xen-unstable.hg/xen/drivers/built_in.o] Error 2
> make[3]: Leaving directory
> `/root/unstable/xen-unstable.hg/xen/arch/x86' make[2]: ***
> [/root/unstable/xen-unstable.hg/xen/xen] Error 2 
> make[2]: Leaving directory `/root/unstable/xen-unstable.hg/xen'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/root/unstable/xen-unstable.hg/xen'
> make: *** [install-xen] Error 2
> 
> 
> Is the attached patch correct?
> 
> Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
> 
> Best Regards,
> 
> Akio Takebe

Attachment: fix-intremap.patch
Description: fix-intremap.patch

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