Page MenuHomeFreeBSD

linuxkpi: Define `pci_reset_function()` in <linux/pci.h>
ClosedPublic

Authored by dumbbell on Nov 11 2022, 6:29 PM.
Tags
None
Referenced Files
F153851479: D37366.diff
Fri, Apr 24, 6:24 AM
Unknown Object (File)
Tue, Apr 21, 6:18 AM
Unknown Object (File)
Sat, Mar 28, 4:46 AM
Unknown Object (File)
Fri, Mar 27, 2:48 AM
Unknown Object (File)
Thu, Mar 26, 7:23 AM
Unknown Object (File)
Mar 16 2026, 3:38 AM
Unknown Object (File)
Mar 16 2026, 3:35 AM
Unknown Object (File)
Mar 15 2026, 9:38 AM

Details

Summary

Currently, it always returns an error on FreeBSD.

This change is a requirement to update our DRM drivers to Linux 5.12.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz added a subscriber: bz.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/pci.h
947

Would there be any harm in implementing it? I am just asking what the effects would be on drm-kmod -- or what they are now if this doesn't work?

This revision is now accepted and ready to land.Nov 11 2022, 7:05 PM

I admit I didn't digged deeper into this yet. My focus was on finishing the backport of Linux 5.12 drivers. But I will take a look to understand what the impact is in the drivers.