freebsd-nq/sys/arm
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
..
allwinner Allwinner clk: factor M for mod clock is 4 bits, not 5 2016-12-22 15:01:06 +00:00
altera/socfpga Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read 2016-11-14 12:03:08 +00:00
amlogic/aml8726 Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
annapurna/alpine To allow for an ACPI attachment to the generic PCIe driver split off the 2016-11-21 18:24:05 +00:00
arm Split the DesignWare HDMI-specific code from imx6_hdmi.c into a separate 2016-12-20 01:34:29 +00:00
at91 ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
broadcom/bcm2835 [rpi] Fix bcm2835_audio locking and samples starvation 2016-12-27 19:08:08 +00:00
cavium/cns11xx Fix device delete child function. 2016-10-17 10:20:38 +00:00
cloudabi32 Add very preliminary support for CloudABI for ARMv6. 2016-09-18 11:36:54 +00:00
conf Implement drivers for NVIDIA tegra124 display controller, HDMI source 2016-12-26 14:36:05 +00:00
freescale [iMX6] Fix SDMA driver build 2016-12-21 01:38:44 +00:00
include Fix the armv6 build after r309553. 2016-12-06 06:15:28 +00:00
lpc ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
mv Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read 2016-11-14 12:03:08 +00:00
nvidia Implement drivers for NVIDIA tegra124 display controller, HDMI source 2016-12-26 14:36:05 +00:00
qemu All armv6 platforms have the same implementation of platform_lastaddr. 2016-12-16 10:31:13 +00:00
rockchip All armv6 platforms have the same implementation of platform_lastaddr. 2016-12-16 10:31:13 +00:00
samsung/exynos ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
ti ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
versatile Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
xilinx Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
xscale Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00