What do I need to do to make interrupts work in EL2 on i.MX8M? Is there a set up sequence I can follow?
Interrupts are operational on my i.MX8M target at EL1. And at EL2, if I switch methods to polling, the required functionality works.
So it all points to that I am missing something in my interrupts setup. Any help would be greatly appreciated.
Which Linux BSP are you using? do you have an error Log? Do you have something to share that helps to reproduced the issue in a EVK board?
We are not working from a BSP. We are developing our own custom image that will be used in a testing/verification environment. There are no error messages being reported so there is nothing that I can give you on that.
Check HCR_EL2 system registers from ARMv8-A doc to enable VM feature and physical interrupt routing, then you will catch IRQ in EL2.
Can you be specific about enabling the VM feature? Which bit(s) of the HCR_EL2 register do I need to modify?