From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azds1-0001B6-JU for qemu-devel@nongnu.org; Mon, 09 May 2016 01:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azdrv-0004Ip-E1 for qemu-devel@nongnu.org; Mon, 09 May 2016 01:36:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azdrv-0004Il-8n for qemu-devel@nongnu.org; Mon, 09 May 2016 01:36:35 -0400 Date: Mon, 9 May 2016 13:36:29 +0800 From: Peter Xu Message-ID: <20160509053629.GA25124@pxdev.xzpeter.org> References: <1462568028-31037-1-git-send-email-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1462568028-31037-1-git-send-email-rkrcmar@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 0/4] APIC, IOMMU, KVM: add x2APIC interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: qemu-devel@nongnu.org, Paolo Bonzini , "Lan, Tianyu" , Igor Mammedov , Jan Kiszka , Eduardo Habkost , Richard Henderson On Fri, May 06, 2016 at 10:53:44PM +0200, Radim Kr=C4=8Dm=C3=A1=C5=99 wro= te: > This series bases on Peter's IR v6 and depends on patches that were jus= t > posted to kvm-list, "[RFC 0/9] KVM: x86: break the xAPIC barrier". >=20 > The kernel interface could use your comments, but internal QEMU one is > in dire need of them. Please see [1/4]. >=20 > I have tested the series and seems to work as well as it can. > Peter's IR v6 didn't boot on my setup, so I reverted to the latest > version I know was working, v4, and rebased paches for testing. Radim, Would you please provide your test setup? So that I can try to reproduce it on my machine and debug it.=20 > The setup from Igor's latest x2APIC QEMU patches creates two VCPUs, > first has id 0 and second has 280. Edge IO-APIC and MSI interrupts > were being delivered to both of them, but level didn't work -- only > one interrupt was ever delivered, I blame EOI. Not sure whether this is related to the v5 fix on kernel EOI hack (the two patches that you have reviewed)? That two patches should solve the level-triggered interrupt issue that I have encountered, like e1000 cards. -- peterx