Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2552546lqb; Tue, 28 May 2024 03:43:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU85eylXQSZF4kFGfOCrMAqbQArWOddoju6bvNQQy0rBpI9DgmvJ5xUT87x2l71/pMQHe6dj+0u11EWwmLy8cGK2WSmf/lGQFnXoOYiOg== X-Google-Smtp-Source: AGHT+IHHH1WBn1LChrcgY2FsNw8szXO6g622hPrZsqdkFTlEpNbKyHCXvJRs3Qlz/XLSlRp9x5Yk X-Received: by 2002:a17:906:69d0:b0:a59:c62c:344d with SMTP id a640c23a62f3a-a623e8d879emr1151406066b.9.1716893010257; Tue, 28 May 2024 03:43:30 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc3805csi491193566b.444.2024.05.28.03.43.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NrDsRiEP; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-192128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CA80A1F21E25 for ; Tue, 28 May 2024 10:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70ED816B75A; Tue, 28 May 2024 10:43:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NrDsRiEP" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75CDB13AD3E; Tue, 28 May 2024 10:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.19 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716892996; cv=fail; b=WGaahUL17aHi9VfJIMASQznDEIl2bMDwXcr7kE23WYzHi8KV555x0RVtkrSDk/SXeUNTz7K6THHsYTwJGlLMpq7mDUOeUgkSRnC/cRXhrKFd8cTOJlVYkyvnfvtn5kLv3benvN6/sA6JUOQnu/XRMm5kQFndhMm14n0KGtFuaKQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716892996; c=relaxed/simple; bh=niVGndCkwD4ZvR5tGi88Mn8T48SAgIiceCpvD0lZvYI=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=OwXNGGVY7WG0vOYEznfp8COs/0lE/CIfUVb6JdwbATgjRjN935AEOrsULmKAJrgeQjMH8TvQcrNlsNXAhXaockauOpm381coAoCpJgSDBEnHgB/jdzQuKmbcJwsUQh37feZbNluStXqVve+Rghu4G4HyWIIpevNu5fABNiqdlVs= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=NrDsRiEP; arc=fail smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716892994; x=1748428994; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=niVGndCkwD4ZvR5tGi88Mn8T48SAgIiceCpvD0lZvYI=; b=NrDsRiEPlBoPIePECw+NJGBJMW5/qX0Bzke++FXdJqqdyVZtwT2dhPzd 6aklqJN5nQyy/boLYju86G/uPDth2kMRYfBkiFqjrw89+N14CEO/0e19/ Lv3lgsRa+nmehY1OCSb9qB+52LXvxdxu+QUsCVHJ/VLFPhakB6J2+pxeQ julaT0Q83MjjpTT73HPriSm7I/Qt1MpvVEq+lofnADEXJf6zN29+g6O6Y zXpIt9EKEPVdafO2swGMtD7C9TsNmhcuYqxItiOsKLbZM2VdIMA1rt5sT +KRVSDdJOpFEPnm/gosZM9KLNfcREAC6GXotowVkgILkYfOKq3TC/tbG0 Q==; X-CSE-ConnectionGUID: 2mFUnC2oTa2cxHouaf8ylA== X-CSE-MsgGUID: DhmS5BsfQ5mBVDKEcbnQGg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="13054413" X-IronPort-AV: E=Sophos;i="6.08,195,1712646000"; d="scan'208";a="13054413" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 03:43:14 -0700 X-CSE-ConnectionGUID: Kqdcr7GDRjinxo4+0VnJdw== X-CSE-MsgGUID: tO6ard4kQxyzR9Zx1SckDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,195,1712646000"; d="scan'208";a="35513042" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 May 2024 03:43:14 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 28 May 2024 03:43:13 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 28 May 2024 03:43:13 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 28 May 2024 03:43:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jzCI3BTKJPm9Y1S5c4njgscMHbt4Tm7TL0Ic5N+P475KKZ2djoa8Kz+7EG8rhZmiZAZJ32LAeWkR7JftVu8xi8V/sAC/RC9UACXsjGm9y0nbD5jVfwyaOQ2hg0hXRmlLRxbZ6n0tu5yvCLEHgX8Y7Rs7hLqJEY06u0jJumRkO+19r8VJOD5kP9C92iIRkBtU9OFl4qJeRqU6XNLK6mMrbjNAICyOVK2axmZJpECM8Nr9DguzZ0MY6Pmk5lDiUUCPTfePjweiVqqoYQ6GpaoYey6ZzHPxNDfstvyLqcJLiUGgZRXrAq3Jejgyitq8N7vVya+e84yZcZwl8KSj+v/WrA== 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=JptZ7XwNXvcna8MjAbsH1qrUiWNiltaSNXCivkyCy9Q=; b=bC4L7X6sj1NGIgNvMZ2wkwGJfTaKFT85s9gltfe8WolJIOGgKss8kmH98ofZVlhSUdrFm5KGf6c72SAxOgLXH3CBck2+eTvB7ZqiSlzlLu+Tcu4N3SKk+7EdkPGpFhasKmXUvz1WnfLsO3NhrVEgzMyxfibFz8SbePjk1wuf3ogLdOop9BGjpmBrpdPKabFC+zQ6J633ewxZ9jJpeEMlJ8XW95VT1X4ydGKkiO+cjUwuqkCHI6IbWoRzgEmQvB7xz5Q/Z/L/7V1vxwzwc23XCY3x24ybDCmt4l7YUi29Ukik2+e7CG6++A5gEoS78yP3GaYhbqfK8OF/1QxwYQYHTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW4PR11MB5776.namprd11.prod.outlook.com (2603:10b6:303:183::9) by SJ0PR11MB5183.namprd11.prod.outlook.com (2603:10b6:a03:2d9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Tue, 28 May 2024 10:43:11 +0000 Received: from MW4PR11MB5776.namprd11.prod.outlook.com ([fe80::4bea:b8f6:b86f:6942]) by MW4PR11MB5776.namprd11.prod.outlook.com ([fe80::4bea:b8f6:b86f:6942%5]) with mapi id 15.20.7611.025; Tue, 28 May 2024 10:43:11 +0000 Message-ID: <43e74464-029d-431f-93e2-809d64371c4c@intel.com> Date: Tue, 28 May 2024 12:43:05 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ice: irdma hardware init failed after suspend/resume To: Ricky Wu , CC: , , , , , , , , , Michal Swiatkowski References: <20240528100315.24290-1-en-wei.wu@canonical.com> Content-Language: en-US From: Wojciech Drewek In-Reply-To: <20240528100315.24290-1-en-wei.wu@canonical.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR2P278CA0041.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:47::10) To MW4PR11MB5776.namprd11.prod.outlook.com (2603:10b6:303:183::9) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR11MB5776:EE_|SJ0PR11MB5183:EE_ X-MS-Office365-Filtering-Correlation-Id: ab54a552-9c38-4a7f-22c9-08dc7f02f848 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|376005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UkRmZ3FwZnBzZndqcGllR2hlaDlmV0pWTUNTY0RFWkdZL1BwTng4N3Y5MGFa?= =?utf-8?B?OTVqRDZEWjJTWWczYUFWNG96ZDZSNWpmMGN6aTU3dE1yemlDQlhESzl5dmVm?= =?utf-8?B?RFFMcmIraDk3RW5qeXFGSTU2bk1Tc3VPck5seWZXaDFicVJCUWdwUnV6akZw?= =?utf-8?B?S0oxbStOMlFsSVdOZlg5R0w1OFNCNTMybnE4NEFCeFNacXdmbC9ZMkhpTlpZ?= =?utf-8?B?bDZLS0hMc0tzTjJZb092ZDZpVTFBeWpGN1NTV3dHU0c0V2VsM3loaGJUWHJF?= =?utf-8?B?d1dBSlNlNkhzNmtXc3Voa0crUUtOZWFScGZHVnJ6TlRSUnlPT3JEVW9iSFBa?= =?utf-8?B?VEFuOVZsRVg3RjR1VmdDTlhObUpIM0ROUmMybTc2RSsyN25wNjBaWnJnS1ZD?= =?utf-8?B?ZUJudU15Zk9VVW9Uc1JtT0RPRTBubG9TUnVuWWYrZ3JDWEVpZDN0RXlMVHMz?= =?utf-8?B?blpqbk5LMlo3Tk1HMEgvTlZpZDJuWkRSUmR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EwzYnBxUGR0N1NWREdsN0NQYnJFd0hEUHFzS3lvZ2tMUE4z?= =?utf-8?B?ZFgxNFRwUWJicHdmZDhaYXAvMFVhQzBka1Q4Y3F5eU8rc2o3NllyNitlNUp0?= =?utf-8?B?Mm4xMGFHL2NTZnJIeGpIZnR6dGJUMkpLSEJIKzFvc21pc1YvSkR5NFhyQ0lu?= =?utf-8?B?Sk1ZSG9iZFBNVFZtRGdpZmwxZTFENndPbjRUdVIybTNnR0NEZHNHOHFnTDFI?= =?utf-8?Q?CtczkqAHtZc8RnSSJHc/1vR7BVDF4IGtSGBSTxtdB2Qs=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5776.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(376005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cHFDZkhVZmh6QzFyZThHai9QUWlRZFZqSXl3V3JzT1lEOHh6T1RkdWlBUnJv?= =?utf-8?B?a0lGUnJFUnpaMnJ2VjF4U0l2akVYWDRKRFVJUk9wYjZlazFhZjV4M1l5R1ZH?= =?utf-8?B?b2xrUjFrQ1Z3STYxVzd5UldsbnFoQ3QxeGF3dUpRMHJ2cllDbVQwVXd3NTJw?= =?utf-8?B?UjRuaHdaZWJ6cnNXbUFlMlVXMkxidFkzcXBWald3RXlwQk82RjZXTUVIWVUx?= =?utf-8?B?ZGkvMHlNSFFBeWEwWUNiL21OM0VNdzJ6YmNMWS9DSlU3VGJic3A4VFBoNy9h?= =?utf-8?B?RmNtMSt6eWkySVE4WWtJR1Azb2VJWFhscWlrNjZYcFpWb2U0c2tWVStRKzBJ?= =?utf-8?B?aUlrcGtKL3ZWOXFQWFExKzlvWFJoSnR0VEJ3bDRaNkxhNVZjZUh0dVZzME9M?= =?utf-8?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Network-Message-Id: ab54a552-9c38-4a7f-22c9-08dc7f02f848 X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5776.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 10:43:11.4358 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: n2Ok18jz/82tZobyMhR4yBjdAwecNBxJlfavw0CSygeu94fiI26Uqm/XjC+z15GT+Vx0wHTVlwxk6L8lS2B6OlHeHSXq3VeS2wTLtcOGgUE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5183 X-OriginatorOrg: intel.com On 28.05.2024 12:03, Ricky Wu wrote: > A bug in https://bugzilla.kernel.org/show_bug.cgi?id=218906 describes > that irdma would break and report hardware initialization failed after > suspend/resume with Intel E810 NIC (tested on 6.9.0-rc5). > > The problem is caused due to the collision between the irq numbers > requested in irdma and the irq numbers requested in other drivers > after suspend/resume. > > The irq numbers used by irdma are derived from ice's ice_pf->msix_entries > which stores mappings between MSI-X index and Linux interrupt number. > It's supposed to be cleaned up when suspend and rebuilt in resume but > it's not, causing irdma using the old irq numbers stored in the old > ice_pf->msix_entries to request_irq() when resume. And eventually > collide with other drivers. > > This patch fixes this problem. On suspend, we call ice_deinit_rdma() to > clean up the ice_pf->msix_entries (and free the MSI-X vectors used by > irdma if we've dynamically allocated them). On Resume, we call > ice_init_rdma() to rebuild the ice_pf->msix_entries (and allocate the > MSI-X vectors if we would like to dynamically allocate them). > > Signed-off-by: Ricky Wu > --- Thanks for the patch! > drivers/net/ethernet/intel/ice/ice_main.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c > index f60c022f7960..ec3cbadaa162 100644 > --- a/drivers/net/ethernet/intel/ice/ice_main.c > +++ b/drivers/net/ethernet/intel/ice/ice_main.c > @@ -5544,7 +5544,7 @@ static int ice_suspend(struct device *dev) > */ > disabled = ice_service_task_stop(pf); > > - ice_unplug_aux_dev(pf); > + ice_deinit_rdma(pf); I think this should be called later in the reset path IMO. You should call ice_deinit_rdma in ice_prepare_for_reset (replace ice_unplug_aux_dev), > > /* Already suspended?, then there is nothing to do */ > if (test_and_set_bit(ICE_SUSPENDED, pf->state)) { > @@ -5624,6 +5624,10 @@ static int ice_resume(struct device *dev) > if (ret) > dev_err(dev, "Cannot restore interrupt scheme: %d\n", ret); > > + ret = ice_init_rdma(pf); > + if (ret) > + dev_err(dev, "Reinitialize RDMA during resume failed: %d\n", ret); And ice_init_rdma should be moved to ice_rebuild (replace ice_plug_aux_dev) > + > clear_bit(ICE_DOWN, pf->state); > /* Now perform PF reset and rebuild */ > reset_type = ICE_RESET_PFR;