linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Armin Wolf <W_Armin@gmx.de>,
	o2g.org.ru@gmail.com, Hans de Goede <hdegoede@redhat.com>,
	corentin.chary@gmail.com, luke@ljones.dev, mjg59@srcf.ucam.org,
	pali@kernel.org, eric.piel@tremplin-utc.net, jlee@suse.com,
	kenneth.t.chan@gmail.com, coproscefalo@gmail.com,
	linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	josh@joshuagrisham.com
Subject: Re: [PATCH v2] Input: i8042 - Add support for platform filter contexts
Date: Mon, 13 Jan 2025 12:27:05 -0800	[thread overview]
Message-ID: <Z4V3GVy5L5_H7-65@google.com> (raw)
In-Reply-To: <996ee62d-7a0e-5058-6ebe-0a9c51d3ea99@linux.intel.com>

On Fri, Jan 10, 2025 at 04:38:56PM +0200, Ilpo Järvinen wrote:
> On Thu, 2 Jan 2025, Armin Wolf wrote:
> 
> > Am 22.12.24 um 22:50 schrieb Armin Wolf:
> > 
> > > Currently the platform filter cannot access any driver-specific state
> > > which forces drivers installing a i8042 filter to have at least some
> > > kind of global pointer for their filter.
> > > 
> > > This however might cause issues should such a driver probe multiple
> > > devices. Fix this by allowing callers of i8042_install_filter() to
> > > submit a context pointer which is then passed to the i8042 filter.
> > > 
> > > Also introduce a separate type for the i8042 filter (i8042_filter_t)
> > > so that the function definitions can stay compact.
> > > 
> > > Tested on a Dell Inspiron 3505.
> > 
> > Any updates on this?
> 
> We haven't heard what Dimitry thinks of the reasonale you gave in v1.
> 
> I'd like to have this as it allows us clean up the globals on pdx86 side 
> even if i8042 is still limited to a single filter (and uses globals 
> itself).

OK, this is better justification IMO, because I do not believe we
actually have an instance where we do not know who owns and should
activate the filter on a given device.

Please update the commit description to that effect and merge it.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Thanks.

-- 
Dmitry

      reply	other threads:[~2025-01-13 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-22 21:50 [PATCH v2] Input: i8042 - Add support for platform filter contexts Armin Wolf
2025-01-02 15:28 ` Armin Wolf
2025-01-10 14:38   ` Ilpo Järvinen
2025-01-13 20:27     ` Dmitry Torokhov [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=Z4V3GVy5L5_H7-65@google.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=W_Armin@gmx.de \
    --cc=coproscefalo@gmail.com \
    --cc=corentin.chary@gmail.com \
    --cc=eric.piel@tremplin-utc.net \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jlee@suse.com \
    --cc=josh@joshuagrisham.com \
    --cc=kenneth.t.chan@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.dev \
    --cc=mjg59@srcf.ucam.org \
    --cc=o2g.org.ru@gmail.com \
    --cc=pali@kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).