Commit 2deb10a9 authored by Mark Pearson's avatar Mark Pearson Committed by Greg Kroah-Hartman
Browse files

platform/x86: think-lmi: Fix password opcode ordering for workstations



[ Upstream commit 6f7d0f5f ]

The Lenovo workstations require the password opcode to be run before
the attribute value is changed (if Admin password is enabled).

Tested on some Thinkpads to confirm they are OK with this order too.

Signed-off-by: default avatarMark Pearson <mpearson-lenovo@squebb.ca>
Fixes: 640a5fa5 ("platform/x86: think-lmi: Opcode support")
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240209152359.528919-1-mpearson-lenovo@squebb.ca


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
(cherry picked from commit 6f7d0f5f)
[Harshit: CVE-2024-26836; Resolve conflicts due to missing commit:
 318d9784 ("platform/x86: think-lmi: Add bulk save feature") which is
 not in 6.6.y]
Signed-off-by: default avatarHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e115c1b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment