From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2ED67C433E2 for ; Thu, 10 Sep 2020 11:00:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BEC9B20BED for ; Thu, 10 Sep 2020 11:00:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="h2UU+vGO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="C49xCjDy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BEC9B20BED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bOTtkWbLJufr6uKQ9JRPMC+89ADouNOifkHp3b1OPZA=; b=h2UU+vGOfQMljmgucCJ0r/oQN OtksORD7lMoTLYdx37/kTSY8Qv0ylob1qu+iM7WX3dxZsyrLrvJXYfnEdiPGLmmFJGM7AnRowMFex 1srewCAxMXVjBM5snFzl+lUffmfZlSUxLO2flulSs17Q8OFxGUqvmcl6G6XDdfkOIs+HZJ/TRjPUs Zs5DC2yPmUYb3w7G+Slvk5c7J5ocP9DCHdTFwnRk89iwud2K8Hf0Liasts2UuASiZ17aMwpLwbtdD mpZbeZqQEH/Ha0vWH5Lru5a4ZLpda5bCd8+TZZpdTGFfHKBSxyxx2nU9UgxH8w+g0xJxiJANItPn4 bmk8C24Hg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGKHu-0001OH-1t; Thu, 10 Sep 2020 10:58:46 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGKHq-0001Mc-9O for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 10:58:44 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8876720BED; Thu, 10 Sep 2020 10:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599735521; bh=H4fLahY09kIABG+hnBOS3jDAHJaeoNGpys/P9jWiBxc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C49xCjDyJ0bqgrAjrHHD2OgeKxUHD8lkN731jB0aiwSO1rOp8b1zYnOFr/rOnSLw9 1g6TJHtK9pUzHObVsFZ1z8NhhgySZ4s4Y4p9T7EhVQpIegpS4rMTwGipfjaNJue6vu 8UVR4+RlUhKtFBan19dTCtq/3Dk9oZNnkB9gAJVU= Date: Thu, 10 Sep 2020 11:58:36 +0100 From: Will Deacon To: Gavin Shan Subject: Re: [PATCH v4 00/21] KVM: arm64: Rewrite page-table code and fault handling Message-ID: <20200910105835.GD17887@willie-the-truck> References: <20200907152344.12978-1-will@kernel.org> <4e41d4c5-1d36-fb28-880d-94235def35ed@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4e41d4c5-1d36-fb28-880d-94235def35ed@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_065842_426689_7FCE31BA X-CRM114-Status: GOOD ( 16.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-team@android.com, Suzuki Poulose , Marc Zyngier , Quentin Perret , James Morse , Catalin Marinas , Alexandru Elisei , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 10, 2020 at 02:06:04PM +1000, Gavin Shan wrote: > On 9/8/20 1:23 AM, Will Deacon wrote: > > Here's version four of the KVM page-table rework I previously posted here: > > > > v1: https://lore.kernel.org/r/20200730153406.25136-1-will@kernel.org > > v2: https://lore.kernel.org/r/20200818132818.16065-1-will@kernel.org > > v3: https://lore.kernel.org/r/20200825093953.26493-1-will@kernel.org > > > > Changes since v3 include: > > > > * Removed some more unused code from the old implementation > > * Renumbered KVM_PGTABLE_PROT_* to match file permissions in hex dumps > > * Simplified kvm_granule_shift() and removed kvm_start_level() > > * Only clear valid bit when invalidating a PTE, leaving phys addr intact > > * Fail gracefully when attempting to allocate without a memory cache > > * Rewrote stage2_apply_range() as a function instead of a macro > > * Fixed fault address rounding with hugetlbfs > > * Fixed permission fault handling when dirty logging is enabled > > * Added comments > > * Added reviewer tags > > > > Many thanks to Alex and Gavin for their comments. > > > > Will > > > > [...] > > Eventually, I'm lucky finding a machine from our pool where 16KB page > size is supported. I tried this series (v4) on this machine, everything > looks good as we expected: Thanks, Gavin! I'll probably spin another version this week, just collecting the last few comments I've had. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel