History log of /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/device.h (Results 1 – 25 of 62)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0
# b71e429d 21-Jul-2024 Vladimir Kondratyev <[email protected]>

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

(cherry picked from commit a1181662d3707d8165d7153a0aa5d76ea1ddc11a)

show more ...


# 1e30fc5d 26-Jun-2024 Vladimir Kondratyev <[email protected]>

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

(cherry picked from commit 460908ea55e67baf85d5cd1b6093154739cc0b9a)

show more ...


Revision tags: release/14.1.0
# e180ccb0 08-Apr-2024 Vladimir Kondratyev <[email protected]>

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

(cherry picked from commit 3208d4ad2b8320a24af4a8293f7fd3ef9c35caa6)

show more ...


# 24293e9f 02-Apr-2024 Bjoern A. Zeeb <[email protected]>

LinuxKPI: add devm_kfree()

mt76 calls devm_kfree() directly, so alias it to our
lkpi_devm_kmalloc_release() function.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.fre

LinuxKPI: add devm_kfree()

mt76 calls devm_kfree() directly, so alias it to our
lkpi_devm_kmalloc_release() function.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44589

(cherry picked from commit 170c2e0e2bb1b2d9a7661ba729f8264381c9d9d7)

show more ...


Revision tags: release/13.3.0
# 55baa826 01-Feb-2024 Bjoern A. Zeeb <[email protected]>

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.

Reviewed by: emaste
Dif

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.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D43719

(cherry picked from commit 70617458676eb0b0076aa19657d21f2a9f3b704a)

show more ...


# 82918582 24-Dec-2023 Vladimir Kondratyev <[email protected]>

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

(cherry picked

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

(cherry picked from commit a01259965319897b836019f1d4dcf1b5a5a6ea1a)

show more ...


Revision tags: release/14.0.0
# 95ee2897 16-Aug-2023 Warner Losh <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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 <[email protected]>

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


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <[email protected]>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# f1a7639a 04-Dec-2021 Vladimir Kondratyev <[email protected]>

LinuxKPI: Add some typical header pollution

To reduce amount of drm-kmod patching

MFC after: 1 week
Reviewed by: hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33297


Revision tags: release/12.3.0
# bc923d93 15-Nov-2021 Vladimir Kondratyev <[email protected]>

LinuxKPI: Implement dev_driver_string()

Required by drm-kmod 5.7

MFC after: 1 week
Reviewed by: bz, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33290


123