Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1305509lqh; Mon, 6 May 2024 03:54:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXc+38/l75Wbv8/wUf9MUwtEWcjdLZTQJk9eM2mzvhYBc2I2IPtrgwpHqjE93fMOtRASXUy5GTTNIUf7rBSU40IyWW9syaZocqbSTA1YA== X-Google-Smtp-Source: AGHT+IHm4VcJwl6WhuSXTnLpTFIANfCGuxy93TJYaeHGR/ivp1+ZuCjH+gavc0U+rBzbgNor4OKh X-Received: by 2002:a05:6a21:3483:b0:1af:ab0b:1c08 with SMTP id yo3-20020a056a21348300b001afab0b1c08mr4147729pzb.46.1714992880177; Mon, 06 May 2024 03:54:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714992880; cv=pass; d=google.com; s=arc-20160816; b=xNG92jM6RoV3TnNTlXQNRS6cMBoj4bJ0N5aAD0b60vepmJI2wSVbTgvHmwMYVAJkHJ C/FyU6oIFpE3FYsD8gPAZt9wDoYFrEN6GHCEByBKxyVJ8Tp+Rfkc1Z489Debn+Mc2E6p 2ToXtlV/zyEVFNJ93llAh4Yc1D//MADLvBbHWJnWeWcpTU5U1Zeev3lsLYe46zwoTTkd wT0OfPiYdLIWh+7siRlJFl1p41ReUSzWV7ke88LNrwSRI011v4ddCoQttD/qQre2ictS Ymz9KvMp49dcOP1BC73pUWg4ao+dRDBk41SSMGo16MzqiJCIsYOzWm+DAFPtdYq8musJ qu/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=9UZpBJpVNxgVBFMuP0FWI3TrIvHmHwvwDDNbp8nyyz0=; fh=pLMPCFCezg9ibJLDHGp5ykmYV14J4Z880nVhNBTXan8=; b=kdbr4SeLih8oexFGqrCxldoRh7T24bVNiZiGHPnFh2ZNK34Uue4IedTMStDFXmd/yE 39rtgvmbLSGF7bNn/yzfMOk7mrl0TBDD8NpLOYmMMuNiyRy1F8ihlcOmPAMi8K9NUD1b M82+6e4U+dpxrZ82eSwupQKUKCz8pT13JCtmzpgnkqzru/8F+aqLJkW6hKJvwVgrh81Y xW0E9fq9FVDLndRZcvuDIiUdoBUlHpnaUKdQCB5fetQL6HJUBpt05uA7gu0IOfaz11G1 NF7RvEBCnxwRmNU8aaRq6RB9UdXDIT5O9RuZh1DnmPjrhhQ0U9TaQ9ndQGvYUf5MscR4 keZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N4lm6PsX; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-169431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ln12-20020a056a003ccc00b006e77d8947b5si1494763pfb.275.2024.05.06.03.54.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:54:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N4lm6PsX; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-169431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2FA87280D8D for ; Mon, 6 May 2024 07:49:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CD7114038A; Mon, 6 May 2024 07:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="N4lm6PsX" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3F2942ABE; Mon, 6 May 2024 07:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981742; cv=none; b=MHjqz+1d8Bz3PwRmXoeSgguDxH9qFkr3aa8l5l61k1siufvHWsSe/+Vhl71CzhPvxO0+h9gDhXw/7BNYoComZQXVbQimWXlY7CG/WGwDSogPPiRZV8adN9xZ8rDmYvwSCPpFxqz/FuV+K6WObQilaMiPduZivIvu9suB30PT4oY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714981742; c=relaxed/simple; bh=OWCqVsjgfLNQN6XDNs/tB8tkUMXSZcy5HJhfHw0iAsw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=fugM/i/SQw21osdaqXNheVa+Rz77CAe0zy0SqiiWVxaO7Kgj6YWCg3zp7srFiFwC4UUC8MIFm7KumpvpVjkmHNCu+Bmb5TfSsVMZTZPXgeH1MlycdFMmCVWJqEEZ5Heye74SxJYHoyszGfDuxa9h/kQ4SARJ4XMwTL+u7qmgYgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=N4lm6PsX; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714981740; x=1746517740; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OWCqVsjgfLNQN6XDNs/tB8tkUMXSZcy5HJhfHw0iAsw=; b=N4lm6PsX8IWO4hEnKTLJR3lemUDWJmeu8nhESozKEW2uT0wysM1yOJsS c/LdO0Od11BMSZDJ4RwA/NlD261LYL55OBFQXSKj5hLw8u5BORNoY3rQI hH1/lIyhvjdcOjZDhqjPw28vKtEZ6IEjXOypGn86ECwEYZqFOm4ypfEnm 2tl+822+lpK4CgkbBHLto3y6OEfRnaH2k1Cwqy+xz0VrhwMlU+5OARrx4 iQlH9pc4R7bepL3K+EBC2WxuRl1Qwa0nF3IGuRKOFCMjdszqIA2pGhsua MmWRcZM1mKozH7U72SZmp1WXZj8MMPnap7GpnJpRkaH9TEy4N3X82kdet w==; X-CSE-ConnectionGUID: 4cwa4OnARymaR/t89ZnNYQ== X-CSE-MsgGUID: k45d4y2OSUGxSaibQdWDjA== X-IronPort-AV: E=McAfee;i="6600,9927,11064"; a="14521183" X-IronPort-AV: E=Sophos;i="6.07,257,1708416000"; d="scan'208";a="14521183" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2024 00:49:00 -0700 X-CSE-ConnectionGUID: IqlXt6B0ReGFum9OufbOdg== X-CSE-MsgGUID: TOlTN3aNTpag/I7/R9d2yw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,257,1708416000"; d="scan'208";a="28194981" Received: from unknown (HELO litbin-desktop.sh.intel.com) ([10.239.156.93]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2024 00:48:58 -0700 From: Binbin Wu To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: pbonzini@redhat.com, seanjc@google.com, isaku.yamahata@intel.com, xiaoyao.li@intel.com, binbin.wu@linux.intel.com Subject: [PATCH] KVM: VMX: Remove unused declaration of vmx_request_immediate_exit() Date: Mon, 6 May 2024 15:50:25 +0800 Message-Id: <20240506075025.2251131-1-binbin.wu@linux.intel.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit After commit 0ec3d6d1f169 "KVM: x86: Fully defer to vendor code to decide how to force immediate exit", vmx_request_immediate_exit() was removed. Commit 5f18c642ff7e "KVM: VMX: Move out vmx_x86_ops to 'main.c' to dispatch VMX and TDX" added its declaration by accident. Remove it. Signed-off-by: Binbin Wu --- arch/x86/kvm/vmx/x86_ops.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/vmx/x86_ops.h b/arch/x86/kvm/vmx/x86_ops.h index 502704596c83..dfab2c2941ad 100644 --- a/arch/x86/kvm/vmx/x86_ops.h +++ b/arch/x86/kvm/vmx/x86_ops.h @@ -111,7 +111,6 @@ u64 vmx_get_l2_tsc_offset(struct kvm_vcpu *vcpu); u64 vmx_get_l2_tsc_multiplier(struct kvm_vcpu *vcpu); void vmx_write_tsc_offset(struct kvm_vcpu *vcpu); void vmx_write_tsc_multiplier(struct kvm_vcpu *vcpu); -void vmx_request_immediate_exit(struct kvm_vcpu *vcpu); void vmx_sched_in(struct kvm_vcpu *vcpu, int cpu); void vmx_update_cpu_dirty_logging(struct kvm_vcpu *vcpu); #ifdef CONFIG_X86_64 base-commit: d91a9cc16417b8247213a0144a1f0fd61dc855dd -- 2.25.1