Add Imprecise flag for memory access fault
KFD may not be able to provide the precise VM fault address and status.
This flag will indicate whether the event data has the fault details
Change-Id: I15ffd5c25f555003c6450cc0700efb769418f76b
[ROCm/ROCR-Runtime commit: 79077811f5]
이 커밋은 다음에 포함됨:
1 부모
a31106ee4c
커밋
0c6a45ca49
3 파일이 변경됨
+4
-2
검색과 일치하는 파일 없음
@@ -781,7 +781,8 @@ typedef struct _HsaAccessAttributeFailure
|
||||
unsigned int NoExecute : 1; // Execute access to a page marked NX
|
||||
unsigned int GpuAccess : 1; // Host access only
|
||||
unsigned int ECC : 1; // ECC failure (if supported by HW)
|
||||
unsigned int Reserved : 27; // must be 0
|
||||
unsigned int Imprecise : 1; // Can't determine the exact fault address
|
||||
unsigned int Reserved : 26; // must be 0
|
||||
} HsaAccessAttributeFailure;
|
||||
|
||||
// data associated with HSA_EVENTID_MEMORY
|
||||
|
||||
@@ -222,7 +222,7 @@ struct kfd_memory_exception_failure {
|
||||
bool NotPresent; /* Page not present or supervisor privilege */
|
||||
bool ReadOnly; /* Write access to a read-only page */
|
||||
bool NoExecute; /* Execute access to a page marked NX */
|
||||
bool pad;
|
||||
bool imprecise; /* Can't determine the exact fault address */
|
||||
};
|
||||
|
||||
/* memory exception data*/
|
||||
|
||||
새 이슈에서 참조
사용자 차단