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=192.198.163.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795899177; b=M//waeVQGElgRi5ZwaICIWI7qKOaI4xRMUsfUV4ZniVl8oMto2KtN/XsEKVNXivSRCUV FbcC9aRTBdeVAV8yrQ1ZISPyBrYbuONsOTk6BGj/VtjldW18fW2oRE48kWXrhVAcZJhGK nmqrm4F+/StJCiaf3Jm+JPaNn8OcltJkx2eVkq7lhxcUqoKzFMAhA5G3o56iYZRYofUib BpWf2Ld0eQQb+hi00kXSYYnATpcQsRkl+7nudTvBO+5gBPQg1RvX+f4PqrudxBsfUcD1s r+6TuQbmlFFNyBAgSNo4foYU5qDPFiId5YY98QQDq04/WFJNQTfPUdROF5DfBfpupeQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795899177; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Message-ID:Date:User-Agent:Subject:To:CC: References:Content-Language:From:Organization:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: 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-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=ZUEzfv0EySQeiBhjDhIxvUdFzf1mfhZSiPX9MSBTyNY=; b=Zo1us/cvyEeunJT6Dp8hjGawLC7rpm7zxU7B5puBVEawnmPqMvnZOaQrjYKV2jQJxVOO Vb0AzfJLaxi1Q3dzvvndtRGpyY5/s+Q7Kw5e3F9PXNti9Or+HuebRCoM9V8JtFsgcvN3W Sz+z8/MAYNF052LcHR6Eix1OAxUKOBj568QaocY6OQjdMXVq7u+kkId1/la4iotpEF76p l5DSnlz1a3n8KYTg8Xlcr1+rx6C7I/6OQ9K62xHn0bgjpRw3D6Pi94xbGfiCCdg0iIZAr h+c7eYEB6Xl+cCeUD+1oK4HRSc5o5JbBThXhAPQFuIlOzN+Tp9/+leRwoYAjA6g6aDw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=m707Afgm; arc=pass header.oldest-pass=0 smtp.remote-ip=192.198.163.18 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99FDF606A31C for ; Sat, 28 Nov 2026 20:52:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 99FDF606A31C 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, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=m707Afgm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1795899176; x=1827435176; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=5iTvl7Heyu16xFPQHLkPO9BML4wCYNLilHwBEAxc2Ms=; b=m707Afgmr0p6T4YgyBFe452z5uOuIh2lfI+wvFqHy7CYBdmBGDs0svK2 KuJPR/jhXAD7C8YkqZdrZyDWcDCF8CCAWJU9rK5+GKTd9e0Yn73K3NUD7 SqERpZ2jLr36Ezt3XGvwEcpefRMAD/2QoE9iGNoJ5gNfY3xZ7Sl6DXHRC NHI6ymgJuMrq083lvHvS3R0hmU6Dsk765DHNJ6YixcJqvwhwp62LoLETo SfwgvHXrZXbXwyJhZO18iEloX4JO7UHkbnU1uHTwBD4IMaqDLCnoknb0z hY1tlQfEiSIua5JrCHj5FAvqDgdWakQ/sgTHy8eAyv8pDtlbK57HUF0WQ g==; X-CSE-ConnectionGUID: V4knnBdHR360lnRgmpN9rg== X-CSE-MsgGUID: nfo+ZOpUQnyWkfu/Ko+TOg== X-IronPort-AV: E=McAfee;i="6800,10657,11980"; a="4777212" X-IronPort-AV: E=Sophos;i="6.27,238,1787036400"; d="scan'208";a="4777212" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2026 12:52:55 -0800 X-CSE-ConnectionGUID: jTSjTwYgT5CRdOMKzbLE0g== X-CSE-MsgGUID: /B1kjo5ORIK5zmuIyZSaEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,238,1787036400"; d="scan'208";a="12625352" Received: from fmsmsx901.amr.corp.intel.com ([10.18.126.90]) by orviesa002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2026 12:52:56 -0800 Received: from FMSMSX903.amr.corp.intel.com (10.18.126.92) by fmsmsx901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Sat, 28 Nov 2026 12:52:55 -0800 Received: from fmsedg902.ED.cps.intel.com (10.1.192.144) by FMSMSX903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Sat, 28 Nov 2026 12:52:55 -0800 Received: from PH7PR06CU001.outbound.protection.outlook.com (52.101.201.26) by edgegateway.intel.com (192.55.55.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Sat, 28 Nov 2026 12:52:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U9QmIDyB9L4eLttEiFZEGzilmpjaZ4tzV6sZXEA/M3R2CcCGz0I7CJBCGKK/o/6lfoPkzTbWidXTnfAoam029Jo38v+rPG6m1ZGR0v2mPIblfoeZ4VG1AP5V4JgI2SmQWkpnnwsHr3WJXXjMtiS6Ce4QJjhzUen4pXQHHFnEc8aZXO4vw7f+DLPEuqQTD9d91y8o0u8Pra93hGE2JuvrpW7NOKjHGqOZqJq/kfTioF15+60086Nr8cRlV9LHBOmYUBiIWUUlXc7sfkzFuWfngrG+PQ/1Po3jff6ZC8D0GMwqcvCRHwZKJBJUyXgdU1JIU1H9EC+cX4NDkR4KlSKZAQ== 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=ZUEzfv0EySQeiBhjDhIxvUdFzf1mfhZSiPX9MSBTyNY=; b=gwzYf3Yrr1VadkcMQpforQU4pIhHo2X0nRpaAX731hdtHYWSu3s8qzpyRgCEuKvGVoHYJhFFOOiGFfi++b+AWQ2sQKk9Gp9uxJfwe4LxCHTNnqx4SiSwnsg+blvwyNDeD/heMF0Pd6wFDl1CStDR782VVnfW2/mkojvrPUBOV0wpY11wBzZ4BuTvxDpWazfDXOdAILEiZQUZYj041sQ2rtPAfmM6D7mZCm/HYLl820rHvX7FfV/3rJikvrHzv9rMMx+ha3hD13lBTIL0ivO8Q9aIl1RFtLB7mrgb5QLQGwQUUmW2ISUB/WkDz9tanIReE+wJKrI1fJQXM5B5vysPmg== 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 MN2PR11MB4645.namprd11.prod.outlook.com (2603:10b6:208:269::20) by LV2PR11MB422163.namprd11.prod.outlook.com (2603:10b6:408:3a8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.9; Sat, 28 Nov 2026 20:52:48 +0000 Received: from MN2PR11MB4645.namprd11.prod.outlook.com ([fe80::5cb4:804e:bfb4:dad0]) by MN2PR11MB4645.namprd11.prod.outlook.com ([fe80::5cb4:804e:bfb4:dad0%2]) with mapi id 15.21.0662.007; Sat, 28 Nov 2026 20:52:48 +0000 Message-ID: Date: Sat, 28 Nov 2026 22:52:42 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH iwl-net v2] igc: Disable PTM after the last device reset on remove To: Simon Horman , Li Yifan CC: , , Tony Nguyen , Przemek Kitszel , Bjorn Helgaas , Bjorn Helgaas , "Mika Westerberg" , Vinicius Costa Gomes , Dima Ruinskiy , Li Lili , Wang Jie References: <20261110062051.2730678-1-yifan2.li@intel.com> <20261118140146.GD860048@horms.kernel.org> Content-Language: en-US From: "Kadosh, MoriyaX" Organization: Intel Israel (74) Limited In-Reply-To: <20261118140146.GD860048@horms.kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: TLZP290CA0012.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:9::10) To MN2PR11MB4645.namprd11.prod.outlook.com (2603:10b6:208:269::20) X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR11MB4645:EE_|LV2PR11MB422163:EE_ X-MS-Office365-Filtering-Correlation-Id: f7b4a2ac-79e1-4d51-4a3d-08df4d918f3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|23010399003|1800799024|4143699003|11063799006|6133799003|5023799004|22082099003|18002099003|10067099003|56012099006|261102123227099003|261022105027099003|261028144727099003|261022075727099003|261026121527099003|261021121427099003|261026140227099003; X-Microsoft-Antispam-Message-Info: nr/V8p+zXcOVrBxtQgqXcyIkekxuIBeM6xWIEHLgV1NNsfHAg7zjJs/nWVe5ra8lovx8nVBMfdI/qwGcVvjLOlogbNWdV08CgJl3kAR50o5b7FHxtCobVZ7fGP263guMYDAPoxf/kXs8Qj/UIbZ2CPPaHd3C0aVJJwwv2FgEaSeTB3MjOa2P90UF9cbdNXSTznhU3PTsRiGuUNCEMJ7Bg68RYhPHsdhMOvC8I+JOgbM/cYOOWUr90V5J5Tqs11c4fInlCxFd8ZVkJXTPhJZu+cOXV+xUUsiNvPHAYlZpC0OAT4OVaNwCoTilLlMHnBXpXgqNMvqC7txKNgpcQzL5zLRyZCH7uyyOStNubIUpGvFi8Oik0DpfTFcmeHUZKhRHJcfUa3F+71VuaLXieAj5WBlk/wGw7VQDBT7geWbqgKt1l/2gCRNiYFqV6SnfpI10DaA5gSytWygnSWXwJhkTj87xDQ7l6haIbS+/DqhE7/SO1tLeIeLRNW3C4yzyY3jOcL6CcT43f93pgHH0Gu4ON5wrtsQkErX63sv/yXGODMyCvezTOlScpNlYqQtwOx6WH1EjG85Kz9NEaXTR3mglbAPdUlkhUUaJNy52exQRnDoyGcR5iUgyZIKQbP2O51na X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR11MB4645.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(23010399003)(1800799024)(4143699003)(11063799006)(6133799003)(5023799004)(22082099003)(18002099003)(10067099003)(56012099006)(261102123227099003)(261022105027099003)(261028144727099003)(261022075727099003)(261026121527099003)(261021121427099003)(261026140227099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UlkvVW5UVVJJWDh3aWNrbzlrNlVSeE9XQ1B0YVBEWHhtR2NGcUJ2OXVhcHR0?= =?utf-8?B?ZXRjUVE4LzR3OFR3STlMN0VIdGtQTTdWQXJlU2ZOOTRpQTRzb201ZXBKUVYz?= =?utf-8?B?TThCcG9mbDF1czQ2R1JaN3RLNlhyU0VNUFB0M0FsMGRvNWg2UzU1R0ZUVE9Q?= =?utf-8?B?Nmk1RjNpVS93VVZ4dHNuUmNEajJleTdnK0ZRVm5WdkdDZm1Zdm9FNFlhdGxq?= =?utf-8?B?OGFpVEVFZHJPRG90SHhJWlZLZ3puZnFrcHU1QW8rZlRTcHFnTCthYndRa04y?= =?utf-8?B?UTZRRFlrYWhabDRXWHhkOUt4aTI1R1lWZEswTWticzFnSlFBY2xGL3lwZGlD?= =?utf-8?B?OEZaL2NRb1BXdGZna3RoWmdlTWJXVm5BcTU3Si94NXRFZ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TVnpzUHhFSUdDRWlvQ0cvTDArbnYzcktHSC9p?= =?utf-8?B?RkFsMzdHMlV0YXZDbGJUUU9RK1g1ZU5LMC9Jd2hEVU9vejk3VXdqNnA3YUVP?= =?utf-8?B?WDcvdkwyd3NNQUkvdXNXSVZoSDBUV0N5dmthVXBIZjltTU9JeDNCZz09?= X-Exchange-RoutingPolicyChecked: aYCjbUA6gu1c6vuhCvgMWqk1O61nR1t6dVn/gf+//UB4BImpw5lK5lsA02KjwtvPiOpCjmYEcVe/+rLBnE8tmyGF2lQYTZ56mnxZUscpv2ADIGZsH95j8waFxEePCwFmJiIl+unTTgng4msSlCTibcniQtWsaXy08TlAKJc6+kJc+PIk7ZJWXlt5aMKx9QbDRr09+O2OzhgoJkZV8sHT7tTArtWWZNOTeCkHUYDuMc/XuQNtJpnzX+EOE6+O7RiXBtRz4bhKFZcncmQZ1YzRgsqdW9ict7E5E94Iu/m7j58R0ifn8JXNKEJdbaqNLdnna7ApR/NdjWpiuP4oUSUyYg== X-MS-Exchange-CrossTenant-Network-Message-Id: f7b4a2ac-79e1-4d51-4a3d-08df4d918f3d X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4645.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2026 20:52:47.9539 (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: CU3+aGhMauMMq5/WO+Ml88zGvtgWvQYSwQnxgcITqAalx5ruPUFXrbf6tiF1P2Y93fWKVwU7rkGMIB5J1ZY2K3B07QXmlb2AEmCtjvsNR8U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR11MB422163 X-OriginatorOrg: intel.com On 18/11/2026 16:01, Simon Horman wrote: > On Tue, Nov 10, 2026 at 02:20:51PM +0800, Li Yifan wrote: >> After a PTM dialog, I225/I226 can send a PTM Request at the next device >> reset through the RST bit of the device-specific CTRL register >> (CTRL.RST). The device sends it even when the PTM Enable bit in its PTM >> Capability is clear. This is a hardware defect: a PTM Requester is >> permitted to request PTM Master Time only when PTM is enabled (PCIe >> r7.1 sec 6.21.3.1). The EN bit of the device-specific PTM_CTRL register >> is also clear at that time, so the driver has no control that stops >> the request. >> >> The request is harmless while the upstream port has PTM enabled. Since >> commit e1092d5e15e6 ("PCI/PTM: Do not enable PTM automatically for Root >> and Switch Upstream Ports"), pci_disable_ptm() also disables PTM on the >> upstream port when the last user goes away. igc_remove() calls >> pci_disable_ptm() before unregister_netdev(). If the interface is up, >> unregister_netdev() then resets the device through igc_close() -> >> igc_down() -> igc_reset(). The upstream port now handles the PTM >> Request as an Unsupported Request, as the spec requires (sec 6.21.3). >> On an Intel Nova Lake-S system with an I226-LM, this triggers DPC on >> "modprobe -r igc". Recovery fails because the driver is unbinding, and >> the next probe fails: >> >> pcieport 0000:80:1d.0: DPC: containment event, status:0x1f01: unmasked uncorrectable error detected >> pcieport 0000:80:1d.0: [20] UnsupReq (First) >> pcieport 0000:80:1d.0: AER: TLP Header: 0x34000000 0x81000052 0x00000000 0x00000000 >> >> Message code 0x52 in the TLP header is a PTM Request from 81:00.0. >> >> Call pci_disable_ptm() after the last reset of the device, so that the >> upstream port still has PTM enabled and responds to the request. If the >> interface is down, unregister_netdev() does not reset the device, so >> reset it explicitly. Skip this reset if error recovery is in progress >> or has failed, as igc_down() does before igc_reset(). >> >> Tests on an I226-LM show that this reset also clears the state: the >> device sends the request only at the first CTRL.RST after a PTM dialog, >> so a later reset sends nothing unless a new dialog runs. >> >> No new dialog runs after this reset. The PCIe spec makes the mechanism >> that starts a PTM dialog implementation specific (sec 6.21.3.1), so a >> device can start dialogs at any time while PTM is enabled. I225/I226 >> start a dialog only when PTM_CTRL.EN is set and the driver sets the >> TRIG bit in PTM_CTRL (the "PTM trigger mode" in commit 8e404ad95d2c >> ("igc: fix PTM cycle trigger logic")), or in an automatic cycle mode >> that igc does not use. The request at CTRL.RST is the only exception >> that we know of. igc sets EN and TRIG only in the PTP code, and >> igc_ptp_stop() runs before the reset: >> >> - igc_ptp_suspend() -> igc_ptm_stop() clears PTM_CTRL.EN. >> - ptp_clock_unregister() removes the PHC and waits for the >> igc_ptp_getcrosststamp() calls in progress, so no new TRIG comes. >> - IGC_PTP_ENABLED is cleared, so igc_ptp_reset() returns early in the >> reset path and does not set EN or TRIG again. >> >> pci_clear_master() stays where it is, so PTM Enable is now cleared >> after bus mastering is disabled. This keeps what commit c080fe262f9e >> ("igc: Fix possible system crash when loading module") needs: the >> device starts no PTM dialog while bus mastering is disabled, because >> PTM_CTRL.EN is already clear. >> >> Fixes: e1092d5e15e6 ("PCI/PTM: Do not enable PTM automatically for Root and Switch Upstream Ports") >> Suggested-by: Mika Westerberg >> Co-developed-by: Li Lili >> Signed-off-by: Li Lili >> Signed-off-by: Li Yifan >> Tested-by: Wang Jie >> --- >> v2: >> - Call CTRL the device-specific CTRL register. Describe the defect as a >> PTM Request with PTM Enable clear, and remove Bus Master Enable from >> the description of the defect (Bjorn). >> - Leave pci_clear_master() where it is and move only pci_disable_ptm() >> (Bjorn). Retested this order on the I226-LM (v7.2.7 with the same >> change): reload x20 with the >> interface up; unload with the interface down or never up, then a >> manual CTRL.RST (no PTM Request); S3 and s2idle; unbind/bind; >> remove/rescan; runtime suspend; reload in parallel with S3 for 10 >> minutes. No DPC. >> - Explain why no new PTM dialog starts after the reset, and that >> starting dialogs only on TRIG is device-specific (Bjorn). >> - Add PCIe r7.1 references for the defect, the Unsupported Request at >> the upstream port, and the dialog trigger. >> - Keep only the pci_channel_offline() check before the reset (Bjorn). >> - Drop the pcie_ptm_enabled() check before pci_disable_ptm(). The PCI >> core fix [1] (applied to pci/ptm for v7.5) handles a failed >> pci_enable_ptm() for all drivers. Without [1], this is the same as >> the current code, which also calls pci_disable_ptm() without a check. >> - No erratum covers the PTM Request at CTRL.RST yet. I reported it to >> the I225/I226 hardware team and waiting update now. I >> >> [1] https://lore.kernel.org/r/20261104121457.2108515-1-yifan2.li@intel.com >> >> v1: https://lore.kernel.org/r/20261031021928.1714612-1-yifan2.li@intel.com > > Reviewed-by: Simon Horman Tested-by: Moriya Kadosh