Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3553771yba; Mon, 8 Apr 2019 23:07:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy68WmSrk/G5/E/5VOH7Ob9HeKmfL1olkw+YGf8ugzsfG6GeSaZcebYpRiaQ3RXVGIcp9F7 X-Received: by 2002:a63:1654:: with SMTP id 20mr33162061pgw.166.1554790042562; Mon, 08 Apr 2019 23:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554790042; cv=none; d=google.com; s=arc-20160816; b=PpzU4jkB6pFWN4yJu6fTaawfYty0eQ//anZNJh+qXYVEaIpIyZhm394paZBADLhgBX OYuC6TniBPr7ZQS0keT/YuYc4Xrg1UzfqjonVx+i/zqgKH9kgZ19hPPF00OgDTonb6N4 A7uCYv7nZFrr4lN9XhDdluQ27/G4nCMDXHIqw71kbg5AlpbTrFTy1TGPDjOqBbGYAWfX eZEoAda+fwGIXXvj2ffkQ8/6uq3/XQOptKN7GyKRG04ffd2t04/WNOaXc92+NmMlF7eC pEp6PgyiOyfJ/nW8L4363BWL/vRsPFAtijuJPP+KP2GQph/rZQPQUX6XSH5cves3fF8+ JmVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=0zpYYtBrAhts/f9rBGvqnCNlWnmfTNioTkQaSJvI5HI=; b=oYQzEaMKURBXUsAnGYWz+oB3Y124rBMSgnjF78s2P6Ie5DM/zuU9H/IPo/ygIg1UmR by3lhr+d+CqfxoA9pem4D3IrNKyGtsH6YiEzalLm8d4gOSZylI6SBDLsaPr/91Ytg7KV b8wLFUZhIUiGOD3pYpPhZRAArFUQMtg2yiI2VRyngGikdNOIKgQUJ9Rah90GIiagsRJi miQlss6Pps47FgjC/oR3o+zvfBpJFkclbJsR2rWtGzOxcL2w1pttWZweDqg9lrS0h+eY FLyhr91fpqriLSg8B7GlELwOGAs+89fiPVmUj5LwX2PvHXwXSD6mrLEOhikkJ4bZfFZl eCrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l98si28765486plb.165.2019.04.08.23.07.05; Mon, 08 Apr 2019 23:07:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726438AbfDIGGa (ORCPT + 99 others); Tue, 9 Apr 2019 02:06:30 -0400 Received: from mga03.intel.com ([134.134.136.65]:2795 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726032AbfDIGGa (ORCPT ); Tue, 9 Apr 2019 02:06:30 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Apr 2019 23:06:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,328,1549958400"; d="scan'208";a="159480170" Received: from lxy-dell.sh.intel.com ([10.239.159.145]) by fmsmga002.fm.intel.com with ESMTP; 08 Apr 2019 23:06:26 -0700 Message-ID: Subject: Re: [PATCH v6 11/20] kvm/x86: Emulate MSR IA32_CORE_CAPABILITY From: Xiaoyao Li To: Thomas Gleixner , Fenghua Yu Cc: Ingo Molnar , Borislav Petkov , H Peter Anvin , Dave Hansen , Paolo Bonzini , Ashok Raj , Peter Zijlstra , Kalle Valo , Michael Chan , Ravi V Shankar , linux-kernel , x86 , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kvm@vger.kernel.org Date: Tue, 09 Apr 2019 14:03:05 +0800 In-Reply-To: References: <1554326526-172295-1-git-send-email-fenghua.yu@intel.com> <1554326526-172295-12-git-send-email-fenghua.yu@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-2.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-04-05 at 14:00 +0200, Thomas Gleixner wrote: > On Wed, 3 Apr 2019, Fenghua Yu wrote: > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > > > > +u64 kvm_get_core_capability(void) > > +{ > > + return 0; > > +} > > +EXPORT_SYMBOL_GPL(kvm_get_core_capability); > > Why is this global and exported? The only users are in this very file. You're right. Will remove it in next version. > Thanks, > > tglx