From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796316143; b=sQrOGxWNedrAHXO39i8wcLIQn3VenIwGMcAVUMsMRM/PjpJRzy+cnaTma5qi2yC8MjYM uY6UFZ8GLsnNAklKk2oLJPYECu5IAsApl06ad9d4Cmi6z4XLLpzlJN5ItKPEnWeNJ37Ab O7JCLvaUu9gCutQ9WbVtbCncpwXqi+qIbmC6HVLusAKlclN1QGL2vS9hTJjVTJDjXeDhj T739jgpkvCayu4uKxWBHOAoLG0+yuyKNLV/BePL0MaMygyKMY7vBvxMArbPehqP3Vbl80 Ud+VSAObEmb8dkPfgTyougqUXqehBts/2oj1LZyvaM/RUOf1e8O4KD2ngWEOPPSJwtw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796316143; h=Received:DKIM-Signature:Received:From:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:To:Message-ID:Subject:X-Bugzilla-Product: X-Bugzilla-Component:X-Mailer; bh=hzdDrEqIo2PmQPqLQi22PDf3QxxNcW9S1H47FbLcNNQ=; b=rCSeii2F5cU1ifL588oWa2mwpBWxuxFQUQkLnVhS/uXcC4w2v6bLVQBmTQWRbfs4vnW+ VOjCWcqa9N3DC0WtHrQ4qpmTeR2Rg0c4low2I/WSeEyFqTeUmJU4t+vTaB0beDGynIYo1 kOBAAb0pbIA22L5xvBLLVfcq6KV/Yyfh4WQHXNl2ROQGHwWdSH+UKVRuyEKROB2iy11av tPiJ8SNkIqiEMj0hBhLgkdvlMIRx9mGj3V8jUsh9OrqM0lIin2R+8IikTvSHT6yzi6Mv4 nunxZ5dN8BDCozMqF8K+5qzwRb5CJYs1UIvTwTH+dGchagORLwntehsxJGWvhFH0WbA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mqy0csLJ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F283606A33D for ; Thu, 3 Dec 2026 16:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mqy0csLJ Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFB221F00893; Thu, 3 Dec 2026 16:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796316142; bh=hzdDrEqIo2PmQPqLQi22PDf3QxxNcW9S1H47FbLcNNQ=; h=From:Date:To:Subject; b=mqy0csLJC4egqIrKZI4KAKySsGlroEznHruuksziHums0PCytnR9LP4SneQedqhTX RSq5/4Bc1TKIvnQynexvgnd21Xpx4dMF1FTFmGahI6OMtgn6YRQuRKxkA0fGAe3SvE GdBAOAeJss+sCBxaXrCRe3iJoL6PiT+kN6dqRZulGYppV9XPMyLWNnpXAPLRetmHbu 8WWb5BdS7F6j22t3Iag5JaNQD/xmrBnI8IrKtNgSyyOhVtgdWCqCPmociOqrPrmHbI qIcJjTO3i70FsKeblOLRuzCnWSCMDgm+SJgZyuhZ/8I7DapOsyWhV/UHsZNYjjkyEO HZhRVY1DkcoVA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D3C7B3805D97; Thu, 3 Dec 2026 16:42:22 +0000 (UTC) From: py0xc3 via Bugspray Bot Date: Thu, 03 Dec 2026 16:42:18 +0000 X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: linux-mmc@vger.kernel.org, ulfh@kernel.org Message-ID: <20261203-b221109c0-9578084c602f@bugzilla.kernel.org> Subject: rtsx_usb: MMC/SD tray using mmc_core and rtsx_usb_sdmmc breaks sleep, likely due to a dependency, but backlisting mitigates the issue always, x86_64. X-Bugzilla-Product: Drivers X-Bugzilla-Component: MMC/SD X-Mailer: bugspray 0.1-dev py0xc3 added an attachment on Kernel.org Bugzilla: Created attachment 309410 4 kernel log extract (with secboot+with blacklisting, with secboot+without blacklisting, without secboot+with blacklisting, without secboot+without blacklisting; the last includes initial kernel logs) This issue was identified first with 6.9.10 an can be still reproduced at 6.18.10. It was reproduced with at least Fedora, Ubuntu, Arch. When using any of the mentioned OS on the StarLabs StarLite, going to sleep is delayed about ~20 seconds (I have measured times from 18 to 21 seconds). The issue occurs always. If `mmc_core` and `rtsx_usb_sdmmc` are blacklisted, the issue occurs never. More details from different users and different distros are in the vendor's bug ticket: [4]. Details about the issue from the vendor are in [3] and less summed up in the links of [2] (context around [2] and [3] below). While I think they are not very indicative, I have attached 4 journal extracts: with blacklisting and with secureboot, with blacklisting and without secureboot, without blacklisting with secureboot, without blacklisting without secureboot. The one without blacklisting and without secureboot also contains the initial kernel logs to have context around the hardware. Many users reported this issue over time, most are in the vendor's ticket. There was a patch merged that fixed the issue and that several users confirmed to work [1], but it was either reverted later or some other patch broke it again. It was fixed at the latest (based on user reports) with 6.13.5, but reappeared (based on user reports) with 6.13.12. There seem to be later patches from the vendor [2] (five links to the respective patches in mailing list archives and the vendor's github repo with their summary of the five patches), but they seem to have not yet merged or considered. There is another attempt [3] to get patches around this issue merged: I am not sure if the patches of Nov 2025 maybe were overlooked or if there is a reason why they are not processed? If the patch(es) would be fine for merging for you, I could ask the Fedora kernel team to get us a patched kernel to test it in advance on the devices in practice conditions, and then do merging afterwards, if that makes sense? Would be great to solve this issue soon :) The firmware of the device I derived the logs from is not up to date in terms of vendor firmware, but the issue is not firmware specific and reports of others with later firmware versions confirm the issue to remain (see discussion in [4] -> the vendor confirmed). Let me know if you need further information, Best, Chris/py0xc3 [1] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-next&id=235b630eda072d7e7b102ab346d6b8a2c028a772 [2] Five vendor patches in a summary: https://github.com/torvalds/linux/compare/master...StarLabsLtd:linux:wip/sean/rtsx Mailing list archives of the five patches: https://lists.openwall.net/linux-kernel/2025/11/04/1362 https://lists.openwall.net/linux-kernel/2025/11/04/1363 https://lists.openwall.net/linux-kernel/2025/11/04/1364 https://lists.openwall.net/linux-kernel/2025/11/04/1365 https://lists.openwall.net/linux-kernel/2025/11/04/1367 [3] https://lkml.org/lkml/2026/2/19/965 [4] https://github.com/StarLabsLtd/firmware/issues/183 File: 4-kernel-log-extracts.tar (application/x-tar) Size: 157.00 KiB Link: https://bugzilla.kernel.org/attachment.cgi?id=309410 --- 4 kernel log extract (with secboot+with blacklisting, with secboot+without blacklisting, without secboot+with blacklisting, without secboot+without blacklisting; the last includes initial kernel logs) You can reply to this message to join the discussion. -- Deet-doot-dot, I am a bot. Kernel.org Bugzilla (bugspray 0.1-dev)