From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45E6D606A326 for ; Sun, 8 Nov 2026 00:43:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LAivwgb7; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=MuzKtUZL 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-Unsubscribe-Post:List-Owner; bh=rG3sxFXQs2YwfYo04qJv9bFe1Lf+g5QXDbyEwDUCygI=; b=LAivwgb7oHxFvygvFMFCQAFbXR HiNP+UuuEfFCLpwmbaImUFWRbe1CbGosNe76Q8u6mrOiGWrJAprZr+ItunFQZc7zdKZFQqSB6rKeF dX08TlaubQSVgIRmpt2zhtT6MBcP1GadnH0tZa8pt0o4G/u1e2SSORwXEzZmYkzvrUHE6gXtepsCd OSILQdQ6w1JY8FTzwE87OWctocL9AQ1eD2e4/tSc+H2fev/sUNp1606hVeF4C8fjrKR8qiMr26Fe8 B53okDnqMdHuecTtAaZ7VwojNBGaawTNmSO05YM3sNxBV+JH7Z5L8SAATiFI/FyUSGiHwTjmGOuFN iJ9ahN2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xPr0a-0000000FYMz-315x; Sun, 08 Nov 2026 00:43:44 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xPr0X-0000000FYMd-0drL for linux-arm-kernel@lists.infradead.org; Sun, 08 Nov 2026 00:43:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1794098621; x=1825634621; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ck1edxgvk3BDD0VbuIuludWk8bM0SgopvTgDhybmkbE=; b=MuzKtUZLwzSl6Bry9hNCpHIQBa6cu93a3yRuhYe0x+vS8J6Jqvk3x4tw UyWxOzDdq8OZ60vo8c3Y+mORWljCVS1Pj+3mzABUktJy37EHMDQI/r6zF UXxmWQ46hbTpCAQAXOt3EwyQd3gFX+vHgPCHiK6dGz2I+DqSKNxcWLLCk LG027cVduu0EPdeAKE80iV/QmYQw27D1d7/QA5UGPrv7BmEzwlg3Q0BRq iLytVtt2d2lD9d0IluNQ6NjItqfx/dUK6S8H7el4Q0ccy4voQYN4gcbTh ZMdI7gE3/fvutqMIDkShUoila5rnOeGYOCFf+mWLWKJndmMzyBi+r3U9G A==; X-CSE-ConnectionGUID: 6y5+PMLZTMu/k3Pu4eV3WA== X-CSE-MsgGUID: rv2Zf7RjQ0KxBBKg69dTHA== X-IronPort-AV: E=McAfee;i="6800,10657,11959"; a="2873234" X-IronPort-AV: E=Sophos;i="6.27,200,1787036400"; d="scan'208";a="2873234" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2026 16:43:40 -0800 X-CSE-ConnectionGUID: cJ2oaVP4Rjm6gYOnPiOqgQ== X-CSE-MsgGUID: hal4leBYT4ysdlFNdJJdIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,200,1787036400"; d="scan'208";a="7702949" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 07 Nov 2026 16:43:37 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xPr0P-00000000rqx-2znG; Sun, 08 Nov 2026 00:43:33 +0000 Date: Sun, 8 Nov 2026 08:42:38 +0800 From: kernel test robot To: Myria Sarvay via B4 Relay , Will Deacon , Mark Rutland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sven Peter , Janne Grunau , Neal Gompa , Marc Zyngier Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, Yuvan Shen , Myria Sarvay Subject: Re: [PATCH v2 06/15] drivers/perf: apple_m1: Add Apple M3 Series Support Message-ID: <202611080830.Uv6E9OCL-lkp@intel.com> References: <20261107-m3-plus-pmu-events-v2-6-acf1e78da039@gmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261107-m3-plus-pmu-events-v2-6-acf1e78da039@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261107_164341_266938_72CE9125 X-CRM114-Status: GOOD ( 13.25 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Myria, kernel test robot noticed the following build warnings: [auto build test WARNING on 84a1163b0a3ec0acdda113d4c920ed72955dd6e8] url: https://github.com/intel-lab-lkp/linux/commits/Myria-Sarvay-via-B4-Relay/dt-bindings-arm-pmu-Add-Apple-M3-M4-A18-Pro-SoC-CPU-PMU-compatibles/20261107-214848 base: 84a1163b0a3ec0acdda113d4c920ed72955dd6e8 patch link: https://lore.kernel.org/r/20261107-m3-plus-pmu-events-v2-6-acf1e78da039%40gmail.com patch subject: [PATCH v2 06/15] drivers/perf: apple_m1: Add Apple M3 Series Support config: arm64-defconfig (https://download.01.org/0day-ci/archive/20261108/202611080830.Uv6E9OCL-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261108/202611080830.Uv6E9OCL-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/202611080830.Uv6E9OCL-lkp@intel.com/ All warnings (new ones prefixed by >>): | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:285:51: note: (near initialization for 'm1_pmu_perf_map[5]') drivers/perf/apple_m1_cpu_pmu.c:290:51: warning: initialized field overwritten [-Woverride-init] 290 | [PERF_COUNT_HW_CPU_CYCLES] = M3_PMU_PERFCTR_CORE_ACTIVE_CYCLE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:290:51: note: (near initialization for 'm3_pmu_perf_map[0]') drivers/perf/apple_m1_cpu_pmu.c:291:51: warning: initialized field overwritten [-Woverride-init] 291 | [PERF_COUNT_HW_INSTRUCTIONS] = M3_PMU_PERFCTR_INST_ALL, | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:291:51: note: (near initialization for 'm3_pmu_perf_map[1]') drivers/perf/apple_m1_cpu_pmu.c:292:51: warning: initialized field overwritten [-Woverride-init] 292 | [PERF_COUNT_HW_BRANCH_INSTRUCTIONS] = M3_PMU_PERFCTR_INST_BRANCH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:292:51: note: (near initialization for 'm3_pmu_perf_map[4]') drivers/perf/apple_m1_cpu_pmu.c:293:51: warning: initialized field overwritten [-Woverride-init] 293 | [PERF_COUNT_HW_BRANCH_MISSES] = M3_PMU_PERFCTR_BRANCH_MISPRED_NONSPEC, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:293:51: note: (near initialization for 'm3_pmu_perf_map[5]') drivers/perf/apple_m1_cpu_pmu.c:297:51: warning: initialized field overwritten [-Woverride-init] 297 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M1_PMU_PERFCTR_##m1_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:304:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 304 | M1_PMUV3_EVENT_MAP(INST_RETIRED, INST_ALL), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: note: (near initialization for 'm1_pmu_pmceid_map[8]') drivers/perf/apple_m1_cpu_pmu.c:304:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 304 | M1_PMUV3_EVENT_MAP(INST_RETIRED, INST_ALL), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: warning: initialized field overwritten [-Woverride-init] 297 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M1_PMU_PERFCTR_##m1_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:305:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 305 | M1_PMUV3_EVENT_MAP(CPU_CYCLES, CORE_ACTIVE_CYCLE), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: note: (near initialization for 'm1_pmu_pmceid_map[17]') drivers/perf/apple_m1_cpu_pmu.c:305:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 305 | M1_PMUV3_EVENT_MAP(CPU_CYCLES, CORE_ACTIVE_CYCLE), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: warning: initialized field overwritten [-Woverride-init] 297 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M1_PMU_PERFCTR_##m1_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:306:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 306 | M1_PMUV3_EVENT_MAP(BR_RETIRED, INST_BRANCH), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: note: (near initialization for 'm1_pmu_pmceid_map[33]') drivers/perf/apple_m1_cpu_pmu.c:306:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 306 | M1_PMUV3_EVENT_MAP(BR_RETIRED, INST_BRANCH), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: warning: initialized field overwritten [-Woverride-init] 297 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M1_PMU_PERFCTR_##m1_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:307:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 307 | M1_PMUV3_EVENT_MAP(BR_MIS_PRED_RETIRED, BRANCH_MISPRED_NONSPEC), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:297:51: note: (near initialization for 'm1_pmu_pmceid_map[34]') drivers/perf/apple_m1_cpu_pmu.c:307:9: note: in expansion of macro 'M1_PMUV3_EVENT_MAP' 307 | M1_PMUV3_EVENT_MAP(BR_MIS_PRED_RETIRED, BRANCH_MISPRED_NONSPEC), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: warning: initialized field overwritten [-Woverride-init] 300 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M3_PMU_PERFCTR_##m3_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:312:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 312 | M3_PMUV3_EVENT_MAP(INST_RETIRED, INST_ALL), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: note: (near initialization for 'm3_pmu_pmceid_map[8]') drivers/perf/apple_m1_cpu_pmu.c:312:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 312 | M3_PMUV3_EVENT_MAP(INST_RETIRED, INST_ALL), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: warning: initialized field overwritten [-Woverride-init] 300 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M3_PMU_PERFCTR_##m3_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:313:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 313 | M3_PMUV3_EVENT_MAP(CPU_CYCLES, CORE_ACTIVE_CYCLE), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: note: (near initialization for 'm3_pmu_pmceid_map[17]') drivers/perf/apple_m1_cpu_pmu.c:313:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 313 | M3_PMUV3_EVENT_MAP(CPU_CYCLES, CORE_ACTIVE_CYCLE), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: warning: initialized field overwritten [-Woverride-init] 300 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M3_PMU_PERFCTR_##m3_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:314:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 314 | M3_PMUV3_EVENT_MAP(BR_RETIRED, INST_BRANCH), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: note: (near initialization for 'm3_pmu_pmceid_map[33]') drivers/perf/apple_m1_cpu_pmu.c:314:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 314 | M3_PMUV3_EVENT_MAP(BR_RETIRED, INST_BRANCH), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: warning: initialized field overwritten [-Woverride-init] 300 | [ARMV8_PMUV3_PERFCTR_##pmuv3_event] = M3_PMU_PERFCTR_##m3_event | ^~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:315:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 315 | M3_PMUV3_EVENT_MAP(BR_MIS_PRED_RETIRED, BRANCH_MISPRED_NONSPEC), | ^~~~~~~~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:300:51: note: (near initialization for 'm3_pmu_pmceid_map[34]') drivers/perf/apple_m1_cpu_pmu.c:315:9: note: in expansion of macro 'M3_PMUV3_EVENT_MAP' 315 | M3_PMUV3_EVENT_MAP(BR_MIS_PRED_RETIRED, BRANCH_MISPRED_NONSPEC), | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/build_bug.h:5, from include/linux/bits.h:30: >> include/linux/compiler.h:200:59: warning: anonymous struct declared inside parameter list will not be visible outside of this definition or declaration 200 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) | ^~~~~~ include/linux/build_bug.h:17:9: note: in expansion of macro '__BUILD_BUG_ON_ZERO_MSG' 17 | __BUILD_BUG_ON_ZERO_MSG(e, ##__VA_ARGS__, #e " is true") | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/bits.h:34:35: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 34 | #define GENMASK_INPUT_CHECK(h, l) BUILD_BUG_ON_ZERO(const_true((l) > (h))) | ^~~~~~~~~~~~~~~~~ include/linux/bits.h:47:14: note: in expansion of macro 'GENMASK_INPUT_CHECK' 47 | ((t)(GENMASK_INPUT_CHECK(h, l) + \ | ^~~~~~~~~~~~~~~~~~~ include/linux/bits.h:51:33: note: in expansion of macro 'GENMASK_TYPE' 51 | #define GENMASK(h, l) GENMASK_TYPE(unsigned long, h, l) | ^~~~~~~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:24:41: note: in expansion of macro 'GENMASK' 24 | #define M1_PMU_CFG_EVENT GENMASK(7, 0) | ^~~~~~~ drivers/perf/apple_m1_cpu_pmu.c:705:65: note: in expansion of macro 'M1_PMU_CFG_EVENT' 705 | const u16 event_affinities[M1_PMU_CFG_EVENT + 1]) | ^~~~~~~~~~~~~~~~ vim +200 include/linux/compiler.h 230fa253df6352a Christian Borntraeger 2014-11-25 196 cb7380de9e4cbc9 Kees Cook 2025-02-05 197 #ifdef __CHECKER__ 243c90e917f5cfc Vincent Mailhol 2025-03-29 198 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) (0) cb7380de9e4cbc9 Kees Cook 2025-02-05 199 #else /* __CHECKER__ */ 243c90e917f5cfc Vincent Mailhol 2025-03-29 @200 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) cb7380de9e4cbc9 Kees Cook 2025-02-05 201 #endif /* __CHECKER__ */ cb7380de9e4cbc9 Kees Cook 2025-02-05 202 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki