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 A0A29BA27; Sun, 17 Nov 2024 02:11:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731809499; cv=none; b=s3hzBeED/buR+LG3WWvVs7ubGdxsWDtOhvmunumPfbuMDXJ0szxZOrnmlYQnlKiTdL3lg0TNFdGJlRHWJUO8a6qNJqh6Mp7Cl29cAHfp50k5SY3+0rHEaGiFBagMfU9XfwbmDQcL2bd96SwDtazVgguk1BssXvwDHoX3BFfEc+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731809499; c=relaxed/simple; bh=tVZvsogeDvUitYLdBp6E51d/i6g5c7hpqZ3jcqdhnLw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o78PeB+mi0Q40LYaQvHPm0ozyVofm6fM06adTRmwhSaRCFQdKMTtQ3bTgG04lVp+N4cJGfrZ7VwWTbVLPzerfw27kqmAxb4ze/0MN24oh0HseoSWfedzASgt5nGbMnPG7pWPMOfcP/E9SQtrW6nQMRRrZv7cxlcmiua6I8WAPqM= 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=UO5hW9H/; arc=none 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="UO5hW9H/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731809498; x=1763345498; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tVZvsogeDvUitYLdBp6E51d/i6g5c7hpqZ3jcqdhnLw=; b=UO5hW9H/tCdwjj81pJRuAjYm7PWWMrYsO1if7GfKtnTrsXtFsWKVFA1a 57OAFGpvCmfbE1eQyfMj2RROt+d53eHHHulaTR92bdqmz/WHgp3SMNoNa 6MnyLzHZUd/mZPr0GpA+IQHudcPtMqQvSRcmFlQUoDZUaWPFaxz2MxK35 WC5ZdoQ1eczX3DivckWHwGmkpYmSM3eDtRRsfrmk6yK1beoSmIGf9ota8 RyJMrwqLAsD1S/hU77vLKtyudt3F5fnf1IlwAb9FVSeAqAGJlSSZ+uSNz KmmvLuS4w9VSYl9KYprUNDXDfbiS27MhNOhMWSnUKN6tQn7gUwkqkrPXP g==; X-CSE-ConnectionGUID: KtZ9SyZERmWIy49qOf8kzA== X-CSE-MsgGUID: KJlg2yxlSAymdmakHQCzWg== X-IronPort-AV: E=McAfee;i="6700,10204,11258"; a="54287625" X-IronPort-AV: E=Sophos;i="6.12,161,1728975600"; d="scan'208";a="54287625" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2024 18:11:37 -0800 X-CSE-ConnectionGUID: e+Uz3MTaRD66oL4grPliOQ== X-CSE-MsgGUID: hG/qfnzjSFSW1prYkRQJVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,161,1728975600"; d="scan'208";a="112185207" Received: from lkp-server01.sh.intel.com (HELO 1e3cc1889ffb) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 16 Nov 2024 18:11:30 -0800 Received: from kbuild by 1e3cc1889ffb with local (Exim 4.96) (envelope-from ) id 1tCUl6-0001Dv-27; Sun, 17 Nov 2024 02:11:28 +0000 Date: Sun, 17 Nov 2024 10:10:58 +0800 From: kernel test robot To: Pierre-Eric Pelloux-Prayer , alexander.deucher@amd.com, christian.koenig@amd.com, ltuikov89@gmail.com, matthew.brost@intel.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, ville.syrjala@linux.intel.com, rostedt@goodmis.org, l.stach@pengutronix.de, matt.coster@imgtec.com, frank.binns@imgtec.com, yuq825@gmail.com, robdclark@gmail.com, kherbst@redhat.com, lyude@redhat.com, boris.brezillon@collabora.com, steven.price@arm.com, mwen@igalia.com, mcanal@igalia.com, thomas.hellstrom@linux.intel.com, tvrtko.ursulin@igalia.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Pierre-Eric Pelloux-Prayer Subject: Re: [PATCH v6 2/7] drm/sched: store the drm client_id in drm_sched_fence Message-ID: <202411170920.6ntlbMfi-lkp@intel.com> References: <20241114100113.150647-3-pierre-eric.pelloux-prayer@amd.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241114100113.150647-3-pierre-eric.pelloux-prayer@amd.com> Hi Pierre-Eric, kernel test robot noticed the following build errors: [auto build test ERROR on drm-xe/drm-xe-next] [also build test ERROR on next-20241115] [cannot apply to linus/master drm-misc/drm-misc-next v6.12-rc7] [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/Pierre-Eric-Pelloux-Prayer/drm-debugfs-output-client_id-in-in-drm_clients_info/20241114-180547 base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next patch link: https://lore.kernel.org/r/20241114100113.150647-3-pierre-eric.pelloux-prayer%40amd.com patch subject: [PATCH v6 2/7] drm/sched: store the drm client_id in drm_sched_fence config: arm-randconfig-002-20241117 (https://download.01.org/0day-ci/archive/20241117/202411170920.6ntlbMfi-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241117/202411170920.6ntlbMfi-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/202411170920.6ntlbMfi-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/panthor/panthor_mmu.c:5: In file included from include/drm/drm_debugfs.h:38: In file included from include/drm/drm_gpuvm.h:34: In file included from include/drm/drm_gem.h:42: In file included from include/drm/drm_vma_manager.h:27: 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/gpu/drm/panthor/panthor_mmu.c:2472:57: error: too few arguments to function call, expected 5, have 4 2472 | ret = drm_sched_job_init(&job->base, &vm->entity, 1, vm); | ~~~~~~~~~~~~~~~~~~ ^ include/drm/gpu_scheduler.h:571:5: note: 'drm_sched_job_init' declared here 571 | int drm_sched_job_init(struct drm_sched_job *job, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 572 | struct drm_sched_entity *entity, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 573 | u32 credits, void *owner, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 574 | uint64_t drm_client_id); | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. -- In file included from drivers/gpu/drm/panthor/panthor_sched.c:6: In file included from include/drm/drm_gem_shmem_helper.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/gpu/drm/panthor/panthor_sched.c:3729:25: error: too few arguments to function call, expected 5, have 4 3727 | ret = drm_sched_job_init(&job->base, | ~~~~~~~~~~~~~~~~~~ 3728 | &job->group->queues[job->queue_idx]->entity, 3729 | credits, job->group); | ^ include/drm/gpu_scheduler.h:571:5: note: 'drm_sched_job_init' declared here 571 | int drm_sched_job_init(struct drm_sched_job *job, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 572 | struct drm_sched_entity *entity, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 573 | u32 credits, void *owner, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 574 | uint64_t drm_client_id); | ~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. vim +2472 drivers/gpu/drm/panthor/panthor_mmu.c 647810ec247641e Boris Brezillon 2024-02-29 2435 647810ec247641e Boris Brezillon 2024-02-29 2436 /** 647810ec247641e Boris Brezillon 2024-02-29 2437 * panthor_vm_bind_job_create() - Create a VM_BIND job 647810ec247641e Boris Brezillon 2024-02-29 2438 * @file: File. 647810ec247641e Boris Brezillon 2024-02-29 2439 * @vm: VM targeted by the VM_BIND job. 647810ec247641e Boris Brezillon 2024-02-29 2440 * @op: VM operation data. 647810ec247641e Boris Brezillon 2024-02-29 2441 * 647810ec247641e Boris Brezillon 2024-02-29 2442 * Return: A valid pointer on success, an ERR_PTR() otherwise. 647810ec247641e Boris Brezillon 2024-02-29 2443 */ 647810ec247641e Boris Brezillon 2024-02-29 2444 struct drm_sched_job * 647810ec247641e Boris Brezillon 2024-02-29 2445 panthor_vm_bind_job_create(struct drm_file *file, 647810ec247641e Boris Brezillon 2024-02-29 2446 struct panthor_vm *vm, 647810ec247641e Boris Brezillon 2024-02-29 2447 const struct drm_panthor_vm_bind_op *op) 647810ec247641e Boris Brezillon 2024-02-29 2448 { 647810ec247641e Boris Brezillon 2024-02-29 2449 struct panthor_vm_bind_job *job; 647810ec247641e Boris Brezillon 2024-02-29 2450 int ret; 647810ec247641e Boris Brezillon 2024-02-29 2451 647810ec247641e Boris Brezillon 2024-02-29 2452 if (!vm) 647810ec247641e Boris Brezillon 2024-02-29 2453 return ERR_PTR(-EINVAL); 647810ec247641e Boris Brezillon 2024-02-29 2454 647810ec247641e Boris Brezillon 2024-02-29 2455 if (vm->destroyed || vm->unusable) 647810ec247641e Boris Brezillon 2024-02-29 2456 return ERR_PTR(-EINVAL); 647810ec247641e Boris Brezillon 2024-02-29 2457 647810ec247641e Boris Brezillon 2024-02-29 2458 job = kzalloc(sizeof(*job), GFP_KERNEL); 647810ec247641e Boris Brezillon 2024-02-29 2459 if (!job) 647810ec247641e Boris Brezillon 2024-02-29 2460 return ERR_PTR(-ENOMEM); 647810ec247641e Boris Brezillon 2024-02-29 2461 647810ec247641e Boris Brezillon 2024-02-29 2462 ret = panthor_vm_bind_prepare_op_ctx(file, vm, op, &job->ctx); 647810ec247641e Boris Brezillon 2024-02-29 2463 if (ret) { 647810ec247641e Boris Brezillon 2024-02-29 2464 kfree(job); 647810ec247641e Boris Brezillon 2024-02-29 2465 return ERR_PTR(ret); 647810ec247641e Boris Brezillon 2024-02-29 2466 } 647810ec247641e Boris Brezillon 2024-02-29 2467 647810ec247641e Boris Brezillon 2024-02-29 2468 INIT_WORK(&job->cleanup_op_ctx_work, panthor_vm_bind_job_cleanup_op_ctx_work); 647810ec247641e Boris Brezillon 2024-02-29 2469 kref_init(&job->refcount); 647810ec247641e Boris Brezillon 2024-02-29 2470 job->vm = panthor_vm_get(vm); 647810ec247641e Boris Brezillon 2024-02-29 2471 647810ec247641e Boris Brezillon 2024-02-29 @2472 ret = drm_sched_job_init(&job->base, &vm->entity, 1, vm); 647810ec247641e Boris Brezillon 2024-02-29 2473 if (ret) 647810ec247641e Boris Brezillon 2024-02-29 2474 goto err_put_job; 647810ec247641e Boris Brezillon 2024-02-29 2475 647810ec247641e Boris Brezillon 2024-02-29 2476 return &job->base; 647810ec247641e Boris Brezillon 2024-02-29 2477 647810ec247641e Boris Brezillon 2024-02-29 2478 err_put_job: 647810ec247641e Boris Brezillon 2024-02-29 2479 panthor_vm_bind_job_put(&job->base); 647810ec247641e Boris Brezillon 2024-02-29 2480 return ERR_PTR(ret); 647810ec247641e Boris Brezillon 2024-02-29 2481 } 647810ec247641e Boris Brezillon 2024-02-29 2482 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki