]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add fault injection for xe_oa_alloc_regs
authorNakshtra Goyal <nakshtra.goyal@intel.com>
Thu, 27 Feb 2025 10:23:39 +0000 (15:53 +0530)
committerHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 26 Mar 2025 09:41:19 +0000 (15:11 +0530)
commit6fe653f82402fafecb913375e74f386f52c10938
treebbc69396cd8d9c2d4dd34a441e3ece56dc422305
parentbf6cb06c0e05ff6fb5bfab3e5d7c22e4617e23e0
drm/xe: Add fault injection for xe_oa_alloc_regs

Add fault injection for xe_oa_alloc_regs to allow it to fail while
executing xe_oa_add_config_ioctl().
This need to be added as it cannot be reached by injecting error through
IOCTL arguments.

Signed-off-by: Nakshtra Goyal <nakshtra.goyal@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://lore.kernel.org/r/20250227102339.2859726-1-nakshtra.goyal@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
drivers/gpu/drm/xe/xe_oa.c