From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 C8828400DFF for ; Tue, 6 Oct 2026 20:04:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.19 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791317044; cv=fail; b=qwF0cyDUNLTlBKPXrJ0+55UshBvpfrae5VcgAy815g+2R/LcmqimsGOW2OiAadoXYmKuAicD+UC1p36zQQKE6mfgiDL21bCut7ruXpgxlUARVAgsJrobinOnRr4M0bn2mwlyr/Sg2nN2rKhsjcBGamvSh1H52bLnEXtpg3cwyG4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791317044; c=relaxed/simple; bh=YRiCh4R1MYa6vFNT/z0bxFYXCk39bqYaChUlPbNk6s4=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=o/8qfL7yM6UAiWlNEcX9aM0OyWxgZ9cYp0/3sYGLzQvkvABVclokuofGxiq42QHTmF7Udrs2SMLrBcjOh4SAO5Vi7dcylyAJaNgVkZ37i1GZjC9spo1uXfhl7Vdjf7Qr0yFyB5MTLWalbykEU2ZJbdCEp5bL+Qc22bcRJeIbtig= 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=h3CFOkve; arc=fail smtp.client-ip=198.175.65.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h3CFOkve" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1791317043; x=1822853043; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=YRiCh4R1MYa6vFNT/z0bxFYXCk39bqYaChUlPbNk6s4=; b=h3CFOkveo4z193U77uxUr4h65K9TXu0QBThpOZzcn9DBb3JR8pflv11F Ybmx+cdrCwQhPl1WNbV2Kp5YjA8uLijexoJ2YVPifM7/nPdWt4d20ORkw 1asKvGwG2iwRx+qeT/Er6OBAZSW6NQlJjcwXY9ffL/8eV2LeFzaqevdcb a94hQAZC2PJDC8WHxA2KOZzS2N/TTfv0j89m0TJS80SFG5fJOS7Qnytsu 6ZXQHeoSuvfBo9VgfHpAQvcC+xCR5MyZ/keCkF7FCSZx2pmwJ81ujpiJ2 QLe1OcCZhZXasZnOgn5CbrPzLhHfD2uboWA9PYO+4g2ylOyCkQTHcZDfA Q==; X-CSE-ConnectionGUID: Xoh6Yn5fTIWhDVOBUIpc3A== X-CSE-MsgGUID: w4niGfFSRBqrOX4p18y3mQ== X-IronPort-AV: E=McAfee;i="6800,10657,11927"; a="81341" X-IronPort-AV: E=Sophos;i="6.27,143,1787036400"; d="scan'208";a="81341" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2026 13:04:02 -0700 X-CSE-ConnectionGUID: Cdiyq34YRPGWbug7LIsSQg== X-CSE-MsgGUID: K49BTGqeQ7mCDMWbBsoYuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,143,1787036400"; d="scan'208";a="315271983" Received: from orsmsx902.amr.corp.intel.com ([10.22.229.24]) by orviesa001.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2026 13:04:02 -0700 Received: from ORSMSX903.amr.corp.intel.com (10.22.229.25) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Tue, 6 Oct 2026 13:04:01 -0700 Received: from ORSEDG902.ED.cps.intel.com (10.7.248.12) by ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49 via Frontend Transport; Tue, 6 Oct 2026 13:04:01 -0700 Received: from SA9PR02CU001.outbound.protection.outlook.com (40.93.196.62) by edgegateway.intel.com (134.134.137.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Tue, 6 Oct 2026 13:04:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iKeINUdnCup4g+gfwDEMzAsBzKtdLoFtcA0wUgql77iWkPdNzJdQVST1GZqJYYd24ciXJ0x2rcGMdNZqOJKShpCoQ7gfRQozJjL7p7Qu/RebYBBrqOp0mSTDbq4nldxgQpDWk07XC3ifi7iWekro1WpHd0U7+KQsE8Ar1NfkwNyFyh+OMWBUU2LO4WARz3howqsRdFVQva7OUDtPrd8ur2pClXr87h1q+B7/wZ+6FhJgqseLQGQ1XJkHI9M/Gm3BaVDhEqCt/RmQu8vCXgFRMEsSQExc45yYALBDLfeObOErNBjS80IRM/ek0YYqJRm8IULmrvZ34t5X+8p85zYGjw== 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=Nxi/jDE5V3I4LY5vZta7wrRM7tGIeZVCMsZJoVeNtdE=; b=yf1jLwfq64iFqbVVjKy+8upZIrbEn9/ewLorGmwVG9PNqi/sprrTG47kFCM2O9OTgAWCnmX8kiksbdm9vtT/zTD7y1PBKScip3dv9mkbpB0FQKx0tVc/Wdqe4x1z5m8/lhVXMvWHbf0A4EG9KKM9LD9bc1u6E4blQoAInBXa4QES60yA7lFuG/fYvIFWpqqgodkTbxzx8PHbCODyXuU9vAWvUxB2NaiiDV5sHRrG4XqTycuRETGZaI/OBt4lUuYyeIXyliA2hRMCjM38MR9XQlonTdj8c7TX6RCqnNFzzm/VwB1/CqaPk6hjs5pjZlYRjfIQa4F9ygnyi6u5nrcJTA== 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: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SA3PR11MB186312.namprd11.prod.outlook.com (2603:10b6:806:595::5) by IA0PR11MB7955.namprd11.prod.outlook.com (2603:10b6:208:3dd::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.472.18; Tue, 6 Oct 2026 20:03:54 +0000 Received: from SA3PR11MB186312.namprd11.prod.outlook.com ([fe80::fbe8:9ba6:fcd0:f0b]) by SA3PR11MB186312.namprd11.prod.outlook.com ([fe80::fbe8:9ba6:fcd0:f0b%6]) with mapi id 15.21.0472.016; Tue, 6 Oct 2026 20:03:54 +0000 Message-ID: Date: Tue, 6 Oct 2026 13:03:52 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH iwl-net 1/2] idpf: keep the mailbox up while tearing down vports on shutdown To: Tian Xun Ng CC: , , , , , , , , , , , Tian Xun Ng , "decot@google.com" References: <20260917105205.37561-1-luckilystar08@gmail.com> <20260917105205.37561-2-luckilystar08@gmail.com> <45ffbd03-653c-46fc-b500-07e9b99f295f@intel.com> <20260921032827.32485-2-luckilystar08@gmail.com> <008a657f-f914-4191-b5c6-0fcc062bf73e@intel.com> <20261006105629.7481-1-luckilystar08@gmail.com> Content-Language: en-US From: "Tantilov, Emil S" In-Reply-To: <20261006105629.7481-1-luckilystar08@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW3PR06CA0007.namprd06.prod.outlook.com (2603:10b6:303:2a::12) To SA3PR11MB186312.namprd11.prod.outlook.com (2603:10b6:806:595::5) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA3PR11MB186312:EE_|IA0PR11MB7955:EE_ X-MS-Office365-Filtering-Correlation-Id: d352b6ab-6db1-416a-bd9f-08df23e4f2d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|376014|7416014|366016|1800799024|6133799003|18002099003|22082099003|10067099003|4143699003|11063799006|56012099006|5023799004; X-Microsoft-Antispam-Message-Info: hkjiYwZPYt+DM9CspMnpKNh0CclDefQEIdgF9TU0cI0btYYcNOEViH3S+7lTJC8ThfBkKsnNk+NEDE2CngJHcVpWqvQayiW4eXA0ooLjITGiaSyUpClWcBOmBzUfu12inAE5af6D2eBOfTXlMdswH9yfFNWXYPRJrym3ecRXXEa3hcUTE8BqFx7M6K27bhF4unbp38nS7iPDmTdqswmTIXdcYF2cXC0HirvvoU2mCH+4jKjfB5icjCAucC/8cBQLeHggmWLxWe0YaOfeDM7sGhLNY4Jx+GNHuj+mQH4aHCAJ7I+14Z6Yp27iag2mriV1Y6HW5Vj5s3APND9A8yx781HXr4DCvRxuz1TcFR4cIR9gyZJxahYF09d3rriILmif6vuMog1QAbiVhvvotGLD6WHDmCueoN/PPXdnthu0q9xvfwnuGepwpk+Gkw+Rqb53mCTr9xHeSX9AvqQj5KTqcASzr7cvxQS2wUuBqjarXv+9w0Ec7I18k5kXNFwk4scvsHTfkOSZu5W2SJscFdIk/2TQxmQOiSj8NiW6iOvkNSmojLI5GMo8TCxFE+8s5VOpaRSC6JAUJMeGykXVYs44Jm+ziSw0ltimBEX8TAVTg2m5QU+YBN/b/pqZfL8EolCZIbIyXdhYmxcR4GXkUPb7VQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR11MB186312.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(376014)(7416014)(366016)(1800799024)(6133799003)(18002099003)(22082099003)(10067099003)(4143699003)(11063799006)(56012099006)(5023799004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Tlpsak9GSlFKKzBJUHFEeXpZV3lZVndPVE9LdEdoUDNkeURBSmNSNmg2OThG?= =?utf-8?B?SjRVQXNuYkwrMXVseldGbDNDTEViaEFNZmwwUDA0NTc1TEpLa0Rwa0VZZTc3?= =?utf-8?B?STJua0VMdzBzK1RGMEw1RzNuSTBybzJrMUY5RW0xandFWVczbXVPRWt6Vk03?= =?utf-8?B?Wk9CdWlmRjExRVlYNFZCeGRWcURVZmY2am1MU3M1MU1rWlRvMW9kbWN5R3Zi?= =?utf-8?B?djlJanNDMWY1UzFkQjlkajlZTjJkRFpLU0p6ZVkzNXJnd1hid2pmRXg0WEVP?= =?utf-8?B?QXFTb3RqVExBRndUWS9vZUNyNE9XYWdMQmhKaktPQlJrWGpzc2ZiRnIrQkdo?= =?utf-8?B?bXBMQ05FbHZuOUkyeloydFdRQjBvQWtFWG1uNFZQekNzMDlOWWNtNWdKQndn?= =?utf-8?B?dlVyUXJnVnZDcmVOVytRNlZDZVF1L0QxeXZMU2ZueE5uYS8rblBxM2FmL3Zs?= =?utf-8?B?QjgrZ3lLUmFwYTVm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UMjVEZWJXYWNk?= =?utf-8?B?VlB0T0FFOUNLTVp2cGF0ZllKRC9TOENScG0zZVFWS1pOZ3ZkM2cyNUVwOTI2?= =?utf-8?Q?ydp94T7V+/N4LURc=3D?= X-Exchange-RoutingPolicyChecked: dgZmpCcGMtAbx8tlkynBFe1WzoXz85kxABHTpT5pu76AVCabKPrd7PXHrLty+QWAm4exWUJv5kUKGIS7ly/mETUe+0EyfyATIlwHjuuX+cBAbHXpMFkR792sGdTl9WoVEJcFvtnBOunOXkKI/ugPDCqYuaVWfV9eHCFL/UgVWP6nVuj2re1R2JcP26JuZmdcMIcVvTO303Ai4CA/IYI0VRcOBEotxz0WP7bOLTg4MKsB3PUwQLaYZuL7xy2SB0vk75fZ6IMmm+OViTEVfhXsNozRID135oc6bRvTD29NdBE+SWG8Bbbnvnp9Zacqdo0fBFNUjWGyNALAQGTXwa/bjw== X-MS-Exchange-CrossTenant-Network-Message-Id: d352b6ab-6db1-416a-bd9f-08df23e4f2d6 X-MS-Exchange-CrossTenant-AuthSource: SA3PR11MB186312.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2026 20:03:54.4816 (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: W8fINZbk5HUohLtEXO92rqwqyWZ+tJMmc2ITpn3IHrCL4h6CWC7IoCLpCHlk1lHGPKzxlGbK7YwzsYCi+cP7N+0BTZJlF6qGVdfMDNWTHcs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7955 X-OriginatorOrg: intel.com On 10/6/2026 3:56 AM, Tian Xun Ng wrote: > On 9/21/2026 2:06 PM, Tantilov, Emil S wrote: >> In that case wouldn't just the reset on shutdown be sufficient? The FW >> should clear the resources on reset, which should take care of the stale >> vports. > > Sorry for the slow reply; I wanted data before answering. On these > devices it is not sufficient. No worries, thanks for following up. > > Same arm64 hosts with two idpf PFs, IOMMU translating so every stray > write is blocked and logged as an F_TRANSLATION fault, warm reboot in a > loop, counting boots with idpf faults (always ~19 s in, at the first > queue reconfiguration): > > shutdown as in net-queue (mailbox shut first, no reset): 10 of 10 > same + PF reset after idpf_vc_core_deinit(): 2 of 2 > same + PF reset, then poll PFGEN_RSTAT for completion: 10 of 10 > teardown messages delivered, no reset (IDPF_REMOVE_IN_PROG > set in idpf_shutdown(), the effect of this patch): 0 of 100 I think this change is warranted - setting IDPF_REMOVE_IN_PROG in idpf_shutdown(). We just need to figure out a way to bail early on unresponsive FW. For the moment I think it will be OK if we prioritize the working case and make sure a shutdown is handled properly. > > In the third case the serial console shows the reset happening: > PFR_STATE goes from 0x2 to 0x1 within the poll on both functions, and > reading the register mid-reset raises a TLP error on the function, so > the reset is not being lost to the reboot. The device still has the > previous kernel's queues afterwards. The reset the next kernel does at > probe (IDPF_HR_DRV_LOAD) does not clear them either; only the > disable/destroy messages do. > > Is a PF reset expected to drop the vport and queue configuration on > your parts? If it is, this looks like a device firmware issue on our > side and I will raise it with the vendor. Either way the driver cannot > rely on it here. In general yes, a reset is expected to provide a clean slate for the driver. This is why the driver issues a reset on load. Even if we make the shutdown logic flawless there is no guarantee that it will actually run. In some cases like a system hang, we'd still end up being reliant on the reset clearing the state. > >> If there is some clean way to shortcut the MBX on shutdown then I guess >> it would be acceptable, but I don't know what a "safe" timeout would be. >> As you can see the timeouts are already quite long, so you could >> potentially still bail out on a working CP that just so happens to be >> busy on the replies. >> >> Also, consider the case where a reset on the PF will kill the MBX for >> the VFs associated with it, so a shutdown on such a VF will always end >> up timing out, since the VF reset is a message to the FW. > > Understood. Given the above, some mailbox traffic on shutdown seems > unavoidable if the stale queues are to go away. What I would propose for > v2: > > - keep the vport teardown on shutdown, but give those transactions > a short shutdown-only timeout, and stop at the first timeout > instead of waiting on every remaining message, so a dead CP costs > one timeout rather than several minutes; > - skip it on a VF, where the PF/CP owns the VF's resources and the > mailbox may already be gone; > - drop idpf_is_reset_detected() as you suggested, and drop patch 2. > > A busy CP that misses the short timeout leaves us where net-queue is > today, which is no worse than now. Would that be acceptable? Agreed, this seems like a decent approach. Thanks, Emil > > Thanks, > Tian Xun