From: Paolo Bonzini Subject: Re: [PATCH] KVM: x86: implement IOAPIC_REG_EOI for directed EOI support Date: Fri, 14 Apr 2017 13:28:19 +0800 Message-ID: <30b132ce-7815-54ae-196c-52cf32205b12@redhat.com> References: <20170411141115.4314-1-lprosek@redhat.com> <20170412064029.GD16464@pxdev.xzpeter.org> <20170412090644.GG16464@pxdev.xzpeter.org> <20170412115752.GJ16464@pxdev.xzpeter.org> <20170413083221.GK16464@pxdev.xzpeter.org> <20170413140929.GD23556@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Ladi Prosek , KVM list To: Radim Krcmar , Peter Xu Return-path: Received: from mail-wr0-f195.google.com ([209.85.128.195]:35421 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbdDNF20 (ORCPT ); Fri, 14 Apr 2017 01:28:26 -0400 Received: by mail-wr0-f195.google.com with SMTP id l44so11241719wrc.2 for ; Thu, 13 Apr 2017 22:28:25 -0700 (PDT) In-Reply-To: <20170413140929.GD23556@potion> Sender: kvm-owner@vger.kernel.org List-ID: On 13/04/2017 22:09, Radim Krcmar wrote: > KVM PIT (arch/x86/kvm/i8254.c) uses it to keep track of lost edge > interrupts so it could re-inject them. > Windows needed it for reasonable timeflow, IIRC. This is for old Linux. Windows needs the RTC tracking, which also uses the irq ack notifier. > The feature might have been introduced because some OS assumed presence > of the feature if x2APIC was available ... > Right, reverting it is pretty safe, because it was broken before. > (And we ignore the SPIV completely when forwarding EOI to userspace.) Yeah, that's the important part. I'm a bit worried of the consequences for migration, but AIUI you think it's fine? (That is, too many EOIs are not a problem, only too few are). Paolo