mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] platform/x86: uniwill-laptop: Introduce device descriptor system
@ 2025-11-25 13:49 Werner Sembach
  2025-11-25 13:49 ` [RFC PATCH 1/2] " Werner Sembach
  2025-11-25 13:49 ` [RFC PATCH 2/2] platform/x86/uniwill: Implement cTGP setting Werner Sembach
  0 siblings, 2 replies; 10+ messages in thread
From: Werner Sembach @ 2025-11-25 13:49 UTC (permalink / raw)
  To: W_Armin, hansg, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Werner Sembach

The first patch of this RFC is based on a PoC by Armin and extended the be able
to modify feature bits based on readouts from the EC Memory.

The 2nd patch is a new feature that requires such a modification.

Armin what do you think? Is this a clean approach? Technically the feature bits
can be modified arbitrarily, but it should only ever be accessed by the slightly
modified getter method, so the risk should be very minimal.

I wonder if the static device_descriptor variable can somehow be skipped, but it
doesn't bother to have it there either IMHO.

Armin Wolf (1):
  platform/x86: uniwill-laptop: Introduce device descriptor system

Werner Sembach (1):
  platform/x86/uniwill: Implement cTGP setting

 drivers/platform/x86/uniwill/uniwill-acpi.c | 269 +++++++++++++++++---
 1 file changed, 240 insertions(+), 29 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [RFC PATCH 0/2] platform/x86: uniwill-laptop: Introduce device descriptor system
@ 2025-12-04 13:40 Werner Sembach
  2025-12-04 13:40 ` [RFC PATCH 2/2] platform/x86/uniwill: Implement cTGP setting Werner Sembach
  0 siblings, 1 reply; 10+ messages in thread
From: Werner Sembach @ 2025-12-04 13:40 UTC (permalink / raw)
  To: W_Armin, hansg, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Werner Sembach

The first patch is based on a PoC by Armin and extended the be able to
modify feature bits based on readouts from the EC Memory.

The 2nd patch is a new feature that requires such a modification.

Changes since RFC: - more flexible uniwill_device_supports
                   - minor cleanups
                   - initialization of cTGP before activation

Armin Wolf (1):
  platform/x86: uniwill-laptop: Introduce device descriptor system

Werner Sembach (1):
  platform/x86/uniwill: Implement cTGP setting

 drivers/platform/x86/uniwill/uniwill-acpi.c | 284 ++++++++++++++++++--
 1 file changed, 255 insertions(+), 29 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-12-04 13:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-25 13:49 [RFC PATCH 0/2] platform/x86: uniwill-laptop: Introduce device descriptor system Werner Sembach
2025-11-25 13:49 ` [RFC PATCH 1/2] " Werner Sembach
2025-11-25 20:18   ` Armin Wolf
2025-11-26 12:14     ` Werner Sembach
2025-11-25 13:49 ` [RFC PATCH 2/2] platform/x86/uniwill: Implement cTGP setting Werner Sembach
2025-11-25 20:31   ` Armin Wolf
2025-11-26 12:23     ` Werner Sembach
2025-11-26 19:33       ` Armin Wolf
2025-11-26 22:59         ` Werner Sembach
2025-12-04 13:40 [RFC PATCH 0/2] platform/x86: uniwill-laptop: Introduce device descriptor system Werner Sembach
2025-12-04 13:40 ` [RFC PATCH 2/2] platform/x86/uniwill: Implement cTGP setting Werner Sembach

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®