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:
 <PH7PR16MB61960D396B3E5B61571F7F82E5A02@PH7PR16MB6196.namprd16.prod.outlook.com>
Date: Fri, 28 Mar 2025 08:13:54 +0000
From: Avri Altman <Avri.Altman@...disk.com>
To: Ulf Hansson <ulf.hansson@...aro.org>, "linux-mmc@...r.kernel.org"
	<linux-mmc@...r.kernel.org>
CC: Adrian Hunter <adrian.hunter@...el.com>, Wolfram Sang
	<wsa+renesas@...g-engineering.com>, Yoshihiro Shimoda
	<yoshihiro.shimoda.uh@...esas.com>, "linux-renesas-soc@...r.kernel.org"
	<linux-renesas-soc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 4/5] mmc: core: Add support for graceful host removal for
 eMMC

> +/*
> + * Host is being removed. Free up the current card and do a graceful power-
> off.
> + */
> +static void mmc_remove(struct mmc_host *host) {
> +	get_device(&host->card->dev);
> +	mmc_remove_card(host->card);
> +
> +	_mmc_suspend(host, MMC_POWEROFF_UNBIND);
Couldn't find how _mmc_suspend handles this new power off flag?

Thanks,
Avri

> +
> +	put_device(&host->card->dev);
> +	host->card = NULL;
> +}
> +
>  /*
>   * Suspend callback
>   */
> --
> 2.43.0
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ