freebsd-dev/sys
Oleksandr Tymoshenko 3a48aebfbe [rpi] Fix bcm2835_audio locking and samples starvation
Rework general approach to locking and working with audio worker thread:

- Use flags to signal requested worker action
- Fix submitted buffer calculations to avoid samples starvation
- Protect buffer pointers with locks to fix race condition between callback
  and audio worker thread
- Remove unnecessary vchi_service_use
- Do not use lock to serialize VCHI requests since only one thread issues them now
- Fix unloading signaling per hselasky@ suggestion
- Add output to detect inconsistent callback data caused by possible firmware bug
  https://github.com/raspberrypi/firmware/issues/696
- Add stats/debug sysctls to troubleshoot possible bugs

PR:		213687, 205979, 215194
MFC after:	1 week
2016-12-27 19:08:08 +00:00
..
amd64 Fix typo. Remove spurious blank line. 2016-12-18 09:32:23 +00:00
arm [rpi] Fix bcm2835_audio locking and samples starvation 2016-12-27 19:08:08 +00:00
arm64 Add virtio_pci to GENERIC arm64 conf 2016-12-18 11:15:31 +00:00
boot Add a dumpdev example to /boot/defaults/loader.conf 2016-12-22 15:48:54 +00:00
bsm
cam Decouple limits on number of LUNs per port and LUs per CTL. 2016-12-27 18:23:16 +00:00
cddl Remove extra DOF_SEC_XLIMPORT from the DOF_SEC_ISLOADABLE macro 2016-12-16 20:44:14 +00:00
compat Implement more list header file functions. 2016-12-26 10:41:51 +00:00
conf [ig4] Add ACPI platform support for ig4 driver 2016-12-26 22:13:43 +00:00
contrib [vchi] replace non-reproducible __DATE__/__TIME__ with hardcoded string 2016-12-26 02:51:03 +00:00
crypto Add accelerated AES with using the ARMv8 crypto instructions. This is based 2016-11-21 11:18:00 +00:00
ddb Use casts to force an unsigned comparison in db_search_symbol(). 2016-12-14 00:18:12 +00:00
dev sfxge(4): do not limit driver RSS table to RSS channels max 2016-12-27 08:51:26 +00:00
fs Fix NFSv4.1 client recovery from NFS4ERR_BAD_SESSION errors. 2016-12-23 23:14:53 +00:00
gdb
geom build: Unbreak LINT 2016-12-21 01:39:11 +00:00
gnu Add Ingenic X1000 DTS files (unofficial). 2016-11-19 15:03:49 +00:00
i386 Move the objects used to create temporary mappings for i386 pmap zero and copy 2016-12-23 15:14:56 +00:00
isa
kern Make knote KN_INFLUX state counted. This is final fix for the issue 2016-12-26 19:33:40 +00:00
kgssapi
libkern Update r309143 to prevent false sharing. 2016-11-25 17:20:23 +00:00
mips Add driver for JZ4780 RTC device. 2016-12-24 02:31:26 +00:00
modules [ig4] Add ACPI platform support for ig4 driver 2016-12-26 22:13:43 +00:00
net Remove stray debugging code from r310180 2016-12-20 15:45:53 +00:00
net80211 [net80211] turn the default TX key configuration (for WEP) into a vap callback. 2016-12-27 06:10:28 +00:00
netgraph Changes to allow the patching of packets with an offset (and other changes.. see man page) 2016-12-02 10:47:10 +00:00
netinet Whitespace changes. 2016-12-26 11:06:41 +00:00
netinet6 Whitespace changes. 2016-12-26 11:06:41 +00:00
netipsec Add a missing header 2016-11-26 23:15:11 +00:00
netnatm
netpfil Improve upon r309394 2016-12-10 03:31:38 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing 2016-10-20 09:22:10 +00:00
pc98 Add a COMPAT_FREEBSD11 kernel option. 2016-12-09 18:54:12 +00:00
powerpc Use the correct format specifier for physmem chunk sizes. 2016-12-25 20:19:32 +00:00
riscv Disable superpages reservations as we don't have implemented them yet. 2016-11-21 12:00:31 +00:00
rpc
security Audit 'fd' and 'cmd' arguments to fcntl(2), and when generating BSM, 2016-11-22 00:41:24 +00:00
sparc64 Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
sys Make knote KN_INFLUX state counted. This is final fix for the issue 2016-12-26 19:33:40 +00:00
teken
tests
tools
ufs Release laundered vnode pages to the head of the inactive queue. 2016-11-23 17:53:07 +00:00
vm Remove redundancy in vmtotal(). 2016-12-26 19:29:04 +00:00
x86 xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
xdr
xen xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
Makefile