Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3718777ybz; Mon, 27 Apr 2020 22:12:03 -0700 (PDT) X-Google-Smtp-Source: APiQypLnVqqW1mrKBR6XIa/8Q6+TZJ0yKTwL1sFiBGVCrFTqUmoca8V1qS5OjpIsRL66m0TEXhns X-Received: by 2002:a17:906:cd1:: with SMTP id l17mr22169065ejh.319.1588050723555; Mon, 27 Apr 2020 22:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588050723; cv=none; d=google.com; s=arc-20160816; b=X7b5FssnQyGPdix0o6Z7k25UPW9RQOeOq1Q1d6oFkJnElqthuIgPb77XLGrxZzF1zh fpIrCQT+0pE/HPh+XBkaRthfGmlwM5voGOoQA4furp4ni8qyV1iSFe4XsGCloNDRxWqE uHFgK7LH4MXYT0XpNIllDgdIxwAp4nsqeDPgGDXMzhoF91W8x0pga9PUfUEiWAx1zTTV iJoHFPi4wbVoa9Z+nGfCPCeV/ykJ7NZcvJEktMhzK6Hq2S5T4oiFw63NMXEGQhg1yrS4 +UjxFTD56lYSgnlUqBG6C0+9LISVrYQHCf/YplNUn5Kw8kwHrqE2f73iBDn4D3j00uVU Tcww== 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:ironport-sdr:ironport-sdr; bh=wtWF4xZ4s4xCN18Ujlvn9Thq9fawa27W8Gil4T0dCy0=; b=K0KhpuzucRTxPT9ndGRnlyQLr78a9oqtpdtZEpT7GzFoe0HLYE2acmhw/vWlBNwVeY +vIuURFE9hc8tZgvSi5TGn2swmlcOxEesHHxDfbTwjuq1S41+bxIokkSg8kU5wXq+DX8 cxJ6WYibw5t75o6/NWpp20UhJW8XkXFS4qyclPA+ZsuStGUmTDP9nSNS2AZC/T5QFXD6 c4GIHuSWauyCMJYG9CuIkSTWVnIWcD/nDffdXxyCAyQ1is52lM6dGE8YmNlQiDknktvq oek9yLYPO6ygaRYp5453QED+ZJ948ynfjQQ6gyRI1gvO6TO478VhxbBpFuOhoZH63veO ipaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id w2si1185901ejq.225.2020.04.27.22.11.39; Mon, 27 Apr 2020 22:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726413AbgD1FHN (ORCPT + 99 others); Tue, 28 Apr 2020 01:07:13 -0400 Received: from mga06.intel.com ([134.134.136.31]:40809 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbgD1FHN (ORCPT ); Tue, 28 Apr 2020 01:07:13 -0400 IronPort-SDR: ++HF/+JelruREmzZlArItImtnG43BWxhrY8ajHATjcah4QF19lykZuZiU1dztw9ERG3AUaDg+a 7pPTWioLByew== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 22:07:12 -0700 IronPort-SDR: AbVx6fGxIgJSjLwTyMz+/XIJjPQLCi/R/POa0FwclT56I9g1i8cQZu6nmy/RN/nDFDLz3p6//Y zYbVdB406mtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,326,1583222400"; d="scan'208";a="246391815" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 27 Apr 2020 22:07:09 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1jTISa-000GjN-Sy; Tue, 28 Apr 2020 13:07:08 +0800 Date: Tue, 28 Apr 2020 13:06:26 +0800 From: kbuild test robot To: Like Xu , Paolo Bonzini Cc: kbuild-all@lists.01.org, Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, wei.w.wang@intel.com, ak@linux.intel.com Subject: Re: [PATCH v10 09/11] KVM: x86/pmu: Release guest LBR event via vPMU lazy release mechanism Message-ID: <202004281230.jQ78RK3f%lkp@intel.com> References: <20200423081412.164863-10-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200423081412.164863-10-like.xu@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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 tip/perf/core] [also build test WARNING on vhost/linux-next v5.7-rc3 next-20200424] [cannot apply to kvm/linux-next] [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/Guest-Last-Branch-Recording-Enabling/20200426-123735 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 87cfeb1920f84f465a738d4c6589033eefa20b45 reproduce: # apt-get install sparse # sparse version: v0.6.1-191-gc51a0382-dirty make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) arch/x86/kvm/pmu.c:190:18: sparse: sparse: incompatible types in comparison expression (different address spaces): arch/x86/kvm/pmu.c:190:18: sparse: struct kvm_pmu_event_filter [noderef] * arch/x86/kvm/pmu.c:190:18: sparse: struct kvm_pmu_event_filter * arch/x86/kvm/pmu.c:251:18: sparse: sparse: incompatible types in comparison expression (different address spaces): arch/x86/kvm/pmu.c:251:18: sparse: struct kvm_pmu_event_filter [noderef] * arch/x86/kvm/pmu.c:251:18: sparse: struct kvm_pmu_event_filter * >> arch/x86/kvm/pmu.c:455:6: sparse: sparse: symbol 'kvm_pmu_lbr_cleanup' was not declared. Should it be static? arch/x86/kvm/pmu.c:524:18: sparse: sparse: incompatible types in comparison expression (different address spaces): arch/x86/kvm/pmu.c:524:18: sparse: struct kvm_pmu_event_filter [noderef] * arch/x86/kvm/pmu.c:524:18: sparse: struct kvm_pmu_event_filter * arch/x86/kvm/pmu.c:524:18: sparse: sparse: incompatible types in comparison expression (different address spaces): arch/x86/kvm/pmu.c:524:18: sparse: struct kvm_pmu_event_filter [noderef] * arch/x86/kvm/pmu.c:524:18: sparse: struct kvm_pmu_event_filter * Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org