From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:57062 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753301AbdLNVQE (ORCPT ); Thu, 14 Dec 2017 16:16:04 -0500 Date: Thu, 14 Dec 2017 22:16:06 +0100 From: Greg KH To: Christoffer Dall Cc: stable@vger.kernel.org, Marc Zyngier Subject: Re: [PATCH v4.14 backport] KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table Message-ID: <20171214211606.GA15587@kroah.com> References: <20171214210424.25740-4-christoffer.dall@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171214210424.25740-4-christoffer.dall@linaro.org> Sender: stable-owner@vger.kernel.org List-ID: On Thu, Dec 14, 2017 at 10:04:24PM +0100, Christoffer Dall wrote: > From: Marc Zyngier > > Commit 64afe6e9eb4841f35317da4393de21a047a883b3 upstream. > > The current pending table parsing code assumes that we keep the > previous read of the pending bits, but keep that variable in > the current block, making sure it is discarded on each loop. > > We end-up using whatever is on the stack. Who knows, it might > just be the right thing... > > Fixes: 33d3bc9556a7d ("KVM: arm64: vgic-its: Read initial LPI pending table") > Cc: # 4.8 > Reported-by: AKASHI Takahiro > Reviewed-by: Christoffer Dall > Signed-off-by: Marc Zyngier > Signed-off-by: Christoffer Dall > --- > virt/kvm/arm/vgic/vgic-its.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Now applied, thanks. greg k-h