Re: [PATCH v1 1/2] ACPI: platform: Ignore SMB0001 only when it has resources
From: Michael Brunner
Date: Wed Jun 21 2023 - 09:29:00 EST
On Wed, 2023-06-21 at 16:19 +0300, andriy.shevchenko@xxxxxxxxxxxxxxx
wrote:
> On Wed, Jun 21, 2023 at 11:30:56AM +0200, Andi Shyti wrote:
> > On Wed, Jun 21, 2023 at 07:46:42AM +0000, Michael Brunner wrote:
> > > On Tue, 2023-06-20 at 19:35 +0300, Andy Shevchenko wrote:
> > > > After switchind i2c-scmi driver to be a plaform one it stopped
> > > > being enumerated on number of Kontron platformsm, because it's
> > > > listed in the forbidden_id_list.
> > > >
> > > > To resolve the situation, split the list to generic one and
> > > > another that holds devices that has to be skiped if and only if
> > > > they have bogus resources attached (_CRS method returns some).
> > > >
> > > > Fixes: 03d4287add6e ("i2c: scmi: Convert to be a platform
> > > > driver")
> > > > Closes:
> > > > https://lore.kernel.org/r/60c1756765b9a3f1eab0dcbd84f59f00fe1caf48.camel@xxxxxxxxxxx
> > > > Reported-by: Michael Brunner <michael.brunner@xxxxxxxxxxx>
> > > > Signed-off-by: Andy Shevchenko <
> > > > andriy.shevchenko@xxxxxxxxxxxxxxx>
> > >
> > > Works as expected - the SMB0001 device shows up as platform
> > > device and
> > > the i2c-scmi driver is enumerated again on the affected boards.
> > > Thanks a lot!
> >
> > is this a "Tested-by: Michael Brunner <michael.brunner@xxxxxxxxxxx>
> > " :)
>
> Michael, indeed, it would be nice to have a formal tag.
> After that I will send a v2 with tags and fixed typos
> as Andi noticed (thank you, Andi!).
No problem:
Tested-by: Michael Brunner <michael.brunner@xxxxxxxxxxx>
Best regards,
Michael