Re: [PATCH V14 03/15] ACPI: irq: Allow acpi_gsi_to_irq() to have an arch-specific fallback

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




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

From: Marc Zyngier <maz@xxxxxxxxxx>

It appears that the generic version of acpi_gsi_to_irq() doesn't
fallback to establishing a mapping if there is no pre-existing
one while the x86 version does.

While arm64 seems unaffected by it, LoongArch is relying on the x86
behaviour. In an effort to prevent new architectures from reinventing
the proverbial wheel, provide an optional callback that the arch code
can set to restore the x86 behaviour.

Hopefully we can eventually get rid of this in the future once
the expected behaviour has been clarified.

Reported-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx>

Same thing about this patch. It is your duty to collect the tags when
you repost a series.


Ok, thanks, I'll add tags from Hanjun.


Thanks,

M.