Re: [PATCH v2 3/8] hw/pci-host/bonito: Fixup IRQ mapping

2020-12-21 Thread Philippe Mathieu-Daudé
On 12/19/20 8:18 AM, Jiaxun Yang wrote: > Accroading to arch/mips/pci/fixup-fuloong2e.c in kernel, > despites south bridge IRQs needs special care, all other > IRQ pins are mapped by 'LOONGSON_IRQ_BASE + 25 + pin'. > > As south bridge IRQs are all handled by ISA bus, we can simply > remove BONITO_

[PATCH v2 3/8] hw/pci-host/bonito: Fixup IRQ mapping

2020-12-18 Thread Jiaxun Yang
Accroading to arch/mips/pci/fixup-fuloong2e.c in kernel, despites south bridge IRQs needs special care, all other IRQ pins are mapped by 'LOONGSON_IRQ_BASE + 25 + pin'. As south bridge IRQs are all handled by ISA bus, we can simply remove BONITO_IRQ_BASE and direct map IRQs here. Signed-off-by: J