|
Revision tags: release/12.4.0, release/13.1.0 |
|
| #
2d0694b9 |
| 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
(cherry picked from
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
(cherry picked from commit 307f78f3ed90a4145eeb2c8cc79bc95b2666f57a)
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
fd6adf78 |
| 29-Sep-2021 |
Vladimir Kondratyev <[email protected]> |
LinuxKPI: Remove FreeBSD struct resource from all LKPI headers
except linux/pci.h to avoid conflicts with Linux version. This allows to #define resource in drm-kmod globally and strip some #ifdef-s
LinuxKPI: Remove FreeBSD struct resource from all LKPI headers
except linux/pci.h to avoid conflicts with Linux version. This allows to #define resource in drm-kmod globally and strip some #ifdef-s
Reviewed by: hselasky, manu Differential revision: https://reviews.freebsd.org/D31673
(cherry picked from commit 66ea390652d2ede405b43c168157986bd2b52bb9)
show more ...
|
| #
0437d10e |
| 22-Sep-2021 |
Warner Losh <[email protected]> |
direct commit: fix KBI for pci_dev
Move all the new elemenets to the end of the structure for 13. We allocate this inside the linuxkpi code, so the size isn't enccoded in client modules. However, th
direct commit: fix KBI for pci_dev
Move all the new elemenets to the end of the structure for 13. We allocate this inside the linuxkpi code, so the size isn't enccoded in client modules. However, the offsets to the different fields are encoded. Tihs modifies 04456f711853, 40a215e38a4d, and 3a606aadf2e7 and will likely create merge conflicts there (and that's a good thing since the elements need to be moved to the end of the structure when merging).
Tweak irq_ent to be binary compatible. Since this is inlined into the clients, all clients have to agree on the irq_ent offsets.
Restore visibility to linux_kmem_cache_free_rcu linux_kmem_cache_free_rcu was made static in 10235ad0567f, however client drivers depended on calling it directly. Make it visible again to restore the 13.0-Release KBI for linuxkpi.
Bump FreeBSD_version to 1300515 for restoration of 13.0 KBI. Since this commmit changes the linuxkpi KBI (this time back to 13.0 release to restore the status quo of), you'll need to recompile everything that uses it (you needed to earlier as well, but those were silent recompilation events). The plus side is that our packages (built using 13.0) for drm-kmod 5.4 work again on -stable systems.
Reviewed by: bz, wulf Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31363
show more ...
|
| #
1eaaada4 |
| 30-May-2021 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: enhance the irq KPI for managed and threaded operations.
Move request_irq() to an internal function which serves request_irq() and the newly added request_threaded_irq() and devm_request_t
LinuxKPI: enhance the irq KPI for managed and threaded operations.
Move request_irq() to an internal function which serves request_irq() and the newly added request_threaded_irq() and devm_request_threaded_irq(). Likewise factor out parts of free_irq() to also be used with devm_free_irq(). Add the storage and call to a thread_handler in case of IRQ_WAKE_THREAD. This is needed for the iwlwifi driver.
Sponsored by: The FreeBSD Foundation Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30549
(cherry picked from commit d16b6cb17837162d685c960deb28f26f716fa440)
show more ...
|
| #
2fc939d7 |
| 24-May-2021 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: add irq_set_affinity_hint()
Add an implementation for irq_set_affinity_hint() to linux/interrupt.h and include linux/hardirq.h for synchronize_irq() as needed by wireless drivers.
Sponsor
LinuxKPI: add irq_set_affinity_hint()
Add an implementation for irq_set_affinity_hint() to linux/interrupt.h and include linux/hardirq.h for synchronize_irq() as needed by wireless drivers.
Sponsored by: The FreeBSD Foundation Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30427
(cherry picked from commit 602e4e433d3e7dbb03d4fd30a4720a02cdeca6aa)
show more ...
|
| #
1fbf4377 |
| 28-Apr-2021 |
Neel Chauhan <[email protected]> |
linuxkpi: Introduce tasklet_disable_nosync()
This is needed for the drm-kmod 5.5 update.
Reviewed by: hselasky (src) Differential Revision: https://reviews.freebsd.org/D30024
(cherry picked from
linuxkpi: Introduce tasklet_disable_nosync()
This is needed for the drm-kmod 5.5 update.
Reviewed by: hselasky (src) Differential Revision: https://reviews.freebsd.org/D30024
(cherry picked from commit 9781105bea58b8bce53ba766850c5f023b34c43c)
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
6575da5e |
| 11-Sep-2019 |
Hans Petter Selasky <[email protected]> |
Fix broken DECLARE_TASKLET() macro after r347852.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
4f109faa |
| 14-Aug-2019 |
Hans Petter Selasky <[email protected]> |
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI. This patch makes the DRM graphics driver in ports usable on aarch64.
Submitted by: Greg V <[email protected]> Differential
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI. This patch makes the DRM graphics driver in ports usable on aarch64.
Submitted by: Greg V <[email protected]> Differential Revision: https://reviews.freebsd.org/D21008 MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
480995dc |
| 16-May-2019 |
Johannes Lundberg <[email protected]> |
LinuxKPI: Updates to tasklets for Linux 5.0.
DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet locking functions.
This patch is part of D19565
Re
LinuxKPI: Updates to tasklets for Linux 5.0.
DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet locking functions.
This patch is part of D19565
Reviewed by: hps Approved by: imp (mentor), hps MFC after: 1 week
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
7353335d |
| 17-Feb-2018 |
Hans Petter Selasky <[email protected]> |
Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the LinuxKPI to be compatible with Linux. No functional change.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]
Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the LinuxKPI to be compatible with Linux. No functional change.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies
show more ...
|
| #
1249c589 |
| 17-Feb-2018 |
Hans Petter Selasky <[email protected]> |
Add checks for valid IRQ tag before setting up or tearing down an interrupt handler in the LinuxKPI. This is needed when the interrupt handler is disabled before freeing the interrupt.
MFC after: 1
Add checks for valid IRQ tag before setting up or tearing down an interrupt handler in the LinuxKPI. This is needed when the interrupt handler is disabled before freeing the interrupt.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies
show more ...
|
| #
f1f7e04a |
| 16-Feb-2018 |
Hans Petter Selasky <[email protected]> |
Implement tasklet_enable() and tasklet_disable() in the LinuxKPI.
MFC after: 1 week Requested by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies
|
| #
219ff59c |
| 16-Feb-2018 |
Hans Petter Selasky <[email protected]> |
Implement enable_irq() and disable_irq() in the LinuxKPI.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
ef23481a |
| 21-Feb-2017 |
Hans Petter Selasky <[email protected]> |
Add support for LinuxKPI tasklets.
Tasklets are implemented using a taskqueue and a small statemachine on top. The additional statemachine is required to ensure all LinuxKPI tasklets get serialized.
Add support for LinuxKPI tasklets.
Tasklets are implemented using a taskqueue and a small statemachine on top. The additional statemachine is required to ensure all LinuxKPI tasklets get serialized. FreeBSD taskqueues do not guarantee serialisation of its tasks, except when there is only one worker thread configured.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
e996b07c |
| 09-Dec-2016 |
Hans Petter Selasky <[email protected]> |
Prefix some _pci_xxx() functions in the Linux KPI with linux_ and make sure the IRQ number used by these functions is unsigned.
Sponsored by: Mellanox Technologies MFC after: 1 week
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
0c510167 |
| 08-Jan-2016 |
Hans Petter Selasky <[email protected]> |
LinuxKPI style changes: - Properly prefix internal functions with "linux_" instead of only a single underscore to avoid future namespace collisions. - Make some functions global instead of inline t
LinuxKPI style changes: - Properly prefix internal functions with "linux_" instead of only a single underscore to avoid future namespace collisions. - Make some functions global instead of inline to ease debugging and to avoid unnecessary code duplication. - Remove no longer existing kthread_create() function's prototype.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
8e7baabc |
| 03-Nov-2015 |
Hans Petter Selasky <[email protected]> |
Make all the LinuxKPI include files compile standalone.
Sponsored by: Mellanox Technologies
|
| #
8d59ecb2 |
| 29-Oct-2015 |
Hans Petter Selasky <[email protected]> |
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some M
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some Makefiles to use new file locations. - Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds. - The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple. - Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko. - Bump the FreeBSD_version. - A universe kernel build has been done.
Reviewed by: np @ (cxgb and cxgbe related changes only) Sponsored by: Mellanox Technologies
show more ...
|