diff options
| author | Francesco Pompo <francescopompo2@gmail.com> | 2025-11-03 13:25:39 +0100 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2025-11-06 23:27:06 +0100 |
| commit | 4f90742d4a09a8253861b0d5fd0984e3cd399c9b (patch) | |
| tree | 47c1eac08d9284627960210f1dae4853eec97480 /tools/lib/python/kdoc/python_version.py | |
| parent | 3a8660878839faadb4f1a6dd72c3179c1df56787 (diff) | |
efistub/x86: Add fallback for SMBIOS record lookup
Some Apple EFI firmwares do not provide the SMBIOS Protocol,
causing efi_get_smbios_record() to fail. This prevents retrieval of
system information such as product name, which is needed by
apple_set_os() to enable the integrated GPU on dual-graphics Intel
MacBooks.
Add a fallback that directly parses the SMBIOS entry point table when
the protocol is unavailable.
Signed-off-by: Francesco Pompo <francescopompo2@gmail.com>
[ardb: cosmetic tweaks]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
