[PATCH v6 0/2] irqchip/loongson-eiointc: Add simple irq routing method

From: Bibo Mao
Date: Fri Aug 11 2023 - 05:58:14 EST


Fix return value checking of eiointc_index where int type
is converted uint32_t and check smaller than 0.

Add simple irq route support on system with only one eiointc node,
rather than use anysend method.

---
Changes in v6:
Remove QEMU virt machine eiointc supports, will provide extra patch
when eiointc model is fixed, now eiointc model keeps the same with
physical machine.

Changes in v5:
Modify typo issue.

Changes in v4:
Modify some spell checking problems.
Add Fixes tag.

Changes in v3:
Modify some spell checking problems.

Changes in v2:
Use the simple irq routing on embeded board like 2K0500 and 2K2000
board, since there is only one eio node.

---
Bibo Mao (2):
irqchip/loongson-eiointc: Fix return value checking of eiointc_index
irqchip/loongson-eiointc: Simplify irq routing on some platforms

drivers/irqchip/irq-loongson-eiointc.c | 82 +++++++++++++++++++++++---
1 file changed, 75 insertions(+), 7 deletions(-)

--
2.27.0