From 40c45d35244dc5049e4121dbc8a9334ca54b3af1 Mon Sep 17 00:00:00 2001 From: Balaji Gontumukkala Date: Fri, 20 Jun 2025 12:32:22 +0000 Subject: [PATCH] Fix for panic during SVE2 BSA test - Set smbios table slot_count to 0 if protocol not exist Signed-off-by: Balaji Gontumukkala --- pal/uefi_dt/src/pal_pe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pal/uefi_dt/src/pal_pe.c b/pal/uefi_dt/src/pal_pe.c index e3128af3..039ab73a 100644 --- a/pal/uefi_dt/src/pal_pe.c +++ b/pal/uefi_dt/src/pal_pe.c @@ -108,6 +108,7 @@ pal_smbios_create_info_table(PE_SMBIOS_PROCESSOR_INFO_TABLE *SmbiosTable) /* Get SMBIOS Protocol Handler */ Status = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID **)&SmbiosProtocol); if (EFI_ERROR(Status)) { + SmbiosTable->slot_count = 0; return; }