@Sachin, Both the  CONFIG_INTEL_MEI_DAL and CONFIG_INTEL_MEI_VIRTIO code
paths have build breakages currently.

I have not looked in to these failures too much yet, but the virtio one
looks like missing function prototypes, or actually missing functions.
This may be a patch is that is missing, or something has moved/renamed.

The MEI_DAL one looks like the function pointer return type changed from
"int" to "void".

Looking at dal_remove(), I suspect changing the return type from int to
void would be safe, but there I haven't found an upstream version of
this code to compare with.

With: CONFIG_INTEL_MEI_VIRTIO=m


/build/focal/drivers/misc/mei/hw-virtio.c: In function 'mei_virtio_intr_enable':
/build/focal/drivers/misc/mei/hw-virtio.c:178:2: error: implicit declaration of 
function 'virtio_config_enable'; did you mean 'virtio_config_changed'? 
[-Werror=implicit-function-declaration]
  178 |  virtio_config_enable(vdev);
      |  ^~~~~~~~~~~~~~~~~~~~

/build/focal/drivers/misc/mei/hw-virtio.c: In function 
'mei_virtio_intr_disable':
/build/focal/drivers/misc/mei/hw-virtio.c:194:2: error: implicit declaration of 
function 'virtio_config_disable'; did you mean 'virtio_config_changed'? 
[-Werror=implicit-function-declaration]
  194 |  virtio_config_disable(vdev);
      |  ^~~~~~~~~~~~~~~~~~~~~
      |  virtio_config_changed


With CONFIG_INTEL_MEI_DAL=m

/build/focal/drivers/misc/mei/dal/dal_class.c:800:12: error: initialization of 
'void (*)(struct mei_cl_device *)' from incompatible pointer type 'int 
(*)(struct mei_cl_device *)' [-Werror=incompatible-pointer-types]
  800 |  .remove = dal_remove,
      |            ^~~~~~~~~~
/build/focal/drivers/misc/mei/dal/dal_class.c:800:12: note: (near 
initialization for 'dal_driver.remove')

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1929894

Title:
  [TGL][EHL][ADL] Enable MEI (Intel Management Engine Interface)

Status in intel:
  New
Status in intel lookout-canyon series:
  Triaged
Status in linux package in Ubuntu:
  Incomplete
Status in linux-intel package in Ubuntu:
  Won't Fix
Status in linux-intel-5.13 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Incomplete
Status in linux-intel source package in Focal:
  Won't Fix
Status in linux-intel-5.13 source package in Focal:
  Fix Released

Bug description:
  Description
  Enable MEI (Intel Management Engine Interface)
  Host communicates with secured apps in firmware with this interface

  Hardware: Tiger Lake/Elkhart Lake/Alder Lake

  Target Release: 21.04
  Target Kernel: TBD

  External links:
  
https://github.com/intel/linux-intel-quilt/tree/mainline-tracking-v5.11-yocto-210223T083754Z

  X-HWE-Bug: Bug #1945464

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1929894/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to