Page MenuHomeFreeBSD

linuxkpi: Add `pin_user_pages*()` functions
ClosedPublic

Authored by dumbbell on Jan 16 2023, 7:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 3, 2:12 AM
Unknown Object (File)
Wed, Nov 26, 3:29 AM
Unknown Object (File)
Tue, Nov 25, 11:51 PM
Unknown Object (File)
Sun, Nov 23, 1:21 AM
Unknown Object (File)
Nov 1 2025, 2:21 PM
Unknown Object (File)
Oct 29 2025, 10:53 AM
Unknown Object (File)
Oct 24 2025, 12:04 AM
Unknown Object (File)
Oct 22 2025, 3:15 AM

Details

Summary

They were defined in the i915 DRM driver. I move the code in linuxkpi so it can benefit other drivers.

This is part of the update of the DRM drivers to Linux 5.13.

Diff Detail

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

Event Timeline

This alone will need some tweak for drm-kmod separated from the update to 5.13 (so for both master and 5.10-lts based on a __FreeBSD_version bump). Can you prepare a PR on github ?

In D38078#867364, @manu wrote:

This alone will need some tweak for drm-kmod separated from the update to 5.13 (so for both master and 5.10-lts based on a __FreeBSD_version bump). Can you prepare a PR on github ?

Both branches continues to build just fine. Do you think it's still required?

In D38078#867364, @manu wrote:

This alone will need some tweak for drm-kmod separated from the update to 5.13 (so for both master and 5.10-lts based on a __FreeBSD_version bump). Can you prepare a PR on github ?

Both branches continues to build just fine. Do you think it's still required?

If everything works I'm fine with this then.

This revision is now accepted and ready to land.Jan 26 2023, 12:15 PM
This revision was automatically updated to reflect the committed changes.