From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=67.231.153.30 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796056102; b=SAdga2c422nEugN0GHfh9UugqwQCOFq5d4M9DJqLjGh0bYbQaZMHrnnb+8RmHAIBqQ31 aKsEHDwnbN8tfyDCNWI77yeDoSnxh989qRblHATzH18TWt3DGyP6nC1LVZwcDZi+sLN5S gbsrUCG+TNilIVK0q6hsBwo6sDF/KpQYLLjKc7VtKHw8FXMXz6bimhGDhjs+Rn8f5g6FB Cg6GtcMBcjI5mZDGdcpP8gnhrzQLXy8jdiBlPg5FXnF3KzRwVR6j+cjwwlHGWbfeWpsYy Ellp0qSzGb8kpedSgz6G1/uKP5Y2cheC5GUq5XRSKS3vmnlg9NgYE4F8wUXCGEwi4pg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796056102; h=DMARC-Filter:Received:Received:Received:Received:From:To:CC: In-Reply-To:References:Subject:Message-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Mailer:X-FB-Internal: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Virus-Version; bh=2xUonZlVuqsx4LV/ja6DGD2FjeT6y1V72hanWxh27+I=; b=Lk/KG4efNVOW3KjC7GlFSJCPmmlHgWLcCCCTWL/ckbXCipvq2iwIerhDXl91ysrcPQIM QoDSTBhX/lupqvCNSpH+d3MPAzcKGc7NiPoBRpVt265xaj0lHgSiXHXHm+FoiD2HFudwH ixQm8DeShx2bEllV6ZKtkfBsSRvB4Et1nMuOFLK6I52z5qDV3bxcn9qwuGIoElXGA2Frx FubaNK02Bn7xYc8NeqKVbZeump/aWG8G5dDQ69V1Dus+oXKiK89nazDJ0PwF0LAllN/Bw SDK4R1GZBx/o/glXmzSJF/fdcTmJiAx5yAseyyzqJRBdskBwSqVeb6OYum6gpR9Bjyw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=kernel.org; spf=pass smtp.mailfrom=meta.com; arc=none smtp.remote-ip=67.231.153.30 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4917E606A32A for ; Mon, 30 Nov 2026 16:28:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4917E606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=meta.com Received: from pps.filterd (m0148460.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUG1YGF587027 for ; Mon, 30 Nov 2026 08:28:21 -0800 Received: from mail.thefacebook.com ([163.114.134.16]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 4j7wbg245m-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 08:28:21 -0800 (PST) Received: from twshared36151.31.frc3.facebook.com (2620:10d:c085:208::7cb7) by mail.thefacebook.com (2620:10d:c08b:78::2ac9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.56; Mon, 30 Nov 2026 16:28:10 +0000 Received: from devbig197.nha3.facebook.com (localhost [IPv6:::1]) by devbig197.nha3.facebook.com (Postfix) with ESMTP id 106BF2FCE6224; Mon, 30 Nov 2026 08:27:55 -0800 (PST) From: Keith Busch To: Jens Axboe , Christoph Hellwig , Sagi Grimberg , Moritz Hiller CC: Bjorn Helgaas , "Rafael J. Wysocki" , , , , In-Reply-To: <20261127104637.219891-1-m.hiller@pc-heini.de> References: <598ee2b4-32aa-4ad3-99c7-db7f9a7e7736@pc-heini.de> <20261120180814.GB1810@lst.de> <20261127104637.219891-1-m.hiller@pc-heini.de> Subject: Re: [PATCH] nvme-pci: wait for MMIO to come back after resume from suspend Message-ID: <179605607505.3037597.13015411363566738180.b4-ty@kernel.org> Date: Mon, 30 Nov 2026 08:27:55 -0800 X-Mailing-List: linux-kernel@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 X-Mailer: b4 0.13.0 X-FB-Internal: Safe X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA2NSBTYWx0ZWRfX9L6kbUABefxS TBYS3PVmcqWpoQRRxc8diiwwB1NFvhYefmHGr64/BRT22Wp3BxNuTfCEQleJWQ7WQL81gk41XsK lrLWAozSKk8XJbGtLm5cQ1x6BcKX8VIGVns6s96L5k0PVQq+cwVw4eTAwOmIfe9HhhzA4Q7EItU rld6jfjLRLWRHbRxPnqC3fQcrANNJP96jlHbAjXrMBv0XAV9EQdN4XiK7IKK9oi4D5mytddFhYX biRv5lcbukmZXa5qoQXfosfLjDrzhi6x31IrfcKrLtloHldBvP65BcV95Wwgni6FLm5Tq/NMx7F iZ4Dqk0Igwp3T4X3HyZn0lCKBa3uSTgxc03i4XfP7uwRfNyCcy6p62kBnm+VoJw9PNK01657OuK 82JThm976ejtUmYacp3SqQiVOfZrJLCGaMSMj2M/COC6N8zWUUuRCsDUy5Cyoqg70VlLBrXTPEH TsmxXiQkKwoLEl2ecmA== X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA2NSBTYWx0ZWRfX/DquLhid6bqR BjhvuktgGL9geq1gt+lOpAP0Sv5dhxPMDhT/RTJf3m8kWtel/gLVJ2UmNxF/T6pQccCVMe+4Df5 iSVreMyAAziu3aR5j7m6IUrReT1wYk8= X-Proofpoint-GUID: 5N9ytt5hFO42UHmAtf8_0ew6ATJdoUQt X-Proofpoint-ORIG-GUID: 5N9ytt5hFO42UHmAtf8_0ew6ATJdoUQt X-Authority-Analysis: v=2.4 cv=Z595j3RA c=1 sm=1 tr=0 ts=6b0da425 cx=c_pps a=CB4LiSf2rd0gKozIdrpkBw==:117 a=CB4LiSf2rd0gKozIdrpkBw==:17 a=zTyVSQpn9glcjovb:21 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=7x6HtfJdh03M6CCDgxCd:22 a=JnKecZnUtZousrUlYMGU:22 a=VwQbUJbxAAAA:8 a=4XjnheqNxR2ywbiGcb0A:9 a=QEXdDO2ut3YA:10 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_04,2026-11-30_01,2025-10-01_01 On Fri, 27 Nov 2026 11:46:21 +0100, Moritz Hiller wrote: > On an ASUS ROG STRIX X570-F GAMING (BIOS 5044) with a Samsung 9100 PRO > attached directly to a CPU root port, the root NVMe drive sporadically > does not come back after resume from S3 (roughly 5-10% of resumes): > > nvme nvme0: Disabling device after reset failure: -19 > > The single readl() of CSTS in nvme_pci_enable() returns all-ones about > 200 ms after resume. At that point config space answers, the link is > up, the device is in D0 and there are no AER errors. The controller is > not dead, it just needs a few hundred milliseconds longer before its > MMIO space responds. > > [...] Thanks, applied to nvme-7.4. [1/1] nvme-pci: wait for MMIO to come back after resume from suspend commit: b2e0423d643818158371825a998401cfd257c74d -- Keith Busch