Add SRCID to the xe_pagefault struct, which reports the ID of the faulting hardware unit. This will be passed on to the xe_vm_get_property_ioctl for reading per-vm faults and will assist in diagnosing pagefaults.
v2: - Readd pad check, as the pad in the ioctl struct was not changed (jcavitt) v3: - Rebase v4: - Squash SRCID with ASID to keep the struct compact (Matthew) Jonathan Cavitt (2): drm/xe/pagefault: Add SRCID to pagefault struct drm/xe/vm: Add srcid to xe_vm_get_property_ioctl fault report drivers/gpu/drm/xe/xe_guc_pagefault.c | 5 ++++- drivers/gpu/drm/xe/xe_pagefault.c | 23 +++++++++++++++-------- drivers/gpu/drm/xe/xe_pagefault_types.h | 9 +++++++-- drivers/gpu/drm/xe/xe_vm.c | 8 ++++++++ drivers/gpu/drm/xe/xe_vm_types.h | 2 ++ include/uapi/drm/xe_drm.h | 4 ++-- 6 files changed, 38 insertions(+), 13 deletions(-) -- 2.53.0
