Fixed post reset and ring_hang issues

Issues include:
	SWDEV-480250
	SWDEV-480255
	SWDEV-480248
Known issue:
	`amd-smi event` has threads taking events from the same device
which, in the case of resetting gpus, makes it seem like some gpus have
reset mulitple times and other have not reset at all.

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Ic7dcc214e0366fc1532ece579d915d34d35d5407
This commit is contained in:
gabrpham
2024-11-14 14:39:59 -06:00
committed by Maisam Arif
parent 1586005a5b
commit bd01cfc203
7 changed files with 1466 additions and 177 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ AMDSMI_MAX_CACHE_TYPES = 10
AMDSMI_MAX_NUM_XGMI_PHYSICAL_LINK = 64
AMDSMI_GPU_UUID_SIZE = 38
MAX_AMDSMI_NAME_LENGTH = 64
MAX_EVENT_NOTIFICATION_MSG_SIZE = 64
MAX_EVENT_NOTIFICATION_MSG_SIZE = 96
class AmdSmiInitFlags(IntEnum):