Skip to content

Commit 14b1357

Browse files
committed
StandaloneMmPkg: StandaloneMmIplPei: Do not assert on driver dispatch
The current module checks the return status of MmIplDispatchMmDrivers. Any failure would cause the system to assert. However, this should not be deemed as fatal since the result could be entirely implementation defined on the Standalone MM core side. This change loosens the check and not to do asserts on dispatcher requests. Signed-off-by: Kun Qin <kuqin12@gmail.com>
1 parent 7c3f479 commit 14b1357

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

StandaloneMmPkg/Drivers/StandaloneMmIplPei/StandaloneMmIplPei.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,8 @@ MmIplDispatchMmDrivers (
914914
//
915915
Size = sizeof (CommunicateHeader);
916916
Status = Communicate (NULL, &CommunicateHeader, &Size);
917-
ASSERT_EFI_ERROR (Status);
917+
// MU_CHANGE: Do not assert on dispatch request as we may need to do it through other channels.
918+
// ASSERT_EFI_ERROR (Status);
918919

919920
return Status;
920921
}
@@ -1028,7 +1029,8 @@ StandaloneMmIplPeiEntry (
10281029
// Dispatch StandaloneMm drivers in MM
10291030
//
10301031
Status = MmIplDispatchMmDrivers ();
1031-
ASSERT_EFI_ERROR (Status);
1032+
// MU_CHANGE: Do not assert on dispatch request as we may need to do it through other channels.
1033+
// ASSERT_EFI_ERROR (Status);
10321034

10331035
return EFI_SUCCESS;
10341036
}

0 commit comments

Comments
 (0)