Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp863516imm; Tue, 15 May 2018 10:13:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSDre9HXqO9iSVBpV8IsIDL1X+EXu9c4qu+uJLlBVKcMgq84qSlUvF8cjQlZlSpiCE2sKm X-Received: by 2002:a62:990f:: with SMTP id d15-v6mr16001440pfe.115.1526404431138; Tue, 15 May 2018 10:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526404431; cv=none; d=google.com; s=arc-20160816; b=DHhoekWpvLnabBboSquBmBOArl22F5pQeG8kl3mbrrmXVGWO7Fp4Ne+gM3BP+QbJbr 3DhHUasBNKcx4WWTUOCQwQ088/pZAFv3BPMvtx00uFhUAi9iE+uzSfA9EfD33wltxJG5 N5w7/QjAxHQAYDvYDbBf+e1ur0RCQEOS7N76zYu1dTXcdn6NcA/YBUG2TtOlSO6kzY5P 8qKQQD1GDmj+f0UUy9ltNnoBgLnLWvzw04SZhHKJBhjPsU6sR07YYkpxZRM26iFNFZEZ rHMt9OXyk1yewGgjRrQ10L1P050oxt/n2zF+cbkbseLTWq/A17bSVOLW9tPhTJXz7TaA nG4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=7kdik9MMbi5RaWNSLCNo/9h8OeTDQ6wLfNbIhPip1tY=; b=swR+LVqzhdEIBhzEtmP46KufC1bmD5V1hZeTRr1IV/FbCBrp1VWF/sUkU8Vre3o5c+ PpktWB9F/NS2MfvIYZnSDL3Vm4sa1zpNNyYD5Eqf2kHyEkzG3onDMRQnLnWVo+w561qN VNo/rp+ACBw2YPrS/CKrDWuaq2Ert9vPGGez4mcjNN3eJwGFgJd5D1MHPVXlLcixc357 8XEDHHtzNQEmbHrQMm4n1HL22rDKW+srtspvAnws0cVt+0GwJTkQSls4EXAZt8HvZ8sK c1Mgd7H5p7SNVJqPbMERUUqbNXoMLlXDo7Gy/eheqoHZPh3uUQN6B2oOV4UydHHQ9+zA HFdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17-v6si452096plq.115.2018.05.15.10.13.13; Tue, 15 May 2018 10:13:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754257AbeEORNB (ORCPT + 99 others); Tue, 15 May 2018 13:13:01 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35942 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751578AbeEORNA (ORCPT ); Tue, 15 May 2018 13:13:00 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 66C7D1435; Tue, 15 May 2018 10:13:00 -0700 (PDT) Received: from localhost (e105922-lin.cambridge.arm.com [10.1.206.33]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B1133F25D; Tue, 15 May 2018 10:12:59 -0700 (PDT) From: Punit Agrawal To: Catalin Marinas Cc: , , , Will Deacon , , , Russell King , Subject: Re: [PATCH v2 4/4] KVM: arm64: Add support for PUD hugepages at stage 2 References: <20180501102659.13188-1-punit.agrawal@arm.com> <20180501102659.13188-5-punit.agrawal@arm.com> <20180515165620.37l2epyno3vdcisu@armageddon.cambridge.arm.com> Date: Tue, 15 May 2018 18:12:58 +0100 In-Reply-To: <20180515165620.37l2epyno3vdcisu@armageddon.cambridge.arm.com> (Catalin Marinas's message of "Tue, 15 May 2018 17:56:21 +0100") Message-ID: <87bmdg3krp.fsf@e105922-lin.cambridge.arm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Catalin Marinas writes: > On Tue, May 01, 2018 at 11:26:59AM +0100, Punit Agrawal wrote: >> KVM currently 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 >> Cc: 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(-) > > Since this patch touches a couple of core arm64 files: > > Acked-by: Catalin Marinas Thanks Catalin. I've posted a v3 with minor changes yesterday[0]. Can you comment there? Or maybe Marc can apply the tag while merging the patches. [0] https://lkml.org/lkml/2018/5/14/912