Re: Bug report: probe of AMDI0040:00 failed with error -16

Rafael J. Wysocki
2024-03-22T14:49:41Z

On Fri, Mar 22, 2024 at 3:28 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Thu, Mar 21, 2024 at 5:33 PM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>
> > We actually can get away without defining a new IRQ flag, as in
> > the patch below.
> >
> > It is not super-clean, but should do the work.
> >
> > Linus, what do you think?
>
> Uhhh I rather not, the other approach will cover the invariably recurring
> instances of this, it will not be the last time we see something like this.

I'm not actually sure how likely this is.

The ACPI SCI is generally heavy-wieght, so it is not shared very often
(and I believe that there is a particular reason for sharing it with a
GPIO chip) and this very well may be an exception.

> We need tglx input on this, I could merge the patch below with some
> big TODO to fix it properly if the discussion about the proper solution
> takes too much time.
>
> But I rather not hack around with IRQs without tglx (or marcz, but he
> got overloaded) input.

Fair enough.

I guess I'll post the first patch with a proper changelog next week
and we'll see.

Thanks!