From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ACCCAC47DDB for ; Tue, 23 Jan 2024 16:38:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 454C440217; Tue, 23 Jan 2024 16:38:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 454C440217 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1706027905; bh=JtSi1DPjchm+io+iEWDnkuWbq3vhD11YxTPw8EqKf3Y=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=aHlLZT1dS4oeo4tfdtt0ONkFDhX95Pl1/TbV+zwAheMkrMfZBqmXMZSzLyBvLPMuM T4HAENJosl64qoFczOL+HJQfIwQQTjLIPacq8Ym9zJs5axu/rGLKodBYbVNswg65KK NDUJU+iJx529lK+Tgy0VG2kfu9J2eG8+0KF0fqKAMuQ1p1XRk7Lbpt/QnUEGjGq7/d bGNzxztfaIY++LHil10yhRiSBwO4Cgam9uUrL/TsWpxcIXlcljD4h7pCkIONGJi7WM aBi809Am8BFfS2QoQLqOovHD/IbS2PAUJqCTExLxjpjrXxP8AT22bvzU7ALpSgLx+L W7G5EtVr80iZg== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H6CZTsqLA7vL; Tue, 23 Jan 2024 16:38:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 50E43402C3; Tue, 23 Jan 2024 16:38:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 50E43402C3 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D6A5D1BF3A6 for ; Tue, 23 Jan 2024 16:38:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B96E5402C3 for ; Tue, 23 Jan 2024 16:38:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B96E5402C3 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T0xrbBstrW4t for ; Tue, 23 Jan 2024 16:38:22 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by smtp2.osuosl.org (Postfix) with ESMTPS id E7E6B40217 for ; Tue, 23 Jan 2024 16:38:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E7E6B40217 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C379A61378; Tue, 23 Jan 2024 16:38:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14C09C433C7; Tue, 23 Jan 2024 16:38:18 +0000 (UTC) Date: Tue, 23 Jan 2024 16:38:16 +0000 From: Simon Horman To: Karol Kolacinski Message-ID: <20240123163816.GE254773@kernel.org> References: <20240118174552.2565889-1-karol.kolacinski@intel.com> <20240118174552.2565889-2-karol.kolacinski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240118174552.2565889-2-karol.kolacinski@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706027900; bh=neiDqjqlrAq+P9Dr03DcL5TOcjt9yIK/jkFGhWRFMI4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=esa6oijTUzGsIB68xmQGVR3YIm2FmzzQ2URUJt3Y/kqVyeMQkpJiibfFcpoLjaIyA 6/Q1zWaLXLtsABbNN93v3d6vZS48Jq60K7rUfZsbCBFehQj2Du7XmAZzU5gHmr7aBZ gVofmds9R4BKYUupCr+nhqWpkvPYZoeiqWl7fV1MdEMTJjSDx5e7c4OIvoyvBgQ+DF 4Bkm9pxOFLT1nP+TSuJvdoWK/W9UleXq1QDoj2B/hgUKOU2x8m+/hi2/BW1XiupsqR 8QjOHpz/42/G7BL5M04HDfS3CJYrxWQ2F5jg9kT7ROMZKkWQNgL74vUCW71zLGG+lD C+sb9/DCJyQsA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=esa6oijT Subject: Re: [Intel-wired-lan] [PATCH v6 iwl-next 1/7] ice: introduce PTP state machine X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jacob Keller , netdev@vger.kernel.org, anthony.l.nguyen@intel.com, intel-wired-lan@lists.osuosl.org, jesse.brandeburg@intel.com Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Thu, Jan 18, 2024 at 06:45:46PM +0100, Karol Kolacinski wrote: > Add PTP state machine so that the driver can correctly identify PTP > state around resets. > When the driver got information about ungraceful reset, PTP was not > prepared for reset and it returned error. When this situation occurs, > prepare PTP before rebuilding its structures. > > Co-authored-by: Karol Kolacinski > Signed-off-by: Jacob Keller > Signed-off-by: Karol Kolacinski > Reviewed-by: Jacob Keller > --- > V5 -> V6: refactored prepare_for_reset() bit in ice_ptp_reset() Thanks for the update. Reviewed-by: Simon Horman