From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.57 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796258625; b=jDWp23vCUIktWqdGvNDn3v+1BemdFjBON9St11Du81yu2JvdyfTTyKdVbi0YmGDa+x1p ZhAVT3w6elUiWEV8xhD+nQKEYFdaHp8cc7a/NDgL1ucdoo6v5gvwAgFVzFy2+40gxVUR/ LqR4ZU4tBUHEMxd722izy06f9SZs/pDCY6Adw1RmXnfU2c045BdZJy04D5WrDR0m2wi4d A82pNGlr87mrry2IlV3X/NbnCoOXKyq8a6Nd8n8E/tXriLoW08VHzQO/GGBA5pO906dW8 ZQ1x88Fwu69+WinAQjFsYI5qwLvyXdlYG0fcRviiKqFXM43InTLh8DSL5oRr5sm8/QQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796258625; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-ID:References:In-Reply-To:To:CC:X-Mailer:X-Originating-IP: X-ClientProxiedBy:X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=5oK8mgZIqbqWD21LrHWC1s0/4G5Dh83M2PqB2H5jPEk=; b=SBJXrVQP6cQ53irMC3vPNHbddUz1n9wwveqYy62coHoZL41xXgCME/4XCrXMV1hk8oZe BIMbQU32rT5r3CchqsApFUrcxx4xkuUhWKKzZkaJ8DbWSepRJ/SYt04O9EsyEBqlrcoWv U33gjeWaaEMCPt75wNmw75/Lox+AT/DW1BCfexfXN7n3DhHzFM6z3QadZFWbLiP8hZSZa n5aOEYWQk1qCv+04orft6CInXsl+Cmp0vi58U6Yw4PHoeClYlKCyjsRluV2n+be3dnJN1 SJyX+cyZOFfUelPlTrSWVpULGe9nVIU5DHKQgBPCt2vfh6iGN6w8Ot6sSYI1un6NYaQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=er6whZxR; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.57 Received: from CH4PR04CU002.outbound.protection.outlook.com (mail-northcentralusazon11013057.outbound.protection.outlook.com [40.107.201.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9516F606A69E; Thu, 3 Dec 2026 00:43:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9516F606A69E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=er6whZxR ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e5ORmIXZxf4C9OyeBTv5nR1iVRjnikKT2GTI3RZtra+iPaVMoynb16YfOw+S1xzVskn9hgls9mLtiZexgqiiy275Vy/iK2A7VryWugbiNbW78RtBXg5UAh7kNo5jFxPibDxdBYKdMZMchHCBCX9RbaQhaw0/gTsGb4swsajVXDrgEtmPCWrXqSzbDuNieq9rJkVdyY7FkClUV3oXJPDLYmoC8Qqt0f6JJw3c14jPacPl6pSq+regoDGrlNX8zb17KD6grIk2v+J0URUMwRJSza6ocQ8OSl/uzbrHOff20SpO4LJNyOFrBlRP716iKDoSPc9a+weeskQg78u4J1MwVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5oK8mgZIqbqWD21LrHWC1s0/4G5Dh83M2PqB2H5jPEk=; b=rAKEGEmuv8XZlnoC3/N1WaCk9LIqzMZqvAphJyp1gsg1yi3a1Qtr6WeEbo6kneYjl+GT2bpI/omqjXROG3s6nES4GWWqYmeSyVv0wNqnE4vH71tNpunYo4lfZBn28ttpY61Rw6KUVAOVhUaLZo1dYqr7BhW81ukIDI5sJHqJWr6xMvCNejbiTJ3VtlbwX3V9HK6zw/8ikcUNK2bSDGk1KXWwJ/SGsC1sMklU2b5xRHE4K3Kvq1YO6VKdWkoXz+uoB5fSzIeoptSv4QiRujbXrrWZpw05zjsM+9h/a552TOSoUKUFqfR2PwHqit/VV64kP7unxgNlCNOuFneUKanHHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5oK8mgZIqbqWD21LrHWC1s0/4G5Dh83M2PqB2H5jPEk=; b=er6whZxRXvYlWxJZY+x4k8qqvMc8WIZnmqO2WSsz4q+keVutcbggbu1SzFJ7ZYYsGk/XcAkJ3TdApx8Pnmd0lAeWADnxbtLeUi0wopM4Y067l7r5Kr54diFcw3E5zG3x1EBc3inF36EAy/zsnexyAr295D6M58M/BTDWon2UA6Y= Received: from BN9P220CA0007.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::12) by DS0PR12MB8368.namprd12.prod.outlook.com (2603:10b6:8:fe::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Thu, 3 Dec 2026 00:43:39 +0000 Received: from BN1PEPF00018070.namprd04.prod.outlook.com (2603:10b6:408:13e:cafe::14) by BN9P220CA0007.outlook.office365.com (2603:10b6:408:13e::12) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.11 via Frontend Transport; Thu, 3 Dec 2026 00:43:39 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by BN1PEPF00018070.mail.protection.outlook.com (10.167.245.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Thu, 3 Dec 2026 00:43:39 +0000 Received: from BELBCREELEY01.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 18:43:35 -0600 From: Brett Creeley Date: Wed, 2 Dec 2026 16:43:28 -0800 Subject: [PATCH RFC 3/3] PCI: Extend link-up timeout for AMD Pensando Vulcano upstream port 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 Message-ID: <20261202-b4-pci-link-up-timeout-v1-3-04fba0824d63@amd.com> References: <20261202-b4-pci-link-up-timeout-v1-0-04fba0824d63@amd.com> In-Reply-To: <20261202-b4-pci-link-up-timeout-v1-0-04fba0824d63@amd.com> To: Bjorn Helgaas CC: , , Lukas Wunner , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Eric Joyner , "Nikhil P. Rao" , Brett Creeley X-Mailer: b4 0.15.2 X-ClientProxiedBy: satlexmb07.amd.com (10.181.42.216) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF00018070:EE_|DS0PR12MB8368:EE_ X-MS-Office365-Filtering-Correlation-Id: c15c1570-8c7d-4fca-2da4-08df50d67906 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|23010399003|36860700016|82310400026|10067099003|56012099006|261021121427099003|261021123027099003|261026121527099003|261021135927099003|261022105027099003|261026140227099003|261028144727099003|261102123227099003|11063799006|261009223027099003|22082099003|18002099003|6133799003; X-Microsoft-Antispam-Message-Info: r3G4VCNYJRztFT4hZe8rQO8Azjj+YRzYkJkPBDv+05dvIsYHsWw/BFuFyZOxiaas0nrKmB6CWHZekCNkb/cARwK6+CKXrZAYKstDexGhI0/UPcPtEvKUtt1PzI/nSKF77VsYOiYjQvrVb/5r33UywBbp1WV0NtRxeVLl/zxQb/Igo055OJt3LxoaI1/qSI3lXIjzRuyS7EIvOW31wYXScN14flnSGDUMdfPcSJJKt8N+f70KtDLymwEovVHbN55jJNqtz68pEXf6J05ao+ZlGjiCXXx9X9Ni64VZJ1oAAp7Oj9kqfPYV35nteC4Z5wecMUFoDOtiF8+P6FTV7m4JuAV9mjzkHHWXqUXKFI7pCvP5cZD8kB6oa5Hy8yKJHpYyfKWHwnkhKKoneYmNABQTO9mkfBIERaB42HOYrs8b5yThQsbVUR4/JL63QWMuFBbPBvdyb7Lb6IVkUTzzfs3zXtBX9kcPCGMlDBTjhnk7UuE0rk7BeJJmeqUy7acj+VhdGw0bzlqqLfmWd7gh9xup9fvKpf1jGlygCySMbIdjkeEDH1ihFEqRHMfxAHJOl+BzgjWE2mFCYLIRX+56UVD5dmlhKF86BApqAkZhaXtrelpqkjfl80MtvEw5zr4NdOh9AYCZ2PtJAoGM0oA+/v1bt6OeksA3bWqol0QqOWagPul2t7/eSULdaxrRGr8MdnzJWO4cmm+7JHMFwHeVTJcJSQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb07.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(23010399003)(36860700016)(82310400026)(10067099003)(56012099006)(261021121427099003)(261021123027099003)(261026121527099003)(261021135927099003)(261022105027099003)(261026140227099003)(261028144727099003)(261102123227099003)(11063799006)(261009223027099003)(22082099003)(18002099003)(6133799003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mB0H7R/+GhwW25aYFO/0euweuWeZSa3mCFEXi8fi/qoptFXcK9BFWA+xSx33QOe4tfoZFB/B9E5L11qsupHMzXzgllXjjQLyJsqYIRnMviRDCXlANMy5HAgUXy+P//uNgK3DjpZ8kiNrGNiqtBLllqHyKSCQ1Hp/rYwCXaTmG1m0dcnhSpjd4g+hUGYuQPSBa+ngU0SfpJwF/XyiRT+Fq0KBXlUpMGgXHPIGNEnCKX+54keGud1mehmktVy26lfyU/hoBu5VpNwnM5MiZ4oOeScyarXkne/SNq8mTbGWIjMQAUGC6rjiMEfvo+4Mvz26ncyIE4ZfaRilhBzRTYLbe2qSkfIpPt7QiE/w4kCsPjKxdgtqe+tZjgghjshzcYj8emwXtPinHD9k1tSxjHdu5Z0AY844Qmo6d35tI7fWmqB6QAyjSZoW0QrEN7FcPaHQ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 00:43:39.3152 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c15c1570-8c7d-4fca-2da4-08df50d67906 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00018070.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8368 AMD Pensando cards present a PCIe switch upstream port directly below the host Downstream Port, with the card's endpoints behind it. When the SoC of an AMD Pensando Vulcano 800 AI NIC is reset, for example when the card's management controller power-cycles it after a fatal error, the link stays down for up to ~12 seconds. The Root Port sees a Surprise Down and DPC contains the port, but after releasing DPC the kernel waits only 1 s for the link to return, so recovery fails and the card is disconnected even though it would have come back. Allow the Vulcano upstream port 20 seconds for the link to come up. Signed-off-by: Brett Creeley --- drivers/pci/quirks.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 6038b35d4a2d..281eaeae7055 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -6615,6 +6615,19 @@ static void pci_fixup_d3cold_delay_1sec(struct pci_dev *pdev) } DECLARE_PCI_FIXUP_FINAL(0x5555, 0x0004, pci_fixup_d3cold_delay_1sec); +/* + * The AMD Pensando Vulcano 800 AI NIC's link can stay down for up to ~12 + * seconds after the card's SoC is reset. + */ +static void pci_fixup_pensando_link_up_timeout(struct pci_dev *pdev) +{ + pdev->link_up_timeout = 20000; + pci_dbg(pdev, "extending link-up timeout to %u ms\n", + pdev->link_up_timeout); +} +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_PENSANDO, 0x1478, + pci_fixup_pensando_link_up_timeout); + #ifdef CONFIG_PCIEAER static void pci_mask_replay_timer_timeout(struct pci_dev *pdev) { -- 2.43.0