From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 028AB2686AA; Tue, 8 Apr 2025 12:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115456; cv=none; b=f0zY12zJKSrWzRX0XcuiK/uNLooPJeHLFiCNo9OfYpgEIkPoY8XchqMWkd1MzvnsBja+Em9w7JehDa4MWGkGvN5P+OVzJN7uvoAQJi3EI4TuOPbWhb/b0Hhzf+DIQMBhT8EpPIGgaTr+1fZR5RJwDKEkvMj+/0usnARDqyFbw3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115456; c=relaxed/simple; bh=71ic/70oAp7t7sN59oG5YXoDdgwn1XDAzx5052d/pok=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Hq7DGFFxUhbvGCa75CxxskYONPQMuPw7HYw1/3RnU9SzKISGXT4K6B6O9FddAChEKzCt3n9qCuZxXmD/ZDJ3YLJWjUi7QYy8bZ0RfmRDMtssN42umVLpmsF8PxgqwwPx7UClzCF3RMkCVH1VAmHQDXhEdyyo5CpedYs3+sgolGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E7oWaj6R; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="E7oWaj6R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87C8BC4CEE5; Tue, 8 Apr 2025 12:30:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744115455; bh=71ic/70oAp7t7sN59oG5YXoDdgwn1XDAzx5052d/pok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E7oWaj6Rm/sB3dKOep4wNewO7Gy80C0uUPteac299gsJXsr1yJ9zvw/hZzZf7eR5x U1b9vnNPrFjKc9mPDVp4uGZpjyZg0HLv2fsM4R9OWn35ikp1dzKbNTn/Tn7vznge63 8eQay4pf++iichifcRReDVgCE7YUG3va41uOko/g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, David Owens , Romain Naour , Robert Nelson , Ulf Hansson , Adrian Hunter , Tony Lindgren Subject: [PATCH 6.13 464/499] mmc: sdhci-omap: Disable MMC_CAP_AGGRESSIVE_PM for eMMC/SD Date: Tue, 8 Apr 2025 12:51:16 +0200 Message-ID: <20250408104902.812482904@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104851.256868745@linuxfoundation.org> References: <20250408104851.256868745@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ulf Hansson commit 49d162635151d0dd04935070d7cf67137ab863aa upstream. We have received reports about cards can become corrupt related to the aggressive PM support. Let's make a partial revert of the change that enabled the feature. Reported-by: David Owens Reported-by: Romain Naour Reported-by: Robert Nelson Tested-by: Robert Nelson Fixes: 3edf588e7fe0 ("mmc: sdhci-omap: Allow SDIO card power off and enable aggressive PM") Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson Acked-by: Adrian Hunter Reviewed-by: Tony Lindgren Link: https://lore.kernel.org/r/20250312121712.1168007-1-ulf.hansson@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -1339,8 +1339,8 @@ static int sdhci_omap_probe(struct platf /* R1B responses is required to properly manage HW busy detection. */ mmc->caps |= MMC_CAP_NEED_RSP_BUSY; - /* Allow card power off and runtime PM for eMMC/SD card devices */ - mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_AGGRESSIVE_PM; + /* Enable SDIO card power off. */ + mmc->caps |= MMC_CAP_POWER_OFF_CARD; ret = sdhci_setup_host(host); if (ret)