From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.145 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796395355; b=nr8VrdR2L9tLR2YpUqsuyXhI4rCIHWWtAScXJo9MRCAPWl0FnxauL40Iiz0uvMOR2sPM JYA2Q81wyCZ1UY94ardWnIpYBWi5lcVXaS18kQGct0fJph56oiBKMqNepmYuOV0I5Etxt NynwAAkAiTWsIpuK44Rgyaj/kDUWE2s7oQ2nbdoaOs9fmq4FfmyfKYTFsQkzogrnLleZm FI/L54deJFVd/AwNcYU6/OZvJJ2QEAQ6XmCBbBzkx/7ZqgyWIglnQGQNd9d1o0W9iANZP kbAzT5nywUwWUJeeSZlByp8l+6aatq4KruH0DwqcnmfrG22sOqJUPBq6rW6I364P8mA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796395355; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received:X-Mailer: MIME-Version:X-ThreadId:Date:From:To:Cc:Message-Id:In-Reply-To: References:Subject:Content-Type:Content-Transfer-Encoding; bh=InrDJ3vfGbGIp8gRQiA2RM3xDMdTO6AL7yu/svjzW9w=; b=yj0CH/m3MARXYxB8gVaggeSxiku4Srhftm988UtjyMMgHkUWyGWfS/9KYCGdcwbs0jXo Hau/t1dHpknYql+GmzP/3/rvoabw3DQrzbxq4zcI5Og2jz5i1XSu4RDUu6IgRsggNeTpd x4KZNQb43ssREV5asof+aVfn/+kSshYPkHM3sIu3QXwHCsdF0DJCZxhqBlXyd5n8vJYnE Nyi+vLR58TGie1MmWyts5eYbBXjGA3IoyHeWkpnhEOptpR+g9TwC1zdFjiy7lVysOqzhy VNgIZKofZMn/OFzEL6j1NdZjdC85bUef2sO/2LG+A0orPsQ4cduaGb+rB/v1T2BQCmA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=squebb.ca; spf=pass smtp.mailfrom=squebb.ca; dkim=pass header.d=squebb.ca header.i=@squebb.ca header.a=rsa-sha256 header.s=fm1 header.b=h2fqCp2F; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b="crJDSAf/"; arc=none smtp.remote-ip=103.168.172.145 Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC32D606A322 for ; Fri, 4 Dec 2026 14:42:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BC32D606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=squebb.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=squebb.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=squebb.ca header.i=@squebb.ca header.a=rsa-sha256 header.s=fm1 header.b=h2fqCp2F; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=crJDSAf/ Received: from stl-compute-04.internal (stl-compute-04.internal [10.204.2.64]) by mailfout.phl.internal (Postfix) with ESMTP id ADFA7EC014B for ; Fri, 4 Dec 2026 09:42:33 -0500 (EST) Received: from stl-imap-02 ([10.204.2.93]) by stl-compute-04.internal (MEProxy); Fri, 04 Dec 2026 09:42:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squebb.ca; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1796395352; x=1796481752; bh=InrDJ3vfGbGIp8gRQiA2RM3xDMdTO6AL7yu/svjzW9w=; b= h2fqCp2F38XTxykfRu2gOJ7Mkdgpj/6+XgV1xoAfFZQGJ7tJ0DRzdQsMf2XNEsQi Jw1H2p4OkotnQIdiRDOB1DCBcvIYEMtHooGNkCt6F26zwhny+fr0UB70Nom2+wYW P/D1g04w2d4ku5ibNBeAWyc0K0iR4csU7Nh5dT9Mio8O+9qoI7m+6UV0aZ3Ogw1J xvIDy59l4TE/jnp1NLdZLmYs56okKZYC8YrfpfPA+lIdC8N69fuIorSGVsWf43ub hdzfu89Xm5rCzzn9/BqGBiC7GtgfrQTaTKCghMsFVVwr8UvkddPct/3hwOR27aMG RpEjGi+Ele+UdNUccxqGrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1796395352; x= 1796481752; bh=InrDJ3vfGbGIp8gRQiA2RM3xDMdTO6AL7yu/svjzW9w=; b=c rJDSAf/4PdZO+JuDYdb2ZeB6y5KqlrWjFUmNb7uKey5rwiRHxoyaDxZ8FbENHuUh n6NI8ps2I9PBhxQbouTnk+rQPRxFvGShkAnEUynDJC/3ghVigtg/X50oE8mcQLDz K7mRbnYWWKun5d0NzSMgw/JabQD7/UYD0Dc69bcOfiOUvWvMKzIn28Wtj6IK867Y PN8KvW2O2joW42Z7JG6Q9ATMEMD6gwqis4bTpLQMP2XwFwE8uKA7z0OVojw6C1Wj fYNIitZ+FUcYnWvbckfFE0ZPSjDsdfPbtkhalDRYHgwvQmKgfAzV12rAM8wV8gHi NfduMBlWEFUVEglqCJjnA== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=squebb.ca a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796395352; d=squebb.ca; mf=PG1wZWFyc29uLWxlbm92b0BzcXVlYmIuY2E+; rt=PGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc+; s=fm1:rsa-sha256:D2xhpZOGNR0zr08Q8PvM6dBfDpkSiP/eBwsWedx6bwC4AnC fRMUBFYlLtbO7DRVc0vfyT214FTZAlMPYsBilyOdoQGKfdqSmd4xSLz0CuANaRAI spsmkUBhdW0vp1/TUOu1zaR/nf02L7n9/6ScL0ie68b+FYIF6Fdj/GaMgreFGTpR 0Mk4TO8mOkeWzL1Yn+87aBMDoPDxqR/GiVrSaBqhbCPNuiSjnyyCIgDzV2x56I2D hvx2nTV/ycEJnDy0CcT7/U+QDicnQz3C6inC4FmBGArREP1bCrXKNlWqYocBMVc1 wBf8F/C+2Ab1+jqzWnaP2mNB2r4fs8YRJrSpI1w==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:4937DqSiXjwqjenuQyq8Y1hjUE+ZOl2MkdPx+KmSJXw=:+38j4LUfd2i2QfG3y2Re0PO/TKCbiv9KOnmYoyQWNIs=; X-ME-Sender: X-ME-Proxy-Cause: dmFkZTFe95+UsKVafPyxHfvlwX7j6v/nFY05eJcLlhW4M6UTdTfwWC9i8j25Y96xrxMves uBfs/WTdlAnMbQl6gTPaOldaA0vTdVe5+8j2WR87mPyIv7EqkEnovALH4Flm1c1btb/ENM w4HBBKGrkUqhXNpWAe318bonmMYHM/AFGQvE0QKM/9kIYXq9KCndFD42IAo64A0DyIYHre GoS9H9z3bMAcX5ZoDXHTF21XKZvuS3uM3mjJVIQbEHxCkJIg4QzBp6y0ku168bAE78x1Lq 9+TRek3qr6I8aIcVNMJn18JPWQYym8bHnkXxv9N7YO5iaeMNTqzhiV+tjZGyZGgeJmiYCs PsVIwyCsel7DiQV1lqyb4kHoF+ESUDISfPazOvkp28gmc/NtbC7H2lSH5ybvTCT54xSGGQ i1/UJu4AaJog4xaq36dnele/0fMVLvRcrPAQxe/A4gwEA1e6kwRSzcTCYUJpl4dm+bTIl/ TGRlwk7tfszxVG5qW86MnAuFZh51h8a46aWTXYOlvb59Hl2PBLfVu4ejk/RxVog+VfizYz ox+k36BTjXzIPmlcemkbTvp80S24a7hT3h0lI8jVV6re+W12xFzZnlogZ6KqeAj8xmZ9/H Us1Kts92m24sKYLlrE14yGbHaGxn7UjmwKC9EG9/29gMaBrmxkeqe5XmBe2g X-ME-Proxy: Feedback-ID: ibe194615:Fastmail Received: by mailuser.stl.internal (Postfix, from userid 501) id D88652C0008C; Fri, 4 Dec 2026 09:42:31 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ThreadId: Adb9OXoc-_hZ Date: Fri, 04 Dec 2026 09:42:11 -0500 From: "Mark Pearson" To: "Rong Zhang" Cc: "Derek J . Clark" , "Hans de Goede" , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , "platform-driver-x86@vger.kernel.org" , linux-kernel@vger.kernel.org Message-Id: <1ffaaa56-46b2-48a6-88b4-60a02e6d7dd8@app.fastmail.com> In-Reply-To: <43de629a47286b8681658ed4bf0e3cf09a74e3b1.camel@rong.moe> References: <20261204022032.3074618-1-mpearson-lenovo@squebb.ca> <43de629a47286b8681658ed4bf0e3cf09a74e3b1.camel@rong.moe> Subject: Re: [PATCH 00/13] New Lenovo common WMI driver - tlmi Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, Dec 4, 2026, at 8:19 AM, Rong Zhang wrote: > Hi Mark, > > Thanks for working on this. > > On Thu, 2026-12-03 at 21:20 -0500, Mark Pearson wrote: >> This series introduces support for a new Lenovo 'common WMI' >> implementation. >> >> The Thinkpad, Thinkstation and ThinkCenter FW teams have implemented new >> WMI methods for interfacing with the BIOS settings. This implementation >> will be available for 2027 platforms and is intended to be common across >> the business units. >> >> The new driver is called tlmi and can run alongside the existing >> think-lmi driver. Initially the BIOS's will support both interfaces. >> >> The first 5 patches in the series update the existing think-lmi driver >> with changes that means it can share structures with the new tlmi >> driver. They also introduce fixes for issues I found when implementing >> tlmi. >> The remaining patches introduce the new tlmi functionality. I've tried >> to break them up into reviewable chunks. >> >> The tlmi driver for now offers the same functionality as think-lmi - >> with support for modifying BIOS settings and authentication options. >> It also introduces 'platform' settings and 'function' settings. >> >> During implementation I needed some functionality to be common between >> modules. Using the wmi-helpers module seemed a good place for this, but >> please let me know if it's not suitable. >> >> Testing has been done on the X1 Carbon G14, ThinkCenter X Tower and >> Thinkstation P5 G2. >> >> Much of this implementation builds on the recommendations from Armin, >> Derek and Ilpo from the original RFC. Many thanks for the guidance. >> >> Mark Pearson (13): >> platform/x86: lenovo: think-lmi: Convert name arrays to pointers >> platform/x86: lenovo: think-lmi: Clean up attributes if not added to >> list >> platform/x86: lenovo: think-lmi: cache current value at init >> platform/x86: lenovo: think-lmi: store attributes as linked list >> platform/x86: lenovo: tlmi: New tlmi driver for common WMI >> implementation >> platform/x86: lenovo: tlmi: Add BIOS attributes sysfs entries >> platform/x86: lenovo: tlmi: Retrieve auth information >> platform/x86: lenovo: Move TLMI helper functions into wmi-helpers >> platform/x86: lenovo: tlmi: Add authentication sysfs entries >> platform/x86: lenovo: tlmi: Add platform attribute support >> platform/x86: lenovo: tlmi: Add function attributes support >> platform/x86: lenovo: tlmi: Add method identifier >> docs: ABI: sysfs-class-firmware-attributes: Update Lenovo sections > > Sashiko found quite a lot of issues in the series, so I am not going to > seriously review this series yet, in case you'd need to change the design > a lot in the next revision. > Yeah....that's going to keep me busy. They didn't show up in my inbox so I had to go looking for them. I'd been running sashiko with a few tokens I managed to get through work and thought I had it at the stage where it was pretty clean (and I'd run out of tokens). Looks like some new things which is interesting. > That being said, I will glance at each patch and see if I have some > additional suggestions on the design. > Thanks - appreciate it - especially if I'm doing things incorrectly from a design perspective. This whole feature turned out to be more of a beast than I expected. Mark