#
1bce29bc |
| 24-Dec-2023 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Add some header pollution and dummy headers
required by recent drm-kmod to be succesfully compiled.
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz Obtained from: OpenBSD
LinuxKPI: Add some header pollution and dummy headers
required by recent drm-kmod to be succesfully compiled.
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz Obtained from: OpenBSD (partially) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42798
show more ...
|
#
fe842818 |
| 08-Dec-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `struct kset` support in <linux/kobject.h>
[Why] The amdgpu DRM driver started to use it in Linux 5.18.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.free
linuxkpi: Add `struct kset` support in <linux/kobject.h>
[Why] The amdgpu DRM driver started to use it in Linux 5.18.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D43020
show more ...
|
#
80446fc7 |
| 08-Dec-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Move `struct kobject` code to `linux_kobject.c`
[Why] `linux_compat.c` is already too long. I will need to add `struct kset` in a follow-up commit, so let's move the existing `struct kobje
linuxkpi: Move `struct kobject` code to `linux_kobject.c`
[Why] `linux_compat.c` is already too long. I will need to add `struct kset` in a follow-up commit, so let's move the existing `struct kobject` code to its own file.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D43019
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 |
|
#
19a35543 |
| 20-Feb-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `default_groups` field to `struct kobj_type`
We don't use it, but it is set by the DRM drivers.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/
linuxkpi: Add `default_groups` field to `struct kobj_type`
We don't use it, but it is set by the DRM drivers.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D39051
show more ...
|
Revision tags: release/12.4.0, release/13.1.0 |
|
#
36929b55 |
| 05-Apr-2022 |
Warner Losh <imp@FreeBSD.org> |
linuxkpi: move kobject_create to .c file
kobject_create knows the size of struct kobject. Move it to linux_compat.c so this knowledge is confined to the loadable module and not the clients.
Sponsor
linuxkpi: move kobject_create to .c file
kobject_create knows the size of struct kobject. Move it to linux_compat.c so this knowledge is confined to the loadable module and not the clients.
Sponsored by: Netflix Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D34767
show more ...
|
#
307f78f3 |
| 19-Dec-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
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
|
Revision tags: release/12.3.0 |
|
#
04d42cb4 |
| 23-Nov-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Implement default sysfs kobject attribute operations
Required by drm-kmod 5.7
MFC after: 1 week Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D33292
|
Revision tags: release/13.0.0 |
|
#
4abbf816 |
| 28-Jan-2021 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: upstream a collection of drm-kmod conflicting changes
The upcoming in-kernel implementations for LinuxKPI based on work on iwlwifi (and other wireless drivers) conflicts in a few places wi
LinuxKPI: upstream a collection of drm-kmod conflicting changes
The upcoming in-kernel implementations for LinuxKPI based on work on iwlwifi (and other wireless drivers) conflicts in a few places with the drm-kmod graphics work outside the base system.
In order to transition smoothly extract the conflicting bits. This included "unaligned" accessor functions, sg_pcopy_from_buffer(), IS_*() macros (to be further restricted in the future), power management bits (possibly no longer conflicting with DRM), and other minor changes.
Obtained-from: bz_iwlwifi Sponsored-by: The FreeBSD Foundation MFC after: 3 days Reviewed by: kib, hselasky, manu, bdragon (looked at earlier versions) Differential Revision: https://reviews.freebsd.org/D26598
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
83630517 |
| 23-Mar-2018 |
Ed Maste <emaste@FreeBSD.org> |
linuxkpi whitespace cleanup
Reviewed by: hselasky, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14807
|
Revision tags: release/10.4.0 |
|
#
b754c279 |
| 13-Sep-2017 |
Navdeep Parhar <np@FreeBSD.org> |
MFH @ r323558.
|
#
1be4c195 |
| 25-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r322870
|
#
7e1a02ba |
| 22-Aug-2017 |
Mark Johnston <markj@FreeBSD.org> |
Add some miscellaneous definitions to support the DRM drivers.
MFC after: 1 week
|
#
bca9d05f |
| 23-Jul-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r319973 through 321382.
|
Revision tags: release/11.1.0 |
|
#
a3604b95 |
| 27-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r320042 through r320397.
|
#
4eb18346 |
| 18-Jun-2017 |
Mark Johnston <markj@FreeBSD.org> |
Avoid including list.h in LinuxKPI headers.
list.h includes a number of FreeBSD headers as a workaround for the LIST_HEAD name collision. To reduce pollution, avoid including list.h in commonly used
Avoid including list.h in LinuxKPI headers.
list.h includes a number of FreeBSD headers as a workaround for the LIST_HEAD name collision. To reduce pollution, avoid including list.h in commonly used headers when it is not explicitly needed.
Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11249
show more ...
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
009e81b1 |
| 22-Jan-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MFH @r294567
|
#
b626f5a7 |
| 04-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH r289384-r293170
Sponsored by: The FreeBSD Foundation
|
#
8c490985 |
| 31-Dec-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r292951 through r293015.
|
#
06204f8e |
| 31-Dec-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Minor LinuxKPI code cleanup: - Declare some static functions in linux_compat.c instead if inside various header files. - Prefix FreeBSD local functions in the LinuxKPI with "linux_" to avoid symb
Minor LinuxKPI code cleanup: - Declare some static functions in linux_compat.c instead if inside various header files. - Prefix FreeBSD local functions in the LinuxKPI with "linux_" to avoid symbol name conflicts in the future and to make debugging easier. - Make the "struct kobj_ktype" declaractions constant to shave off a few bytes from the data segment.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
#
4c78ed5a |
| 28-Dec-2015 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Mfh r292839
|
#
26019405 |
| 28-Dec-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Reduce memory consumption when allocating kobject strings in the LinuxKPI. Compute string length before allocating memory instead of using fixed size allocations. Make kobject_set_name_vargs() global
Reduce memory consumption when allocating kobject strings in the LinuxKPI. Compute string length before allocating memory instead of using fixed size allocations. Make kobject_set_name_vargs() global instead of inline to save some bytes when compiling.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
#
a5d8944a |
| 19-Nov-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head (r291075).
|
#
3e4f384e |
| 07-Nov-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head r290483
|
#
8e7baabc |
| 03-Nov-2015 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Make all the LinuxKPI include files compile standalone.
Sponsored by: Mellanox Technologies
|