arm-trusted-firmware/drivers/arm
Soby Mathew 38a7861450 Fix GIC_IPRIORITYR setting in new drivers
The code to set the interrupt priority for secure interrupts in the
new GICv2 and GICv3 drivers is incorrect. The setup code to configure
interrupt priorities of secure interrupts, one interrupt at a time, used
gicd_write_ipriorityr()/gicr_write_ipriority() function affecting
4 interrupts at a time. This bug did not manifest itself because all the
secure interrupts were configured to the highest secure priority(0) during
cold boot and the adjacent non secure interrupt priority would be configured
later by the normal world. This patch introduces new accessors,
gicd_set_ipriorityr() and gicr_set_ipriorityr(), for configuring priority
one interrupt at a time and fixes the the setup code to use the new
accessors.

Fixes ARM-software/tf-issues#344

Change-Id: I470fd74d2b7fce7058b55d83f604be05a27e1341
2016-02-09 16:50:36 +00:00
..
cci Use uintptr_t as base address type in ARM driver APIs 2015-07-09 11:53:32 +01:00
cci400 Fix debug assertion in deprecated CCI-400 driver 2015-10-12 10:21:55 +01:00
ccn Add a generic driver for ARM CCN IP 2015-09-14 22:09:40 +01:00
gic Fix GIC_IPRIORITYR setting in new drivers 2016-02-09 16:50:36 +00:00
pl011 Disable PL011 UART before configuring it 2016-01-21 17:27:47 +00:00
sp804 Add SP804 delay timer driver 2015-06-18 16:06:26 +01:00
sp805 Add a simple ARM SP805 watchdog driver 2015-11-27 09:34:20 +00:00
tzc400 Remove the assert for TZC base during initialization 2015-12-08 15:32:43 +00:00