vchiq: Rename timer func so they do not conflict with linuxkpi
sx: retire SX_NOADAPTIVEThe flag is not used by anything for years and supporting it requires anexplicit read from the lock when entering slow path.Flag value is left unused on purpose.Sponsor
sx: retire SX_NOADAPTIVEThe flag is not used by anything for years and supporting it requires anexplicit read from the lock when entering slow path.Flag value is left unused on purpose.Sponsored by: The FreeBSD Foundation
show more ...
vchiq: Use mallocarray() to provide kcalloc()This means we now also provide integer overflow protection, like theLinux kcalloc().
Stop including sys/types.h from arm's machine/atomic.h, fix the placeswhere atomic.h was being included without ensuring that types.h (viaparam.h) was included first, as required by atomic(9).
Reduce dmesg verbosity.
Fix locking for VCHI driver by matching sleepable/non-sleepable APIs:- Emulate Linux mutex API using sx(9) locks with only exclusive operations instead of mutex(9), in Linux mutexes are sleepab
Fix locking for VCHI driver by matching sleepable/non-sleepable APIs:- Emulate Linux mutex API using sx(9) locks with only exclusive operations instead of mutex(9), in Linux mutexes are sleepable.- Emulate Linux rwlock_t using rwlock(9) instead of sx(9). rwlock_t in Linux are spin locks
CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than tenyears for head. However, it is continuously misused as the mpsafe argumentfor callout_init(9). Deprecate the flag and cle
CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than tenyears for head. However, it is continuously misused as the mpsafe argumentfor callout_init(9). Deprecate the flag and clean up callout_init() callsto make them more consistent.Differential Revision: https://reviews.freebsd.org/D2613Reviewed by: jhbMFC after: 2 weeks
Fix build without INVARIANTS/INVARIANT_SUPPORT:- Replace "emulation" of return in lmutex_lock_interruptible macros by proper static/inline function.Submitted by: Guy Yur
Import VCHI driver for Broadcom's VideoCore IV GPUDifferential Revision: D1753