[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150311001913.GA20876@amt.cnet>
Date: Tue, 10 Mar 2015 21:19:13 -0300
From: Marcelo Tosatti <mtosatti@...hat.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Greg Kurz <gkurz@...ux.vnet.ibm.com>,
Paul Mackerras <paulus@...ba.org>, stable@...r.kernel.org
Subject: Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code
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 <gkurz@...ux.vnet.ibm.com>
> Cc: stable@...r.kernel.org
> Fixes: 297e21053a52f060944e9f0de4c64fad9bcd72fc
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
> ---
> Marcelo, please apply this for 4.0.
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists