RE: [PATCH] mmc: mmc_test: Add re-tuning test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +static int mmc_test_retuning(struct mmc_test_card *test) {
> +       if (!mmc_can_retune(test->card->host)) {
> +               pr_info("%s: No retuning - test skipped\n",
> +                       mmc_hostname(test->card->host));
> +               return RESULT_UNSUP_HOST;
> +       }
> +
> +       return mmc_test_rnd_perf(test, 0, 0, 8192, 30, 1);
>  }
I wonder if it would make sense to make a RPMB flavor for the re-tuning test?

Thanks,
Avri

> 
>  /*
> @@ -2921,6 +2934,14 @@ static const struct mmc_test_case
> mmc_test_cases[] = {
>                 .run = mmc_test_cmds_during_write_cmd23_nonblock,
>                 .cleanup = mmc_test_area_cleanup,
>         },
> +
> +       {
> +               .name = "Re-tuning reliability",
> +               .prepare = mmc_test_area_prepare,
> +               .run = mmc_test_retuning,
> +               .cleanup = mmc_test_area_cleanup,
> +       },
> +
>  };
> 
>  static DEFINE_MUTEX(mmc_test_lock);
> --
> 2.34.1






[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux