Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescan the root bus when a new mux is added
FRU devices can be incorrectly associated with rootbus after BMC reset if a MUX was left open during shutdown. This prevents the scanning of the same addresses on other legs of the MUX and few FRU devices are missing under FRU list. Rescan the rootbus before scanning the mux channel removes these devices from the rootbus. Next scan on the mux channel will find these devices on the correct logic bus. Without Fix, when 5 HSBPs connected to system: before cold reset: |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_0 |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_1 |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_2 |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_3 after cold reset: |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_0 |-/xyz/openbmc_project/FruDevice/BHS2U8X4U2HSBP_1 Tested: Tested and verified that all FRU devices are scanning properly. Change-Id: I470fe49084697a179d8f7b5241d342ef02964e39 Signed-off-by: PavanKumarIntel <pavanx.kumar.martha@intel.com>
- Loading branch information