Skip to contentSkip to conversation

arm: apple: Disable SMBIOS again

PATCH In review Mark Kettenis 5 participants 5 messages Dec 24, 2023 – Dec 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: apple: Disable SMBIOS again

Apple machines do not have memory below 4G. Since U-Boot does not support the SMBIOS 3 header structures this means we can't support SMBIOS on these machines. Unfortunately the refactoring of the SMBIOS code this cycle accidentally enabled it again.

Fixes 53fab13a7b1 ("efi: Use the installed SMBIOS tables")
---
 configs/apple_m1_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/apple_m1_defconfig +1 -1
index d58a9030db..b868d0e319 100644
@@ -21,5 +21,5 @@ CONFIG_USB_KEYBOARD=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_NO_FB_CLEAR=y
 CONFIG_VIDEO_SIMPLE=y
-# CONFIG_GENERATE_SMBIOS_TABLE is not set
+# CONFIG_SMBIOS is not set
 CONFIG_LMB_MAX_REGIONS=64
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Mark Kettenis

Apple machines do not have memory below 4G. Since U-Boot does not support the SMBIOS 3 header structures this means we can't support SMBIOS on these machines. Unfortunately the refactoring of the SMBIOS code this cycle accidentally enabled it again.

Fixes 53fab13a7b1 ("efi: Use the installed SMBIOS tables")

My understanding this is for origin/master. For next we have pending patches from Simon to move to SMBIOS 3.

Quoted 15 lines
---
  configs/apple_m1_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/apple_m1_defconfig +1 -1
index d58a9030db..b868d0e319 100644
@@ -21,5 +21,5 @@ CONFIG_USB_KEYBOARD=y
  CONFIG_SYS_WHITE_ON_BLACK=y
  CONFIG_NO_FB_CLEAR=y
  CONFIG_VIDEO_SIMPLE=y
-# CONFIG_GENERATE_SMBIOS_TABLE is not set
+# CONFIG_SMBIOS is not set
  CONFIG_LMB_MAX_REGIONS=64
#2 lore raw
Quoted 9 lines

Date: Sun, 24 Dec 2023 20:37:47 +0100
From: Heinrich Schuchardt <[email protected]>

Quoted 5 lines · Mark Kettenis

Apple machines do not have memory below 4G. Since U-Boot does not support the SMBIOS 3 header structures this means we can't support SMBIOS on these machines. Unfortunately the refactoring of the SMBIOS code this cycle accidentally enabled it again.

Quoted 5 lines
Quoted 2 lines
Fixes 53fab13a7b1 ("efi: Use the installed SMBIOS tables")

My understanding this is for origin/master. For next we have pending patches from Simon to move to SMBIOS 3.

Right. Without this fix EFI boot will fail on U-Boot 2024.01. And that is 99% of the users.

When the SMBIOS 3 patches land, I intend to turn this back on again (after making sure the tables are populated with the appropriate information).

Quoted 19 lines
Quoted 15 lines
---
  configs/apple_m1_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/apple_m1_defconfig +1 -1
index d58a9030db..b868d0e319 100644
@@ -21,5 +21,5 @@ CONFIG_USB_KEYBOARD=y
  CONFIG_SYS_WHITE_ON_BLACK=y
  CONFIG_NO_FB_CLEAR=y
  CONFIG_VIDEO_SIMPLE=y
-# CONFIG_GENERATE_SMBIOS_TABLE is not set
+# CONFIG_SMBIOS is not set
  CONFIG_LMB_MAX_REGIONS=64
Reviewed-by on v1 1/1
#3 lore raw
In reply to Mark Kettenis
Quoted 11 lines · Mark Kettenis

Apple machines do not have memory below 4G. Since U-Boot does not support the SMBIOS 3 header structures this means we can't support SMBIOS on these machines. Unfortunately the refactoring of the SMBIOS code this cycle accidentally enabled it again.

Fixes 53fab13a7b1 ("efi: Use the installed SMBIOS tables")
---
 configs/apple_m1_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#4 lore raw
In reply to Mark Kettenis
Quoted 6 lines · Mark Kettenis

Apple machines do not have memory below 4G. Since U-Boot does not support the SMBIOS 3 header structures this means we can't support SMBIOS on these machines. Unfortunately the refactoring of the SMBIOS code this cycle accidentally enabled it again.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom