From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwrUi-00051A-3A for qemu-devel@nongnu.org; Thu, 02 Aug 2012 05:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwrUe-00019H-51 for qemu-devel@nongnu.org; Thu, 02 Aug 2012 05:15:00 -0400 Received: from mout.web.de ([212.227.15.3]:51958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwrUd-00018u-Ro for qemu-devel@nongnu.org; Thu, 02 Aug 2012 05:14:56 -0400 Message-ID: <501A44FE.3080208@web.de> Date: Thu, 02 Aug 2012 11:14:38 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1343313317-27087-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1343313317-27087-1-git-send-email-peter.maydell@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig12587C3C818195D0A1EAB8E0" Subject: Re: [Qemu-devel] [PATCH v2 0/7] split out uses of kvm_irqchip_in_kernel() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Alexander Graf , Avi Kivity , Marcelo Tosatti , qemu-devel@nongnu.org, patches@linaro.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig12587C3C818195D0A1EAB8E0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2012-07-26 16:35, Peter Maydell wrote: > This patch series removes all uses of kvm_irqchip_in_kernel() > from architecture-independent code, by creating a set of more > specific functions instead to test for the particular aspects > of behaviour that the calling code is actually interested in. >=20 > The uses in x86-specific code could in theory be further broken > down into kvm_ioapic(), kvm_pit(), etc, but I leave that for > one of the x86 maintainers if they think it's worthwhile. With the existing KVM irqchip support for x86, you can't break things down like this. >=20 > Changes v1->v2: > * more blank lines round kvm.h doc comments / macros > * 1: fn name changed to: kvm_async_interrupts_enabled() > (and corresponding bool is now kvm_async_interrupts_allowed, > so we are consistent about the enabled/allowed convention) > * 2: fn name changed to: kvm_set_irq() > * 3: fix return type of kvm_allows_irq0_override() to bool > * 5 (and new patch 6): split out separate kvm_gsi_routing_enabled() > check for use in kvm_irqchip_add_msi_route() >=20 > Peter Maydell (7): > kvm: Decouple 'async interrupt delivery' from 'kernel irqchip' > kvm: Rename kvm_irqchip_set_irq() to kvm_set_irq() > kvm: Move kvm_allows_irq0_override() to target-i386, fix return type > kvm: Decouple 'irqfds usable' from 'kernel irqchip' > kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip' > kvm: Decouple 'GSI routing' from 'kernel irqchip' > kvm: Add documentation comment for kvm_irqchip_in_kernel() >=20 > cpus.c | 3 +- > hw/kvm/i8259.c | 2 +- > hw/kvm/ioapic.c | 2 +- > hw/pc.c | 1 + > hw/virtio-pci.c | 4 +- > kvm-all.c | 25 ++++++++++-------- > kvm-stub.c | 9 +++--- > kvm.h | 60 +++++++++++++++++++++++++++++++++++++= +++++-- > target-i386/Makefile.objs | 1 + > target-i386/kvm-stub.c | 18 +++++++++++++ > target-i386/kvm.c | 13 +++++++++ > target-i386/kvm_i386.h | 16 ++++++++++++ > 12 files changed, 130 insertions(+), 24 deletions(-) > create mode 100644 target-i386/kvm-stub.c > create mode 100644 target-i386/kvm_i386.h >=20 For the whole series: Acked-by: Jan Kiszka --------------enig12587C3C818195D0A1EAB8E0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAaRP8ACgkQitSsb3rl5xSA2wCfRIzVvPJ6BWOFHT2PwSWZaaB2 ulEAoI6s1zOnYgYQQN0NnnxFGPY5zK5z =oZ/s -----END PGP SIGNATURE----- --------------enig12587C3C818195D0A1EAB8E0--