From patchwork Tue Apr 30 18:36:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asmaa Mnebhi X-Patchwork-Id: 1929796 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VTTSr2Rbdz1ydT for ; Wed, 1 May 2024 04:37:15 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1s1sLh-0005jr-0R; Tue, 30 Apr 2024 18:37:05 +0000 Received: from mail-mw2nam04on2087.outbound.protection.outlook.com ([40.107.101.87] helo=NAM04-MW2-obe.outbound.protection.outlook.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1s1sLe-0005iu-Ua for kernel-team@lists.ubuntu.com; Tue, 30 Apr 2024 18:37:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FyHnFd8Hgm1RIVpyUAC2sJR14cMJja24B/QoaEmcQAG3CVFRQFxOnCDYWndneG2WWe221KRQsnr6vFQKD2wR46xxkueks2zw4CPfW6KN+mR7IyzOqUvaDHVFAxnYY5eW2wgqOPGbbisM+3bIm+Ygg/TF1uGFJwf/4n4YPnlQgkmNouoUE47av/U5oE/s46DLgJLolM7Fb6j95htGRKfh+YTaPNyViMef27rS0x7c4SAHOHJT2BHQumEvF2lckbSjYb+DG/+oNqWagpthDt09Tp49XO9QyB/uI1lVfd2TpxC0v4kzLMM/by+34kHHyk3atwMqYeLQT7wnYM7fzkluLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=eTuZjK/5r5o0uUixjk7KSmgC+5cl8hEAcRYwgaTGCIU=; b=EeEqsrdRCUo23sdYd7Ix8inGBx+Uj98nWWbVe+Q0qMiucJ37r6vsktK86uy3TBdbkCkRc/WQT24SebldciYTfNjsB8mVdvUpMI4Q+FofYHpwyO4xWAr2EafRDjhdETkuYWpuDHfjDJH/FlsMyP55X+BpFAhvNebUa+j8JUYbwTFqHBakk9za39msG5aZ6ZxxE04aTyt28jxTn8G1w71kjgWJrBcUbH4qGjS+CH/xKWgwdxCF7cMgJ87VJWVaQwGqI2Pe2euGEvyju/fLS+eqlWcufHfEJPdb3sJxA07XTQ1FgdQ+7ewVbA/3HjgRrzuY13ubzL0gRfNB+pXLzI8Dxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=lists.ubuntu.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) Received: from MN2PR01CA0005.prod.exchangelabs.com (2603:10b6:208:10c::18) by MN0PR12MB6125.namprd12.prod.outlook.com (2603:10b6:208:3c7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Tue, 30 Apr 2024 18:36:58 +0000 Received: from MN1PEPF0000ECD9.namprd02.prod.outlook.com (2603:10b6:208:10c:cafe::66) by MN2PR01CA0005.outlook.office365.com (2603:10b6:208:10c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.35 via Frontend Transport; Tue, 30 Apr 2024 18:36:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by MN1PEPF0000ECD9.mail.protection.outlook.com (10.167.242.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.18 via Frontend Transport; Tue, 30 Apr 2024 18:36:57 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 30 Apr 2024 11:36:30 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 30 Apr 2024 11:36:29 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 30 Apr 2024 11:36:29 -0700 From: Asmaa Mnebhi To: Subject: [SRU][J:linux-bluefield][PATCH v2 0/1] UBUNTU: SAUCE: mlxbf-gige: autonegotiation fails to complete on BF2 Date: Tue, 30 Apr 2024 14:36:26 -0400 Message-ID: <20240430183627.12961-1-asmaa@nvidia.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD9:EE_|MN0PR12MB6125:EE_ X-MS-Office365-Filtering-Correlation-Id: c5275f43-ec3c-4e8c-a5e6-08dc69448472 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|376005|36860700004|82310400014|1800799015; X-Microsoft-Antispam-Message-Info: 0Jb9jly198hU5mfWt4DMxTj/CMGezg+Nb2FVLhdszsyE5r58u7bhwazKyWBNUlECcKs2feMBJt4rucJw3fjw9MQkajckOPu7pPtZcXfpeKa0Lwzsy33NDSjkKh3s95YwGAShEEi+iMWHH6me6+DmJWufuDc36Ze5osYo5ibZ02m/vjq8clkKIAZo8fjNzBHgOkeOqe5VSdCkEkyUG5hWMcQDSFEeXNG7hZ1KkbsN4vD2+Bf593f+5AkCxjgBct+595ibdaFqyVsZpLG49fErKqXG0/8QZE46HBrRioncxQTMnQHRhAGTTg3rJEpsv25+miAmsgQNpv+af8q5mVi/gDLl5w8HL/iuFWFYw0Jpq2tc0lus4XynUgmwehwderGfXgqZ9ivA9tzQaL0nPzgWc7ndIo0Wyjk+LmHI9W36I0K+zm3XHvfzG1dsq6KKbAC152jeimv9cdAfIGwTMvnutR/1pAbkRnaCDt6ffBjGrjGvizV/eA1DU4wOhAU71GQ9r77dKoaRZzr/uQ/J/Cuvq89gQFrUBdW9qNIDI0fnmv0ZNqMMzm2GDVfknz1jhjkYIu12hEv7Ed4oXO/4GG1R0xREaLWhObB3tb99yMpu1kf2VAAutaXCpI2Y2QKErguARjdr6YDS+rFhx/F7SQoyCTdMwGAbcIAWrQkBJrJZ1UaKnoh7am6HObizH/JucKKr7HNtjwJ/jmXvZrS29iN8WJgPhzVH0GIXPf7Oz4We3abjvnQGhkClfI6tIxGlvhxKg7MP5HgCSKJ+z2PjF8D0TQxCeVOqrrPxo8y1mGG/hXOC8cPx33tCy/mE7KjNmbND5rhA7U+LGvk6bhRkcvN8l3VfIS2Dk5IS77XqL0bW1NEf/x8l0+g07v2Cc1HSAktyJAfKRLS0nNb0e1CY/mEfgOljlvCdgidvICXIKpaVPSTSJwdG68yqaQ0gNXsnzQ4WzhLqmNRPad785k8MuUtbBZYV0qPa5GToAZ5CM87U/VGnIyS6OkrTa+lUDHTgDxgw5MnmrfcrztzHA/vxpTKKmnsOsX3s7CYwEHZWZBwiV7yPa1dPnzJeyIq1wC5L/xMmUqj9NamBLDgcJptXXDyas97p9HFXl7S7Qh9jgfMtwew7FbRikicwiEiEyVv36jVE7PM9U4vNCPsxXPiGSzXF8vWKiJRuFJ+Pe9TMncURoXhHnWFR2e5olDXSEaxOPqirjnKJ7YzA7ckfWHm3Pj67eEbGE1oWfX5S+SAHQcRV6uqTu97Hv958Sa4tiQ1Wu9oKExmx/rqhBo4c7eIPcPkN0syiT+pde/7gG8yxt/d4q8p7Qvpg1GKWEyc4weqx25m6Yq+YzoTnfHTO8QBxB/PXEbO4qPrhiCOgg2jvOHrdKusWwxR3dFMCCM2QiKAgiBrB X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(36860700004)(82310400014)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2024 18:36:57.8379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5275f43-ec3c-4e8c-a5e6-08dc69448472 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000ECD9.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6125 Received-SPF: softfail client-ip=40.107.101.87; envelope-from=asmaa@nvidia.com; helo=NAM04-MW2-obe.outbound.protection.outlook.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Asmaa Mnebhi Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2062384 SRU Justification: [Impact] During the reboot test, QA found an intermittent issue where the OOB link is down. The link is down because the KSZ9031 PHY fails to complete autonegotiation. Even under "normal" circumstances where autonegotiation completes, it takes an abnormal time to do so (on average, at least 8 seconds). Hence, the hardware team and Microchip are involved in this debug but the root cause is still unknown. In the meantime, we need to provide a software workaround since customers are starting to see this issue as well. [Fix] * Restart autonegotiation when it fails the first time. [Test Case] * On BF2, Do the reboot test: 2000 loops. * Check that the OOB link is up and ip is assigned. [Regression Potential] * no known regression. [Other] * Note that this issue is BF2 hardware specific. The same ethernet code is used for BF3 and we don't see any issues. In fact, the link up time on BF3 <= 1s. On BF2, the link up time is > 8s. * we have been aware of this issue for 2 years and have shared this with the PHY vendor and the hardware team but there were not root causes identified. Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Tim Gardner