All of lore.kernel.org
 help / color / mirror / Atom feed
* [bug?] 85d2a31fe4d9 ("media: rkisp1: Drop IRQF_SHARED") breaks ISP1 on RK3399
@ 2023-12-17 19:14 Mikhail Rudenko
  2023-12-18  1:53 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Mikhail Rudenko @ 2023-12-17 19:14 UTC (permalink / raw)
  To: Tomi Valkeinen, Laurent Pinchart, Mauro Carvalho Chehab
  Cc: Linux Media Mailing List, Linux-rockchip, linux-kernel

Hi!

Rockchip ISP1 is broken for me on a custom rk3399-based board in the
latest media_stage. Relevant dmesg fragment:

    rkisp1 ff910000.isp0: Adding to iommu group 2
    genirq: Flags mismatch irq 42. 00000004 (rkisp1) vs. 00000084 (ff914000.iommu)
    rkisp1 ff910000.isp0: request irq failed: -16
    rkisp1: probe of ff910000.isp0 failed with error -16
    rkisp1 ff920000.isp1: Adding to iommu group 3
    genirq: Flags mismatch irq 43. 00000004 (rkisp1) vs. 00000084 (ff924000.iommu)
    rkisp1 ff920000.isp1: request irq failed: -16
    rkisp1: probe of ff920000.isp1 failed with error -16

According to rk3399.dtsi, isp interrupts are shared with correponding
mmu interrupts (isp0 with isp0_mmu, isp1 with isp1_mmu), so the subject
commit breaks devm_request_irq. Reverting it fixes the issue for me.

If I'm just missing something, sorry for the noise.

--
Best regards,
Mikhail Rudenko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-18  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17 19:14 [bug?] 85d2a31fe4d9 ("media: rkisp1: Drop IRQF_SHARED") breaks ISP1 on RK3399 Mikhail Rudenko
2023-12-18  1:53 ` Laurent Pinchart
2023-12-18  7:55   ` Tomi Valkeinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.