Re: [PATCH v4 3/3] hw/intc/loongarch_pch: Change default irq number of pch irq controller

2022-12-30 Thread Philippe Mathieu-Daudé
On 30/12/22 10:59, Tianrui Zhao wrote: Change the default irq number of pch pic to 32, so that the irq number of pch msi is 224(256 - 32), and move the 'PCH_PIC_IRQ_NUM' macro to pci-host/ls7a.h and add prefix 'VIRT' on it to keep standard format. Signed-off-by: Tianrui Zhao --- hw/intc/loong

[PATCH v4 3/3] hw/intc/loongarch_pch: Change default irq number of pch irq controller

2022-12-30 Thread Tianrui Zhao
Change the default irq number of pch pic to 32, so that the irq number of pch msi is 224(256 - 32), and move the 'PCH_PIC_IRQ_NUM' macro to pci-host/ls7a.h and add prefix 'VIRT' on it to keep standard format. Signed-off-by: Tianrui Zhao --- hw/intc/loongarch_pch_pic.c | 3 ++- hw/loongar