** Description changed:

- v6.13-rc2 cdd30ebb1b9f3 ("module: Convert symbol namespace to string
+ [ Impact ]
+ 
+ Upstream kernel API changes in v6.13. The details can be found in the
+ below.
+ 
+ [ Test Plan ]
+ 
+ 1. Install kernel v6.13 headers. Currently it is only available through
+ prebuilt headers packages in https://kernel.ubuntu.com/mainline/.
+ 
+ 2. Install intel-ipu6-dkms, intel-ipu7-dkms from plucky-proposed.
+ 
+ 3. The dkms should be compiled automatically with the running kernel. To
+ compile it against the just installed v6.13 kernels:
+ 
+ ```
+ $ for k in $(dpkg -l| awk '$2 ~ /^linux-headers-.*-generic$/ { print 
substr($2, length("linux-headers-") + 1); }'|sort -V -r); do
+   sudo dkms install --force ipu6-drivers/0~git202411190607.0ad49882 -k $k;
+   sudo dkms install --force ipu7-drivers/0~git202412060257.0fc08453 -k $k;
+ done
+ ```
+ 
+ [ Where problems could occur ]
+ 
+ The proprocessor macros were done to provide API compatibility with
+ previously released kernels. The entity source to be compiled does not
+ change.
+ 
+ [ Other Info ]
+ 
+ Only nominate for Plucky because that's only available in Plucky (now
+ 6.14).
+ 
+ ========== original bug report ==========
+ 
+ * v6.13-rc2 cdd30ebb1b9f3 ("module: Convert symbol namespace to string
  literal") expects string literals than symbol names as usual, therefore
  build failures:
  
- In file included from 
/usr/src/linux-headers-6.13.2-061302-generic/include/linux/module.h:22,
-                  from 
/usr/src/linux-headers-6.13.2-061302-generic/include/linux/device/driver.h:21,
-                  from 
/usr/src/linux-headers-6.13.2-061302-generic/include/linux/device.h:32,
-                  from drivers/media/pci/intel/ipu6/psys/ipu-psys.c:6:
- drivers/media/pci/intel/ipu6/psys/ipu-psys.c:2684:18: error: expected ',' or 
';' before 'DMA_BUF'
-  2684 | MODULE_IMPORT_NS(DMA_BUF);
-       |                  ^~~~~~~
- 
/usr/src/linux-headers-6.13.2-061302-generic/include/linux/moduleparam.h:26:61: 
note: in definition of macro '__MODULE_INFO'
-    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
-       |                                                             ^~~~
- /usr/src/linux-headers-6.13.2-061302-generic/include/linux/module.h:299:33: 
note: in expansion of macro 'MODULE_INFO'
-   299 | #define MODULE_IMPORT_NS(ns)    MODULE_INFO(import_ns, ns)
-       |                                 ^~~~~~~~~~~
- drivers/media/pci/intel/ipu6/psys/ipu-psys.c:2684:1: note: in expansion of 
macro 'MODULE_IMPORT_NS'
-  2684 | MODULE_IMPORT_NS(DMA_BUF);
-       | ^~~~~~~~~~~~~~~~
- drivers/media/pci/intel/ipu6/psys/ipu-psys.c:2687:18: error: expected ',' or 
';' before 'INTEL_IPU6'
-  2687 | MODULE_IMPORT_NS(INTEL_IPU6);
-       |                  ^~~~~~~~~~
- 
/usr/src/linux-headers-6.13.2-061302-generic/include/linux/moduleparam.h:26:61: 
note: in definition of macro '__MODULE_INFO'
-    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
-       |                                                             ^~~~
- /usr/src/linux-headers-6.13.2-061302-generic/include/linux/module.h:299:33: 
note: in expansion of macro 'MODULE_INFO'
-   299 | #define MODULE_IMPORT_NS(ns)    MODULE_INFO(import_ns, ns)
-       |                                 ^~~~~~~~~~~
- drivers/media/pci/intel/ipu6/psys/ipu-psys.c:2687:1: note: in expansion of 
macro 'MODULE_IMPORT_NS'
-  2687 | MODULE_IMPORT_NS(INTEL_IPU6);
-       | ^~~~~~~~~~~~~~~~
+ * v6.12-rc1 commit 334304ac2baca ("dma-mapping: don't return errors from
+ dma_set_max_seg_size") removed return value.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2099881

Title:
  Failed to build against v6.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2099881/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to