From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.159 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796350852; b=xNVe5UWhSB7pESLq+0cmGMztcjLo+uvt8ej0R85+GPCB5R4ZxC0FU1zrtDoncUy4rEr/ I7WfA5zzBI7CRM/Ams3b8iz6/g5nFSkTg0yHLIMzPhtnArYmRj4y1xYkj66nzDfxKcJay iv6lZiNjcd8216P9XM2CttumT5mpWjvtYwcmB0nQxaE/OHbAiXd/SGIqtMNw0x93pStNF qeDFGGqvuMEOXqqyk76+qVVJi6lsHw097anqyTarfRjKq3CTTchuJm+YSytivf/7PU/2l qtogFHhOR6qjkk9Q4Mi17jiGqyW12cXrHp7JPxXx6CzdokDBOY7hsEeN1TDX4AlcQZg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796350852; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID: Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding; bh=VTj4TcohMuy93zb+oLP+qe+TfmybkCmjKOknz0UzEUQ=; b=hcroSsPLgzsPb0A5EXjSZuds4qwANc1MqOrZRn9q2WqZqMLEpKysAuIjIxDJ8bJdv9/n 5BPvn7QhSAlc8uQlkcdCAH8j3nnaLqxNkbx4nK8imc0FH9h7vwrPDsHmMjmDkBTVU5Mu2 Vk6f2ZV+GaaEYiGnU8VQfqAbbLazszUWHCOAKMmnD93XSq397xiiaf7IHONvtyVkcGIKo a6hQYK6r+JFlQY5v7H6QWa/8p34rDUiRCCnXwizSzEg2nP6zI1bSS1xl653hOjYw6qSTK B+JDXpNIn1/cT3Dmxr+cLzstypfPgWnoBJ+fJOeSv9QHPTP7lhHEwiW4IxAB/3s0zzg== 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=M5G2TfTT; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=JZ+liZ0b; arc=none smtp.remote-ip=103.168.172.159 Received: from fhigh-a8-smtp.messagingengine.com (fhigh-a8-smtp.messagingengine.com [103.168.172.159]) (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 6A16360A3835 for ; Fri, 4 Dec 2026 02:20:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A16360A3835 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=M5G2TfTT; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=JZ+liZ0b Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9B393140016D for ; Thu, 3 Dec 2026 21:20:51 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Thu, 03 Dec 2026 21:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squebb.ca; h=cc :cc:content-transfer-encoding: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=1796350851; x= 1796437251; bh=VTj4TcohMuy93zb+oLP+qe+TfmybkCmjKOknz0UzEUQ=; b=M 5G2TfTT5R5pgHFn7DFVe4Pw7os/z90TKhWwY21J+PURrGnN7VRA0bjDQ7VAxmify 6aitItCr5G4equpfWBgFPVr/fCtt0L4T7Gfx60vLn/7lyir/6tiCLhbmGlvzXdK3 NFiN6JbuJ+C5u6PV/3NA8Mb+L7NhcxM/ywxr2XiYTtkSZm+IQ+7gw/0hdOUMmF3X cgFyWjBJoGuyPxH0HMlb09st5Qp3+uwxSqcdLTtggoN059STR1MmE3XGxKtRnSAe yOj4ySQmxJ//uFGMsqdT3JHjihB6jNlxV4dp4geNQmNesDinieL19H21xFk14TDg rx9FM9qN3f/NzxdL2rhPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm3; t=1796350851; x=1796437251; bh=V Tj4TcohMuy93zb+oLP+qe+TfmybkCmjKOknz0UzEUQ=; b=JZ+liZ0bmdxa22SBi 08a+vkLZfXkhSWyFl3sAhvxW/35zz2SldcDzTXIQPGvJ0ssUlPyxyRwHCQmFh766 wiPAwM2Y6RxVFYPDXp5OGE43BymRmWPyA1LQ6nFWvI4xJO6pAPPaQT8ON0HHdDba EIJkJJmq210j5yI2cI3mACqJrRO2skksHfYzI30446V682SFkjf+t3tt2Vo2MvX9 XAeEO9i9kk7ISM9sZAYkEa47E/crLf0niPcvwUY/OBsoEGjW0KISlwrt3RIpebrO Ac1z24YqvkvHrQn9luRPnWEWjsUk/EOjmFSd72Un51r8jd7egxgg7HVrTYkYdqlK qWjhA== 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=1796350851; d=squebb.ca; mf=PG1wZWFyc29uLWxlbm92b0BzcXVlYmIuY2E+; rt=PGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc+; s=fm1:rsa-sha256:HBQrSyg2OcPVWsi4rc/sGA/fdyYNoHtnlrPEIxFvx6WFbZO 2Mkgqj80Fb6wxLGo1dHpZw4yHf965Gbm5ilBFnZW4YRj/t5FxdgvIIEX3qSlxerm C8vK/iQ7/CCLKrGb/vcvxhl8Z6F/Q+4jJUbs4+xNfVaUxV5oSn4I0AkgSGtTfNI0 M5Zzn1lc+40PTBv87vM4H406caMnAqM01HH6t6a1ZGORjPe/ChZScgpUNHW5Zbo/ TNY1zQ893XiAI7k/FEgGg1dDslv/xP7dP9SbiWJdNCTHA4nOEJzezBcJzOphI/Vs TDgPip0ed4UcZD+b0t4vMfS6rR+MvwLZN0eb+ZA==; 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=11; hn=cc,content-transfer-encoding,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:cOx0vTc+Ir+Ib2dT2c65hqh8HoXeqZhDTN3o3dAmYuk=:fPR1qgDLZZqITgdgz+YGXN8grJC8HkTltvlVMu0U+W4=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFcxepBDbwXJiGX+tH7WvdqfdTwIUZOowWXvSCko0n3eZnQmF8+APQ8IxtNA8LfeS hbCTGE5zBR6Xw7Q3uOYFHVNJT7VRxDqBux5thNm2hFR9ACmPHNFf1pEUuxBTfJbdCWeZHH 3PMsX+cQ6DRLpggETRxrQe4B7L1yYPTOBbjTTzM/EGm9rlMMHyhupsZpIk6RVhseAu/i6i ffuUAX7yi++XycNXtVPLmGsKjyxhao4OxKb+v8FmrEGndalcvI/FG5ziG5ZuTnfIsNi01a F5hQ5/QG/PYOrun3VMMTkEHr9jQGJzUE+N9vTKHdqBC6mjEkGdi73tzsXhFc94OVtdjLnN IpqJGmDGzSxwRyo+5DnUzXPO1XDf4A7mcFfXjEpXYQAY/5nJOb6mqVBNq0xTEW6Y8XNK5r 7FIAItUKCch0wmYywreisL96S7pAfTn93YU9l7sbf/CTv9QHqAnUchjQPasI+00/4d4ko/ WDac3xWkvmHx9ov5OHGqEzHbi/UlVM0OZQM6PFA+F+Q75Og5pH3EpkENPhqiG898ugy8ZQ 12rgJRWXio3F0nWPkwbsLvDclIzkxbYDHWXJe5EoNEgdUCBAignjsdvQnasfuf2+8BKGRC 6ZuYLayIhng9GLyJPD/1ec6/ksN6QKIwwIyClW5nDq8o+ZRSiA2UamMfNU3w X-ME-Proxy: Feedback-ID: ibe194615:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Dec 2026 21:20:51 -0500 (EST) From: Mark Pearson To: mpearson-lenovo@squebb.ca Cc: derekjohn.clark@gmail.com, i@rong.moe, hansg@kernel.org, ilpo.jarvinen@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/13] docs: ABI: sysfs-class-firmware-attributes: Update Lenovo sections Date: Thu, 3 Dec 2026 21:20:22 -0500 Message-ID: <20261204022032.3074618-14-mpearson-lenovo@squebb.ca> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261204022032.3074618-1-mpearson-lenovo@squebb.ca> References: <20261204022032.3074618-1-mpearson-lenovo@squebb.ca> 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 Content-Transfer-Encoding: 8bit With the introduction of the tlmi driver: - There is a new setting for determining regular, platform or function settings - Some of the settings used for the older think-lmi driver are no longer relevant Add the differences to the documentations. Signed-off-by: Mark Pearson --- .../testing/sysfs-class-firmware-attributes | 39 +++++++++++++++++-- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-firmware-attributes b/Documentation/ABI/testing/sysfs-class-firmware-attributes index 40e35fe97a7d..387698234587 100644 --- a/Documentation/ABI/testing/sysfs-class-firmware-attributes +++ b/Documentation/ABI/testing/sysfs-class-firmware-attributes @@ -146,6 +146,21 @@ Description: the list in a different order to current_value alters the priority order for the particular attribute. + Lenovo specific class extensions + -------------------------------- + + On Lenovo systems, using the tlmi driver, the following additional attributes are + available: + + method: + A file that can be read to determine if the attribute is a standard + BIOS setting, a platform setting or a functional setting. + Platform settings are less standard and are not available in the BIOS + menu, but behave the same as regular settings (save/reboot required to activate) + Function settings are effective immediately. + + Known methods: setting, platform, function + What: /sys/class/firmware-attributes/*/authentication/ Date: February 2021 KernelVersion: 5.11 @@ -245,12 +260,14 @@ Description: lenovo_encoding: The encoding method that is used. This can be either "ascii" - or "scancode". Default is set to "ascii" + or "scancode". Default is set to "ascii". + This method is not used in the newer tlmi driver lenovo_kbdlang: The keyboard language method that is used. This is generally a two char code (e.g. "us", "fr", "gr") and may vary per platform. - Default is set to "us" + Default is set to "us". + This method is not used in the newer tlmi driver level: Available for HDD and NVMe authentication to set 'user' or 'master' @@ -259,7 +276,8 @@ Description: unlock the drive at boot. If both master and user passwords are set then either can be used. If a master password is set a user password is required. - This attribute defaults to 'user' level + This attribute defaults to 'user' level for think-lmi. + This attribute defaults to 'master' level for the newer tlmi driver. index: Used with HDD and NVME authentication to set the drive index @@ -389,6 +407,7 @@ Date: August 2023 KernelVersion: 6.6 Contact: Mark Pearson Description: + For the older think-lmi driver: On Lenovo platforms there is a limitation in the number of times an attribute can be saved. This is an architectural limitation and it limits the number of attributes that can be modified to 48. @@ -417,6 +436,18 @@ Description: # echo save > /sys/class/firmware-attributes/thinklmi/attributes/save_settings + For the newer tlmi driver: + A save is needed after any changes are made to either 'setting' or 'platform' attributes. + This requires writing 'save', the same way as the 'bulk' mode in the think-lmi driver. + A save is not needed with 'function' attributes. + See 'method' above for more details on the different types of attribute. + + Read the attribute to confirm if a save is needed. 1 means required, 0 means not required. + E.g:: + + # cat /sys/class/firmware-attributes/tlmi/attributes/save_settings + 1 + What: /sys/class/firmware-attributes/*/attributes/debug_cmd Date: July 2021 KernelVersion: 5.14 @@ -427,7 +458,7 @@ Description: use it to enable extra debug attributes or BIOS features for testing purposes. Note that any changes to this attribute requires a reboot for changes to take effect. - + This attribute is only present on the think-lmi driver. HP specific class extensions - Secure Platform Manager (SPM) -------------------------------- -- 2.43.0