From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 56DED2848A6; Sun, 12 Oct 2025 14:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.9 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760278953; cv=fail; b=Do3GZY1k1yNDyd/MQmDUy2gY2mprsDwEKzsDWWHiqNsnqG7FBWydnybYLtr0CrVPRtK4959QmTyDyTL2AoPY+HbmDR+oyiUIQFuOEkcS9KTlkefC6+YcJuBc3bFRjwEKYEzEj9Dj+IUwlynyTnHxuR1TMU9jedR9f7oDYSNmJB4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760278953; c=relaxed/simple; bh=YqpbUChYAbcnauAsAKbilzY+4rPbgvMGu+Jfs9PRZ4A=; h=Date:From:To:CC:Subject:Message-ID:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=n23ZY7stpWpLPVG1vf60E24ELN5TOKMq2xY642U1ZMJMriY7vFwudtfNo5vGhbrtxCtzw+t3oZqIm0e4wGm6FP2/4BrtG45Fh2+p2t0lgi7+myk9D7LI84avrvXoMVQevVHRSQQWlFuCE4JVKw0q4Wg40XpHYUEgqAgWmikH1RI= ARC-Authentication-Results:i=2; 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=U59mQzZA; arc=fail smtp.client-ip=198.175.65.9 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="U59mQzZA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1760278950; x=1791814950; h=date:from:to:cc:subject:message-id:in-reply-to: mime-version; bh=YqpbUChYAbcnauAsAKbilzY+4rPbgvMGu+Jfs9PRZ4A=; b=U59mQzZAAJR/JE1id5p10LxUd/Ntu1IQd6BvZqlzfjNzFuTsT1d88RoX /NFrQC3BIDreUXplBlpHdjFCuRE6O2LTKUTv9FH97CAgGQuVTbu9yHdHF zjqXCNOBR06zAlLVnvtKHkOFhbd9YoBUw1M/wEJ/zNeg9fB431b/sm5h1 uHx7/mgZQFLBZ2uOOFJTZCWRkhfAyWPD5HN6IIsomINHl42usDylt0W6L MX94lcmhxQWiScL9A37KSJq2FyUGe0UAd+TERNE2htkwsvZQ3Xx1wLE8m SPsqluL7np2mHDJFRH0Ak11+04mY5wvaZGvHInWiMWr59VP5DF7nE/95G g==; X-CSE-ConnectionGUID: 0T7fQGx4TOGP9H+hc1s6yg== X-CSE-MsgGUID: +AcxSi56TgapiOej/pkMKA== X-IronPort-AV: E=McAfee;i="6800,10657,11580"; a="85058735" X-IronPort-AV: E=Sophos;i="6.19,223,1754982000"; d="scan'208";a="85058735" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2025 07:22:30 -0700 X-CSE-ConnectionGUID: yB+K1ybHRTeGB6cH6rioGQ== X-CSE-MsgGUID: YjYT//ksR0CEAt9qRoznLQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,223,1754982000"; d="scan'208";a="180504879" Received: from orsmsx902.amr.corp.intel.com ([10.22.229.24]) by orviesa006.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2025 07:22:30 -0700 Received: from ORSMSX903.amr.corp.intel.com (10.22.229.25) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Sun, 12 Oct 2025 07:22:29 -0700 Received: from ORSEDG903.ED.cps.intel.com (10.7.248.13) by ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27 via Frontend Transport; Sun, 12 Oct 2025 07:22:29 -0700 Received: from BL2PR02CU003.outbound.protection.outlook.com (52.101.52.34) by edgegateway.intel.com (134.134.137.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Sun, 12 Oct 2025 07:22:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hG5dNK+5MVUPPVyd5GOxQPEEqGU3s8LCKQsajhPtkhet2Y0qJZAYxAclFj/ws3UcGci3PdnPve6QL2LEVzXXPcwqhY7nK5/Iu+R3DQ1YLM8WrSYQubi2bpZhdiGeVIvGUCIs1u9r+7QQ+VFa4Us/2Tmk6wTlSn3aGuKoRS+Gq+oMPYB6RCmF2k0KAk5DkkIif1likMrcMChDyJYFZn93c5J4WKWK2U1CsQBqxhsyka4VZMh71J42XLbkHHROnk8nIKhgB69WFoktReDb5UM5POQVmoc48/prVdLXiq9tJvOR5Es7svL8em4ld9xJDXhJ6RVFxaLWOZhVWaji3kJOgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nrmPgeE/ShugFEd0m0M/Gz2C8Mh+X5SBju32Ug0Bx5I=; b=uonI41yCHUIuoy6DDFDsWAijxXaz6dXPuCQUv0+E3ReUVq1XaIVa/OLU9v/jWhRyDT2K/wf9Ht3rRmNXZoJr3zZ25hMFBHRmDFRhga3+Vd5EDXCblGzU8D6MV8yQw4NRkVjMWsUE79k0PBLPdv4wA242OwvaoxXK798Qe5ITiEYHEVPMk0oBcVWZwjqjZQWR9+OqiC2gE3fP3mIZ+1M+cgGn122g4b7Cewb5X3yhjt89664bbt91jNA96duiikYGZcVaj3E5as+5dJglmMMYiYrhBod1RQnN5FIOJq9L9gPeEeuA7DUUbH65ZM5s+orzcVZkg7GKNas1lgpkL9QaEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BY5PR11MB4165.namprd11.prod.outlook.com (2603:10b6:a03:18c::26) by CH3PR11MB8154.namprd11.prod.outlook.com (2603:10b6:610:15f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9203.11; Sun, 12 Oct 2025 14:22:26 +0000 Received: from BY5PR11MB4165.namprd11.prod.outlook.com ([fe80::d9f7:7a66:b261:8891]) by BY5PR11MB4165.namprd11.prod.outlook.com ([fe80::d9f7:7a66:b261:8891%7]) with mapi id 15.20.9203.009; Sun, 12 Oct 2025 14:22:26 +0000 Date: Sun, 12 Oct 2025 22:22:15 +0800 From: kernel test robot To: Ard Biesheuvel , CC: , , , Ard Biesheuvel , Austin Zheng , Jun Lei , "Harry Wentland" , Leo Li , "Rodrigo Siqueira" , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , , Subject: Re: [PATCH] drm/amd: Permit DC_FP_START/END only in non-FP compilation units Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20251009150621.3886079-2-ardb+git@google.com> X-ClientProxiedBy: SG2PR04CA0173.apcprd04.prod.outlook.com (2603:1096:4::35) To BY5PR11MB4165.namprd11.prod.outlook.com (2603:10b6:a03:18c::26) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR11MB4165:EE_|CH3PR11MB8154:EE_ X-MS-Office365-Filtering-Correlation-Id: f20a7b6e-eed5-408e-f72e-08de099ac493 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Kt00sA8StgTKrtvry9k6DPh1UmOj5fKPu9LIbqcx614R+sahUsfNxzzWzs33?= =?us-ascii?Q?3L0M5nC7QT5sh0eR+0kDauwZyiyMOAZbbUxPnBadzkuTBY8Q3ImKQriJP7Z5?= =?us-ascii?Q?+K0g3DgV3+j1Ty5kDUii+38J5MEScpL04Dy75R8a7IuWINQxVnpkr2BJHpIn?= =?us-ascii?Q?52fNlj39T148JfOD3hLmG/0c7WdetHXzhu2pwIq5AAhkkEKiOXXT1EOH/Wt4?= =?us-ascii?Q?u7aMlbMNfJ022q5oa0ROnIr74Ge4qO3TV4pN+RBr2JDwNK4EpOazuc28wiwK?= =?us-ascii?Q?X/kFAr/Gltsornn8oSUhYngmKiUwm4WnLKrrQ2cr7ZYj6sIdD8oGlVHQpuxV?= =?us-ascii?Q?ulEBnwqV2ECQo+rN22jWzBixLrqlhEXCMJKACm1+tQq2/OErv+k55kfPgwsF?= =?us-ascii?Q?DrzyOuEL03yi4VMvayTQ+OXPmbMjUJy8sMf9RUVwKAbcAUqt0FOKAMTpFpZL?= =?us-ascii?Q?21aUuqDKVcjsetUR7W97wTbFduL5tznL3FUHSnoKEIk818uSaZAMKUZ5HojK?= =?us-ascii?Q?94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Rz5qw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4165.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/klI575KobwEIQYgnidnE0LsnDCPF37ZuzG84mjdQ1FD65g+MbAIx3qbUMz9?= =?us-ascii?Q?+V0phwZtTHV6x5kJdzdXNrNU53G+u/gKqS4Xr9B3Sj8F+vAkuUflM7Efcdf8?= =?us-ascii?Q?XJGRSRxUZw3+9zB6vSUd1ETBnbkq3ZSMORNTsE9W4uOLZ9u+UQ3/ctTiakOd?= =?us-ascii?Q?X87rEm1cLLZkG4G3S0DFacoLwCd1bSDIQLW88voxLLEH/I36C3kW1QxKidhQ?= =?us-ascii?Q?Kk1zIxZuVVeRyrgUtWK6Vu0SURvyFfb8t5BEjlVz415SUtlqFTyGaJgqkdc/?= =?us-ascii?Q?5xy8+U1q3C7wV6tshU5vbBMC0tC3eEHggE6lzJnBlREC+fo+9tIaPvWDuE7b?= =?us-ascii?Q?x/0b0HooBC2U9ZOPFbAcmV1OiK3Ni4rkMmdGj/9wrBkP6TTfVXzXgRMepVvR?= =?us-ascii?Q?IZj4P0lRMgtsuGOyS1Lo1QDsu6hx5QSTSlju6ott8urckBs6KGiNWR68ifU2?= =?us-ascii?Q?6TlPOJaRdXwGJdcPqHi0+y57008ZOQ6sARZr2LQFhK4wTy5IWk8AqQZBRXrX?= =?us-ascii?Q?rzX/DIQg5rTzDXovPhXOhKAPn01FgmJYSC0wJurL40dOBVQoFXZmG8YNSv7s?= =?us-ascii?Q?lunG5cbV2WGkTlMvYkrobMStLgiPCSoR5w9SUEzOsh+o4aAAQ5XrWfgoy3gy?= =?us-ascii?Q?axPdrirh11iHtgJCJn57Hm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us-ascii?Q?dYFhSe2AfGhMHxs9xnqOGfH8nKQivPhC9U+DnF7S?= X-MS-Exchange-CrossTenant-Network-Message-Id: f20a7b6e-eed5-408e-f72e-08de099ac493 X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4165.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2025 14:22:26.4629 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +fREswVULYZCz4gFQZs0YQBPohztuLti7WD5YHdOzS0rQxej7uYh5RcA1CsA5gr7y3wI+Q6uJV7ZWuz/vFdpCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8154 X-OriginatorOrg: intel.com Hi Ard, kernel test robot noticed the following build errors: [auto build test ERROR on soc/for-next] [also build test ERROR on linus/master v6.17 next-20251010] [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/Ard-Biesheuvel/drm-amd-Permit-DC_FP_START-END-only-in-non-FP-compilation-units/20251010-120206 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20251009150621.3886079-2-ardb%2Bgit%40google.com patch subject: [PATCH] drm/amd: Permit DC_FP_START/END only in non-FP compilation units :::::: branch date: 14 hours ago :::::: commit date: 14 hours ago config: x86_64-randconfig-071-20251010 (https://download.01.org/0day-ci/archive/20251011/202510110219.Z6t2PJbZ-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251011/202510110219.Z6t2PJbZ-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/r/202510110219.Z6t2PJbZ-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_wrapper.c:563:2: error: call to '__compiletime_assert_610' declared with 'error' attribute: BUILD_BUG failed 563 | DC_FP_START(); | ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/dc_fpu.h:38:23: note: expanded from macro 'DC_FP_START' 38 | #define DC_FP_START() BUILD_BUG() | ^ include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' 59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") | ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:583:2: note: expanded from macro '_compiletime_assert' 583 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:576:4: note: expanded from macro '__compiletime_assert' 576 | prefix ## suffix(); \ | ^ :39:1: note: expanded from here 39 | __compiletime_assert_610 | ^ drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_wrapper.c:615:2: error: call to '__compiletime_assert_612' declared with 'error' attribute: BUILD_BUG failed 615 | DC_FP_START(); | ^ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/dc_fpu.h:38:23: note: expanded from macro 'DC_FP_START' 38 | #define DC_FP_START() BUILD_BUG() | ^ include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' 59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") | ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:583:2: note: expanded from macro '_compiletime_assert' 583 | __compiletime_assert(condition, msg, prefix, suffix) | ^ include/linux/compiler_types.h:576:4: note: expanded from macro '__compiletime_assert' 576 | prefix ## suffix(); \ | ^ :45:1: note: expanded from here 45 | __compiletime_assert_612 | ^ 2 errors generated. vim +563 drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_wrapper.c 7966f319c66d94 Qingqing Zhuo 2023-07-28 547 269c1d1443d668 Yan Li 2025-05-14 548 bool dml2_validate(const struct dc *in_dc, struct dc_state *context, struct dml2_context *dml2, 269c1d1443d668 Yan Li 2025-05-14 549 enum dc_validate_mode validate_mode) 7966f319c66d94 Qingqing Zhuo 2023-07-28 550 { 7966f319c66d94 Qingqing Zhuo 2023-07-28 551 bool out = false; 7966f319c66d94 Qingqing Zhuo 2023-07-28 552 cc263c3a0c9f38 Joshua Aberback 2024-03-07 553 if (!dml2) 7966f319c66d94 Qingqing Zhuo 2023-07-28 554 return false; cc263c3a0c9f38 Joshua Aberback 2024-03-07 555 dml2_apply_debug_options(in_dc, dml2); 7966f319c66d94 Qingqing Zhuo 2023-07-28 556 00c391102abc13 Aurabindo Pillai 2024-03-20 557 /* DML2.1 validation path */ 00c391102abc13 Aurabindo Pillai 2024-03-20 558 if (dml2->architecture == dml2_architecture_21) { 269c1d1443d668 Yan Li 2025-05-14 559 out = dml21_validate(in_dc, context, dml2, validate_mode); 00c391102abc13 Aurabindo Pillai 2024-03-20 560 return out; 00c391102abc13 Aurabindo Pillai 2024-03-20 561 } 7966f319c66d94 Qingqing Zhuo 2023-07-28 562 366e77cd4923c3 Huacai Chen 2025-03-27 @563 DC_FP_START(); 366e77cd4923c3 Huacai Chen 2025-03-27 564 269c1d1443d668 Yan Li 2025-05-14 565 /* Use dml_validate_only for DC_VALIDATE_MODE_ONLY and DC_VALIDATE_MODE_AND_STATE_INDEX path */ 269c1d1443d668 Yan Li 2025-05-14 566 if (validate_mode != DC_VALIDATE_MODE_AND_PROGRAMMING) b02b0fc488ba6e Yan Li 2025-05-21 567 out = dml2_validate_only(context, validate_mode); 7966f319c66d94 Qingqing Zhuo 2023-07-28 568 else b02b0fc488ba6e Yan Li 2025-05-21 569 out = dml2_validate_and_build_resource(in_dc, context, validate_mode); 366e77cd4923c3 Huacai Chen 2025-03-27 570 366e77cd4923c3 Huacai Chen 2025-03-27 571 DC_FP_END(); 366e77cd4923c3 Huacai Chen 2025-03-27 572 7966f319c66d94 Qingqing Zhuo 2023-07-28 573 return out; 7966f319c66d94 Qingqing Zhuo 2023-07-28 574 } 7966f319c66d94 Qingqing Zhuo 2023-07-28 575 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki