mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rong Zhang <i@rong.moe>
To: "Mark Pearson" <mpearson-lenovo@squebb.ca>,
	"Derek J. Clark" <derekjohn.clark@gmail.com>,
	"Armin Wolf" <W_Armin@gmx.de>, "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Kurt Borja <kuurtb@gmail.com>,
	platform-driver-x86@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] platform/x86: lenovo-wmi-capdata: Add debugfs file for dumping capdata
Date: Fri, 27 Mar 2026 00:34:30 +0800	[thread overview]
Message-ID: <ed968b9c588bcc2793ea285c984b0cbc7c3c8208.camel@rong.moe> (raw)
In-Reply-To: <73cb6e393e152190a52910d32ae4226c0629facc.camel@rong.moe>

Hi all,

On Thu, 2026-03-26 at 02:15 +0800, Rong Zhang wrote:
> Hi all,
> 
> Gentle ping :-)

Sorry for disturbing.

This series will be integrated into Derek's series as they will
conflict once the latter adopts another fix patch.

See the discussion at
https://lore.kernel.org/r/861d0276a759461be446df8e996d196037c9b581.camel@rong.moe/

The fix patch is
https://lore.kernel.org/r/20260326161724.72186-1-i@rong.moe/

Thanks,
Rong

> 
> Thanks,
> Rong
> 
> On Wed, 2026-02-11 at 03:19 +0800, Rong Zhang wrote:
> > The Lenovo GameZone/Other interfaces have some delicate divergences
> > among different devices. When making a bug report or adding support for
> > new devices/interfaces, capdata is the most important information to
> > cross-check with.
> > 
> > Add a debugfs file (lenovo_wmi/<device_name>/capdata), so that users can
> > dump capdata and include it in their reports.
> > 
> > The output is like:
> > 
> >   LENOVO_CAPABILITY_DATA_00[0]:
> >     id:             0x00010000 [dev:  0, feat:  1, mode:  0, type:  0]
> >     supported:      0x00000007 [ RWV]
> >     default_value:  0
> > 
> >   LENOVO_CAPABILITY_DATA_01[0]:
> >     id:             0x00000000 [dev:  0, feat:  0, mode:  0, type:  0]
> >     supported:      0x00000000 [    ]
> >     default_value:  0
> >     step:           0
> >     min_value:      0
> >     max_value:      0
> > 
> >   LENOVO_FAN_TEST_DATA[0]:
> >     id:             1
> >     min_rpm:        2200
> >     max_rpm:        5000
> > 
> > A helper function for creating per-devcie debugfs directories is also
> > introduced into lenovo-wmi-helpers in order that we can maintain a tidy
> > directory structure in debugfs.
> > 
> > The series is based on platform-drivers-x86/review-ilpo-next since it
> > depends on a commit there. I am OK to wait until the next cycle.
> > 
> > Rong Zhang (2):
> >   platform/x86: lenovo-wmi-helpers: Add helper for creating per-device
> >     debugfs dir
> >   platform/x86: lenovo-wmi-capdata: Add debugfs file for dumping capdata
> > 
> >  drivers/platform/x86/lenovo/Kconfig       |   1 +
> >  drivers/platform/x86/lenovo/wmi-capdata.c | 121 ++++++++++++++++++++++
> >  drivers/platform/x86/lenovo/wmi-capdata.h |   4 +-
> >  drivers/platform/x86/lenovo/wmi-helpers.c |  34 ++++++
> >  drivers/platform/x86/lenovo/wmi-helpers.h |   2 +
> >  5 files changed, 159 insertions(+), 3 deletions(-)
> > 
> > 
> > base-commit: 5a5203a45b063a594e89a2aeaf9e4923893a5b4c

      reply	other threads:[~2026-03-26 16:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10 19:19 Rong Zhang
2026-02-10 19:19 ` [PATCH 1/2] platform/x86: lenovo-wmi-helpers: Add helper for creating per-device debugfs dir Rong Zhang
2026-02-10 19:19 ` [PATCH 2/2] platform/x86: lenovo-wmi-capdata: Add debugfs file for dumping capdata Rong Zhang
2026-02-10 20:38   ` Derek J. Clark
2026-02-10 23:47     ` Kurt Borja
2026-02-11 11:47     ` Rong Zhang
2026-02-11 19:10       ` Derek J. Clark
2026-02-25 18:28       ` Derek J. Clark
2026-02-25 18:24   ` Kurt Borja
2026-02-10 23:41 ` [PATCH 0/2] " Kurt Borja
2026-02-10 23:49   ` Derek J. Clark
2026-02-11 11:49     ` Rong Zhang
2026-02-11 19:14       ` Derek J. Clark
2026-03-25 18:15 ` Rong Zhang
2026-03-26 16:34   ` Rong Zhang [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=ed968b9c588bcc2793ea285c984b0cbc7c3c8208.camel@rong.moe \
    --to=i@rong.moe \
    --cc=W_Armin@gmx.de \
    --cc=derekjohn.clark@gmail.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kuurtb@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpearson-lenovo@squebb.ca \
    --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

all inboxes | Powered by JetHome®