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.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,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 EAE74C433E2 for ; Tue, 15 Sep 2020 10:56:59 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 62C77218AC for ; Tue, 15 Sep 2020 10:56:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62C77218AC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id C508D4B330; Tue, 15 Sep 2020 06:56:58 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BWWUfP-lvMZw; Tue, 15 Sep 2020 06:56:57 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id BDC504B331; Tue, 15 Sep 2020 06:56:57 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B17A54B332 for ; Tue, 15 Sep 2020 06:56:56 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MpXtBhugVfeB for ; Tue, 15 Sep 2020 06:56:55 -0400 (EDT) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mm01.cs.columbia.edu (Postfix) with ESMTP id AEF6C4B330 for ; Tue, 15 Sep 2020 06:56:55 -0400 (EDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 57D2A1FB; Tue, 15 Sep 2020 03:56:55 -0700 (PDT) Received: from [192.168.0.110] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E33083F718; Tue, 15 Sep 2020 03:56:53 -0700 (PDT) Subject: Re: [PATCH v5 09/21] KVM: arm64: Convert unmap_stage2_range() to generic page-table API To: Will Deacon , kvmarm@lists.cs.columbia.edu References: <20200911132529.19844-1-will@kernel.org> <20200911132529.19844-10-will@kernel.org> From: Alexandru Elisei Message-ID: <278850fb-b528-6a84-2d19-f8a27cb6fe0e@arm.com> Date: Tue, 15 Sep 2020 11:57:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200911132529.19844-10-will@kernel.org> Content-Language: en-US Cc: Marc Zyngier , Catalin Marinas , kernel-team@android.com, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu Hi Will, On 9/11/20 2:25 PM, Will Deacon wrote: > Convert unmap_stage2_range() to use kvm_pgtable_stage2_unmap() instead > of walking the page-table directly. Nitpick: the function name is __unmap_stage2_range() (above and in the subject); the two aren't equivalent because kvm_unmap_hva_handler() uses __unmap_stage2_range() directly. Thanks, Alex _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 432F8C433E2 for ; Tue, 15 Sep 2020 11:09:28 +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 A726E21D43 for ; Tue, 15 Sep 2020 11:09:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="f2tjF9Xy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A726E21D43 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CnL+/G203HUX3HWgCLZYTgYFIWFqK1bumsVqMXxXRyY=; b=f2tjF9XyFDVGRhDtIMhfnii+s v9gpgKy+TN5uq3cCUKOne1frL6+4h7WukCGX/JGl77HDquxaykto2ck2IFvNnZeXP80YAw0ny7jiD N6O5bl+8hOpxXK45DufcR6yLE0PCjoNkHISJdQg6WhUhyljWM/MzbpMlZLaEcF2ywG/sIoMpkyLbX 3NOw+x4gddS6K7mWE4Q0glKm9bbvHx8PtVHpScdDozze6vQ0duD37k7PAVdTYtVAB4Ybv4I+rqu9a wFHLa7JmtFezSVV6dL6J9VY5jk+8XPW4fW4gIiu15sJjhWIPvUx4DUHt3zMVK/p5kb1xpaxYExF/a YFWa5i5Mg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI8nU-0000rb-Hh; Tue, 15 Sep 2020 11:06:54 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI8dt-00054a-B4 for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 10:57:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 57D2A1FB; Tue, 15 Sep 2020 03:56:55 -0700 (PDT) Received: from [192.168.0.110] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E33083F718; Tue, 15 Sep 2020 03:56:53 -0700 (PDT) Subject: Re: [PATCH v5 09/21] KVM: arm64: Convert unmap_stage2_range() to generic page-table API To: Will Deacon , kvmarm@lists.cs.columbia.edu References: <20200911132529.19844-1-will@kernel.org> <20200911132529.19844-10-will@kernel.org> From: Alexandru Elisei Message-ID: <278850fb-b528-6a84-2d19-f8a27cb6fe0e@arm.com> Date: Tue, 15 Sep 2020 11:57:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200911132529.19844-10-will@kernel.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_065657_528231_FCCA8841 X-CRM114-Status: GOOD ( 11.01 ) 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: Gavin Shan , Suzuki Poulose , Marc Zyngier , Quentin Perret , James Morse , Andrew Scull , Catalin Marinas , kernel-team@android.com, 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 Hi Will, On 9/11/20 2:25 PM, Will Deacon wrote: > Convert unmap_stage2_range() to use kvm_pgtable_stage2_unmap() instead > of walking the page-table directly. Nitpick: the function name is __unmap_stage2_range() (above and in the subject); the two aren't equivalent because kvm_unmap_hva_handler() uses __unmap_stage2_range() directly. Thanks, Alex _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel