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 8B154267B8C; Tue, 8 Apr 2025 12:30:26 +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=1744115426; cv=none; b=lGrAvdYIpSaQH4IH2aUnhSCSyMzrtcjka4EsIO0xn3bxFE2DVkvSqQ54jkCtUpOlleyOtLapfceTtQ3XP9xJS+dg1Xsc/5hcn1X3IKTdoKM/rrbq5+G6PqtbUrcNJvyPG86OUMFgiSeOzVFZ8chTD/asPCw+MGhL6RseBDFfqkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115426; c=relaxed/simple; bh=nRLC5J0xtq9x+JyE+qCY485J2unaob9e3XYgbloQRUQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p+nydhhekwI+IoFryM/NRxhW/JRJ7EGYa5wDuKEQYm6ZwGypOwJ5iDyofKVTq2BsVtK7UtZCS+Y4yC1vOaAnn7Ua+Zj2E81S6DX5aD+08/0ejsxb8jT2fLuseDA8xRHztOIY3IPKgS4UMaXGzMkHyLPK6FxcIdUGrXBOHhzX2ms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=he+D1dmI; 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="he+D1dmI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19904C4CEE5; Tue, 8 Apr 2025 12:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744115426; bh=nRLC5J0xtq9x+JyE+qCY485J2unaob9e3XYgbloQRUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=he+D1dmIbGld2OOmkQcGLFAOOP/Om0adUWEQsg3l94J4kSPhqYQn95pYENAsLaLpc z5FQy5z74ThaHjP9SxtB10dxQ4AWeUtmPexMfAgHHqaTmpXnxdGr9ZY71Xnde6S8k3 LK3hufghqkYi4Z4n2V8QVpsUTpY5Z6D4PlxaScZw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Karel Balej , Adrian Hunter , =?UTF-8?q?Duje=20Mihanovi=C4=87?= , Ulf Hansson Subject: [PATCH 6.13 463/499] mmc: sdhci-pxav3: set NEED_RSP_BUSY capability Date: Tue, 8 Apr 2025 12:51:15 +0200 Message-ID: <20250408104902.787002301@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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Karel Balej commit a41fcca4b342811b473bbaa4b44f1d34d87fcce6 upstream. Set the MMC_CAP_NEED_RSP_BUSY capability for the sdhci-pxav3 host to prevent conversion of R1B responses to R1. Without this, the eMMC card in the samsung,coreprimevelte smartphone using the Marvell PXA1908 SoC with this mmc host doesn't probe with the ETIMEDOUT error originating in __mmc_poll_for_busy. Note that the other issues reported for this phone and host, namely floods of "Tuning failed, falling back to fixed sampling clock" dmesg messages for the eMMC and unstable SDIO are not mitigated by this change. Link: https://lore.kernel.org/r/20200310153340.5593-1-ulf.hansson@linaro.org/ Link: https://lore.kernel.org/r/D7204PWIGQGI.1FRFQPPIEE2P9@matfyz.cz/ Link: https://lore.kernel.org/r/20250115-pxa1908-lkml-v14-0-847d24f3665a@skole.hr/ Cc: stable@vger.kernel.org Signed-off-by: Karel Balej Acked-by: Adrian Hunter Tested-by: Duje Mihanović Link: https://lore.kernel.org/r/20250310140707.23459-1-balejk@matfyz.cz Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci-pxav3.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c @@ -399,6 +399,7 @@ static int sdhci_pxav3_probe(struct plat if (!IS_ERR(pxa->clk_core)) clk_prepare_enable(pxa->clk_core); + host->mmc->caps |= MMC_CAP_NEED_RSP_BUSY; /* enable 1/8V DDR capable */ host->mmc->caps |= MMC_CAP_1_8V_DDR;