freebsd-nq/sys/arm64
Zbigniew Bodek 513411c9f5 Fix bugs in interrupts allocation on ARM64
Separate interrupt descriptors lookup from allocation. It was possible
to perform config on non-existing interrupt simply by allocating spurious
descriptor.
Must lock the interrupt descriptors table lookup to avoid mismatches.
This ought to prevent trouble while setting up new interrupt
and dispatching existing one.
Use spin mutex rather than sleep mutex. This is mainly due to lock in
arm_dispatch_intr.
This should be eventually changed to a lock-less solution without
walking through a linked list on each interrupt.

Reviewed by:   andrew, wma
Obtained from: Semihalf
Sponsored by:  Cavium
Differential Revision: https://reviews.freebsd.org/D5121
2016-02-11 11:57:13 +00:00
..
acpica Add ARM64TODO comments to ACPI PCI stubs 2015-07-12 18:32:16 +00:00
arm64 Fix bugs in interrupts allocation on ARM64 2016-02-11 11:57:13 +00:00
cavium Fix VNIC enumeration after r294993 and r294990 2016-01-28 16:58:49 +00:00
cloudabi64 Add support for CloudABI on ARM64. 2015-10-22 11:09:25 +00:00
conf Revert r294267 to avoid using experimental VFS_AIO in ARM64's GENERIC 2016-01-20 11:34:22 +00:00
include Minor clean-ups for ARM64 GICv3 and GIC drivers 2016-02-11 11:55:37 +00:00