freebsd-dev/sys/x86
Adrian Chadd 7cfecbb95b Add a witness check to enforce that no non-sleeping locks are held when
they shouldn't be.

I used this during driver bring-up to find that the Linux driver holds a
whole lot of locks whilst doing their equivalent of busdma operations.

If this works out well, it should be added to the other architecture busdma
implementations to aid in similar debugging.

Tested:

* bounce buffer and dmar busdma, Lenovo X230 laptop, all the internal
  hardware
* ath(4) too

Discussed with: jhb
2016-11-03 23:11:33 +00:00
..
acpica Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
bios Add missing header needed by free(9). 2012-09-30 15:42:20 +00:00
cpufreq Add powerd(8) support for several families of AMD CPUs. 2016-10-27 21:31:56 +00:00
include MFamd64: Add bounds checks on addresses used with /dev/mem. 2016-10-27 21:23:14 +00:00
iommu Add additional constants. 2016-08-09 19:02:14 +00:00
isa Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
pci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
x86 Add a witness check to enforce that no non-sleeping locks are held when 2016-11-03 23:11:33 +00:00
xen xen/intr: add reference counts to event channels 2016-10-31 13:00:53 +00:00