nvidia-merged/nvidia-eventfd-fix.patch
modeco80 93dd13b3d1 updpkg pkgrel=2: add linux 6.8 patches
the eventfd fix is currently not enabled yet.

need to add the follow_pfn patch next for 6.10/6.11 support
2024-09-29 22:33:37 -04:00

22 lines
736 B
Diff

diff --git a/usr/src/nvidia-535.129.03-orig/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c b/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c
index a2620f6..b1f434f 100644
--- a/usr/src/nvidia-535.129.03-orig/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c
+++ b/kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c
@@ -2872,7 +2872,7 @@ static irqreturn_t vgpu_msix_handler(int irq, void *arg)
}
if (trigger != NULL)
- eventfd_signal(trigger, 1);
+ eventfd_signal(trigger);
else
return IRQ_NONE;
@@ -3185,7 +3185,7 @@ NV_STATUS nv_vgpu_inject_interrupt(void *vgpuRef)
}
NV_SPIN_UNLOCK_IRQRESTORE(&vgpu_dev->intr_info_lock, eflags);
- eventfd_signal(trigger, 1);
+ eventfd_signal(trigger);
return status;
}