RAS feature enabling bit and errors return are implemented in
existed topology and event mechanism.

v2: change library interface.

Change-Id: I75807c080b5b26e8115240b05b3d7016cb05a31a
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
Этот коммит содержится в:
Eric Huang
2018-12-04 14:06:03 -05:00
коммит произвёл JinHuiEric Huang
родитель bcc348e3b9
Коммит 8ee93b3187
3 изменённых файлов: 16 добавлений и 4 удалений
+5 -1
Просмотреть файл
@@ -285,7 +285,11 @@ struct kfd_hsa_memory_exception_data {
struct kfd_memory_exception_failure failure;
__u64 va;
__u32 gpu_id;
__u32 pad;
__u32 ErrorType; /* 0 = no RAS error,
1 = ECC_SRAM,
2 = Link_SYNFLOOD (poison),
3 = GPU hang (not attributable to a specific cause),
other values reserved */
};
/* hw exception data */