From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41555 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932630AbeB1Rp3 (ORCPT ); Wed, 28 Feb 2018 12:45:29 -0500 Date: Wed, 28 Feb 2018 18:45:30 +0100 From: Greg KH To: Punit Agrawal Cc: stable@vger.kernel.org, ioana.ciornei@nxp.com, Marc Zyngier , Christoffer Dall Subject: Re: [PATCH] KVM: arm/arm64: Fix check for hugepage size when allocating at Stage 2 Message-ID: <20180228174530.GA24853@kroah.com> References: <20180228164009.3907-1-punit.agrawal@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180228164009.3907-1-punit.agrawal@arm.com> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Feb 28, 2018 at 04:40:09PM +0000, Punit Agrawal wrote: > Commit 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a > hugepage at Stage 2") lost the check for PMD_SIZE during the backport > to 4.9. > > Fix this by correcting the condition to detect hugepages during stage > 2 allocation. > > Fixes: 45ee9d5e97a4 ("KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2") > Reported-by: Ioana Ciornei > Signed-off-by: Punit Agrawal > Cc: Marc Zyngier > Cc: Christoffer Dall > -- > Hi Greg, > > This patch fixes a commit in the stable tree that was backported from > upstream. I am not sure what the tag convention is for such a commit - > so sending as a fix. What you did here was just fine, now queued up, thanks. greg k-h