[PATCH i-g-t] tests/intel/xe_fault_injection: Test some early probe functions

Francois Dugast francois.dugast at intel.com
Tue Mar 25 13:36:56 UTC 2025


On Tue, Mar 11, 2025 at 11:38:33AM -0700, Lucas De Marchi wrote:
> Test-with: https://lore.kernel.org/intel-xe/20250311-fix-survivability-v2-0-729ce081155e@intel.com/
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Reviewed-by: Francois Dugast <francois.dugast at intel.com>

> ---
>  tests/intel/xe_fault_injection.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/intel/xe_fault_injection.c b/tests/intel/xe_fault_injection.c
> index 5409d19a6..abe224cdf 100644
> --- a/tests/intel/xe_fault_injection.c
> +++ b/tests/intel/xe_fault_injection.c
> @@ -160,11 +160,14 @@ static void set_retval(const char function_name[], long long retval)
>   * arg[1]:
>   * @wait_for_lmem_ready:	wait_for_lmem_ready
>   * @xe_device_create:		xe_device_create
> + * @xe_device_probe_early:	xe_device_probe_early
>   * @xe_ggtt_init_early:		xe_ggtt_init_early
>   * @xe_guc_ads_init:		xe_guc_ads_init
>   * @xe_guc_ct_init:		xe_guc_ct_init
>   * @xe_guc_log_init:		xe_guc_log_init
>   * @xe_guc_relay_init:		xe_guc_relay_init
> + * @xe_mmio_probe_early:	xe_mmio_probe_early
> + * @xe_pcode_probe_early:	xe_pcode_probe_early
>   * @xe_pm_init_early:		xe_pm_init_early
>   * @xe_sriov_init:		xe_sriov_init
>   * @xe_tile_init_early:		xe_tile_init_early
> @@ -325,11 +328,14 @@ igt_main
>  	} probe_fail_functions[] = {
>  		{ "wait_for_lmem_ready" },
>  		{ "xe_device_create" },
> +		{ "xe_device_probe_early" },
>  		{ "xe_ggtt_init_early" },
>  		{ "xe_guc_ads_init" },
>  		{ "xe_guc_ct_init" },
>  		{ "xe_guc_log_init" },
>  		{ "xe_guc_relay_init" },
> +		{ "xe_mmio_probe_early" },
> +		{ "xe_pcode_probe_early" },
>  		{ "xe_pm_init_early" },
>  		{ "xe_sriov_init" },
>  		{ "xe_tile_init_early" },
> -- 
> 2.48.1
> 


More information about the igt-dev mailing list