From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCHv3 RFC 0/2] kvm: direct msix injection Date: Mon, 25 Jun 2012 11:32:46 +0200 Message-ID: <4FE8303E.8080808@siemens.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Michael S. Tsirkin" Return-path: Received: from goliath.siemens.de ([192.35.17.28]:30850 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908Ab2FYJc6 (ORCPT ); Mon, 25 Jun 2012 05:32:58 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 2012-06-11 13:19, Michael S. Tsirkin wrote: > We can deliver certain interrupts, notably MSIX, > from atomic context. > Here's an untested patch to do this (compiled only). > > Changes from v2: > Don't inject broadcast interrupts directly > Changes from v1: > Tried to address comments from v1, except unifying > with kvm_set_irq: passing flags to it looks too ugly. > Added a comment. > > Jan, you said you can test this? > > > Michael S. Tsirkin (2): > kvm: implement kvm_set_msi_inatomic > kvm: deliver msix interrupts from irq handler > > include/linux/kvm_host.h | 3 ++ > virt/kvm/assigned-dev.c | 31 ++++++++++++++++++-- > virt/kvm/irq_comm.c | 75 ++++++++++++++++++++++++++++++++++++++++++++---- > 3 files changed, 102 insertions(+), 7 deletions(-) > Finally-tested-by: Jan Kiszka Thanks, Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux