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

2023-01-05 Thread gaosong
在 2023/1/4 上午10:05, 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

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

2023-01-03 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