Page MenuHomeFreeBSD

D38079.diff
No OneTemporary

D38079.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/hardirq.h b/sys/compat/linuxkpi/common/include/linux/hardirq.h
--- a/sys/compat/linuxkpi/common/include/linux/hardirq.h
+++ b/sys/compat/linuxkpi/common/include/linux/hardirq.h
@@ -40,4 +40,14 @@
#define synchronize_irq(irq) _intr_drain((irq))
+/*
+ * FIXME: In the i915 driver's `intel_engine_cs.c` file,
+ * `synchronize_hardirq()` was replaced by `synchronize_rcu()` with the
+ * following comment:
+ * "Is it enough to wait that all cpu have context-switched?"
+ *
+ * See commit f6d50b7af554e21c380486d6f41c8537b265c777 in drm-kmod.
+ */
+#define synchronize_hardirq(irq) _intr_drain((irq))
+
#endif /* _LINUXKPI_LINUX_HARDIRQ_H_ */

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 1:28 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14659281
Default Alt Text
D38079.diff (701 B)

Event Timeline