freebsd-nq/sys/arm64
Konstantin Belousov 0510aedcd5 Do not execute exception handlers with disabled interrupts.
We should not call vm_fault(), or send a signal, with interrupts
disabled.  MI kernel code is not prepared for such environment, not to
mention that this increases system latency, since code appears to be
executing as being under spinlock.

The FAR register for data aborts is read before the interrupts are
enabled, to avoid its corruption due to nested exception or context
switch.

Add asserts, similar to the checks done by other architectures, about
not taking page faults in non-sleepable contexts, rather than die with
late and somewhat confusing witness diagnostic.

Reviewed by:	andrew
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3669
2015-09-18 17:09:59 +00:00
..
acpica Add ARM64TODO comments to ACPI PCI stubs 2015-07-12 18:32:16 +00:00
arm64 Do not execute exception handlers with disabled interrupts. 2015-09-18 17:09:59 +00:00
cavium Add support for external PCIe (PEM) on Cavium's ThunderX 2015-08-08 21:32:03 +00:00
conf arm64: add xhci driver and umass/ukbd to GENERIC for Cavium ThunderX 2015-09-15 19:59:35 +00:00
include Clear exclusive monitors when handling data aborts, the monitors are 2015-09-18 16:52:18 +00:00