Skip to content
  1. Oct 12, 2022
  2. Oct 10, 2022
    • Andrew Jeffery's avatar
      libpldm: Migrate to subproject · 27a022ca
      Andrew Jeffery authored
      
      
      Organize files in libpldm to make it a subproject
      
      In the current state, libpldm is not readily consumable
      as a subproject.This commit does all the necessary re-organisation
      of the source code to make it work as a subproject.
      
      There are no .c/.h files changes in this commit, only meson
      changes and re-organising the code structure.
      
      Signed-off-by: default avatarManojkiran Eda <manojkiran.eda@gmail.com>
      Change-Id: I20a71c0c972b1fd81fb359d604433618799102c6
      27a022ca
    • Sridevi Ramesh's avatar
      Add API to create fru records only for present frus. · eefe49bf
      Sridevi Ramesh authored
      
      
      This commit builds the fru records only for the present
      frus. Any item which is a FRU should by default implement
      the Inventory.Item Interface and host the present property.
      So, if the present property is not hosted then FRU is absent.
      
      Signed-off-by: default avatarSridevi Ramesh <sridevra@in.ibm.com>
      Change-Id: I5534d6cc1a9f7a1b329975cdd5de54110f456f39
      eefe49bf
  3. Oct 07, 2022
  4. Sep 28, 2022
  5. Sep 27, 2022
    • Jayashankar Padath's avatar
      oem_ibm: Fix for dump offload issues · e7cc8690
      Jayashankar Padath authored
      
      
      This commit is to fix the dump offload issue by using
      GetManagedObjects instead of GetSubTreePaths to search for the
      dump entry match.
      
      Tested by triggering the system dump and resource dump offloads.
      
      Signed-off-by: default avatarJayashankar Padath <jayashankar.padath@in.ibm.com>
      Change-Id: Ic85980b6fdc4030ace48d03d7cef335eae69d34f
      e7cc8690
    • Jayashankar Padath's avatar
      oem: Fix to remove extra system dump · 99fa1864
      Jayashankar Padath authored
      
      
      An unwanted system dump is being generated if the resource dump is
      initiated from hypervisor with an empty vsp string. So the fix here
      is to additionally check the resource dump progress status and block
      sending the command to hypervisor if the status is not in progress.
      
      Tested by initiating a resource dump from hypervisor with an empty
      string and observed that extra system dump was not getting generated
      after the fix.
      
      Signed-off-by: default avatarJayashankar Padath <jayashankar.padath@in.ibm.com>
      Change-Id: I25c1db3510d6f44b354881e4065aa148fe618464
      99fa1864
  6. Sep 26, 2022
  7. Sep 22, 2022
  8. Sep 21, 2022
  9. Sep 20, 2022
    • ArchanaKakani's avatar
      OEM-IBM:Send FC keyword instead of TM keyword · 67fcfdb6
      ArchanaKakani authored
      
      
      PLDM sends the VCEN records(both FC and TM keywords) to host via the
      bmc fru record table. But TM is not programmed in VPD.
      
      As reprogramming this in VPD during manufacturing is not feasible,
      pldm will do a work around to read FC key word from the dbus and
      populate the TM Fru entry in the fru record-table.
      
      Updated Json files to pick FC keyword from Dbus and type remains
      the same as that of TM.
      
      Change-Id: I974e68d99b4a91f9ee930f74787ef95492184506
      Signed-off-by: default avatarArchanaKakani <archana.kakani@ibm.com>
      67fcfdb6
  10. Sep 19, 2022
  11. Sep 16, 2022
  12. Sep 07, 2022
    • Pavithra Barithaya's avatar
      PLDM:OEM Pass service authorization credentials to PHYP · c047f800
      Pavithra Barithaya authored
      
      
      This commit implements a mechanism to pass the service agent's
      credentials along with a request to invoke a PHYP macro. This is
      known as Resource Dump with authentication.
      
      -The setting for this is: the service agent is authenticated to
      the BMC and is performing an operation to invoke a PHYP macro.
      -The credentials that need to be passed into the request include
      the ACF (Authentication Certificate File)
      (which can be copied from the BMC's file system) and
      the service account's password that goes with that ACF.
      -The credentials are optionally provided.
      
      Signed-off-by: default avatarPavithra Barithaya <pavithra.b@ibm.com>
      Change-Id: Ie05838cf717015684806d7fd11744ebdd16597a5
      c047f800
  13. Sep 06, 2022
  14. Sep 05, 2022
  15. Aug 29, 2022
    • Manojkiran Eda's avatar
      Add missing dependencies · 06fca441
      Manojkiran Eda authored
      
      
      There are multiple places where the dependencies are
      explicitly missing & its working as of today because
      of the way the code was organised.
      
      The intent behind this commit is add the missing dependencies
      explicitly. This commit fixes :
      1. common tests depends on header files in common folder, but
      it is not added as a dependency, fixing this by adding libpldmutils
      as the dependency.
      2. fw-update tests depends on header files in common folder as well,
      but it is not added as a dependency , fixing this by adding libpldmutils
      as the dependency.
      3. requester test code includes header files in the pldmd folder, but
      that is not added as a dependency as well, fixing this by adding
      include_directories and making it a dependency.
      
      Signed-off-by: default avatarManojkiran Eda <manojkiran.eda@gmail.com>
      Change-Id: I102ea5096dd9edfc876fd60df7628fc061e085f2
      06fca441
    • Manojkiran Eda's avatar
      Fix libpldm includes in the responder · b941eeb4
      Manojkiran Eda authored
      
      
      The header files from libpldm are installed in
      libpldm/<.h> pattern, so fixing the header includes to
      have folder name prepended.
      
      Signed-off-by: default avatarManojkiran Eda <manojkiran.eda@gmail.com>
      Change-Id: I0c1c326b3bac4e328d679253c60ac69f2082041e
      b941eeb4
  16. Aug 24, 2022
  17. Aug 11, 2022
  18. Aug 04, 2022
  19. Aug 02, 2022
  20. Aug 01, 2022
    • Patrick Williams's avatar
      sdbusplus: use shorter type aliases · 84b790cb
      Patrick Williams authored
      
      
      The sdbusplus headers provide shortened aliases for many types.
      Switch to using them to provide better code clarity and shorter
      lines.  Possible replacements are for:
        * bus_t
        * exception_t
        * manager_t
        * match_t
        * message_t
        * object_t
        * slot_t
      
      Signed-off-by: default avatarPatrick Williams <patrick@stwcx.xyz>
      Change-Id: I8e2242adb79be342562c9b7f3d2153dfdf578085
      84b790cb
  21. Jul 29, 2022
  22. Jul 25, 2022
  23. Jul 22, 2022
  24. Jul 21, 2022
  25. Jul 20, 2022
    • Andrew Geissler's avatar
      remove wants on synch targets in soft off · d020a4fb
      Andrew Geissler authored
      openbmc/phosphor-state-manager#21 highlights an architecture issue with
      OpenBMC's use of synchronization targets. When a service, such as
      pldmSoftPowerOff.service, runs both in a standard power off
      target, as well as in other paths (like the host graceful quiesce
      path), there is an issue.
      
      The service starts the synchronization targets in the quiesce path and
      this causes them to already be running on the power off, resulting in
      the synchronization targets not actually coordinating the power off.
      
      The direction this commit takes OpenBMC is that if a service needs to
      run outside of the standard power on or off path, then they can not
      have a Wants or Requires clause in the service file.
      
      The following commit was done a while back to address this issue:
        https://gerrit.openbmc.org/c/openbmc/phosphor-state-manager/+/40026
      
      
      
      That is that we ensure the primary power on and off targets start the
      synchronization targets so services requiring them can just use a
      Before or After clause.
      
      The piece that was never done was to go and fix the services which fell
      into this bucket.
      
      Tested:
      - Did multiple boots, reboots, and host crash tests and saw no issues
      
      Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
      Change-Id: I7260f4aad666acf127f9766cf27dd54f4a18ebe4
      d020a4fb
    • Sridevi Ramesh's avatar
      OEM-IBM: Implement encode & decode APIs for NewFileAvailableWithMetaData. · 07c2f0ae
      Sridevi Ramesh authored
      
      
      This commit implements requester and responder flow for
      NewFileAvailableWithMetaData.
      Tested: Unit tests passed.
      
      Change-Id: I3dbcdd354a9e89529125125333aa413c733daf3c
      Signed-off-by: default avatarSridevi Ramesh <sridevra@in.ibm.com>
      07c2f0ae
  26. Jul 14, 2022
Loading