]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: think-lmi: Allow empty admin password
authorMark Pearson <mpearson-lenovo@squebb.ca>
Thu, 24 Oct 2024 19:55:23 +0000 (15:55 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 29 Oct 2024 11:54:32 +0000 (13:54 +0200)
commit7c0bbf1ae6502dfcd0df5d50013e55a71021c819
tree6ec6de9f841be2b72567e7371d1fe5c1a5ee09a6
parentc7842e69e4508bef0920030340093f128722964e
platform/x86: think-lmi: Allow empty admin password

SVP = BIOS Supervisor/Admin password
SMP = BIOS System password

If SMP ACL is enabled in the BIOS then the system allows you to set the
SMP without a SVP password configured. Change code to allow this.
BIOS will return permissions error if SVP is required.

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20241024195536.6992-3-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/think-lmi.c