From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C727CEE35B for ; Wed, 9 Oct 2024 22:15:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YUV/wDDwUUw0PTfw45Qg9s3BhWCS+mrsUmq8y4tdr6Y=; b=qRPCak3hH5aiTTwMJJPpa4kbiq yoRCUmHQsJk4IruSUY9jrryOY02hJ1+od5U+wgmdBXpAx1oA6id9xSVrM117+XlMeY5uvBYT8uUxp ec4WHO7QzLdv5X1oZW6Ms7FLaz0BoTJ5K2ZfmYgo+b2KwA+LM8R5PkHhcwTpeDjo95jpoCUHZXzmT RHzectXHDgSAs2wo5sf0DIF7/RReVAggC9NTVlqGpP09+MKGgPtYIQNblz33AgVYR6toT4mYTuVqn iVGVLUrqG4fNOyFjPPNIzBscyg87shAjQKYVNlTIL4prAZ7tWRZltlv9i5aWpoH3up+GBkvePRBwC LRfRb1+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syeyE-0000000AuCg-3xvX; Wed, 09 Oct 2024 22:15:50 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syewu-0000000Au6P-0FGt for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 22:14:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728512068; x=1760048068; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aPE8EeGv6cp9FSCthHiVZeteDR6lumGj+9qfHbzXBwk=; b=hfpggcsl5nrmDpDrikLPvop0R+zUKpKeZiNjV7tgP387SCGnocB+WE27 r0ZaswiSRBfPA0XqQaedWCE1WhnIYZZh4sjJY7GJOZB+/r7Y1HGqm0N89 fA6pC8P+C/n5kcQw4+LS1CDVdJGznZ/ztcmzkC2YtV+4LjbLAOgpHOfLm SHls0QaECh+sZdRh3Gn+jOoq4HuJJP21XwLSu6UlWzMQWCdInfr/jb4dU aMpONtHjggtonVBWs2I3KKpXc2DSM/lZwvV8wucyPHYleX1a7gDL7m4v7 Yorz2sqV3H6dY5bV5beFn8ELK49UKmRPP3DihUfMv8bmQSHwURgM2Zlmt A==; X-CSE-ConnectionGUID: 6um2e/NgTg2S02wbrrUj6Q== X-CSE-MsgGUID: Aove7YdtRSKRgZHVgDWfdw== X-IronPort-AV: E=McAfee;i="6700,10204,11220"; a="38425825" X-IronPort-AV: E=Sophos;i="6.11,191,1725346800"; d="scan'208";a="38425825" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 15:14:27 -0700 X-CSE-ConnectionGUID: 6z05KTxjSCiv+6JPvI1nIw== X-CSE-MsgGUID: QqCrefYQR1CzjES9pNNYtA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,191,1725346800"; d="scan'208";a="76008488" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 09 Oct 2024 15:14:25 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1syewp-0009ru-0o; Wed, 09 Oct 2024 22:14:23 +0000 Date: Thu, 10 Oct 2024 06:14:05 +0800 From: kernel test robot To: Ilkka Koskinen , Shuai Xue , Jing Zhang , Will Deacon Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ilkka Koskinen Subject: Re: [PATCH 2/3] perf/dwc_pcie: Load DesignWare PCIe PMU driver automatically on Ampere SoCs Message-ID: <202410100514.xcrIAa1r-lkp@intel.com> References: <20241008231824.5102-3-ilkka@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241008231824.5102-3-ilkka@os.amperecomputing.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_151428_136835_224541EF X-CRM114-Status: GOOD ( 13.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Ilkka, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.12-rc2 next-20241009] [cannot apply to arm-perf/for-next/perf] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ilkka-Koskinen/perf-dwc_pcie-Add-support-for-Ampere-SoCs/20241009-072027 base: linus/master patch link: https://lore.kernel.org/r/20241008231824.5102-3-ilkka%40os.amperecomputing.com patch subject: [PATCH 2/3] perf/dwc_pcie: Load DesignWare PCIe PMU driver automatically on Ampere SoCs config: arm-randconfig-002-20241010 (https://download.01.org/0day-ci/archive/20241010/202410100514.xcrIAa1r-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 70e0a7e7e6a8541bcc46908c592eed561850e416) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241010/202410100514.xcrIAa1r-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202410100514.xcrIAa1r-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/perf/dwc_pcie_pmu.c:16: In file included from include/linux/perf_event.h:18: In file included from include/uapi/linux/bpf_perf_event.h:11: In file included from ./arch/arm/include/generated/uapi/asm/bpf_perf_event.h:1: In file included from include/uapi/asm-generic/bpf_perf_event.h:4: In file included from include/linux/ptrace.h:10: In file included from include/linux/pid_namespace.h:7: In file included from include/linux/mm.h:2213: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/perf/dwc_pcie_pmu.c:785:35: warning: unused variable 'dwc_pcie_pmu_table' [-Wunused-const-variable] 785 | static const struct pci_device_id dwc_pcie_pmu_table[] = { | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. vim +/dwc_pcie_pmu_table +785 drivers/perf/dwc_pcie_pmu.c 784 > 785 static const struct pci_device_id dwc_pcie_pmu_table[] = { 786 { 787 PCI_DEVICE(PCI_VENDOR_ID_AMPERE, PCI_ANY_ID), 788 .class = PCI_CLASS_BRIDGE_PCI_NORMAL, 789 .class_mask = ~0, 790 }, 791 { } 792 }; 793 MODULE_DEVICE_TABLE(pci, dwc_pcie_pmu_table); 794 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki