Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86: think-lmi: Add extra TC BIOS error messages

Add extra error messages that are used by ThinkCenter platforms.

Signed-off-by: Kean Ren <kean0048@gmail.com>
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20250903173824.1472244-4-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>

authored by

Mark Pearson and committed by
Ilpo Järvinen
a0d6959c 07b93b74

+11
+11
drivers/platform/x86/lenovo/think-lmi.c
··· 206 206 207 207 static const struct tlmi_err_codes tlmi_errs[] = { 208 208 {"Success", 0}, 209 + {"Set Certificate operation was successful.", 0}, 209 210 {"Not Supported", -EOPNOTSUPP}, 210 211 {"Invalid Parameter", -EINVAL}, 211 212 {"Access Denied", -EACCES}, 212 213 {"System Busy", -EBUSY}, 214 + {"Set Certificate operation failed with status:Invalid Parameter.", -EINVAL}, 215 + {"Set Certificate operation failed with status:Invalid certificate type.", -EINVAL}, 216 + {"Set Certificate operation failed with status:Invalid password format.", -EINVAL}, 217 + {"Set Certificate operation failed with status:Password retry count exceeded.", -EACCES}, 218 + {"Set Certificate operation failed with status:Password Invalid.", -EACCES}, 219 + {"Set Certificate operation failed with status:Operation aborted.", -EBUSY}, 220 + {"Set Certificate operation failed with status:No free slots to write.", -ENOSPC}, 221 + {"Set Certificate operation failed with status:Certificate not found.", -EEXIST}, 222 + {"Set Certificate operation failed with status:Internal error.", -EFAULT}, 223 + {"Set Certificate operation failed with status:Certificate too large.", -EFBIG}, 213 224 }; 214 225 215 226 static const char * const encoding_options[] = {