From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932204AbeEORWG (ORCPT ); Tue, 15 May 2018 13:22:06 -0400 Received: from foss.arm.com ([217.140.101.70]:36180 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753575AbeEORWF (ORCPT ); Tue, 15 May 2018 13:22:05 -0400 Date: Tue, 15 May 2018 18:22:01 +0100 From: Catalin Marinas To: Punit Agrawal Cc: kvmarm@lists.cs.columbia.edu, suzuki.poulose@arm.com, marc.zyngier@arm.com, Will Deacon , christoffer.dall@arm.com, linux-kernel@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 4/4] KVM: arm64: Add support for PUD hugepages at stage 2 Message-ID: <20180515172200.hw24lgd6qh436xvy@armageddon.cambridge.arm.com> References: <20180514144304.10484-1-punit.agrawal@arm.com> <20180514144304.10484-5-punit.agrawal@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180514144304.10484-5-punit.agrawal@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 14, 2018 at 03:43:04PM +0100, Punit Agrawal wrote: > KVM only supports PMD hugepages at stage 2. Extend the stage 2 fault > handling to add support for PUD hugepages. > > Addition of pud hugepage support enables additional hugepage > sizes (e.g., 1G with 4K granule) which can be useful on cores that > support mapping larger block sizes in the TLB entries. > > Signed-off-by: Punit Agrawal > Reviewed-by: Christoffer Dall > Cc: Marc Zyngier > Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > --- > arch/arm/include/asm/kvm_mmu.h | 19 ++++++++++++ > arch/arm64/include/asm/kvm_mmu.h | 15 ++++++++++ > arch/arm64/include/asm/pgtable-hwdef.h | 4 +++ > arch/arm64/include/asm/pgtable.h | 2 ++ > virt/kvm/arm/mmu.c | 40 ++++++++++++++++++++++++-- > 5 files changed, 77 insertions(+), 3 deletions(-) It looks like I acked an earlier version. I'll ack it again here: Acked-by: Catalin Marinas