Revision tags: release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3 |
|
#
8bdb76f2 |
| 01-Jan-2025 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `dev_is_removable()`
[Why] This is used by the amdgpy DRM driver starting from Linux 6.7.
[How] The function always returns false, like `pci_is_thunderbolt_attached()` because we don'
linuxkpi: Add `dev_is_removable()`
[Why] This is used by the amdgpy DRM driver starting from Linux 6.7.
[How] The function always returns false, like `pci_is_thunderbolt_attached()` because we don't have an API for this in FreeBSD yet.
Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48758
show more ...
|
Revision tags: release/14.2.0, release/13.4.0 |
|
#
1fe7cd02 |
| 21-Jul-2024 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Remove owner argument from class_create function on KBI layer
To chase Linux 6.4
Sponsored by: Serenity Cyber Security, LLC Differential Revision: https://reviews.freebsd.org/D45849
|
#
a1181662 |
| 21-Jul-2024 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Add devm_device_add_group to linux/device.h
devm_device_add_group creates a managed attribute group for a device.
Sponsored by: Serenity Cyber Security, LLC MFC after: 1 week Reviewed by:
LinuxKPI: Add devm_device_add_group to linux/device.h
devm_device_add_group creates a managed attribute group for a device.
Sponsored by: Serenity Cyber Security, LLC MFC after: 1 week Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D45845
show more ...
|
#
460908ea |
| 26-Jun-2024 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Remove owner argument from class_create function on KPI layer
to chase Linux 6.4
Sponsored by: Serenity Cyber Security, LLC MFC after: 1 week Reviewed by: manu, emaste Differential Revisi
LinuxKPI: Remove owner argument from class_create function on KPI layer
to chase Linux 6.4
Sponsored by: Serenity Cyber Security, LLC MFC after: 1 week Reviewed by: manu, emaste Differential Revision: https://reviews.freebsd.org/D45610
show more ...
|
Revision tags: release/14.1.0 |
|
#
170c2e0e |
| 02-Apr-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: add devm_kfree()
mt76 calls devm_kfree() directly, so alias it to our lkpi_devm_kmalloc_release() function.
Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: h
LinuxKPI: add devm_kfree()
mt76 calls devm_kfree() directly, so alias it to our lkpi_devm_kmalloc_release() function.
Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44589
show more ...
|
#
3208d4ad |
| 08-Apr-2024 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Import vanilla linux/overflow.h
It is dual-licensed (GPLv2 & MIT) and self-contained header file. No need to reimplement it.
Sponsored by: Serenity CyberSecurity, LLC Reviewed by: emaste
LinuxKPI: Import vanilla linux/overflow.h
It is dual-licensed (GPLv2 & MIT) and self-contained header file. No need to reimplement it.
Sponsored by: Serenity CyberSecurity, LLC Reviewed by: emaste MFC after: 1 week
show more ...
|
Revision tags: release/13.3.0 |
|
#
70617458 |
| 02-Feb-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: sort dev_<loglevel>() functions
Sort the dev_<loglevel> functions by loglevel order, add the dev_alert() version and an indentation change.
No functional changes.
MFC after: 3 days Revie
LinuxKPI: sort dev_<loglevel>() functions
Sort the dev_<loglevel> functions by loglevel order, add the dev_alert() version and an indentation change.
No functional changes.
MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D43719
show more ...
|
#
a0125996 |
| 24-Dec-2023 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Implement dev_dbg_once() macro
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42795
|
#
59cbead6 |
| 09-Dec-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add support for `suspend_noirq` callback in `struct dev_pm_ops`
[Why] This callback is being used by the amdgpu DRM driver in Linux 5.18.
[How] The callback is called after `suspend_late(
linuxkpi: Add support for `suspend_noirq` callback in `struct dev_pm_ops`
[Why] This callback is being used by the amdgpu DRM driver in Linux 5.18.
[How] The callback is called after `suspend_late()`.
Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D43029
show more ...
|
Revision tags: release/14.0.0 |
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0 |
|
#
aaf6129c |
| 17-Mar-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
linuxkpi: Add devm_add_action and devm_add_action_or_reset
Those adds a new devres and will exectute some function on release.
Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D39
linuxkpi: Add devm_add_action and devm_add_action_or_reset
Those adds a new devres and will exectute some function on release.
Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D39142 Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
#
e91f5814 |
| 20-Feb-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Define `device_iommu_mapped()`
For now, it always return false.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D39050
|
#
0777b000 |
| 20-Feb-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Define `dev_WARN()` and `dev_WARN_ONCE()`
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D39049
|
#
7d03acf0 |
| 13-Feb-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Declare `struct fwnode_handle` in <linux/fwnode.h>
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38566
|
#
ffdf10fb |
| 28-Jan-2023 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: device: add device_set_wakeup_enable()
Add a dummy device_set_wakeup_enable() which is used for WoWLAN which we do not (yet) support and device_wakeup_enable() which is a wrapper to the fo
LinuxKPI: device: add device_set_wakeup_enable()
Add a dummy device_set_wakeup_enable() which is used for WoWLAN which we do not (yet) support and device_wakeup_enable() which is a wrapper to the former with the enable argument being true.
Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D38238
show more ...
|
#
bbff0400 |
| 19-Jan-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Define `dev_dbg_ratelimited()`
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38145
|
#
0d4d9ee6 |
| 11-Jan-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `complete` field to `struct dev_pm_ops`
This change breaks the KBI.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38085
|
Revision tags: release/12.4.0 |
|
#
c4163160 |
| 11-Nov-2022 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `dev_warn_once()` in <linux/device.h>
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D36968
|
#
4cb3cb2d |
| 06-Oct-2022 |
Jake Freeland <jfree@FreeBSD.org> |
LinuxKPI: Add pci_power querying for drm-kmod
Adds a few struct members and a function to get i915_runtime_pm_status() to compile in drm-kmod.
Differential Revision: https://reviews.freebsd.org/D36
LinuxKPI: Add pci_power querying for drm-kmod
Adds a few struct members and a function to get i915_runtime_pm_status() to compile in drm-kmod.
Differential Revision: https://reviews.freebsd.org/D36749 Sponsored by: Google, Inc. (GSoC 2022)
show more ...
|
#
e999fbf0 |
| 21-Sep-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: device.h add devm_kmemdup()
Add devm_kmemdup() as needed by a networking driver.
Sponsored by: The FreeBSD Foundation MFC after: 7 days eviewed by: hselasky, emaste Differential Revision
LinuxKPI: device.h add devm_kmemdup()
Add devm_kmemdup() as needed by a networking driver.
Sponsored by: The FreeBSD Foundation MFC after: 7 days eviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D36652
show more ...
|
#
8ea48fc5 |
| 21-Sep-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: device.h remove duplicate #include
linux/types.h is included twice; reduce to the first.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
|
#
a7727e1a |
| 02-Aug-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
linuxkpi: Add dev_info_once
Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36021
|
Revision tags: release/13.1.0 |
|
#
1341ac9f |
| 05-Apr-2022 |
Warner Losh <imp@FreeBSD.org> |
linuxkpi: Move class_create to .c file
class_create encodes the size of struct class into the generated code. Move from .h file to .c file to move this knowledge from the client modules that call th
linuxkpi: Move class_create to .c file
class_create encodes the size of struct class into the generated code. Move from .h file to .c file to move this knowledge from the client modules that call this into the linuxkpi module.
Sponsored by: Netflix Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D34769
show more ...
|
#
702b6875 |
| 05-Apr-2022 |
Warner Losh <imp@FreeBSD.org> |
linuxkpi: Move device_create_groups_vargs to linux_compat.c
device_create_groups_vargs encodes the size of struct device. Move definition from .h to .c to move this size into the linuxkpi module rat
linuxkpi: Move device_create_groups_vargs to linux_compat.c
device_create_groups_vargs encodes the size of struct device. Move definition from .h to .c to move this size into the linuxkpi module rather than encoding it in all client driver modules.
Sponsored by: Netflix Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D34768
show more ...
|
#
e3f1af9b |
| 15-Feb-2022 |
Emmanuel Vadot <manu@FreeBSD.org> |
linuxkpi: Add dev_emerg
Needed by drm-kmod v5.8
Reviewed by: bz MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34286
|