History log of /freebsd/sys/compat/linuxkpi/common/include/asm/atomic.h (Results 1 – 25 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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
# e79a57d4 01-Dec-2022 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Add `cmpxchg64()` in <asm/atomic.h>

Differential Revision: https://reviews.freebsd.org/D36966


Revision tags: release/12.4.0
# 9f6097d6 17-Oct-2022 Ed Maste <emaste@FreeBSD.org>

linuxkpi: retire now-unused MIPS support

Reviewed by: bz, manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37023


# 39da3678 27-Jul-2022 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: Add try_cmpxchg and atomic_try_cmpxchg

Needed by drm-kmod

Obtain from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36015


# 6be89cc8 26-Jul-2022 Emmanuel Vadot <manu@FreeBSD.org>

linuxkpi: atomic: Add atomic_fetch_inc

Reviewed by: hselasky
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D35936


Revision tags: release/13.1.0
# 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, release/13.0.0, release/12.2.0
# 1a180032 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

compat: clean up empty lines in .c and .h files


Revision tags: release/11.4.0
# b9bf16ad 20-Apr-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement the atomic fetch add unless functions for the LinuxKPI.

MFC after: 1 week
Sponsored by: Mellanox Technologies


Revision tags: release/12.1.0, release/11.3.0
# 893405b4 11-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r341764 through r341812.


# ca487c18 10-Dec-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Remove no longer needed ifdefs in the LinuxKPI, after r341787.

Differential Revision: https://reviews.freebsd.org/D18450
Reviewed by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


Revision tags: release/12.0.0
# 14b841d4 11-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

MFH @ r337607, in preparation for boarding


# f9c0a512 10-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r337286 through r337585.


# 6402bc3d 09-Aug-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

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


# e545f5a8 07-Aug-2018 Marius Strobl <marius@FreeBSD.org>

Update the list of architectures having atomic_fcmpset_{8,16,64}(9) and
atomic_swap_{64,int}(9) respectively as of r337433.


# bbd7a929 04-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r336870 through r337285, and resolve conflicts.


# a76c73aa 01-Aug-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Don't refer to non-existing atomic functions, even though not compiled,
in the LinuxKPI.

Found by: rpolka @
MFC after: 1 week
Sponsored by: Mellanox Technologies


Revision tags: release/11.2.0
# 17e2a84e 06-Jun-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Rewrite code using atomic_fcmpset_int() in the LinuxKPI.

Suggested by: mjg@
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks


# 23dcf435 06-Jun-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement the atomic_dec_if_positive() function in the LinuxKPI.

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

Implement the atomic_dec_if_positive() function in the LinuxKPI.

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

show more ...


# 8f294983 18-Feb-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Optimise xchg() to use atomic_swap_32() and atomic_swap_64().

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


# 64468049 18-Feb-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix implementation of xchg() function macro in the LinuxKPI.
The exchange operation must be atomic.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# af4010be 17-Feb-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Compile fix for GCC in the LinuxKPI.

Older versions of GCC don't allow flexible array members in a union.
Use a zero length array instead.

MFC after: 1 week
Reported by: jbeich@
Sponsored by: Mella

Compile fix for GCC in the LinuxKPI.

Older versions of GCC don't allow flexible array members in a union.
Use a zero length array instead.

MFC after: 1 week
Reported by: jbeich@
Sponsored by: Mellanox Technologies

show more ...


# 2a7c2b91 16-Feb-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Allow the cmpxchg() macro in the LinuxKPI to work on pointers without
generating compiler warnings, -Wint-conversion .

Requested by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Tec

Allow the cmpxchg() macro in the LinuxKPI to work on pointers without
generating compiler warnings, -Wint-conversion .

Requested by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies

show more ...


# c2c014f2 07-Nov-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Merge ^/head r323559 through r325504.


Revision tags: release/10.4.0
# e5d34ca9 23-Sep-2017 Enji Cooper <ngie@FreeBSD.org>

MFhead@r320180


# 62bae5d4 18-Sep-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

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


12