From bcc5f6b0f24e8ad0b03b8217e88a19ff3002c084 Mon Sep 17 00:00:00 2001 From: Manojkiran Eda Date: Tue, 8 Jun 2021 15:47:53 +0530 Subject: Override pldm response time out value This commit would override response time out value for a request to 4.8 seconds for all the ibm machines. We have seen in our debugging that in rare cases host takes close to 5 seconds to respond to the pldm message.This value (4.8 seconds) is in sync with what phyp maintains for their messages(5 seconds). As we do lot of fileIO operations, and the number of PDR's tend to grow, picking 4.8 seconds seems to be less risky path & also larger timeout would reduce the number of retries from BMC incase if the host does not respond within 2-3 seconds. Signed-off-by: Manojkiran Eda Change-Id: Ic0eac42b66dbc2c6d69bff440fe590775f35e390 --- meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend b/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend index 32809764b..b57abd8f4 100644 --- a/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend +++ b/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend @@ -1,4 +1,8 @@ PACKAGECONFIG += "oem-ibm" PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled, -Doem-ibm=disabled, , squashfs-tools" +EXTRA_OEMESON_append = " \ + -Dresponse-time-out=4800 \ +" + SYSTEMD_SERVICE_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'oem-ibm', 'pldm-create-phyp-nvram.service pldm-create-phyp-nvram-cksum.service', '', d)}" -- cgit v1.2.3