Received: by 10.223.176.5 with SMTP id f5csp1209955wra; Fri, 2 Feb 2018 13:11:21 -0800 (PST) X-Google-Smtp-Source: AH8x226UAdlUosIAu4X86YcUDuN4pZhWRDCBFuBbihh18BKzIbYTgQKlUrhqZ/+pAMkgqPaiPuT/ X-Received: by 10.99.111.11 with SMTP id k11mr32054823pgc.414.1517605881096; Fri, 02 Feb 2018 13:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517605881; cv=none; d=google.com; s=arc-20160816; b=EPDK6/modJ1SCttn4P6Aveee2ZlNCTdLOXpyeSSynlPZZ6Z1KVaGErQVSDJ3Ag7Cx/ QIT6UqE8RENpNIuwpVeqiqtuXpNhN1p33Ir4ypjzRYQ9t3QWZVGP7DcaKXcFaTbZTfpe hPtrtFo5KVghCle53xnnHkuVdexQ52JvghE1qKCgeMBFA1DdxLQBjnyjVtmABnWjhxAG +7eNKSS7GeFh3hK6PNvtRfeEmjrAndGhj1TPzZP/uXI/j3DguJRcOWVJxi1A5TJE5Q/7 PwquYTVnMbOZTuuSeZQjs0H9FVFgTFleqU6A5q9hiYWR+du4uDGNWapFoZSEvwrXVhzT g/1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=RJX9a4NvAsavc83HgF5SkzAuucP7gBn/6L7nSeUcKNo=; b=f4ere6wvvdJsmlQ/j0rmtj5eziakqRG35LWus8nQei6fCe6lnAurPf/RfweSXxe9cW ho4WACElQph3RtRSfUT+tU3jmJcJMQLs5UXzpNVoB+ULi5ZSQ5enSAUhvymB0EXv0lmH FKE00ziyEx91luXe0pD8Y327SoKDWTxTLOkVoxihkupNiUSZulF5HT4ZXTCqGybUv0hd I8yH4DuEw9m2Fpvt9d9czs8Gw3KIv26Vdtp6gbXKO5ilPd11t61XXHdz+xRKXNNrBt+T A4NBrj7Uf2H8Ga5sy25PaT/RjdamEBL7WXCIrFizOGVIrCvTfJ0hx40PoIzvKfJrsYnd CsvQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si1968827pgv.685.2018.02.02.13.11.06; Fri, 02 Feb 2018 13:11:21 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754721AbeBBUEF (ORCPT + 99 others); Fri, 2 Feb 2018 15:04:05 -0500 Received: from mga03.intel.com ([134.134.136.65]:39854 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbeBBUD6 (ORCPT ); Fri, 2 Feb 2018 15:03:58 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2018 12:03:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,450,1511856000"; d="scan'208";a="14933785" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 02 Feb 2018 12:03:55 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ehhf1-000Dh1-7L; Sat, 03 Feb 2018 04:10:11 +0800 Date: Sat, 3 Feb 2018 04:03:02 +0800 From: kbuild test robot To: Janakarajan Natarajan Cc: kbuild-all@01.org, kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Paolo Bonzini , Radim Krcmar , Len Brown , Kyle Huey , Tom Lendacky , Borislav Petkov , Grzegorz Andrejczuk , Kan Liang , Janakarajan Natarajan Subject: [RFC PATCH] x86/kvm: perf_ext_supported() can be static Message-ID: <20180202200302.GA27752@cairo> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 60e6688e74ee ("x86/kvm: Expose AMD Core Perf Extension flag to guests") Signed-off-by: Fengguang Wu --- cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 0c991c6a..5cfd3c2 100644 --- a/arch/x86/kvm/cpuid.c +++ b/arch/x86/kvm/cpuid.c @@ -55,7 +55,7 @@ bool kvm_mpx_supported(void) } EXPORT_SYMBOL_GPL(kvm_mpx_supported); -bool perf_ext_supported(void) +static bool perf_ext_supported(void) { return boot_cpu_has(X86_FEATURE_PERFCTR_CORE); }