History log of /src/sys/compat/linuxkpi/common/include/linux/delay.h (Results 1 – 16 of 16)
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 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


# cc272337 27-Jul-2021 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add fsleep()

Add fsleep() function now required by rtw88. This seems to be
making a decision depending on time to sleep on how to sleep.
Given our compat framework already is lenient on h

LinuxKPI: add fsleep()

Add fsleep() function now required by rtw88. This seems to be
making a decision depending on time to sleep on how to sleep.
Given our compat framework already is lenient on how long to sleep,
this is a cut down version.

MFC after: 10 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D31322

show more ...


# 05f56ac9 10-Jul-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.

This allows other threads to execute, typically during hardware waiting loops.
This also maches how the functio

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.

This allows other threads to execute, typically during hardware waiting loops.
This also maches how the function works in Linux.

Reviewed by: kib
MFC after: 1 week
Sponsored by: NVIDIA Networking

show more ...


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 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


# cc272337 27-Jul-2021 Bjoern A. Zeeb <bz@FreeBSD.org>

LinuxKPI: add fsleep()

Add fsleep() function now required by rtw88. This seems to be
making a decision depending on time to sleep on how to sleep.
Given our compat framework already is lenient on h

LinuxKPI: add fsleep()

Add fsleep() function now required by rtw88. This seems to be
making a decision depending on time to sleep on how to sleep.
Given our compat framework already is lenient on how long to sleep,
this is a cut down version.

MFC after: 10 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D31322

show more ...


# 05f56ac9 10-Jul-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.

This allows other threads to execute, typically during hardware waiting loops.
This also maches how the functio

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.

This allows other threads to execute, typically during hardware waiting loops.
This also maches how the function works in Linux.

Reviewed by: kib
MFC after: 1 week
Sponsored by: NVIDIA Networking

show more ...


# ccae7bb8 03-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Use mstosbt() instead of SBT_1MS in the LinuxKPI to get the last few bits
of precision.

MFC after: 1 week
Suggested by: ian@
Sponsored by: Mellanox Technologies


# 7cf1c515 03-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement msleep_interruptible() in the LinuxKPI. While at it use pause_sbt()
instead of pause() in the msleep() function to avoid rounding errors when
converting delay values forth and back. Add a g

Implement msleep_interruptible() in the LinuxKPI. While at it use pause_sbt()
instead of pause() in the msleep() function to avoid rounding errors when
converting delay values forth and back. Add a guard for a delay value
of zero milliseconds which is undefined.

MFC after: 1 week
Requested by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies

show more ...


# 8d59ecb2 29-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

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 ...


# 382d6beb 20-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Move location of RCS keyword according to style.

Suggested by: jhb @
Sponsored by: Mellanox Technologies


# 77320fe8 20-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Add missing FreeBSD RCS keyword and SVN properties.

Sponsored by: Mellanox Technologies


# 2ca3cc51 19-Oct-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge LinuxKPI changes from DragonflyBSD:
- Redefine DIV_ROUND_UP as a function macro taking two arguments
instead of none.
- Implement more Linux kernel functions related to various forms
of DEL

Merge LinuxKPI changes from DragonflyBSD:
- Redefine DIV_ROUND_UP as a function macro taking two arguments
instead of none.
- Implement more Linux kernel functions related to various forms
of DELAY() and basic mathematical operations.

Sponsored by: Mellanox Technologies

show more ...


# c7818b48 27-Aug-2014 Hans Petter Selasky <hselasky@FreeBSD.org>

- Update the OFED Linux Emulation layer as a preparation for a
hardware driver update from Mellanox Technologies.
- Remove empty files from the OFED Linux Emulation layer.
- Fix compile warnings rela

- Update the OFED Linux Emulation layer as a preparation for a
hardware driver update from Mellanox Technologies.
- Remove empty files from the OFED Linux Emulation layer.
- Fix compile warnings related to printf() and the "%lld" and "%llx"
format specifiers.
- Add some missing 2-clause BSD copyrights.
- Add "Mellanox Technologies, Ltd." to list of copyright holders.
- Add some new compatibility files.
- Fix order of uninit in the mlx4ib module to avoid crash at unload
using the new module_exit_order() function.

MFC after: 1 week
Sponsored by: Mellanox Technologies

show more ...


# aa0a1e58 21-Mar-2011 Jeff Roberson <jeff@FreeBSD.org>

- Merge in OFED 1.5.3 from projects/ofed/head