From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Lee Jones <lee@kernel.org>
Cc: "Heijligen, Thomas" <thomas.heijligen@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>,
"Schumann, Peter" <Peter.Schumann@secunet.com>
Subject: Re: [PATCH] mfd: kempld: Switch back to earlier ->init() behavior
Date: Wed, 23 Jul 2025 18:04:47 +0300 [thread overview]
Message-ID: <aID6D-1SsJ1ish5_@smile.fi.intel.com> (raw)
In-Reply-To: <20250723095647.GS11056@google.com>
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.
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?
With a comment added, you may add my
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2025-07-23 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 15:27 [PATCH] mfd: kempld: Switch back to earlier ->init() behavior Heijligen, Thomas
2025-07-23 9:56 ` Lee Jones
2025-07-23 15:04 ` Andy Shevchenko [this message]
2025-07-31 14:42 ` Heijligen, Thomas
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=aID6D-1SsJ1ish5_@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=Nico.Huber@secunet.com \
--cc=Peter.Schumann@secunet.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.brunner@kontron.com \
--cc=thomas.heijligen@secunet.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.