The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	PDx86 <platform-driver-x86@vger.kernel.org>,
	Hans de Goede <hdegoede@redhat.com>,
	Andy Shevchenko <andy@kernel.org>,
	Guenter Roeck <linux@roeck-us.net>,
	Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <bentiss@kernel.org>,
	Sebastian Reichel <sre@kernel.org>
Subject: Re: [GIT PULL] platform-drivers-x86 for v6.16-1
Date: Tue, 27 May 2025 14:07:25 +0200	[thread overview]
Message-ID: <aDWq/U57DO7fMu4K@duo.ucw.cz> (raw)
In-Reply-To: <pdx86-pr-20250527124435-2181824944@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Hi!

> warning to hid-asus. I'm expecting Pavel might want object the approach
> used in the tuxedo driver, I largely relied on my co-maintainer Hans'
> opinion on what to do with that change as he was much more familiar with
> that discussion, and the pros and cons of each approach.


>  drivers/platform/x86/tuxedo/nb04/wmi_ab.c          |  923 +++++
>  drivers/platform/x86/tuxedo/nb04/wmi_util.c        |   91 +
>  drivers/platform/x86/tuxedo/nb04/wmi_util.h        |  109 +

Yes, I'd preffer this not to go in.

Reasons:

1) Normally, keyboard backlight is handled by LED subsystem. This was
not even Cc-ed to LED list.

2) It introduces new kernel API. Unfortunately, that API is not
documented in the kernel and is very much unlike anything else we have
in the kernel.

3) The code is not modular in any way, so the crazy API code is mixed
with real driver code, making reuse hard.

4) We don't have reasonable support for the new API in the userland.

Please take a look.

Best regards,
								Pavel
-- 
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, and Musk!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2025-05-27 12:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27  9:44 [GIT PULL] platform-drivers-x86 for v6.16-1 Ilpo Järvinen
2025-05-27 12:07 ` Pavel Machek [this message]
2025-05-27 12:47   ` Hans de Goede
2025-05-27 12:49     ` Hans de Goede
2025-05-27 13:13     ` Benjamin Tissoires
2025-05-27 15:02     ` Werner Sembach
2025-05-27 18:16     ` Pavel Machek
2025-05-29 17:48 ` pr-tracker-bot

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=aDWq/U57DO7fMu4K@duo.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=andy@kernel.org \
    --cc=bentiss@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jikos@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=sre@kernel.org \
    --cc=torvalds@linux-foundation.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