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.gnu.org (lists.gnu.org [209.51.188.17]) (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 42E82C3ABC3 for ; Fri, 9 May 2025 09:10:20 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uDJjW-0006Z7-1B; Fri, 09 May 2025 05:09:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDJjT-0006YY-Kr; Fri, 09 May 2025 05:09:27 -0400 Received: from mgamail.intel.com ([198.175.65.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDJjS-0000SZ-3B; Fri, 09 May 2025 05:09:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1746781766; x=1778317766; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=5oAxwranscwqB3GHDqmAi9ptxiiQwuBPM52/1nXSzK0=; b=ng3i+BaRpbXrFcCLVh6PrnurJrNhse53yFQrse8rKHG8qkG8mJrYsha8 9pALjUkwgYydEEGZuaGqRkhrqJfE/VcAfspG0vZ1U/uEErUlGOjvZ3Zqe GZNjysTvRUZjjkmEyknRJfg+zI08OiXsRs7Wu2QUiio/xbSS8JbBPkk7r Kc3xrcrClzdr8sJIoOTtj03lcXhfYyd7CX1dwdm/r3py4SGcW+duU5Awg tdtdpteTjor7Vfm2QU0Xe2AD70RddPxktsi+OtJS9upy0A4a37LGjDZR/ RQwJW42E8dTC6dvQdhgrQyWMu6+/M7cEXpEO4aoyFLwyCGJiYe0Mf6RnP A==; X-CSE-ConnectionGUID: zqlsPSgiRjObA+O/7T5chw== X-CSE-MsgGUID: sqOwCT4LTr+G/+a3GXKP2w== X-IronPort-AV: E=McAfee;i="6700,10204,11427"; a="58820693" X-IronPort-AV: E=Sophos;i="6.15,274,1739865600"; d="scan'208";a="58820693" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2025 02:09:20 -0700 X-CSE-ConnectionGUID: 23mZ4JMRS06K1Y55uYr9rw== X-CSE-MsgGUID: SoaA/M/dRXKbfVT6oLvAug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,274,1739865600"; d="scan'208";a="137496563" Received: from liuzhao-optiplex-7080.sh.intel.com (HELO localhost) ([10.239.160.39]) by orviesa008.jf.intel.com with ESMTP; 09 May 2025 02:09:13 -0700 Date: Fri, 9 May 2025 17:30:15 +0800 From: Zhao Liu To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: qemu-devel@nongnu.org, Richard Henderson , kvm@vger.kernel.org, Sergio Lopez , Gerd Hoffmann , Peter Maydell , Laurent Vivier , Jiaxun Yang , Yi Liu , "Michael S. Tsirkin" , Eduardo Habkost , Marcel Apfelbaum , Alistair Francis , Daniel Henrique Barboza , Marcelo Tosatti , qemu-riscv@nongnu.org, Weiwei Li , Amit Shah , Yanan Wang , Helge Deller , Palmer Dabbelt , Ani Sinha , Igor Mammedov , Fabiano Rosas , Paolo Bonzini , Liu Zhiwei , =?iso-8859-1?Q?Cl=E9ment?= Mathieu--Drif , qemu-arm@nongnu.org, =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , Huacai Chen , Jason Wang Subject: Re: [PATCH v4 13/27] target/i386/cpu: Remove CPUX86State::fill_mtrr_mask field Message-ID: References: <20250508133550.81391-1-philmd@linaro.org> <20250508133550.81391-14-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250508133550.81391-14-philmd@linaro.org> Received-SPF: pass client-ip=198.175.65.11; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -57 X-Spam_score: -5.8 X-Spam_bar: ----- X-Spam_report: (-5.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.416, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Thu, May 08, 2025 at 03:35:36PM +0200, Philippe Mathieu-Daudé wrote: > Date: Thu, 8 May 2025 15:35:36 +0200 > From: Philippe Mathieu-Daudé > Subject: [PATCH v4 13/27] target/i386/cpu: Remove > CPUX86State::fill_mtrr_mask field > X-Mailer: git-send-email 2.47.1 > > The CPUX86State::fill_mtrr_mask boolean was only disabled > for the pc-q35-2.6 and pc-i440fx-2.6 machines, which got > removed. Being now always %true, we can remove it and simplify > kvm_get_msrs(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > target/i386/cpu.h | 3 --- > target/i386/cpu.c | 1 - > target/i386/kvm/kvm.c | 10 +++------- > 3 files changed, 3 insertions(+), 11 deletions(-) No case found for external user use, so, Reviewed-by: Zhao Liu