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] [PATCH 2/2] passthrough: deliver IRQs even if bsp is hal

To: "Han, Weidong" <weidong.han@xxxxxxxxx>, 'Kouya Shimura' <kouya@xxxxxxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2/2] passthrough: deliver IRQs even if bsp is halted (support kexec/kdump on hvm)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 30 Jun 2009 10:04:19 +0100
Cc:
Delivery-date: Tue, 30 Jun 2009 02:04:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <715D42877B251141A38726ABF5CABF2C0545A1FB7C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn5UK51qOkNZfjiT6a91g6dbcuGeQAD1zmwAABtPLs=
Thread-topic: [Xen-devel] [PATCH 2/2] passthrough: deliver IRQs even if bsp is halted (support kexec/kdump on hvm)
User-agent: Microsoft-Entourage/12.19.0.090515
On 30/06/2009 09:53, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:

> Kouya Shimura wrote:
>> This patch is needed for kexec/kdump on hvm since kdump halts bsp.
>> 
>> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
> 
> It kicks every online vcpu. The result will be more unnecessary IPIs,
> especially the vcpu# is big. Therefore increase cost of interrupt handling of
> assigned devices.

Actually it breaks out of the loop as soon as it kicks one. But still all
vcpus will pile into hvm_dirq_assist() on every vmexit, which is quite
undesirable too.

 -- Keir



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