kbuild Development List
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Seliverstov Daniil Denisovich <daniil.seliverstov2003@gmail.com>,
	intel-gfx@lists.freedesktop.org
Cc: oe-kbuild-all@lists.linux.dev,
	Seliverstov Daniil Denisovich <Danayerofficial@yandex.ru>
Subject: Re: [PATCH] drm/xe: add DG2 HuC GSC support and MEI integration
Date: Tue, 4 Aug 2026 00:04:21 +0800	[thread overview]
Message-ID: <202608032357.ba3Vit6A-lkp@intel.com> (raw)
In-Reply-To: <20260731120427.864560-1-daniil.seliverstov2003@gmail.com>

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/202608032357.ba3Vit6A-lkp@intel.com/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/202608032357.ba3Vit6A-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608032357.ba3Vit6A-lkp@intel.com/

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

      parent reply	other threads:[~2026-08-03 16:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260731120427.864560-1-daniil.seliverstov2003@gmail.com>
2026-08-03 15:04 ` [PATCH] drm/xe: add DG2 HuC GSC support and MEI integration kernel test robot
2026-08-03 16:04 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608032357.ba3Vit6A-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Danayerofficial@yandex.ru \
    --cc=daniil.seliverstov2003@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox