Re: [PATCH] drm/xe: add DG2 HuC GSC support and MEI integration
kernel test robot <[email protected]> Tue, 4 Aug 2026 00:04:21 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all,org.freedesktop.lists.intel-gfx |
|---|---|
| Message-ID | <[email protected]> |
Hi Seliverstov, kernel test robot noticed the following build errors: [auto build test ERROR on drm-xe/drm-xe-next] [also build test ERROR on drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-tip/drm-tip linus/master v7.2-rc6 next-20260731] [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/Seliverstov-Daniil-Denisovich/drm-xe-add-DG2-HuC-GSC-support-and-MEI-integration/20260803-151027 base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next patch link: https://lore.kernel.org/r/20260731120427.864560-1-daniil.seliverstov2003%40gmail.com patch subject: [PATCH] drm/xe: add DG2 HuC GSC support and MEI integration config: arm-randconfig-001-20260803 (https://download.01.org/0day-ci/archive/20260803/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260803/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): arm-linux-gnueabi-ld: drivers/gpu/drm/xe/xe_mei_dg2.o: in function `xe_mei_dg2_auth_huc': >> drivers/gpu/drm/xe/xe_mei_dg2.c:81: undefined reference to `mei_cldev_enabled' >> arm-linux-gnueabi-ld: drivers/gpu/drm/xe/xe_mei_dg2.c:95: undefined reference to `mei_cldev_send' >> arm-linux-gnueabi-ld: drivers/gpu/drm/xe/xe_mei_dg2.c:101: undefined reference to `mei_cldev_recv' >> arm-linux-gnueabi-ld: drivers/gpu/drm/xe/xe_mei_dg2.c:82: undefined reference to `mei_cldev_enable' vim +81 drivers/gpu/drm/xe/xe_mei_dg2.c 58 59 int xe_mei_dg2_auth_huc(struct xe_device *xe, struct xe_huc *huc) 60 { 61 struct device *cl_dev = NULL; 62 struct mei_cl_device *cldev; 63 struct pxp43_start_huc_auth_in in = { 0 }; 64 struct pxp43_huc_auth_out out = { 0 }; 65 ssize_t byte; 66 int ret; 67 static int retry_count; 68 69 device_for_each_child(xe->drm.dev, &cl_dev, find_pxp_client_deep); 70 71 if (!cl_dev) { 72 if (retry_count++ % 5 == 0) 73 drm_info(&xe->drm, 74 "HuC auth: waiting for MEI PXP client (HECI1) to initialize...\n"); 75 return -EAGAIN; 76 } 77 78 get_device(cl_dev); 79 cldev = to_mei_cl_device(cl_dev); 80 > 81 if (!mei_cldev_enabled(cldev)) { > 82 ret = mei_cldev_enable(cldev); 83 if (ret) { 84 put_device(cl_dev); 85 return -EAGAIN; 86 } 87 } 88 89 in.header.api_version = PXP_APIVER(4, 3); 90 in.header.command_id = PXP43_CMDID_START_HUC_AUTH; 91 in.header.buffer_len = sizeof(in.huc_base_address); 92 in.huc_base_address = 93 cpu_to_le64(xe_bo_main_addr(huc->fw.bo, PAGE_SIZE)); 94 > 95 byte = mei_cldev_send(cldev, (u8 *)&in, sizeof(in)); 96 if (byte < 0) { 97 put_device(cl_dev); 98 return byte; 99 } 100 > 101 byte = mei_cldev_recv(cldev, (u8 *)&out, sizeof(out)); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki