Re: [PATCH v2 1/2] gpio: mlxbf2: Introduce IRQ support

From: Andrew Lunn
Date: Thu Sep 23 2021 - 10:45:03 EST


> No we don't. I double checked with the HW team and they confirmed that
> YU_GPIO_CAUSE_FALL_EN and YU_GPIO_CAUSE_RISE_EN are used in
> Both level and edge interrupts cases.

How? They are different things.

I suggest you test this. Make sure a level interrupt real does fire on
level. One simple test is use a resistor to force the interrupt pin
low. Your machine should then die in an interrupt storm, until the
kernel declares the interrupt broken and disables it.

Andrew