我正在使用传统的PCIe中断机制(Virtual INTx),根据我的PCIe控制器用户指南,在传统的中断机制中断言或取消确认虚拟INTx消息将从EP设备接收,并根据该PCIe核心将生成或分别清除中断信号 如果我只有一个EP而且只有一个功能,我是否需要在设备树(DTS)中使用“中断映射”功能? 据我了解,
pci @ 0xfb000000 {
interrupts = <1 1>; //PCIe RP INTA IRQ1, Only this info is enough ??
interrupt-parent = <&pic>;
/*Do we need follow info also ??? */
#interrupt-cells = <0x1>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = < 0x0 0x0 0x0 0x1 &pcie_intc 0x1
0x0 0x0 0x0 0x2 &pcie_intc 0x2
0x0 0x0 0x0 0x3 &pcie_intc 0x3
0x0 0x0 0x0 0x4 &pcie_intc 0x4 >;
}