mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Brunner <michael.brunner@kontron.com>
To: "josef@oderland.se" <josef@oderland.se>,
	"andriy.shevchenko@linux.intel.com" 
	<andriy.shevchenko@linux.intel.com>,
	"hdegoede@redhat.com" <hdegoede@redhat.com>,
	"wsa@kernel.org" <wsa@kernel.org>
Cc: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Ingmar Klein <Ingmar.Klein@kontron.com>
Subject: Re: [PATCH v1 1/1] i2c: scmi: Convert to be a platform driver
Date: Mon, 15 May 2023 07:51:55 +0000	[thread overview]
Message-ID: <60c1756765b9a3f1eab0dcbd84f59f00fe1caf48.camel@kontron.com> (raw)
In-Reply-To: <Yxm9tlb4H7fspRMZ@smile.fi.intel.com>

On Thu, 2022-09-08 at 13:02 +0300, Andy Shevchenko wrote:
> On Thu, Sep 08, 2022 at 09:48:29AM +0200, Josef Johansson wrote:
> > On 9/8/22 08:07, Josef Johansson wrote:
> > > On 9/7/22 21:47, Wolfram Sang wrote:
> > > > On Tue, Sep 06, 2022 at 06:55:07PM +0300, Andy Shevchenko
> > > > wrote:
> > > > > ACPI core in conjunction with platform driver core provides
> > > > > an infrastructure to enumerate ACPI devices. Use it in order
> > > > > to remove a lot of boilerplate code.
> > > > > 
> > > > > Signed-off-by: Andy Shevchenko <
> > > > > andriy.shevchenko@linux.intel.com>
> > > > Josef, do you have resources to test this patch before I apply
> > > > it?
> > > > 
> > > Yes, I'll make that happen today.
> > Hi,
> > 
> > I compiled with linux-6.0.0-rc4 with your patch on top.
> > 
> > Have been running flawless so far. Boot showed no problems.
> > 
> > Thanks!
> 
> Thank you!
> 

Hi,

We just noticed that this change prevents the usage of the i2c-scmi
driver on basically all Kontron COMe based boards.
The reason is the patch "ACPI / platform: Add SMB0001 HID to
forbidden_id_list" submitted in November 2018 by Hans de Goede. The
patch blacklists the SMB0001 HID that is also used by the COMe boards.
This was due to issues with HP AMD based laptops according to the
commit message.
Ironically the commit message there states that it is OK to blacklist
the HID as the device directly binds to the acpi_bus and therefore the
platform_device is not needed anyway. This changed with this patch.

As this affects all systems using this HID, applying a patch that
whitelists specific boards again in the acpi-platform driver doesn't
seem to be a good solution to me.
Therefore I would request to remove this patch again, unless someone
has a better idea.

Thanks,
  Michael Brunner

  reply	other threads:[~2023-05-15  7:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 15:55 Andy Shevchenko
2022-09-07 19:47 ` Wolfram Sang
2022-09-08  6:07   ` Josef Johansson
2022-09-08  7:48     ` Josef Johansson
2022-09-08 10:02       ` Andy Shevchenko
2023-05-15  7:51         ` Michael Brunner [this message]
2023-06-15 15:50           ` andriy.shevchenko
2023-06-19  7:07             ` Michael Brunner
2022-09-16 19:35 ` Wolfram Sang
2022-09-16 19:43   ` Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60c1756765b9a3f1eab0dcbd84f59f00fe1caf48.camel@kontron.com \
    --to=michael.brunner@kontron.com \
    --cc=Ingmar.Klein@kontron.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=josef@oderland.se \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wsa@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®