From: Michael Ellerman Subject: Re: [PATCH] Revert "KVM: Don't accept obviously wrong gsi values via KVM_IRQFD" Date: Mon, 18 Sep 2017 16:44:32 +1000 Message-ID: <871sn4jyjz.fsf@concordia.ellerman.id.au> References: <04cde7c8-d41f-96e2-2b4b-2287b8f04bfc@amazon.de> <1505592744-31498-1-git-send-email-jschoenh@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Cc: sachinp@linux.vnet.ibm.com, kvm@vger.kernel.org, =?utf-8?Q?Jan_H=2E_Sc?= =?utf-8?Q?h=C3=B6nherr?= , linux-kernel@vger.kernel.org, Abdul Haleem , linuxppc-dev@lists.ozlabs.org To: =?utf-8?Q?Jan_H=2E_Sch=C3=B6nherr?= , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= Return-path: In-Reply-To: <1505592744-31498-1-git-send-email-jschoenh@amazon.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org "Jan H. Schönherr" writes: > This reverts commit 36ae3c0a36b7456432fedce38ae2f7bd3e01a563. > > The commit broke compilation on !CONFIG_HAVE_KVM_IRQ_ROUTING. Also, > there may be cases with CONFIG_HAVE_KVM_IRQ_ROUTING, where larger > gsi values make sense. > > As the commit was meant as an early indicator to user space that > something is wrong, reverting just restores the previous behavior > where overly large values are ignored when encountered (without > any direct feedback). > > Reported-by: Abdul Haleem > Signed-off-by: Jan H. Schönherr > --- > virt/kvm/eventfd.c | 2 -- > 1 file changed, 2 deletions(-) Can someone merge this or preferably just send it straight to Linus, the original patch has broken the powerpc build in mainline. cheers