Re: [PATCH] irqchipi/gic-v4: Ensure accessing the correct RD when and writing INVLPIR

From: Marc Zyngier
Date: Tue May 16 2023 - 06:15:59 EST


On Thu, 13 Apr 2023 04:57:17 +0100,
Kunkun Jiang <jiangkunkun@xxxxxxxxxx> wrote:
>
> > Wouldn't it be nice if irq_to_cpuid() could work out whether it is
> > dealing with a LPI or a VLPI like it does today, but also directly
> > with a VPE? We could then use the same code as derect_lpi_inv(). I
> > came up with this the hack below, which is totally untested as I don't
> > have access to GICv4.1 HW.
> >
> > Could you give it a spin?
>
> Nice, I will test it as soon as possible.

Did you ever managed to test this?

Thanks,

M.

--
Without deviation from the norm, progress is not possible.