freebsd-dev/sys/arm
Bjoern A. Zeeb 1f420ed469 The GIC (v2 at least) has a bit in the TYPER register to indicate whether the GIC
supports the Security Extensions or not. This bit is not the same as the CPU one.
Currently we are not checking for either before trying to write to the special
registers.  This can lead to problems on hardware or simulators that do not
provide the security extensions.  Add the missing checks. Their interactions with
the CPU flag is not entirely clear to me but using a macro will make it easier
to quickly adjust the condition once the CPU bits are sorted as well.

Reviewed by:	br
Sponsored by:	DARPA/AFRL
Differential Revision:	https://reviews.freebsd.org/D6397
2016-05-17 13:12:26 +00:00
..
allwinner Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
altera/socfpga Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
amlogic/aml8726 sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
annapurna/alpine Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
arm The GIC (v2 at least) has a bit in the TYPER register to indicate whether the GIC 2016-05-17 13:12:26 +00:00
at91 Use OF_prop_free instead of direct call to free(9) 2016-05-13 22:05:16 +00:00
broadcom/bcm2835 Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
cavium/cns11xx sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
conf Add HWPMC_HOOKS to std.armv6 to make them available 2016-05-16 19:07:58 +00:00
freescale Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
include Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
lpc Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
mv Use OF_prop_free instead of direct call to free(9) 2016-05-13 22:05:16 +00:00
nvidia TEGRA: Also attach gpioc to tegra_gpio driver. Forgotten in r299854. 2016-05-15 15:31:44 +00:00
qemu While gem5 is not qemu, we treat it as "simulators" or "virtual environments". 2016-05-04 16:24:12 +00:00
rockchip Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
samsung/exynos sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
ti Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
versatile Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
xilinx sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
xscale sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00