|
|
Log in / Subscribe / Register

irqchip/loongson-eiointc: Add simple irq routing method

From:  Bibo Mao <maobibo-AT-loongson.cn>
To:  Huacai Chen <chenhuacai-AT-kernel.org>, Jiaxun Yang <jiaxun.yang-AT-flygoat.com>, Marc Zyngier <maz-AT-kernel.org>
Subject:  [PATCH v3 0/2] irqchip/loongson-eiointc: Add simple irq routing method
Date:  Tue, 11 Jul 2023 20:08:05 +0800
Message-ID:  <20230711120807.1805186-1-maobibo@loongson.cn>
Cc:  linux-mips-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Jianmin Lv <lvjianmin-AT-loongson.cn>, loongson-kernel-AT-lists.loongnix.cn
Archive-link:  Article

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 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 | 91 ++++++++++++++++++++++----
 1 file changed, 80 insertions(+), 11 deletions(-)

-- 
2.27.0



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds