Thread (3 messages) 3 messages, 3 authors, 2018-02-28

Re: [PATCH] KVM: arm/arm64: Fix check for hugepage size when allocating at Stage 2

From: Greg KH <hidden>
Date: 2018-02-28 17:45:29

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 <ioana.ciornei@nxp.com>
Signed-off-by: Punit Agrawal <redacted>
Cc: Marc Zyngier <redacted>
Cc: Christoffer Dall <redacted>
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help