aboutsummaryrefslogtreecommitdiff
path: root/plat/marvell/a8k/common
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2018-03-21 09:59:59 +0100
committerKonstantin Porotchkin <kostap@marvell.com>2018-09-03 15:47:09 +0300
commitfd1718a2ff27ba44b1662673580828da615f6402 (patch)
tree525bf463a126b7c92ef3c06fc9602cd117e898e5 /plat/marvell/a8k/common
parent349df242edb80143a9b8a944732d9fc8fcead248 (diff)
downloadtrusted-firmware-a-fd1718a2ff27ba44b1662673580828da615f6402.tar.gz
plat: a8k: enable PMU overflow interrupt handler
This patch enables handling PMU overflow IRQ by GIC SPI's directly in EL3. Also implement additional SMC routine, which can disable the solution on demand in runtime. Since it is possible to configure PMU interrupt trigger type in the MADT ACPI table, it is enough to set it only once in EL3 during initialization. Change-Id: Ie76aa62ccc4fd7cabfec9e3d5ed9970ada1c1b2a Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'plat/marvell/a8k/common')
-rw-r--r--plat/marvell/a8k/common/include/platform_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/marvell/a8k/common/include/platform_def.h b/plat/marvell/a8k/common/include/platform_def.h
index f7bd23fa20..06d4fa9cf9 100644
--- a/plat/marvell/a8k/common/include/platform_def.h
+++ b/plat/marvell/a8k/common/include/platform_def.h
@@ -134,6 +134,8 @@
INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_0, GIC_HIGHEST_SEC_PRIORITY, grp, \
GIC_INTR_CFG_LEVEL), \
INTR_PROP_DESC(MARVELL_IRQ_SEC_SGI_6, GIC_HIGHEST_SEC_PRIORITY, grp, \
+ GIC_INTR_CFG_LEVEL), \
+ INTR_PROP_DESC(MARVELL_IRQ_PIC0, GIC_HIGHEST_SEC_PRIORITY, grp, \
GIC_INTR_CFG_LEVEL)
#define PLAT_MARVELL_G1S_IRQ_PROPS(grp) \
@@ -199,4 +201,6 @@
#define BL32_BASE TRUSTED_DRAM_BASE
+#define MVEBU_PMU_IRQ_WA
+
#endif /* __PLATFORM_DEF_H__ */