Re: [PATCH v4 2/3] hw/intc/loongarch_pch_pic: add irq number property

2022-12-30 Thread Philippe Mathieu-Daudé
On 30/12/22 10:59, Tianrui Zhao wrote: With loongarch 7A1000 manual, irq number supported can be set in PCH_PIC_INT_ID_HI register. This patch adds irq number property for loongarch_pch_pic, so that virt machine can set different irq number when pch_pic intc is added. Signed-off-by: Tianrui Zhao

[PATCH v4 2/3] hw/intc/loongarch_pch_pic: add irq number property

2022-12-30 Thread Tianrui Zhao
With loongarch 7A1000 manual, irq number supported can be set in PCH_PIC_INT_ID_HI register. This patch adds irq number property for loongarch_pch_pic, so that virt machine can set different irq number when pch_pic intc is added. Signed-off-by: Tianrui Zhao --- hw/intc/loongarch_pch_pic.c