From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 506411DED49 for ; Sun, 22 Mar 2026 14:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774190840; cv=none; b=B8bmrdxMWj2w8PW/g0TXBzfpppuWddIzImexVvG4c7H6lCUCevb2JEu63io8ejRDoy7rrSnL8EWSirHzIPtz+Ha3iPssJ7pVngbtr0IVArarlQnyCt/Vj7Ha2vX8ji+LTyjZ7whMiEnBU04bhR1xJ33CnxnsDDEOrjj1mvlZtYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774190840; c=relaxed/simple; bh=4CuJLFo5P0QwW8OdcIzkP4cLzHaoF1RmcqeEapDcW6Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VjfISe8TpuDrjxEfS4CgPipllLFm6fuolZyznBQgM6bfhTz4zErNdDV0ZnBTMvuc0+nAi54x2XaVsx6tqP2J4+mbUpWgOo/zCGcKNcJbR9CElMZ86GVfQC0gkyVgvzayjTUEVfyJqDmOHKuAM8ZWOKIiI/ierADBQVuNH4T9Sbw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ab1repuk; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ab1repuk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774190838; x=1805726838; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4CuJLFo5P0QwW8OdcIzkP4cLzHaoF1RmcqeEapDcW6Q=; b=ab1repukzb9uliyu2eK6gPN+Iyc2jUWy+XHopEoJ3KgJXl4QMc5ewxox 6cM++7WuphpDp3XadFdKJak6M6WDHIscpFwRDKgwNym4Vmy+ADg0uQvdD UbOAf5qfkJNRkxyfq4lI9HdVRS+s6L4va2SoyMReEiOu3paH426DOJZyS p9YpBt5MmEcohBwzbgJV9fBcb1MDgrH7em2zBRtksACUDxbF41jwUbWQa TRY0RLlZqhEArVJM2vKFZDNDl95GIxLpUwbZwlGbZh5m7akNjW63rDgT0 Da+xBPcf59mIAyuS4TiFhw5JN6sW3Dvn1vL+AaTGWqZaYrF6kwqK3b+/3 A==; X-CSE-ConnectionGUID: K0vJ+O9ZQE+cyoA9Ew5now== X-CSE-MsgGUID: DFSfxi1iTPGzllWFZXjbdw== X-IronPort-AV: E=McAfee;i="6800,10657,11737"; a="74229813" X-IronPort-AV: E=Sophos;i="6.23,135,1770624000"; d="scan'208";a="74229813" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2026 07:47:18 -0700 X-CSE-ConnectionGUID: BnK2MdicQbacO98ZZ3s+MA== X-CSE-MsgGUID: zav4hKkJTd6G3gT+FXBPEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,135,1770624000"; d="scan'208";a="228505602" Received: from lkp-server02.sh.intel.com (HELO d7fefbca0d04) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 22 Mar 2026 07:47:15 -0700 Received: from kbuild by d7fefbca0d04 with local (Exim 4.98.2) (envelope-from ) id 1w4K5A-000000002Fd-0GZZ; Sun, 22 Mar 2026 14:47:12 +0000 Date: Sun, 22 Mar 2026 22:46:33 +0800 From: kernel test robot To: Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: oe-kbuild-all@lists.linux.dev, Frank Binns , Brajesh Gupta , Alessio Belle , Alexandru Dadu , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Matt Coster Subject: Re: [PATCH v2 1/2] drm/imagination: Define packed BVNCs in the uapi Message-ID: <202603222211.A2XiR1YU-lkp@intel.com> References: <20260320-bvnc-cleanup-v2-1-49c3c1453289@imgtec.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260320-bvnc-cleanup-v2-1-49c3c1453289@imgtec.com> Hi Matt, kernel test robot noticed the following build errors: [auto build test ERROR on fbef867cf6614178bc6afd15ee15f85cddf19eab] url: https://github.com/intel-lab-lkp/linux/commits/Matt-Coster/drm-imagination-Define-packed-BVNCs-in-the-uapi/20260322-112647 base: fbef867cf6614178bc6afd15ee15f85cddf19eab patch link: https://lore.kernel.org/r/20260320-bvnc-cleanup-v2-1-49c3c1453289%40imgtec.com patch subject: [PATCH v2 1/2] drm/imagination: Define packed BVNCs in the uapi config: arm64-randconfig-002-20260322 (https://download.01.org/0day-ci/archive/20260322/202603222211.A2XiR1YU-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260322/202603222211.A2XiR1YU-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/202603222211.A2XiR1YU-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/build_bug.h:5, from include/linux/bits.h:30, from drivers/gpu/drm/imagination/pvr_rogue_fwif.h:7, from drivers/gpu/drm/imagination/pvr_ccb.h:7, from drivers/gpu/drm/imagination/pvr_device.h:7, from drivers/gpu/drm/imagination/pvr_device.c:4: drivers/gpu/drm/imagination/pvr_device.c: In function 'pvr_gpu_support_level': >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:160:17: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 160 | BUILD_BUG_ON_ZERO(~((_mask) >> __bf_shf(_mask)) & (_val)) + \ | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:550:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 550 | case PVR_PACKED_BVNC_CONST(33, 15, 11, 3): | ^~~~~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:141:33: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 141 | #define __BF_CHECK_POW2(n) BUILD_BUG_ON_ZERO(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~~~~~~ include/linux/bitfield.h:162:17: note: in expansion of macro '__BF_CHECK_POW2' 162 | __BF_CHECK_POW2((_mask) + (1ULL << __bf_shf(_mask))) + \ | ^~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:550:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 550 | case PVR_PACKED_BVNC_CONST(33, 15, 11, 3): | ^~~~~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:160:17: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 160 | BUILD_BUG_ON_ZERO(~((_mask) >> __bf_shf(_mask)) & (_val)) + \ | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:551:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 551 | case PVR_PACKED_BVNC_CONST(36, 53, 104, 796): | ^~~~~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:141:33: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 141 | #define __BF_CHECK_POW2(n) BUILD_BUG_ON_ZERO(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~~~~~~ include/linux/bitfield.h:162:17: note: in expansion of macro '__BF_CHECK_POW2' 162 | __BF_CHECK_POW2((_mask) + (1ULL << __bf_shf(_mask))) + \ | ^~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:551:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 551 | case PVR_PACKED_BVNC_CONST(36, 53, 104, 796): | ^~~~~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:160:17: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 160 | BUILD_BUG_ON_ZERO(~((_mask) >> __bf_shf(_mask)) & (_val)) + \ | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:554:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 554 | case PVR_PACKED_BVNC_CONST(36, 52, 104, 182): | ^~~~~~~~~~~~~~~~~~~~~ >> include/linux/compiler.h:203:82: error: expression in static assertion is not constant 203 | #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/bitfield.h:141:33: note: in expansion of macro 'BUILD_BUG_ON_ZERO' 141 | #define __BF_CHECK_POW2(n) BUILD_BUG_ON_ZERO(((n) & ((n) - 1)) != 0) | ^~~~~~~~~~~~~~~~~ include/linux/bitfield.h:162:17: note: in expansion of macro '__BF_CHECK_POW2' 162 | __BF_CHECK_POW2((_mask) + (1ULL << __bf_shf(_mask))) + \ | ^~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:474:10: note: in expansion of macro 'FIELD_PREP_CONST' 474 | (prep(DRM_PVR_BVNC_B, b) | \ | ^~~~ drivers/gpu/drm/imagination/pvr_device.h:496:43: note: in expansion of macro '__PVR_PACKED_BVNC' 496 | #define PVR_PACKED_BVNC_CONST(b, v, n, c) __PVR_PACKED_BVNC(FIELD_PREP_CONST, b, v, n, c) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:554:14: note: in expansion of macro 'PVR_PACKED_BVNC_CONST' 554 | case PVR_PACKED_BVNC_CONST(36, 52, 104, 182): | ^~~~~~~~~~~~~~~~~~~~~ vim +203 include/linux/compiler.h 230fa253df6352 Christian Borntraeger 2014-11-25 199 cb7380de9e4cbc Kees Cook 2025-02-05 200 #ifdef __CHECKER__ 243c90e917f5cf Vincent Mailhol 2025-03-29 201 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) (0) cb7380de9e4cbc Kees Cook 2025-02-05 202 #else /* __CHECKER__ */ 243c90e917f5cf Vincent Mailhol 2025-03-29 @203 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);})) cb7380de9e4cbc Kees Cook 2025-02-05 204 #endif /* __CHECKER__ */ cb7380de9e4cbc Kees Cook 2025-02-05 205 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki