Re: [PATCH V14 02/15] APCI: irq: Add support for multiple GSI domains

From: Jianmin Lv
Date: Thu Jul 07 2022 - 23:21:42 EST




On 2022/7/7 下午6:16, Marc Zyngier wrote:
On Sun, 03 Jul 2022 09:45:19 +0100,
Jianmin Lv <lvjianmin@xxxxxxxxxxx> wrote:

From: Marc Zyngier <maz@xxxxxxxxxx>

In an unfortunate departure from the ACPI spec, the LoongArch
architecture split its GSI space across multiple interrupt
controllers.

In order to be able to reuse the core code and prevent
architectures from reinventing an already square wheel, offer
the arch code the ability to register a dispatcher function
that will return the domain fwnode for a given GSI.

The ARM GIC drivers are updated to support this (with a single
domain, as intended).

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Cc: Hanjun Guo <guohanjun@xxxxxxxxxx>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx>

This patch was reviewed and tested by Hanjun. Why aren't the tags
included here?


Ok, thanks for your guidance, I'll add them in next version.

M.