Followup-For: Bug #1121155 Linux v6.18 support seems to be fixed in the last upload, but one change for supporting older kernels was missed upstream (in addition to the two changes for setting BUILD_EXCLUSIVE_KERNEL_MIN and a missing #include I previously mentioned here), patch attached.
Andreas
Author: Andreas Beckmann <[email protected]> Description: the eventfd_signal() changes were backported from v6.8.0 to v6.7.12 Linux commit "eventfd: simplify eventfd_signal()" v6.8.0: 3652117f854819a148ff0fbe4492587d3520b5e5 v6.7.12: de568a5148f59d93025520754004ab8823ba675f --- a/xrt/XRT/src/runtime_src/core/pcie/driver/linux/xocl/subdev/msix_xdma.c +++ b/xrt/XRT/src/runtime_src/core/pcie/driver/linux/xocl/subdev/msix_xdma.c @@ -90,7 +90,7 @@ static irqreturn_t msix_xdma_isr(int irq ret = irq_entry->handler(irq, irq_entry->arg); if (!IS_ERR_OR_NULL(irq_entry->event_ctx)) { -#if KERNEL_VERSION(6, 8, 0) <= LINUX_VERSION_CODE || defined(RHEL_9_5_GE) +#if KERNEL_VERSION(6, 7, 12) <= LINUX_VERSION_CODE || defined(RHEL_9_5_GE) eventfd_signal(irq_entry->event_ctx); #else eventfd_signal(irq_entry->event_ctx, 1); --- a/xrt/XRT/src/runtime_src/core/pcie/driver/linux/xocl/subdev/xdma.c +++ b/xrt/XRT/src/runtime_src/core/pcie/driver/linux/xocl/subdev/xdma.c @@ -294,7 +294,7 @@ static irqreturn_t xdma_isr(int irq, voi ret = irq_entry->handler(irq, irq_entry->arg); if (!IS_ERR_OR_NULL(irq_entry->event_ctx)) { -#if KERNEL_VERSION(6, 8, 0) <= LINUX_VERSION_CODE || defined(RHEL_9_5_GE) +#if KERNEL_VERSION(6, 7, 12) <= LINUX_VERSION_CODE || defined(RHEL_9_5_GE) eventfd_signal(irq_entry->event_ctx); #else eventfd_signal(irq_entry->event_ctx, 1);

