lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZI34CQzkDBKpv48n@errol.ini.cmu.edu>
Date:   Sat, 17 Jun 2023 14:14:33 -0400
From:   "Gabriel L. Somlo" <gsomlo@...il.com>
To:     Jisheng Zhang <jszhang@...nel.org>
Cc:     Ulf Hansson <ulf.hansson@...aro.org>,
        Karol Gugala <kgugala@...micro.com>,
        Mateusz Holenko <mholenko@...micro.com>,
        Joel Stanley <joel@....id.au>, linux-mmc@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS

On Sat, Jun 17, 2023 at 04:53:19PM +0800, Jisheng Zhang wrote:
> mmc host drivers should have enabled the asynchronous probe option, but
> it seems like we didn't set it for litex_mmc when introducing litex mmc
> support, so let's set it now.
> 
> Tested with linux-on-litex-vexriscv on sipeed tang nano 20K fpga.
> 
> Signed-off-by: Jisheng Zhang <jszhang@...nel.org>
> ---

Acked-by: Gabriel Somlo <gsomlo@...il.com>

Thanks!

>  drivers/mmc/host/litex_mmc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/host/litex_mmc.c b/drivers/mmc/host/litex_mmc.c
> index 39c6707fdfdb..9af6b0902efe 100644
> --- a/drivers/mmc/host/litex_mmc.c
> +++ b/drivers/mmc/host/litex_mmc.c
> @@ -649,6 +649,7 @@ static struct platform_driver litex_mmc_driver = {
>  	.driver = {
>  		.name = "litex-mmc",
>  		.of_match_table = litex_match,
> +		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
>  	},
>  };
>  module_platform_driver(litex_mmc_driver);
> -- 
> 2.40.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ