[rtems commit] bsp/qoriq: Fix hypervisor guest IRQ support
Sebastian Huber
sebh at rtems.org
Mon Jan 22 09:39:11 UTC 2018
Module: rtems
Branch: master
Commit: 2f54488f7497e94e92558457251e02d19f22aaf1
Changeset: http://git.rtems.org/rtems/commit/?id=2f54488f7497e94e92558457251e02d19f22aaf1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jan 15 13:55:41 2018 +0100
bsp/qoriq: Fix hypervisor guest IRQ support
Update #3085.
---
c/src/lib/libbsp/powerpc/qoriq/irq/irq.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c b/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
index 2af3c51..3ead10f 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
@@ -105,7 +105,11 @@ void bsp_interrupt_dispatch(uintptr_t exception_number)
}
#endif
- ev_int_iack(0, &vector);
+ /*
+ * This works only if the "has-external-proxy" property is present in the
+ * "epapr,hv-pic" device tree node.
+ */
+ vector = PPC_SPECIAL_PURPOSE_REGISTER(FSL_EIS_EPR);
if (vector != SPURIOUS) {
uint32_t msr;
More information about the vc
mailing list