From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0QeO-0005h0-15 for qemu-devel@nongnu.org; Wed, 11 May 2016 05:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0QeK-0006GH-OI for qemu-devel@nongnu.org; Wed, 11 May 2016 05:41:51 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:34345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0QeK-0006G9-Ff for qemu-devel@nongnu.org; Wed, 11 May 2016 05:41:48 -0400 Received: by mail-wm0-x242.google.com with SMTP id n129so8295651wmn.1 for ; Wed, 11 May 2016 02:41:48 -0700 (PDT) Sender: Paolo Bonzini References: <1462875682-1349-1-git-send-email-peterx@redhat.com> From: Paolo Bonzini Message-ID: <5732FE57.6050505@redhat.com> Date: Wed, 11 May 2016 11:41:43 +0200 MIME-Version: 1.0 In-Reply-To: <1462875682-1349-1-git-send-email-peterx@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] IOAPIC: clear remote IRR for edge interrupts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu , qemu-devel@nongnu.org Cc: rkrcmar@redhat.com, jan.kiszka@siemens.com, mst@redhat.com On 10/05/2016 12:21, Peter Xu wrote: > These two patches are seperated from v6 series of Intel IOMMU IR > support. > > Existing read-only bits of IOAPIC registers are writable. We'd > better follow the spec to make it read-only. The first patch did > this. > > The 2nd patch emulated real IOAPIC behavior that remote IRR bits are > cleared when configuring edge-triggered interrupts. This "feature" > is used by Linux kernel to do explicit EOI for 0x1X IOAPICs. For > more information, please refer to the comments in patch 2. This one > depends on patch 1 to work. > > Peter Xu (2): > ioapic: keep RO bits for IOAPIC entry > ioapic: clear remote irr bit for edge-triggered interrupts > > hw/intc/ioapic.c | 33 +++++++++++++++++++++++++++++++++ > include/hw/i386/ioapic_internal.h | 5 +++++ > 2 files changed, 38 insertions(+) > Queued for 2.7, thanks. Paolo