Open FlyGoat opened 3 months ago
You need an interrupt-map in the PCI host bridge to map the PCI interrupts to the &pic.
You need an interrupt-map in the PCI host bridge to map the PCI interrupts to the &pic.
It's pretty hard to do it this way due to limitations on granularity of interrupt-map
, our pci_bridges have different-ish mapping rule.
Also some devices have more than one interrupts from devicetree.
So you are saying the PCI interrupt for the device has no effect? Or you have both PCI interrupts and some sideband interrupts?
So you are saying the PCI interrupt for the device has no effect? Or you have both PCI interrupts and some sideband interrupts?
PCI interrupt from the device has no effect. Some of devices are not using standard PCI interrupt delivery. Only PCI to PCI bridges under the host controller are using standard PCI legacy interrupt.
I'm trying to get MIPS
loongson/loongson64g_4core_ls7a.dtb
passing dt schema checks.After fixing #100 I fall into errors like:
On nodes like:
This is because in our pci device schema
pci-device.yaml
, we assumedinterrupts
must be one of the PCI legacy interrupt:I do think
loongson64g_4core_ls7a.dtb
's use case is somehow legitimate, how can we reasonably accommodate in schema?Thanks