Page MenuHomeFreeBSD

linuxkpi: Add irq_work.h
ClosedPublic

Authored by manu on May 16 2020, 10:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 8:24 AM
Unknown Object (File)
Feb 15 2024, 6:43 PM
Unknown Object (File)
Feb 14 2024, 3:22 PM
Unknown Object (File)
Dec 29 2023, 9:24 AM
Unknown Object (File)
Dec 20 2023, 7:57 AM
Unknown Object (File)
Dec 19 2023, 10:51 AM
Unknown Object (File)
Dec 12 2023, 9:35 AM
Unknown Object (File)
Nov 6 2023, 8:29 AM
Subscribers

Details

Summary

Since handlers are call in a thread context we can simply use a workqueue
to emulate those functions.
The DRM code was patched to do that already, having it in linuxkpi allows us to not patch the
upstream code.
Sponsored-by: The FreeBSD Foundation

Test Plan

Tested with drm v5.2.
freebsd_version will be bumped for drm-devel/current-kmod as there is already a definition in linux/relay.h for some reason ...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.May 16 2020, 10:59 AM

Don't forget to add LinuxKPI to the commit message and MFC after.

This revision is now accepted and ready to land.May 16 2020, 11:11 AM

Don't forget to add LinuxKPI to the commit message and MFC after.

I'll handle all the MFC of my recent commits probably next week as there is probably a lot to fix in the drm-*-kmod ports.
Did you had time to review my other linuxkpi related reviews ?
I would prefer to bump FreeBSD for all of them just in case I've missed something in the current drm-*-kmod ports.

Does this require changes to drm-kmods?

This revision was automatically updated to reflect the committed changes.