freebsd-dev/sys/arm
Ian Lepore 192122bd62 In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS
ioctl(2) handling.  This allows doing the pps_event() work in the polling
routine, instead of using a taskqueue task to do that work.

Also, add PNPINFO, and switch to using make_dev_s() to create the cdev.

Using a spin mutex and calling pps_event() from the polling function works
around the situation which requires more than 2 sets of timecounter
timehands in a single-core system to get reliable PPS capture.  That problem
would happen when a single-core system is idle in cpu_idle() then gets woken
up with an event timer event which was scheduled to handle a hardclock tick.
That processing path would end up calling tc_windup 3 or 4 times between
when the tc polling function was called and when the taskqueue task would
eventually run, and with only two sets of timehands, the th_generation count
would always be too old to allow the captured PPS data to be used.
2019-09-10 22:08:34 +00:00
..
allwinner arm: allwinner: Set aw_ccu to BUS_PASS_BUS 2019-08-15 18:57:48 +00:00
altera/socfpga o Add support for multi-port instances of Synopsys DesignWare APB GPIO 2019-09-04 15:37:24 +00:00
amlogic/aml8726 Implement missing MMCBR ivars 2019-07-04 14:15:04 +00:00
annapurna/alpine
arm Change synchonization rules for vm_page reference counting. 2019-09-09 21:32:42 +00:00
broadcom/bcm2835 [rpi] Inherit framebuffer BPP value from the VideoCore firmware 2019-09-08 09:47:21 +00:00
cloudabi32
conf Include dwgpio to the build. 2019-09-04 15:55:44 +00:00
freescale Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
include Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
mv arm64: a37x0_gpio: Use syscon instead of MMIO region 2019-08-19 14:28:54 +00:00
nvidia Change synchonization rules for vm_page reference counting. 2019-09-09 21:32:42 +00:00
qemu
ralink Remove support for kernel.tramp and kernel.tramp.gz 2019-07-27 17:24:19 +00:00
rockchip Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
samsung/exynos exynos5: avoid NULL deref in error case 2019-08-30 00:36:17 +00:00
ti In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS 2019-09-10 22:08:34 +00:00
versatile Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
xilinx