interrupts at EL2 on i.MX8M

cancel
Showing results for 
Search instead for 
Did you mean: 

interrupts at EL2 on i.MX8M

233 Views
pnee
Contributor II

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.  

4 Replies

150 Views
jamesbone
NXP TechSupport
NXP TechSupport

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?

0 Kudos

150 Views
pnee
Contributor II

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. 

0 Kudos

150 Views
pengfan
NXP Employee
NXP Employee

Check HCR_EL2 system registers from ARMv8-A doc to enable VM feature and physical interrupt routing, then you will catch IRQ in EL2.

150 Views
pnee
Contributor II

Can you be specific about enabling the VM feature? Which bit(s) of the HCR_EL2 register do I need to modify? 

0 Kudos