Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3750853imu; Tue, 18 Dec 2018 03:39:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/U5FnyfpB1gkRDy+Dbi7+DbtOhT1FWOECaTHDs3Y/Y9CYM8zN8S/+b0d1HdGIa10Rp0SGGr X-Received: by 2002:a63:f74f:: with SMTP id f15mr15611979pgk.190.1545133158890; Tue, 18 Dec 2018 03:39:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545133158; cv=none; d=google.com; s=arc-20160816; b=pAuDifhngP683Hp8/CFv/nbS69x+Ta9pEhzy0pgBnFyQlBpx6iT+1GxtuFfGbppOFS Wbcv//zQM3krbbag4LGaL4rPGxaogk6h2lm4GgHEY1v251plVmVXLbxHu6kHHcqo5EAU XSx6PE5Tbpwa8H8ElVYrYVaeLX8zv29BZzD2nxCxrze75xYF2EAB7dPGNIxW+5NWHeR3 8gGT9Cdea3uMFwXUTIOokVsFAPACoheDGf86W0JneI7wCx1W+g35XZwOY3n/Mkpb9DBQ O9X4kJteWSYhYP0sCYGIMsnfWZd1zco+Tcema/emTK0n5YsdG3fHi2YXTxfI1YycmN3s J/kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tGT+oehvkzoxlRcdEvXPWVw2TeXgj5YtD8OgKhThoFA=; b=GHNELuLTfxH8Uc2zSEoGtqeWLnk0gNwqFdP8O/VWh5iSBWdLcDbVNLvBU6CL6dZ0bT ut0V9BsSvlO+M8CRX/0EOqukS/rUoS139t3xCXAbHouM5zXAIkICehBH/KqfzQLeyCr4 CTpB1hVGapVwjuHpBUTnWDSVmu0wGmyVSS9JSriFqdzIB8lMYk23mfuw+xkskOr5srW0 WRkGl/BW0slFB5FyY+H8jGP/djrCoY/Pvom4DsKJi6n3SX3NJHDhs87FmUTKd8yAQoZ0 l9WiCVkvjfFz7tUlO0CmGNhcUSboPDarZ4cp9ppGh4EoUl5L1T0O97QtV4W7MFQ8Px/T 55vA== 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 x61si13247076plb.303.2018.12.18.03.39.02; Tue, 18 Dec 2018 03:39:18 -0800 (PST) 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 S1726639AbeLRLhP (ORCPT + 99 others); Tue, 18 Dec 2018 06:37:15 -0500 Received: from foss.arm.com ([217.140.101.70]:43912 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbeLRLhP (ORCPT ); Tue, 18 Dec 2018 06:37:15 -0500 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 B4E0B80D; Tue, 18 Dec 2018 03:37:14 -0800 (PST) Received: from localhost (e113682-lin.copenhagen.arm.com [10.32.144.41]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4A0C13F5C0; Tue, 18 Dec 2018 03:37:14 -0800 (PST) Date: Tue, 18 Dec 2018 12:37:12 +0100 From: Christoffer Dall To: Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, marc.zyngier@arm.com, will.deacon@arm.com, catalin.marinas@arm.com, anshuman.khandual@arm.com Subject: Re: [PATCH v10 0/8] kvm: arm64: Support PUD hugepage at stage 2 Message-ID: <20181218113712.GA25383@e113682-lin.lund.arm.com> References: <1544548241-6417-1-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1544548241-6417-1-git-send-email-suzuki.poulose@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 05:10:33PM +0000, Suzuki K Poulose wrote: > This series is an update to the PUD hugepage support previously posted > at [0]. This patchset adds support for PUD hugepages at stage 2 a > feature that is useful on cores that have support for large sized TLB > mappings (e.g., 1GB for 4K granule). > > The patches are based on v4.20-rc4 > > The patches have been tested on AMD Seattle system with the following > hugepage sizes - 2M and 1G. > > Right now the PUD hugepage for stage2 is only supported if the stage2 > has 4 levels. i.e, with an IPA size of minimum 44bits with 4K pages. > This could be relaxed to stage2 with 3 levels, with the stage1 PUD huge > page mapped in the entry level of the stage2 (i.e, pgd). I have not > added the change here to keep this version stable w.r.t the previous > version. I could post a patch later after further discussions in the > list. > For the series: Reviewed-by: Christoffer Dall