gpt4 book ai didi

linux - PCIe中断路由

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:25:06 24 4
gpt4 key购买 nike

我目前正在 xilinx PFGA 中实现 PCIE 端点设备,但在中断方面遇到了一些问题。

当驱动程序初始化时,它将中断映射到 IRQ 32

[ 1078.938669]   alloc irq_desc for 32 on node -1
[ 1078.938670] alloc kstat_irqs on node -1
[ 1078.938675] pci 0000:06:00.0: PCI INT A -> GSI 32 (level, low) -> IRQ 32

但是,当中断触发时,

[ 1134.850064] irq 16: nobody cared (try booting with the "irqpoll" option)
[ 1134.850067] Pid: 0, comm: swapper Tainted: P 2.6.32-5-amd64 #1
[ 1134.850069] Call Trace:
[ 1134.850070] <IRQ> [<ffffffff81095d89>] ? __report_bad_irq+0x30/0x7d
.
.
.
[ 1134.850119] handlers:
[ 1134.850120] [<ffffffffa0e7935e>] (azx_interrupt+0x0/0x11d [snd_hda_intel])
[ 1134.850124] Disabling IRQ #16

irq 似乎被路由到另一个引脚 IRQ #16。我使用了 PCIe msi 中断。是什么导致了这个问题?

最佳答案

我想你可能使用 ML555 板。这是一个关于 ML555 上的 PCIE 驱动程序的网站。幸运的是它还活着。 https://asim.csail.mit.edu/redmine/projects/leap-platforms/repository/show/trunk/drivers/linux/platforms/htg-pcie-virtex5/src我也遇到了一些关于 pcie 设备驱动程序的障碍。所以我们可以就此进行交流。

关于linux - PCIe中断路由,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14217311/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com