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=1796364911; b=tJdAqtDaHYpTj/YD983sY1BjvuYNMD8n96p5M0pE7VlnF/Es7DKWu1TiKnrev80TVgO0 YLD+KVS+s82NdxxilqI6NmilB3di6zSBxUpVtkio4xy++Ho3V2caIDvSQMMALssxE+mI/ YrnuxVQfqJdyoTdMilzjYUBZkK7cGo2rSWZEXqrsW3KR/0D812aMX7WIyV/M+KNnSkOvg T2g9t39WnK1Iu6rcK2CWUQ0Iroo0P2Lw/5HYMLa1FkwDNnjINe4qEouO0lS/NLobfObOu XFjfUnjSqZwWDXJXzKY5bIFhBB6r6aUSlffFLahMnV2F4ChHJdhm32TztekwE6ztheg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796364911; 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=yp7d31q8LcpJwLC6tP0K5oxgLeeSBpoJvnfMPAiohi8=; b=UgCaXXYpfMiCuK9H9QmOiZrikMglFXNtM5sgk4aFkPdjv0RLpj7k73rJOrUigtvsn1jy nUAfrywJlH2hsjqL+S+MfitHtE9XUt7W0t4wkqDrK0/8pMMsiEEaZP/7v9ZYYmwsSJNMJ l/AxKK4qDSFosE/xA2qpxcRlc3ysVEmLio4Uz91FVdOvrstEXNR1lsEUv0pje0+8rnaBl lPuE+3GsdZHuCdJnDcV752zpKUUaQ5i+iyasrkr5mbhjZo0cC3RP+r4xWM6ccUCTmz4ZN tdqBL3A7RLgqyAxVRCByN1gTrMXr+UUWbjAwKjXGi2zr+B8/eb9AWW7qwS0ujNKF8fA== 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=IHji2t2A; 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 73738606A334 for ; Fri, 4 Dec 2026 06:15:11 +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=IHji2t2A Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09D4E1F000CE; Fri, 4 Dec 2026 06:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796364911; bh=yp7d31q8LcpJwLC6tP0K5oxgLeeSBpoJvnfMPAiohi8=; h=From:Date:To:Subject; b=IHji2t2AyMHPuwpO0190wUxfhwONGVIa8gMls5JaKQ2OLIHEWVYiLoy3uoejELytW q9y5SD/TeaKoyL53uKDLyfgj+g6YUi/9/T5UEFck0SfyW3+e003mZFuELBk2ENcsX1 ofcQghC5Dw4pgEsJKX19keXwglZ/EmM0mAhc7VG+YnBB8ETzOedr7JgRXLi4U1XjWr SmPp9plyUsmJBPXrGWCwCqET6bh2ZvdFMq6etgjTq2pftrbT5155SNZl8epKsVCe1s GnELgtpF9DkEyE6ncZ9lUQpCu8YfNAQ49x85pDBxHF73V69PilzunM9hGnrUfbp96o R0YACOz13CdaA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D647A3808236; Fri, 4 Dec 2026 06:15:10 +0000 (UTC) From: Seth Coulter via Bugspray Bot Date: Fri, 04 Dec 2026 06:15:06 +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: ulfh@kernel.org, linux-mmc@vger.kernel.org Message-ID: <20261204-b222380c0-c5be452b6503@bugzilla.kernel.org> Subject: GL9755 [17a0:9755] PCIe link fails to retrain after s2idle resume (D3cold) on ASUS ROG Flow Z13 GZ301ZE X-Bugzilla-Product: Drivers X-Bugzilla-Component: MMC/SD X-Mailer: bugspray 0.1-dev Seth Coulter added an attachment on Kernel.org Bugzilla: Created attachment 311657 Data requested by Ben Chuang (fresh boot + resume failure) Hardware: ASUS ROG Flow Z13 GZ301ZE, BIOS GZ301ZE.321 (04/17/2025) Kernel: 7.3.4-arch1-2 (tainted OE by the NVIDIA proprietary driver) Device: Genesys Logic GL9755 SD Host Controller [17a0:9755] at 31:00.0, behind Intel Root Port [8086:51be] at 00:1c.0 Problem: after s2idle suspend/resume, the SD card reader is gone. On resume the root port reports: pcieport 0000:00:1c.0: broken device, retraining non-functional downstream link at 2.5GT/s pcieport 0000:00:1c.0: retraining failed pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 100 msec followed by "enable PCI MSI failed, error=-22", "pci_pm_resume returns -22", and repeated "Reset never completed" with all SDHCI registers reading 0xffffffff. Config space of 31:00.0 also reads all 0xff after resume. Root port LnkSta: before suspend 5GT/s DLActive+, after resume 2.5GT/s DLActive-. Workaround: setting d3cold_allowed=0 on 31:00.0 (udev rule) prevents the failure. Attached data was collected from a fresh boot with BIOS defaults (except Intel VMD disabled, which is required to boot Linux on this machine) and the workaround disabled. Files: lspci -nnvvv and -xxxx for both devices (GL9755 dump taken after setpci 800.l=1), lspci -tv, acpidump (MSDM table removed), and before/after-resume lspci, lsblk, dmesg and full kernel journal. Discussion on linux-mmc / linux-pci, thread: "mmc: sdhci-pci-gli: GL9755 fails after resume on ROG Flow Z13 laptop/tablet" File: gl9755-ben.tar.gz (application/gzip) Size: 793.02 KiB Link: https://bugzilla.kernel.org/attachment.cgi?id=311657 --- Data requested by Ben Chuang (fresh boot + resume failure) You can reply to this message to join the discussion. -- Deet-doot-dot, I am a bot. Kernel.org Bugzilla (bugspray 0.1-dev)