From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWWb-0000d4-H0 for qemu-devel@nongnu.org; Fri, 10 Apr 2015 06:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgWWU-0000vP-9F for qemu-devel@nongnu.org; Fri, 10 Apr 2015 06:51:01 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:54250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWWT-0000v6-W2 for qemu-devel@nongnu.org; Fri, 10 Apr 2015 06:50:54 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 10 Apr 2015 11:50:50 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id AE3C1219005C for ; Fri, 10 Apr 2015 11:50:34 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3AAomFM63111366 for ; Fri, 10 Apr 2015 10:50:48 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3AAolMd022650 for ; Fri, 10 Apr 2015 04:50:48 -0600 Date: Fri, 10 Apr 2015 12:50:45 +0200 From: Cornelia Huck Message-ID: <20150410125045.4985585d.cornelia.huck@de.ibm.com> In-Reply-To: <1428652090-5354-2-git-send-email-eric.auger@linaro.org> References: <1428652090-5354-1-git-send-email-eric.auger@linaro.org> <1428652090-5354-2-git-send-email-eric.auger@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/2] kvm: introduce kvm_arch_msi_data_to_gsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Auger Cc: peter.maydell@linaro.org, james.hogan@imgtec.com, eric.auger@st.com, patches@linaro.org, aik@ozlabs.ru, agraf@suse.de, qemu-devel@nongnu.org, borntraeger@de.ibm.com, pbonzini@redhat.com, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org On Fri, 10 Apr 2015 08:48:09 +0100 Eric Auger wrote: > On ARM the MSI data corresponds to the shared peripheral interrupt (SPI) > ID. This latter equals to the SPI index + 32. to retrieve the SPI index, > matching the gsi, an architecture specific function is introduced. > > Signed-off-by: Eric Auger > > --- > > v1 -> v2: > - abort on i386/mips/s390x since those archs do not support > kvm_gsi_direct_mapping > --- > include/sysemu/kvm.h | 2 ++ > kvm-all.c | 2 +- > target-arm/kvm.c | 5 +++++ > target-i386/kvm.c | 5 +++++ > target-mips/kvm.c | 5 +++++ > target-ppc/kvm.c | 5 +++++ > target-s390x/kvm.c | 5 +++++ > 7 files changed, 28 insertions(+), 1 deletion(-) Acked-by: Cornelia Huck