From: "Heijligen, Thomas" <thomas.heijligen@secunet.com>
To: "andriy.shevchenko@linux.intel.com"
<andriy.shevchenko@linux.intel.com>,
"lee@kernel.org" <lee@kernel.org>
Cc: "Schumann, Peter" <Peter.Schumann@secunet.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Huber, Nico" <Nico.Huber@secunet.com>,
"michael.brunner@kontron.com" <michael.brunner@kontron.com>
Subject: Re: [PATCH] mfd: kempld: Switch back to earlier ->init() behavior
Date: Thu, 31 Jul 2025 14:42:42 +0000 [thread overview]
Message-ID: <752a83bc9a55ef821288254d2a1b2c4f7fe35b37.camel@secunet.com> (raw)
In-Reply-To: <aID6D-1SsJ1ish5_@smile.fi.intel.com>
On Wed, 2025-07-23 at 18:04 +0300, Andy Shevchenko wrote:
> On Wed, Jul 23, 2025 at 10:56:47AM +0100, Lee Jones wrote:
> >
> > > Commit 9e36775c22c7 ("mfd: kempld: Remove custom DMI matching code")
> > > removes the ability to load the driver if no matching system DMI data
> > > is found. Before this commit the driver could be loaded using
> > > alternative methods such as ACPI or `force_device_id` in the absence
> > > of a matching system DMI entry.
> >
> > You need to Cc the author of this change to give them a say.
>
> Thanks for Cc'ing me.
>
> > > Restore this ability while keeping the refactored
> > > `platform_device_info` table.
>
> So, the error will be returned when CONFIG_DMI=n, or there is no matching entry
> in the table. And the table only is filled when present in the firmware and kernel
> has CONFIG_DMI=y. That's why the original code was iterating via DMI strings in
> a custom way. Besides that there is an ACPI enumeration available, which is not
> visible directly from that piece and hence no error should be returned if no
> matches found.
Correct
>
> Now to prevent similar patches (as mine) appear in the future, can we also add
> a comment on top of the for-loop to explain all this?
I do this and send a v2 patch
>
> With a comment added, you may add my
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Thanks
prev parent reply other threads:[~2025-07-31 14:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 15:27 Heijligen, Thomas
2025-07-23 9:56 ` Lee Jones
2025-07-23 15:04 ` Andy Shevchenko
2025-07-31 14:42 ` Heijligen, Thomas [this message]
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=752a83bc9a55ef821288254d2a1b2c4f7fe35b37.camel@secunet.com \
--to=thomas.heijligen@secunet.com \
--cc=Nico.Huber@secunet.com \
--cc=Peter.Schumann@secunet.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.brunner@kontron.com \
/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®