From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbbCKATd (ORCPT ); Tue, 10 Mar 2015 20:19:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42629 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbCKATb (ORCPT ); Tue, 10 Mar 2015 20:19:31 -0400 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> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.