From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
platform-driver-x86@vger.kernel.org, Patil.Reddy@amd.com,
mario.limonciello@amd.com
Subject: Re: [PATCH v1 1/2] platform/x86/amd/pmf: Use existing input event codes to update system states
Date: Wed, 10 Jul 2024 14:03:37 +0300 (EEST) [thread overview]
Message-ID: <64907eb0-7c69-7615-27f6-521d149b3b0c@linux.intel.com> (raw)
In-Reply-To: <a08a9721-7aa0-4c3b-95b0-a7695a2f6d80@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
On Wed, 10 Jul 2024, Hans de Goede wrote:
> On 7/6/24 3:09 PM, Ilpo Järvinen wrote:
> > On Tue, 2 Jul 2024, Shyam Sundar S K wrote:
> >
> >> At present, the PMF driver employs custom system state codes to update
> >> system states. It is recommended to replace these with existing input
> >
> > This change entirely removes the way userspace worked before this change?
> > We cannot take userspace functionality away like this.
>
> I completely agree with you that we cannot just go and remove existing
> userspace API.
>
> But AFAICT in this case no known userspace code has ever actually started
> relying on these custom udev events. The docs suggest creating a custom
> udev rules files which I don't believe any distributions have actually
> done, not has this been made part of the default udev rules shipped
> with systemd.
>
> So I think in this case we can get away with removing the udev event
> generation and the sooner we do so, the smaller the chance something
> does actually start depending on it.
>
> And if I'm wrong it should be easy to add back the udev event generation
> and send both the udev events and the key-presses.
Okay, thanks for chimming in.
--
i.
next prev parent reply other threads:[~2024-07-10 11:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 8:06 [PATCH v1 1/2] platform/x86/amd/pmf: Use existing input event codes to update system states Shyam Sundar S K
2024-07-02 8:06 ` [PATCH v1 2/2] platform/x86/amd/pmf: Remove update system state document Shyam Sundar S K
2024-07-02 13:14 ` Mario Limonciello
2024-07-02 13:14 ` [PATCH v1 1/2] platform/x86/amd/pmf: Use existing input event codes to update system states Mario Limonciello
2024-07-06 13:09 ` Ilpo Järvinen
2024-07-06 14:28 ` Shyam Sundar S K
2024-07-10 8:43 ` Hans de Goede
2024-07-10 11:03 ` Ilpo Järvinen [this message]
2024-07-10 11:06 ` Ilpo Järvinen
2024-07-11 5:06 ` Shyam Sundar S K
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=64907eb0-7c69-7615-27f6-521d149b3b0c@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=Patil.Reddy@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=hdegoede@redhat.com \
--cc=mario.limonciello@amd.com \
--cc=platform-driver-x86@vger.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