我愿将IRQ的手稿登记在军械64 支气管模块中,舱面为5.4.0,我使用<代码>request_irq,并登记。 但是,当IRQ发生时,斜线报告。 收到的意外中断! 因此,我不知道如何解决这一问题。
I m trying to use request_irq
to register an IRQ handler in arm64 Linux ko:
err = request_irq(40, irq_handler, IRQF_SHARED, "hvisor", &hvisor_misc_dev);
并且没有错误。 但是,当我把IRQ40
从第2条到第1条时,LC报告的信息是:
[ 87.294702] Unexpected interrupt received!
[ 87.295733] WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3.c:650 gic_handle_irq+0x124/0x158
Why would this happen and how can I solve it? Who can help me, thanks a lot!