Debian Patches

Status for xrt/202610.2.21.21-4

Patch Description Author Forwarded Bugs Origin Last update
0001-Don-t-build-xocl-dkms-package-without-DRM-on-the-hos.patch [PATCH] Don't build xocl dkms package without DRM on the host kernel "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-13
0001-Fix-p2p.c-compilation-on-newer-kernels.patch [PATCH 1/9] Fix p2p.c compilation on newer kernels "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-06
0002-Fixups-on-bin_attribute-handling-necessary-for-newer.patch [PATCH 2/9] Fixups on bin_attribute handling necessary for newer kernels

Newer kernels are more stringent about the use of const.
"Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-06
0003-Add-conditional-compilation-for-changes-with-timer-s.patch [PATCH 3/9] Add conditional compilation for changes with timer symbols in kernel 6.16 "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-06
0004-Fix-unit-type-in-an-snprintf.patch [PATCH 4/9] Fix unit type in an snprintf "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-06
0005-Fix-compliation-issues-with-newer-gcc-with-auto-vari.patch [PATCH 5/9] Fix compliation issues with newer gcc with auto variables
CC [M] ../../common/kds_hwctx.o
../../common/kds_hwctx.c: In function ‘show_kds_cuctx_stat_raw’:
../../common/kds_hwctx.c:59:41: error: ‘__seg_gs’ specified for auto variable ‘res’
59 | cu_stat_read(cu_mgmt, usage[i]), type);
| ^~~~~~~~~~~~
../../common/kds_hwctx.c:99:49: error: ‘__seg_gs’ specified for auto variable ‘res’
99 | cu_stat_read(cu_mgmt, usage[i]), type);
| ^~~~~~~~~~~~
make[5]: *** [/usr/xrt/XRT/src/linux-headers-6.17.6+deb14-common/scripts/Makefile.build:292: ../../common/kds_hwctx.o] Error 1

The issue is that the stat_read macro is using typeof on a per-CPU variable field, which newer GCC versions handle
differently for segment-register-based per-CPU variables. The __seg_gs attribute is getting applied to the local
res variable, which is causing a compilation error.

Modify the stat_read macro to avoid the issue with typeof and segment registers.
"Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-18
0006-Handle-namespace-import-change-from-kernel-6.13.patch [PATCH 6/9] Handle namespace import change from kernel 6.13 "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-18
0007-Handle-removal-of-linux-pfn_t.h-in-newer-kernels.patch [PATCH 7/9] Handle removal of linux/pfn_t.h in newer kernels "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-18
0008-Handle-changes-for-xocl-drm-for-current-kernel.patch [PATCH] Handle changes for xocl drm for current kernel "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-18
0009-Handle-CRC-symbol-move.patch [PATCH 9/9] Handle CRC symbol move "Mario Limonciello (AMD)" <superm1@kernel.org> yes other 2025-11-18
libqdma_timers.patch libqdma changes for timers in newer kernels Mario Limonciello <superm1@gmail.com> yes other 2025-11-18

All known versions for source package 'xrt'

Links