You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the 0, 1, 2 and 8. 7, 6 for the CEC interrupts - the RDB headers suggest that HDMI1 should have 6, 7, 8 instead.
An email on the linux-arm-kernel mailing list mentioned that the declaration of the AON_INTR2 interrupt controller looked wrong - it is declared to take an IRQ_TYPE_LEVEL_HIGH interrupt from the GIC, but that the driver requests the edge interrupt flow (handle_edge_irq). I can see hotplug interrupts getting through with either the current IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING, but the fact that the interrupt controller has no form of acknowledge/clear register does suggest it uses edges rather than levels to indicate interrupts to the GIC.
Steps to reproduce the behaviour
I've not seen a problem yet, but in theory CEC on HDMI1 looks like it could be broken.
I have recently tested cec on hdmi0 and hdmi1, so can confirm it that both are working.
I don't know whether we want edge or level (except I thought almost everything used edge).
I could test a patch if you want to propose something more correct, but don't have a cec device to test with.
I guess using an edge vs level would be fine in most cases, hence why it could work. I couldn't find any info regarding this, so I guess at the time I just assumed it would be level since the rest of the interrupts were level triggered.
Activity
pelwell commentedon Jan 21, 2022
Any thoughts, @mripard?
popcornmix commentedon Jan 21, 2022
This rings a bell (I remember debugging this). Ah yes:
popcornmix@e51c2f3
pelwell commentedon Jan 21, 2022
Ho hum - there's no audit trail or comment to explain.
That just leaves the question about the edge-triggered interrupt.
popcornmix commentedon Jan 21, 2022
I have recently tested cec on hdmi0 and hdmi1, so can confirm it that both are working.
I don't know whether we want edge or level (except I thought almost everything used edge).
I could test a patch if you want to propose something more correct, but don't have a cec device to test with.
pelwell commentedon Jan 21, 2022
Which kernel would you prefer to test?
pelwell commentedon Jan 21, 2022
See #4838 - it cherry-picks cleanly to 5.15 and 5.16.
popcornmix commentedon Jan 21, 2022
Any kernel is fine. I'll test when I'm home as cec display is more convenient.
mripard commentedon Jan 24, 2022
I guess using an edge vs level would be fine in most cases, hence why it could work. I couldn't find any info regarding this, so I guess at the time I just assumed it would be level since the rest of the interrupts were level triggered.
popcornmix commentedon Jan 24, 2022
I commented on #4838 that the change seems fine with cec and hotplug detect.
pelwell commentedon Jan 24, 2022
Since #4838 is merged and cherry-picked, this issue can be closed.