| #
62af5b9d
|
| 20-Jan-2025 |
Olivier Certner <olce@FreeBSD.org> |
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Rev
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48497
show more ...
|
| #
64e30cba
|
| 24-Dec-2023 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: h
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42810
show more ...
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
b34cd672
|
| 20-Jan-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38152
show more ...
|
| #
68f08e26
|
| 24-Dec-2022 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one i
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one inline wrap layer to reduce code size.
Fixes startup lockup of i915kms after update to drm-kmod v5.12
Reviewed by: hselasky, bz MFC after: 1week Differential Revision: https://reviews.freebsd.org/D37699
show more ...
|
| #
18e41123
|
| 01-Dec-2022 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>
To achieve that, the header uses the C11 type generic selection keyboard _Generic() because the macros are supposed to work with seqcoun
linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>
To achieve that, the header uses the C11 type generic selection keyboard _Generic() because the macros are supposed to work with seqcount_t and seqcount_mutex_t.
Differential Revision: https://reviews.freebsd.org/D36965
show more ...
|
| #
efb8f0b8
|
| 25-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
linuxkpi: Mitigate a seqlock livelock
Disable preemption in seqlock write sections when using the _irqsave variant. This ensures that a writer can't be preempted and subsequently starved by a reade
linuxkpi: Mitigate a seqlock livelock
Disable preemption in seqlock write sections when using the _irqsave variant. This ensures that a writer can't be preempted and subsequently starved by a reader running in a callout handler on the same CPU.
This fixes occasional display hangs seen when using the i915 driver.
Tested by: emaste, wulf Reviewed by: wulf, hselasky MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35021
show more ...
|
| #
c9a99599
|
| 14-Feb-2022 |
Mateusz Guzik <mjg@FreeBSD.org> |
seqc: rename seqc_consistent_nomb to seqc_consistent_no_fence
For more consistency with other primitives.
|
| #
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
|
| #
8b33cb83
|
| 05-Jul-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Implement sequence counters and sequential locks
as a thin wrapper around native version found in sys/seqc.h. This replaces out-of-base GPLv2-licensed code used by drm-kmod.
Reviewed by:
LinuxKPI: Implement sequence counters and sequential locks
as a thin wrapper around native version found in sys/seqc.h. This replaces out-of-base GPLv2-licensed code used by drm-kmod.
Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D31006
show more ...
|
| #
62af5b9d
|
| 20-Jan-2025 |
Olivier Certner <olce@FreeBSD.org> |
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Rev
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48497
show more ...
|
| #
64e30cba
|
| 24-Dec-2023 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: h
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42810
show more ...
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
b34cd672
|
| 20-Jan-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38152
show more ...
|
| #
68f08e26
|
| 24-Dec-2022 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one i
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one inline wrap layer to reduce code size.
Fixes startup lockup of i915kms after update to drm-kmod v5.12
Reviewed by: hselasky, bz MFC after: 1week Differential Revision: https://reviews.freebsd.org/D37699
show more ...
|
| #
18e41123
|
| 01-Dec-2022 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>
To achieve that, the header uses the C11 type generic selection keyboard _Generic() because the macros are supposed to work with seqcoun
linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>
To achieve that, the header uses the C11 type generic selection keyboard _Generic() because the macros are supposed to work with seqcount_t and seqcount_mutex_t.
Differential Revision: https://reviews.freebsd.org/D36965
show more ...
|
| #
efb8f0b8
|
| 25-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
linuxkpi: Mitigate a seqlock livelock
Disable preemption in seqlock write sections when using the _irqsave variant. This ensures that a writer can't be preempted and subsequently starved by a reade
linuxkpi: Mitigate a seqlock livelock
Disable preemption in seqlock write sections when using the _irqsave variant. This ensures that a writer can't be preempted and subsequently starved by a reader running in a callout handler on the same CPU.
This fixes occasional display hangs seen when using the i915 driver.
Tested by: emaste, wulf Reviewed by: wulf, hselasky MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35021
show more ...
|
| #
c9a99599
|
| 14-Feb-2022 |
Mateusz Guzik <mjg@FreeBSD.org> |
seqc: rename seqc_consistent_nomb to seqc_consistent_no_fence
For more consistency with other primitives.
|
| #
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
|
| #
8b33cb83
|
| 05-Jul-2021 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Implement sequence counters and sequential locks
as a thin wrapper around native version found in sys/seqc.h. This replaces out-of-base GPLv2-licensed code used by drm-kmod.
Reviewed by:
LinuxKPI: Implement sequence counters and sequential locks
as a thin wrapper around native version found in sys/seqc.h. This replaces out-of-base GPLv2-licensed code used by drm-kmod.
Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D31006
show more ...
|
| #
62af5b9d
|
| 20-Jan-2025 |
Olivier Certner <olce@FreeBSD.org> |
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Rev
atomics: Constify loads: Remove now superfluous uses of DECONST()
No functional change (intended).
Reviewed by: kib MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48497
show more ...
|
| #
64e30cba
|
| 24-Dec-2023 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: h
LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()
functions to linux/seqlock.h
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42810
show more ...
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
b34cd672
|
| 20-Jan-2023 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/
linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>
It is defined as a synonymous to `seqcount_mutex_t`.
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38152
show more ...
|
| #
68f08e26
|
| 24-Dec-2022 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one i
LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)
in seqcount_mutex_t case with removal of extraneous mutex lock/unlock calls and addition of missing critical section. While here strip one inline wrap layer to reduce code size.
Fixes startup lockup of i915kms after update to drm-kmod v5.12
Reviewed by: hselasky, bz MFC after: 1week Differential Revision: https://reviews.freebsd.org/D37699
show more ...
|