OpenBIC icon indicating copy to clipboard operation
OpenBIC copied to clipboard

fby4: wf: Change CXL ID naming

Open BonnieLo opened this issue 1 year ago • 1 comments

Description

  • Modify the CXL index naming. Use CXL1 and CXL2 uniformly to avoid confusion.

Motivation

  • Currently, BIC code sometime use CXL0/CXL1 but sometime use CXL1/CXL2.

Test plan

  • Build code: Pass
  • Check CXL power on: Pass

Log

  • Power cycle and check CXL is powered on successfully. root@bmc:~# cxl-fw-update version -m 14 Get Firmware Info for EID: 14 FW Slots Supported: 2 Active FW Slot: 1 Staged FW Slot: 2 FW Activation Capabilities: 1 Slot 1 FW Revision: 2.0.6-fa5ef5eec Slot 2 FW Revision: Slot 3 FW Revision: Slot 4 FW Revision: root@bmc:~# cxl-fw-update version -m 15 Get Firmware Info for EID: 15 FW Slots Supported: 2 Active FW Slot: 1 Staged FW Slot: 2 FW Activation Capabilities: 1 Slot 1 FW Revision: 2.0.6-fa5ef5eec Slot 2 FW Revision: Slot 3 FW Revision: Slot 4 FW Revision: root@bmc:~# busctl set-property xyz.openbmc_project.State.Host1 /xyz/openbmc_project/state/host1 xyz.openbmc_project.State.Host RequestedHostTransition s "xyz.openbmc_project.State.Host.Transition.Reboot" root@bmc:~# cxl-fw-update version -m 14 Get Firmware Info for EID: 14 FW Slots Supported: 2 Active FW Slot: 1 Staged FW Slot: 2 FW Activation Capabilities: 1 Slot 1 FW Revision: 2.0.6-fa5ef5eec Slot 2 FW Revision: Slot 3 FW Revision: Slot 4 FW Revision: root@bmc:~# root@bmc:~# cxl-fw-update version -m 15 Get Firmware Info for EID: 15 FW Slots Supported: 2 Active FW Slot: 1 Staged FW Slot: 2 FW Activation Capabilities: 1 Slot 1 FW Revision: 2.0.6-fa5ef5eec Slot 2 FW Revision: Slot 3 FW Revision: Slot 4 FW Revision:

BonnieLo avatar Apr 26 '24 10:04 BonnieLo

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Apr 26 '24 10:04 facebook-github-bot

This pull request has been merged in facebook/OpenBIC@130cc987c7879ff0875401b00dc48ea05fad8247.

facebook-github-bot avatar Apr 29 '24 21:04 facebook-github-bot