|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
cf5fd1dc |
| 05-Apr-2019 |
Hans Petter Selasky <[email protected]> |
MFC r345093: Implement BITS_PER_TYPE() function macro in the LinuxKPI. Fix some style while at it.
Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Limelight Networks Sponsored b
MFC r345093: Implement BITS_PER_TYPE() function macro in the LinuxKPI. Fix some style while at it.
Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Limelight Networks Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
6402bc3d |
| 09-Aug-2018 |
Hans Petter Selasky <[email protected]> |
Use atomic_fcmpset_XXX() instead of atomic_cmpset_XXX() when possible in the LinuxKPI.
Suggested by: mjg @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
|
Revision tags: release/11.2.0 |
|
| #
83630517 |
| 23-Mar-2018 |
Ed Maste <[email protected]> |
linuxkpi whitespace cleanup
Reviewed by: hselasky, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14807
|
| #
9bce524e |
| 04-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Implement for_each_clear_bit() function macro in the LinuxKPI.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies Sponsored by: Limelight Netw
Implement for_each_clear_bit() function macro in the LinuxKPI.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
show more ...
|
| #
5d503e30 |
| 04-Mar-2018 |
Hans Petter Selasky <[email protected]> |
Implement GENMASK_ULL() function macro in the LinuxKPI.
MFC after: 1 week Submitted by: Johannes Lundberg <[email protected]> Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
|
|
Revision tags: release/10.4.0 |
|
| #
62bae5d4 |
| 18-Sep-2017 |
Hans Petter Selasky <[email protected]> |
The LinuxKPI atomics do not have acquire nor release semantics unless specified. Fix code to use READ_ONCE() and WRITE_ONCE() where appropriate.
Suggested by: kib @ MFC after: 1 week Sponsored by:
The LinuxKPI atomics do not have acquire nor release semantics unless specified. Fix code to use READ_ONCE() and WRITE_ONCE() where appropriate.
Suggested by: kib @ MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/11.1.0 |
|
| #
c9dd0b48 |
| 06-Apr-2017 |
Hans Petter Selasky <[email protected]> |
Cleanup the bitmap_xxx() functions in the LinuxKPI:
- Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does.
- Apply some minor code cleanup and simplifications
Cleanup the bitmap_xxx() functions in the LinuxKPI:
- Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does.
- Apply some minor code cleanup and simplifications to optimize the generated code when using static inline functions.
- Implement the following list of bitmap functions which are needed by drm-next and ibcore: - bitmap_find_next_zero_area_off() - bitmap_find_next_zero_area() - bitmap_or() - bitmap_and() - bitmap_xor()
- Add missing include directives to the qlnxe driver (davidcs@ has been notified)
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
3cfeca84 |
| 27-Feb-2017 |
Hans Petter Selasky <[email protected]> |
Implement more bit operation functions in the LinuxKPI. Some minor whitespace nits while at it.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
797046ee |
| 24-Feb-2017 |
Hans Petter Selasky <[email protected]> |
Implement BIT_ULL() macro in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
cffaf933 |
| 23-Feb-2017 |
Hans Petter Selasky <[email protected]> |
Implement __test_and_clear_bit() and __test_and_set_bit() in the LinuxKPI.
The clang compiler will optimise these functions down to three AMD64 instructions if the bit argument is a constant during
Implement __test_and_clear_bit() and __test_and_set_bit() in the LinuxKPI.
The clang compiler will optimise these functions down to three AMD64 instructions if the bit argument is a constant during compilation.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
1e3db1de |
| 21-Feb-2017 |
Hans Petter Selasky <[email protected]> |
Make the LinuxKPI task struct persistent accross system calls.
A set of helper functions have been added to manage the life of the LinuxKPI task struct. When an external system call or task is invok
Make the LinuxKPI task struct persistent accross system calls.
A set of helper functions have been added to manage the life of the LinuxKPI task struct. When an external system call or task is invoked, a check is made to create the task struct by demand. A thread destructor callback is registered to free the task struct when a thread exits to avoid memory leaks.
This change lays the ground for emulating the Linux kernel more closely which is a dependency by the code using the LinuxKPI APIs.
Add new dedicated td_lkpi_task field has been added to struct thread instead of abusing td_retval[1].
Fix some header file inclusions to make LINT kernel build properly after this change.
Bump the __FreeBSD_version to force a rebuild of all kernel modules.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
425da8eb |
| 23-May-2016 |
Hans Petter Selasky <[email protected]> |
Fix some data types and add "inline" keyword for __reg_op() function.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
83cfd834 |
| 23-May-2016 |
Hans Petter Selasky <[email protected]> |
Implement ror32() in the LinuxKPI.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
b5c54182 |
| 23-May-2016 |
Hans Petter Selasky <[email protected]> |
Add support for atomic_long_inc_not_zero() to the LinuxKPI.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
9ad5ce9d |
| 31-Mar-2016 |
Hans Petter Selasky <[email protected]> |
Fix bugs in currently unused bit searching loop.
MFC after: 3 days Sponsored by: Mellanox Technologies
|
|
Revision tags: release/10.3.0 |
|
| #
e2829794 |
| 26-Jan-2016 |
Hans Petter Selasky <[email protected]> |
Implement bitmap_weight() and bitmap_equal() for the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
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 ...
|