mbox series

[v2,0/2] irqchip/loongson-eiointc: Add simple irq routing method

Message ID 20230706022849.1272591-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series irqchip/loongson-eiointc: Add simple irq routing method | expand

Message

bibo mao July 6, 2023, 2:28 a.m. UTC
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 eioi node,
rather than use anysend method.

---
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 route on one eioi-node system

 drivers/irqchip/irq-loongson-eiointc.c | 91 ++++++++++++++++++++++----
 1 file changed, 80 insertions(+), 11 deletions(-)

base-commit: d528014517f2b0531862c02865b9d4c908019dc4