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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66568C4332F for ; Wed, 1 Nov 2023 21:24:18 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eaZfx2Ua; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4SLKl44HT3z3cTH for ; Thu, 2 Nov 2023 08:24:16 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eaZfx2Ua; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=192.55.52.43; helo=mgamail.intel.com; envelope-from=yilun.xu@linux.intel.com; receiver=lists.ozlabs.org) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4SL9xb6cxmz3c2k for ; Thu, 2 Nov 2023 02:32:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698852772; x=1730388772; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2nyEdm6cgXtLmEHT90SMnCtukFAW1r//JISNY6vr7Ro=; b=eaZfx2Uarr46v/Ve4Sx7xVBpwha2ar82jj5woYqh37OcJchWVGnfCwNH G1rZwHi7tWFocY8bmnPTotckukicdr8mxkZF0PHfoniBJEh2ADFhkwULT VUF9P0wJKMEgP46tW3tBNguVGYvbKI52PSGmyPysyrqVOV9RDk+aKQt5S 80kktHgdnZMeA30OPWjNQUe7laKm3GtgfpJ14CiWVhXl7Fi0SHOrGj6YL TSPovxbV9d0Ox48Pg5ds+aAvmizLS+pg8s40sb45SLJDiumh3x2wm4Y96 v6t3VcopveHpdvqL5xDMmk/rgQ2rTLfizGZWC3gG+erWYSw9wJZWnkh2g g==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="474758884" X-IronPort-AV: E=Sophos;i="6.03,268,1694761200"; d="scan'208";a="474758884" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2023 08:32:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,268,1694761200"; d="scan'208";a="2207680" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by fmviesa002.fm.intel.com with ESMTP; 01 Nov 2023 08:32:35 -0700 Date: Wed, 1 Nov 2023 23:31:10 +0800 From: Xu Yilun To: Sean Christopherson Subject: Re: [PATCH v13 03/35] KVM: Use gfn instead of hva for mmu_notifier_retry Message-ID: References: <20231027182217.3615211-1-seanjc@google.com> <20231027182217.3615211-4-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027182217.3615211-4-seanjc@google.com> X-Mailman-Approved-At: Thu, 02 Nov 2023 08:23:28 +1100 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, David Hildenbrand , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Chao Peng , linux-riscv@lists.infradead.org, Isaku Yamahata , Marc Zyngier , Huacai Chen , Xiaoyao Li , "Matthew Wilcox \(Oracle\)" , Wang , Fuad Tabba , Yu Zhang , Maciej Szmigiero , Albert Ou , Vlastimil Babka , Michael Roth , Ackerley Tng , Alexander Viro , Paul Walmsley , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= , Isaku Yamahata , Christian Brauner , Quentin Perret , L iam Merwick , linux-mips@vger.kernel.org, Oliver Upton , David Matlack , Jarkko Sakkinen , Palmer Dabbelt , "Kirill A . Shutemov" , kvm-riscv@lists.infradead.org, Anup Patel , linux-fsdevel@vger.kernel.org, Paolo Bonzini , Andrew Morton , Vishal Annapurve , linuxppc-dev@lists.ozlabs.org, Xu Yilun , Anish Moorthy Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Oct 27, 2023 at 11:21:45AM -0700, Sean Christopherson wrote: > From: Chao Peng > > Currently in mmu_notifier invalidate path, hva range is recorded and > then checked against by mmu_notifier_retry_hva() in the page fault ^ should be mmu_invalidate_retry_hva(). Besides this, Reviewed-by: Xu Yilun Thanks