Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2201387rwj; Mon, 19 Dec 2022 00:48:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6LkKIIQbpGk2pugqlEX5TnEnluq2Ctd4a91z5zuGrIGrr4MpIeEJTzffaUnCkHyzFOKUxq X-Received: by 2002:a17:903:258e:b0:189:83bb:646f with SMTP id jb14-20020a170903258e00b0018983bb646fmr41477917plb.17.1671439733173; Mon, 19 Dec 2022 00:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671439733; cv=none; d=google.com; s=arc-20160816; b=dR4qKxUe4zw4sv9Zqmx/beu/PnfiyV05oAJ8XyAqL7TPSTT+acWgR8//IO9z0Eb5bB zhDKVgaBKZgcpDl9I2YhdsadhxB1cwZ+M7aBiYjb7IMKGX+R9W/5WN3GaCnqU9h8zBol dUW+Qj8C9VPIAnap5AeK6aSwqohiJNjbgYPjj+Khcvtg7ak8OpcVmYOLfRzDaszH9Z2e kHvPFt0Yjtcq/VJJ8OvOpNwdyVwUInFijvod9Q//4lVAEGDtsoZWVyk0+lP1ujOrG7yW eRZ8yrWddqLqftw1QcpD0+vFQ7YLneTmo7RAhLDNI2yPa75FHV8iSltNXctJYxvgFiEY BpLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=I2GsMiBO5UQyYV5au8wWUdPpP9nnwaxVWViHm/nbWQU=; b=VtAKJVZfhW1WN8uBMSAYzPAv8+r0J46V3nG4G3qh7fzzFmYeUUMBSLz6Vu+WCmb17e TbL8JrvBg50Ho/eY43zh87eBfKyFBAv2UEWbwY+8ObAky5Mstmx+pVeRbrJVVMoiGEXS NSiXxrcavb9fv2/rxtXinLiyEabHKsg5TnyUMOn2dBaKN/vXfVzYM0QCrN4gloaqaeB1 hiwFLzJdsP48kBf4jAnFZkQsJ/zMcBo4JjANu6e/PD5IQSsAKBszpsTOYoW2dQkh+7lz 1XWkZk5rkZSsZXljtuO/V9wounNw6SI6Fjb/UdJ0hoGnazuVhL/kle2R5TUmnBaLD/SD Rvbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=apUAziLs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a170903230f00b0016ce3d67e7csi10370854plh.387.2022.12.19.00.48.44; Mon, 19 Dec 2022 00:48:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=apUAziLs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231394AbiLSH7F (ORCPT + 70 others); Mon, 19 Dec 2022 02:59:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbiLSH7B (ORCPT ); Mon, 19 Dec 2022 02:59:01 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2AF6BC2E; Sun, 18 Dec 2022 23:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671436740; x=1702972740; h=date:from:to:cc:subject:message-id:reply-to:references: mime-version:content-transfer-encoding:in-reply-to; bh=LTCN5nc9sJT3ve1jNEbkwKdzxPjXUiJ2eqZmznP7zEs=; b=apUAziLsi1avXc90CdVu3Tk+ZAKwrXTAVhoVT0ukEOkXjTdgjaXvpsvi osNLiMEc0XIJif58bf6GTq2L9ayChJY4uf32rVYak1dX6eHTcDZJdKNN6 XcGu3RjsWwmOyIwNkpkJpiMQ9I6D9DAk/dUo/ygVUkns9LYNxizqNRKPo bi+yFSclXObovu0qvSPAsePk9d70I6UwIlmbIr6I8hsTbtImyz2mGRVFj 8mq0KpHdKs7xWCiunRLH+kYg4yN2AC0qNHcK0ZtW8SJBAFqyQbrLi1X/2 yWrNLtXvUJCTzmKygHTIxQwkVS9YKxLuMi4Ts072Y2MpOwAx4TbI4Qr2V g==; X-IronPort-AV: E=McAfee;i="6500,9779,10565"; a="383638121" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="383638121" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2022 23:58:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10565"; a="895959169" X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="895959169" Received: from chaop.bj.intel.com (HELO localhost) ([10.240.193.75]) by fmsmga006.fm.intel.com with ESMTP; 18 Dec 2022 23:58:49 -0800 Date: Mon, 19 Dec 2022 15:54:32 +0800 From: Chao Peng To: "Huang, Kai" Cc: "linux-api@vger.kernel.org" , "linux-mm@kvack.org" , "qemu-devel@nongnu.org" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-doc@vger.kernel.org" , "kvm@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "tglx@linutronix.de" , "jmattson@google.com" , "Lutomirski, Andy" , "pbonzini@redhat.com" , "ak@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "david@redhat.com" , "tabba@google.com" , "Hocko, Michal" , "michael.roth@amd.com" , "corbet@lwn.net" , "bfields@fieldses.org" , "dhildenb@redhat.com" , "x86@kernel.org" , "bp@alien8.de" , "vannapurve@google.com" , "rppt@kernel.org" , "shuah@kernel.org" , "vkuznets@redhat.com" , "vbabka@suse.cz" , "arnd@arndb.de" , "mail@maciej.szmigiero.name" , "qperret@google.com" , "Christopherson,, Sean" , "ddutile@redhat.com" , "naoya.horiguchi@nec.com" , "aarcange@redhat.com" , "wanpengli@tencent.com" , "yu.c.zhang@linux.intel.com" , "hughd@google.com" , "mingo@redhat.com" , "hpa@zytor.com" , "Nakajima, Jun" , "jlayton@kernel.org" , "joro@8bytes.org" , "steven.price@arm.com" , "Hansen, Dave" , "akpm@linux-foundation.org" , "linmiaohe@huawei.com" , "Wang, Wei W" Subject: Re: [PATCH v10 6/9] KVM: Unmap existing mappings when change the memory attributes Message-ID: <20221219075432.GC1691829@chaop.bj.intel.com> Reply-To: Chao Peng References: <20221202061347.1070246-1-chao.p.peng@linux.intel.com> <20221202061347.1070246-7-chao.p.peng@linux.intel.com> <0889bab999cbb464e63490bdb5b3c68c07791979.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0889bab999cbb464e63490bdb5b3c68c07791979.camel@intel.com> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 13, 2022 at 11:51:25PM +0000, Huang, Kai wrote: > On Fri, 2022-12-02 at 14:13 +0800, Chao Peng wrote: > > ? > > - /* flags is currently not used. */ > > + /* 'flags' is currently not used. */ > > ? if (attrs->flags) > > ? return -EINVAL; > > Unintended code change. Yeah! Chao