Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp331169ybg; Fri, 25 Oct 2019 22:33:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGQvUf3aO0VmEyOcEc4aEO/Jnj2rGKYjp1q2tI2D11FccUEvi4wJDjC6fvGXYuMW6yV+Ue X-Received: by 2002:a17:906:2ada:: with SMTP id m26mr6847236eje.87.1572067983178; Fri, 25 Oct 2019 22:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572067983; cv=none; d=google.com; s=arc-20160816; b=BwzzSpoGK0ExTCjpsefVo26CGU0Kpv55o1BItXseFjm0pdvHTKYNn3C5+IXBaMjGB7 Expxe8vVtDeXYhyUrdwUdGW8N6I42PoVPYLb10psR6Rx9GCWefV55oZ/HLXnoIB00QCn Ll3NPAyB/JeNC4i98e9rw4tiBd622WGb0MwsHjNTDCCw8gJ/7py5dOd0h35mOQ6uxcpD uB5/9tNuyHuUFQjrdvqwrIN34f+iqUAa2O9Igg7EXznF6MVEJbGRYTMlI4SQ7LZArOfx P2Uv7Ud6OanVjq9f0IAUZjtblZBu+niyr8yeYGTjSlYT2FrJlZKa+dTygi+QsTnF478s GJLw== 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; bh=rmoE6nq88YShYFdyEynMtZT+iacdoALozqyjLv3c43o=; b=Ff8k2zAxlQl3N4L7vowmN8HaUsNSillJ15gn7nO0W2yqE0b7lqOjbJ5bJhYECQdbP0 Y0G9tV0XWPgOz9kSUDtXAAucKFx67FO9OXFdHhCc79BmANrpTuFGDPxqFlXQbRj1nd84 28MCqI/H++us2prpdXJdHuqHJSVE4wVZdBdbE3t9dBxFP9+Wvhcm1+46BIoLBxtVZ2Eq lboUB0mRG1lWV1I+2lsNLEhj+bXuZXMM7dSKHyapMff3stjPkr0q9ALoVSdDbpJbPivp JUq6G/TCA26mvgQKwYKWEolECFzcJDQ2LFjcAM9sFUxOOl9optjPFThoYd9T8sb/JmWw 4mIg== 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 w13si2696120ejk.376.2019.10.25.22.32.39; Fri, 25 Oct 2019 22:33:03 -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 S1726261AbfJZF3B (ORCPT + 99 others); Sat, 26 Oct 2019 01:29:01 -0400 Received: from mga07.intel.com ([134.134.136.100]:24207 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfJZF3A (ORCPT ); Sat, 26 Oct 2019 01:29:00 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2019 22:28:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,230,1569308400"; d="scan'208";a="202798209" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 25 Oct 2019 22:28:56 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1iOEdE-000Aqe-83; Sat, 26 Oct 2019 13:28:56 +0800 Date: Sat, 26 Oct 2019 13:28:36 +0800 From: kbuild test robot To: Like Xu Cc: kbuild-all@lists.01.org, pbonzini@redhat.com, peterz@infradead.org, kvm@vger.kernel.org, like.xu@intel.com, linux-kernel@vger.kernel.org, jmattson@google.com, sean.j.christopherson@intel.com, wei.w.wang@intel.com, kan.liang@intel.com Subject: Re: [PATCH v3 4/6] KVM: x86/vPMU: Introduce a new kvm_pmu_ops->msr_idx_to_pmc callback Message-ID: <201910261319.61sNCjSs%lkp@intel.com> References: <20191021160651.49508-5-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191021160651.49508-5-like.xu@linux.intel.com> X-Patchwork-Hint: ignore User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Like, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/linux-next] [cannot apply to v5.4-rc4 next-20191025] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Like-Xu/KVM-x86-vPMU-Efficiency-optimization-by-reusing-last-created-perf_event/20191024-164128 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next reproduce: # apt-get install sparse # sparse version: v0.6.1-dirty make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> arch/x86/kvm/vmx/pmu_intel.c:165:16: sparse: sparse: symbol 'intel_msr_idx_to_pmc' was not declared. Should it be static? -- >> arch/x86/kvm/pmu_amd.c:207:16: sparse: sparse: symbol 'amd_msr_idx_to_pmc' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation