From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 10 Mar 2015 21:19:13 -0300 From: Marcelo Tosatti To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Greg Kurz , Paul Mackerras , stable@vger.kernel.org Subject: Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code Message-ID: <20150311001913.GA20876@amt.cnet> References: <1425552886-1848-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425552886-1848-1-git-send-email-pbonzini@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Thu, Mar 05, 2015 at 11:54:46AM +0100, Paolo Bonzini wrote: > POWER supports irqfds but forgot to advertise them. Some userspace does > not check for the capability, but others check it---thus they work on > x86 and s390 but not POWER. > > To avoid that other architectures in the future make the same mistake, let > common code handle KVM_CAP_IRQFD the same way as KVM_CAP_IRQFD_RESAMPLE. > > Reported-by: Greg Kurz > Cc: stable@vger.kernel.org > Fixes: 297e21053a52f060944e9f0de4c64fad9bcd72fc > Signed-off-by: Paolo Bonzini > --- > Marcelo, please apply this for 4.0. Applied, thanks.