Interrupt questions

Vincent DEFERT <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi,

I'm working on an I2C driver for the Meson architecture, which I'm 
testing on an ODROID C2.
So far, the driver correctly attaches to the FDT and successfully 
receives the ioctl from my test program.
However, it looks like the interrupt handler doesn't get called.

Is calling fdtbus_intr_establish_xname() enough to configure and enable 
the interrupt, or is there anything else I should do?

Is it legal to call uprintf() inside an interrupt handler?
If not, is there another way to add traces?

Thank you!

Vincent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.