diff options
author | Duc Dang <dhdang@apm.com> | 2015-10-06 15:32:38 -0700 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-10-09 22:16:58 +0100 |
commit | ee5f7d6462c56ba083d5d80aa0d69914068a59ae (patch) | |
tree | d9c03c9b09537ee96b35e43bcf51e53e33d157e2 /include/linux/irqchip | |
parent | 6d32ab2d8a982ffd46c4dcad9739292f57bc26de (diff) | |
download | lwn-ee5f7d6462c56ba083d5d80aa0d69914068a59ae.tar.gz lwn-ee5f7d6462c56ba083d5d80aa0d69914068a59ae.zip |
irqchip/gic-v2m: Add workaround for APM X-Gene GICv2m erratum
APM X-Gene GICv2m implementation has an erratum where the
MSI data needs to be the offset from the spi_start in order to
trigger the correct MSI interrupt. This is different from the
standard GICv2m implementation where the MSI data is the absolute
value within the range from spi_start to (spi_start + num_spis)
of each v2m frame.
This patch reads MSI_IIDR register (present in all GICv2m
implementations) to identify X-Gene GICv2m implementation and
apply workaround to change the data portion of MSI vector.
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Duc Dang <dhdang@apm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/irqchip')
0 files changed, 0 insertions, 0 deletions