[Intel-xe] [PATCH v8 0/3] Notify userspace about uevent failure
Himal Prasad Ghimiray
himal.prasad.ghimiray at intel.com
Tue Jul 25 15:51:12 UTC 2023
series sends an uevent in case of gt reset failure.
since we have no mechanism to ensure gt reset failure from
hw perspective introducing the fault injection to validate the uevent.
https://gitlab.freedesktop.org/drm/xe/ci/-/commit/5ab4b369758a57b5a799b93c1d5b556c98d9d557
is enabling the config to ensure debugfs creations are succesful.
Tested-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Testcase: https://patchwork.freedesktop.org/series/121309/
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Himal Prasad Ghimiray (3):
fault-inject: Include linux/types.h by default.
drm/xe: Notify Userspace when gt reset fails
drm/xe: Introduce fault injection for gt reset
drivers/gpu/drm/xe/xe_debugfs.c | 10 ++++++++++
drivers/gpu/drm/xe/xe_gt.c | 25 ++++++++++++++++++++++++-
drivers/gpu/drm/xe/xe_gt.h | 14 ++++++++++++++
include/linux/fault-inject.h | 3 ++-
include/uapi/drm/xe_drm.h | 8 ++++++++
5 files changed, 58 insertions(+), 2 deletions(-)
--
2.25.1
More information about the Intel-xe
mailing list