Enable/Disable PCIe clocks on NVMe drive hot-add/remove
When the BMC detects the hot-add/hot-removal of an NVMe drive on HSBP,
the BMC shall enable/disable the clock to the NVMe drive on the
DB2000 clock buffer to reduce EMI.
In addition fix the issue of addition/removal events not getting
logged in System Event Log.
Tested:
1. DB2000 clock enabling/disabling on hot addition/removal of PCIe
drives tested with debug cpld image which emulates hot
addition/removal of drives. Addition/removal verified via ITP.
DB2000 clock enabling/disabling verified independently via
i2c-tools from BMC also.
2. SEL log entries on each hot-add/removal verified via redfish
Signed-off-by: Rohit Chandel <rohit.k.chandel@intel.com>
Change-Id: I5c6f8d6cf0b8fb737006b6ca14f2cfcd6a3de27d
2 files changed