Skip to content

Commit

Permalink
Xbutil reset issue fixed related to hwmon (#7706)
Browse files Browse the repository at this point in the history
* Adding RAVE device id to XRT

Signed-off-by: Saifuddin <[email protected]>

* Fixed xbutil reset

Signed-off-by: Saifuddin <[email protected]>

* Fixed xbutil reset issue

Signed-off-by: Saifuddin <[email protected]>

---------

Signed-off-by: Saifuddin <[email protected]>
  • Loading branch information
saifuddin-xilinx authored Sep 14, 2023
1 parent 3aed64f commit 8935805
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ long xclmgmt_hot_reset(struct xclmgmt_dev *lro, bool force)
*/
if (!XOCL_DSA_PCI_RESET_OFF(lro)) {
xocl_subdev_destroy_by_level(lro, XOCL_SUBDEV_LEVEL_URP);
(void) xocl_subdev_offline_by_id(lro, XOCL_SUBDEV_HWMON_SDM);
(void) xocl_subdev_offline_by_id(lro, XOCL_SUBDEV_XGQ_VMR);
(void) xocl_subdev_offline_by_id(lro, XOCL_SUBDEV_UARTLITE);
(void) xocl_subdev_offline_by_id(lro, XOCL_SUBDEV_FLASH);
Expand Down Expand Up @@ -344,6 +345,7 @@ long xclmgmt_hot_reset(struct xclmgmt_dev *lro, bool force)
(void) xocl_subdev_online_by_id(lro, XOCL_SUBDEV_FLASH);
(void) xocl_subdev_online_by_id(lro, XOCL_SUBDEV_UARTLITE);
(void) xocl_subdev_online_by_id(lro, XOCL_SUBDEV_XGQ_VMR);
(void) xocl_subdev_online_by_id(lro, XOCL_SUBDEV_HWMON_SDM);
} else {
mgmt_warn(lro, "PCI Hot reset is not supported on this board.");
}
Expand Down

0 comments on commit 8935805

Please sign in to comment.