From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 EF39130E858 for ; Fri, 6 Feb 2026 21:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770415163; cv=none; b=tA4j+93bO6GpZyKrBElJ8S0Kzay0mGoyCD/VWbjzSTr+CVAmNvR4EYInz9xQTtHVHVKGcHF5/+Ic0sf981iCG36jvzeHDDTvgmnKSAaj/KXM1BIAXVhL1hQER2BXa/iEm5GffTcRvdc2BzALVVhe1GgJHZSY9ccIy/NXQxyTkgM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770415163; c=relaxed/simple; bh=pyQ6zRJBMkqV7zsMhN8TlMrSiWM9hl6CFt/g/wO4Jjc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OXXj3DaYSb/bZEAb7ewZbGxzPjaJlSPcjQNF/h1CVOraKvHaxy/dk4aiAEmOnbmNNXHYRuNobqzNBnpnna4bAlfJXL6CpOha6UousXoqK+wbbOIgEDju3oUNzltmCX3jiisSZqAGYanreGOYhy+7VUe+OQa7oVB1kcvp7NLn0Es= 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=JC+hB3lW; arc=none smtp.client-ip=198.175.65.15 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="JC+hB3lW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770415163; x=1801951163; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pyQ6zRJBMkqV7zsMhN8TlMrSiWM9hl6CFt/g/wO4Jjc=; b=JC+hB3lWCgpDQMd816cxHmNn0h82q5eGLHeXBWRdYafJFsJA8FqBIN5z dOIy838Zl3Cjql9hmhF5XJfRsYXiym8U9mJ16/hrpZdYOsCo3kvAprpSo Gj0QEr3/SJhD7XoUHwDbjcEKhZQNy9YiZQNcSvIu4zwO5ECJCcu89XMDK 96qFxRvG58s0cB9e1wpyz9TnQLBm6sERs1fcpqVxBOMqn47KSYf0Feulc cRM0dX+3HyRnZFAI+oxqenSPqeRAY6IRs1rk+QeGXse/9wzHsruUPB/LB NZICM1v4hcAEVNE0nbmjdUIByU1jQVmMjFg3ecYrMwdJcGJUKkmesKnVW Q==; X-CSE-ConnectionGUID: YGpdtN1uQmeCvSC0SUOaqg== X-CSE-MsgGUID: OKjQ6zM8T9Gpx/UXBANdBA== X-IronPort-AV: E=McAfee;i="6800,10657,11693"; a="75248612" X-IronPort-AV: E=Sophos;i="6.21,277,1763452800"; d="scan'208";a="75248612" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2026 13:59:22 -0800 X-CSE-ConnectionGUID: 28giitybSGm56aigh7emJg== X-CSE-MsgGUID: xTPaPPxuT7CXzYhBTOqbBA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,277,1763452800"; d="scan'208";a="210841562" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 06 Feb 2026 13:59:19 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1voTrA-00000000lCG-4ASs; Fri, 06 Feb 2026 21:59:16 +0000 Date: Sat, 7 Feb 2026 05:58:31 +0800 From: kernel test robot To: Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: llvm@lists.linux.dev, 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 1/2] drm/imagination: Define packed BVNCs in the uapi Message-ID: <202602070500.zo0DrH6U-lkp@intel.com> References: <20260206-bvnc-cleanup-v1-1-f3c818541fbe@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: <20260206-bvnc-cleanup-v1-1-f3c818541fbe@imgtec.com> Hi Matt, kernel test robot noticed the following build errors: [auto build test ERROR on 55473b60178060a4fdb4631bd0c91879cc7d18d8] url: https://github.com/intel-lab-lkp/linux/commits/Matt-Coster/drm-imagination-Define-packed-BVNCs-in-the-uapi/20260206-175844 base: 55473b60178060a4fdb4631bd0c91879cc7d18d8 patch link: https://lore.kernel.org/r/20260206-bvnc-cleanup-v1-1-f3c818541fbe%40imgtec.com patch subject: [PATCH 1/2] drm/imagination: Define packed BVNCs in the uapi config: riscv-randconfig-001-20260206 (https://download.01.org/0day-ci/archive/20260207/202602070500.zo0DrH6U-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260207/202602070500.zo0DrH6U-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/202602070500.zo0DrH6U-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/imagination/pvr_device.c:550:7: error: expression is not an integer constant expression 550 | case PVR_PACKED_BVNC(33, 15, 11, 3): | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:490:2: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | FIELD_PREP(DRM_PVR_BVNC_V, v) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | FIELD_PREP(DRM_PVR_BVNC_N, n) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | FIELD_PREP(DRM_PVR_BVNC_C, c)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:550:7: note: this use of statement expressions is not supported in a constant expression drivers/gpu/drm/imagination/pvr_device.h:490:3: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^ include/linux/bitfield.h:137:3: note: expanded from macro 'FIELD_PREP' 137 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \ | ^ include/linux/bitfield.h:90:3: note: expanded from macro '__FIELD_PREP' 90 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \ | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:631:2: note: expanded from macro 'compiletime_assert' 631 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:619:2: note: expanded from macro '_compiletime_assert' 619 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:603:2: note: expanded from macro '__compiletime_assert' 603 | do { \ | ^ drivers/gpu/drm/imagination/pvr_device.c:551:7: error: expression is not an integer constant expression 551 | case PVR_PACKED_BVNC(36, 53, 104, 796): | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:490:2: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | FIELD_PREP(DRM_PVR_BVNC_V, v) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | FIELD_PREP(DRM_PVR_BVNC_N, n) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | FIELD_PREP(DRM_PVR_BVNC_C, c)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:551:7: note: this use of statement expressions is not supported in a constant expression drivers/gpu/drm/imagination/pvr_device.h:490:3: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^ include/linux/bitfield.h:137:3: note: expanded from macro 'FIELD_PREP' 137 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \ | ^ include/linux/bitfield.h:90:3: note: expanded from macro '__FIELD_PREP' 90 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \ | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:631:2: note: expanded from macro 'compiletime_assert' 631 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:619:2: note: expanded from macro '_compiletime_assert' 619 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:603:2: note: expanded from macro '__compiletime_assert' 603 | do { \ | ^ drivers/gpu/drm/imagination/pvr_device.c:554:7: error: expression is not an integer constant expression 554 | case PVR_PACKED_BVNC(36, 52, 104, 182): | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.h:490:2: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | FIELD_PREP(DRM_PVR_BVNC_V, v) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | FIELD_PREP(DRM_PVR_BVNC_N, n) | \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | FIELD_PREP(DRM_PVR_BVNC_C, c)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/imagination/pvr_device.c:554:7: note: this use of statement expressions is not supported in a constant expression drivers/gpu/drm/imagination/pvr_device.h:490:3: note: expanded from macro 'PVR_PACKED_BVNC' 490 | (FIELD_PREP(DRM_PVR_BVNC_B, b) | \ | ^ include/linux/bitfield.h:137:3: note: expanded from macro 'FIELD_PREP' 137 | __FIELD_PREP(_mask, _val, "FIELD_PREP: "); \ | ^ include/linux/bitfield.h:90:3: note: expanded from macro '__FIELD_PREP' 90 | __BF_FIELD_CHECK_MASK(mask, val, pfx); \ | ^ note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:631:2: note: expanded from macro 'compiletime_assert' 631 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:619:2: note: expanded from macro '_compiletime_assert' 619 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:603:2: note: expanded from macro '__compiletime_assert' 603 | do { \ | ^ 3 errors generated. vim +550 drivers/gpu/drm/imagination/pvr_device.c 1c21f240fbc1e47 Matt Coster 2026-01-13 545 1c21f240fbc1e47 Matt Coster 2026-01-13 546 static enum pvr_gpu_support_level 1c21f240fbc1e47 Matt Coster 2026-01-13 547 pvr_gpu_support_level(const struct pvr_gpu_id *gpu_id) 1c21f240fbc1e47 Matt Coster 2026-01-13 548 { 1c21f240fbc1e47 Matt Coster 2026-01-13 549 switch (pvr_gpu_id_to_packed_bvnc(gpu_id)) { 1c21f240fbc1e47 Matt Coster 2026-01-13 @550 case PVR_PACKED_BVNC(33, 15, 11, 3): 1c21f240fbc1e47 Matt Coster 2026-01-13 551 case PVR_PACKED_BVNC(36, 53, 104, 796): 1c21f240fbc1e47 Matt Coster 2026-01-13 552 return PVR_GPU_SUPPORTED; 1c21f240fbc1e47 Matt Coster 2026-01-13 553 1c21f240fbc1e47 Matt Coster 2026-01-13 554 case PVR_PACKED_BVNC(36, 52, 104, 182): 1c21f240fbc1e47 Matt Coster 2026-01-13 555 return PVR_GPU_EXPERIMENTAL; 1c21f240fbc1e47 Matt Coster 2026-01-13 556 1c21f240fbc1e47 Matt Coster 2026-01-13 557 default: 1c21f240fbc1e47 Matt Coster 2026-01-13 558 return PVR_GPU_UNKNOWN; 1c21f240fbc1e47 Matt Coster 2026-01-13 559 } 1c21f240fbc1e47 Matt Coster 2026-01-13 560 } 1c21f240fbc1e47 Matt Coster 2026-01-13 561 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki