Skip to content

Commit 90d182d

Browse files
sora-su-wiwynnmeta-codesync[bot]
authored andcommitted
yosemite4: pldm: oem: Hardcode the slot number if mctp configuration empty
Summary: # [Description] - Related to YV4T1M-2217 - BMC records an abnormal SEL containing the string "Host0" # [Root Cause] The BMC uses 0 as the default slot number when the mctp configuration is empty. # [Solution] Hardcode the slot number based on the TID if the mctp configuration is empty X-link: https://github.com/facebookexternal/openbmc.wiwynn/pull/3466 Reviewed By: ifel Differential Revision: D88476789 fbshipit-source-id: abef00b40844908fe7a521121ed8e6b67c987cbd
1 parent 72335ec commit 90d182d

15 files changed

+24
-24
lines changed

common/lfopenbmc/recipes-phosphor/pldm/files/0001-pldm-Revise-image-path-for-update.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From c40368295ce06dfcb13272001f8d698abe7253a9 Mon Sep 17 00:00:00 2001
1+
From 942fc9847389fd16bc7905ac3e19c6122041c48f Mon Sep 17 00:00:00 2001
22
From: Delphine CC Chiu <[email protected]>
33
Date: Tue, 25 Jun 2024 14:51:37 +0800
44
Subject: [PATCH 01/15] pldm: Revise image path for update

common/lfopenbmc/recipes-phosphor/pldm/files/0002-platform-mc-Handle-get-PLDM-Commands-failure.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From ae79e00176457f1f1f3aeec83f3aabce8337a8f0 Mon Sep 17 00:00:00 2001
1+
From f085668a1bdf1c86e6b68c42b14fd0fe3e87d1fc Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Fri, 1 Nov 2024 17:44:55 +0800
44
Subject: [PATCH 02/15] platform-mc: Handle get PLDM Commands failure

common/lfopenbmc/recipes-phosphor/pldm/files/0003-requester-Validate-MCTP-EID-before-removal.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6e675336f93a8dbcdfa4e37c44a21b1628fb1b81 Mon Sep 17 00:00:00 2001
1+
From bc92b036e98d67d2d741f98a5cecb8759dc8213c Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Tue, 26 Nov 2024 15:28:02 +0800
44
Subject: [PATCH 03/15] requester: Validate MCTP EID before removal
@@ -16,7 +16,7 @@ Upstream-Status: Pending
1616
1 file changed, 14 insertions(+), 1 deletion(-)
1717

1818
diff --git a/requester/mctp_endpoint_discovery.cpp b/requester/mctp_endpoint_discovery.cpp
19-
index 41ad909..7d8309b 100644
19+
index 6f825f2..187fd86 100644
2020
--- a/requester/mctp_endpoint_discovery.cpp
2121
+++ b/requester/mctp_endpoint_discovery.cpp
2222
@@ -268,12 +268,25 @@ void MctpDiscovery::removeFromExistingMctpInfos(MctpInfos& mctpInfos,

common/lfopenbmc/recipes-phosphor/pldm/files/0004-platform-mc-Add-MCTP-recovery-option.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 2a76d8034839c87ebcb1bcf233172b1c2b290143 Mon Sep 17 00:00:00 2001
1+
From 6b9d8eb54a0cb9f3be4130e1d2cafc1b7ff7aa26 Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Thu, 6 Mar 2025 16:48:20 +0800
44
Subject: [PATCH 04/15] platform-mc: Add MCTP recovery option
@@ -90,5 +90,5 @@ index 7ac16e1..0766129 100644
9090
co_return rc;
9191
}
9292
--
93-
2.47.3
93+
2.43.0
9494

common/lfopenbmc/recipes-phosphor/pldm/files/0005-platform-mc-Add-option-for-discovering-FRU-data.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d7549397d45bf59c5e1ed73ee055e3df85c48b68 Mon Sep 17 00:00:00 2001
1+
From 0fada69a78a3d6dacd5866958e980b55d22f4c1c Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Thu, 6 Mar 2025 17:40:53 +0800
44
Subject: [PATCH 05/15] platform-mc: Add option for discovering FRU data
@@ -19,7 +19,7 @@ Upstream-Status: Pending
1919
5 files changed, 64 insertions(+), 2 deletions(-)
2020

2121
diff --git a/meson.build b/meson.build
22-
index b23e1d8..4047bce 100644
22+
index b008bbd..2ed8486 100644
2323
--- a/meson.build
2424
+++ b/meson.build
2525
@@ -142,6 +142,10 @@ conf_data.set(

common/lfopenbmc/recipes-phosphor/pldm/files/0006-pldm-Use-std-expected-for-instance-ID-allocation.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From de7d5fc0964e12e33333780c6adf5c29402d4c40 Mon Sep 17 00:00:00 2001
1+
From 0e4b721921daed6a283c779c7acad4a6722f014a Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Tue, 15 Jul 2025 10:22:29 +0000
44
Subject: [PATCH 06/15] pldm: Use std::expected for instance ID allocation
@@ -800,5 +800,5 @@ index e097988..9f8d02a 100644
800800
instanceID, effecterID, effecterCount, &stateField, request);
801801
if (rc != PLDM_SUCCESS)
802802
--
803-
2.47.3
803+
2.43.0
804804

common/lfopenbmc/recipes-phosphor/pldm/files/0007-common-Add-blocking-instance-ID-allocation.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a0b3d989748ec8c7bf9e192bb49355874032e00e Mon Sep 17 00:00:00 2001
1+
From a4fa6677185591d93f43f37a4ba622e0d546af9b Mon Sep 17 00:00:00 2001
22
From: Amithash Prasad <[email protected]>
33
Date: Wed, 21 May 2025 16:23:33 -0700
44
Subject: [PATCH 07/15] common: Add blocking instance ID allocation

common/lfopenbmc/recipes-phosphor/pldm/files/0008-requester-Always-re-initialize-MCTP-info.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a501628670b9e59289a2ec68206485da28823a15 Mon Sep 17 00:00:00 2001
1+
From f750e7581674e26bfe3472e121fa881c5f15078f Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Thu, 2 Oct 2025 08:50:56 +0000
44
Subject: [PATCH 08/15] requester: Always re-initialize MCTP info
@@ -173,5 +173,5 @@ index 3c37e44..96586a0 100644
173173

174174
private:
175175
--
176-
2.47.3
176+
2.43.0
177177

common/lfopenbmc/recipes-phosphor/pldm/files/0009-platform-mc-Add-retries-for-terminus-discovery.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From c788bc4f0320e5279f22ae06c72cc705ad3417e0 Mon Sep 17 00:00:00 2001
1+
From 3fe2879c0e0a64a4ca347f49a555f9b9e20f1e3d Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Tue, 23 Sep 2025 09:47:45 +0000
44
Subject: [PATCH 09/15] platform-mc: Add retries for terminus discovery
@@ -33,7 +33,7 @@ Signed-off-by: Eric Yang <[email protected]>
3333
4 files changed, 93 insertions(+), 6 deletions(-)
3434

3535
diff --git a/meson.build b/meson.build
36-
index 4047bce..330a229 100644
36+
index 2ed8486..bcff4c5 100644
3737
--- a/meson.build
3838
+++ b/meson.build
3939
@@ -146,6 +146,10 @@ conf_data.set(

common/lfopenbmc/recipes-phosphor/pldm/files/0010-platform-mc-Make-fallback-terminus-name-optional.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 40cd05dd69f9c6f770e1e278c0d25d76cdadf0a9 Mon Sep 17 00:00:00 2001
1+
From 03b197df7d3902e84ef41f70ecadc41c5c2e1a70 Mon Sep 17 00:00:00 2001
22
From: Eric Yang <[email protected]>
33
Date: Mon, 13 Oct 2025 11:10:37 +0000
44
Subject: [PATCH 10/15] platform-mc: Make fallback terminus name optional
@@ -45,7 +45,7 @@ Signed-off-by: Eric Yang <[email protected]>
4545
3 files changed, 19 insertions(+)
4646

4747
diff --git a/meson.build b/meson.build
48-
index 330a229..9bd57ad 100644
48+
index bcff4c5..3b6a7b9 100644
4949
--- a/meson.build
5050
+++ b/meson.build
5151
@@ -150,6 +150,10 @@ conf_data.set(

0 commit comments

Comments
 (0)