{"id":2226445,"url":"http://patchwork.ozlabs.org/api/covers/2226445/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260422123144.485930-1-grzegorz.nitka@intel.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/projects/46/?format=json","name":"Intel Wired Ethernet development","link_name":"intel-wired-lan","list_id":"intel-wired-lan.osuosl.org","list_email":"intel-wired-lan@osuosl.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260422123144.485930-1-grzegorz.nitka@intel.com>","list_archive_url":null,"date":"2026-04-22T12:31:42","name":"[0/2] ice: ptp: fix E825 timer synchronization and locking","submitter":{"id":82711,"url":"http://patchwork.ozlabs.org/api/people/82711/?format=json","name":"Grzegorz Nitka","email":"grzegorz.nitka@intel.com"},"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260422123144.485930-1-grzegorz.nitka@intel.com/mbox/","series":[{"id":501005,"url":"http://patchwork.ozlabs.org/api/series/501005/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=501005","date":"2026-04-22T12:31:42","name":"ice: ptp: fix E825 timer synchronization and locking","version":1,"mbox":"http://patchwork.ozlabs.org/series/501005/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2226445/comments/","headers":{"Return-Path":"<intel-wired-lan-bounces@osuosl.org>","X-Original-To":["incoming@patchwork.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=NAmJmWr2;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0zGm13Dwz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 22:36:00 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 75EB542637;\n\tWed, 22 Apr 2026 12:35:58 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Iz3GgdX_DmAp; Wed, 22 Apr 2026 12:35:54 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 85E8D42647;\n\tWed, 22 Apr 2026 12:35:54 +0000 (UTC)","from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id F31A8183\n for <intel-wired-lan@lists.osuosl.org>; Wed, 22 Apr 2026 12:35:52 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id CF73584221\n for <intel-wired-lan@lists.osuosl.org>; Wed, 22 Apr 2026 12:35:52 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id ifMo4K_qI_Lb for <intel-wired-lan@lists.osuosl.org>;\n Wed, 22 Apr 2026 12:35:49 +0000 (UTC)","from mgamail.intel.com (mgamail.intel.com [198.175.65.18])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 2FB7A84219\n for <intel-wired-lan@lists.osuosl.org>; Wed, 22 Apr 2026 12:35:48 +0000 (UTC)","from fmviesa007.fm.intel.com ([10.60.135.147])\n by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Apr 2026 05:35:48 -0700","from gklab-003-001.igk.intel.com ([10.91.173.48])\n by fmviesa007.fm.intel.com with ESMTP; 22 Apr 2026 05:35:46 -0700"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org 85E8D42647","OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2FB7A84219"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1776861354;\n\tbh=BIa6lWfCk/wv5XroWoUbfz1ORMPEZN2Zcr1yAmkuUTs=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:Cc:From;\n\tb=NAmJmWr2c2US6E5ZCmFMl+MnAk1yY4MJ0QE8JaYh5qjinFLnCStTEWqZloOPZ1JWM\n\t jI3aPDQj1IK6hvexxmXANVpwL4ED/SRAM8VHpbkz1WXaxiNwux+NQlnS8F87djEc+3\n\t 9BSBENVfx+lwHJAPqRM/sTo7ZaQxiabl0iioGvsh/+qJC+O81MGSKGG5AdcHFBvQLg\n\t mT9S7jmR9m4h1blQpcHblI2wnAfciT+Z+tXGX4lcnb/dhsHyRdyyfG+z5EhuW53x3V\n\t TcLHa+XfcuCAvhTmvJGu+My6TYIZojnEL+Pkbc+drR5DG8HKDNtQAFcXLkZE3QfAF0\n\t iKaWXtkZyHusA==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.18;\n helo=mgamail.intel.com; envelope-from=grzegorz.nitka@intel.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp1.osuosl.org 2FB7A84219","X-CSE-ConnectionGUID":["n4Yxv2xUTqO/1yRj0Odj4A==","xUojld6nRtKRTMQ5LXjtZA=="],"X-CSE-MsgGUID":["mLMI56M4R8WDjsb0kqV4XQ==","t98CEG3SR5yuPoqjPZs11g=="],"X-IronPort-AV":["E=McAfee;i=\"6800,10657,11764\"; a=\"77826151\"","E=Sophos;i=\"6.23,192,1770624000\"; d=\"scan'208\";a=\"77826151\"","E=Sophos;i=\"6.23,192,1770624000\"; d=\"scan'208\";a=\"229167424\""],"X-ExtLoop1":"1","From":"Grzegorz Nitka <grzegorz.nitka@intel.com>","To":"intel-wired-lan@lists.osuosl.org","Date":"Wed, 22 Apr 2026 14:31:42 +0200","Message-Id":"<20260422123144.485930-1-grzegorz.nitka@intel.com>","X-Mailer":"git-send-email 2.39.3","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1776861349; x=1808397349;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=5Rx8FzAFlkPbSNLE1tihtAPpSgQCtHK0fEk6lBOaH3I=;\n b=Ea2fniLxkkb2XlKIXg0s/D0v737h7gp/nt1sqtxhj+M97MOTffnLaQNX\n vevKnA/4itILAUjo+LF4OYg7wetpDVY3s9JJ56ntPmSeo1SCQe4M7sIc1\n gBT08yN6JIsiVRy0g9Te0uQjSD9dA7l8G3raYoQbSMroPrdYvTIospMfB\n AKYzPwKeQYSsXYN7+f9rjke8QguX9Qwtc1hDHs/Bivw6mORmwKybtIS0x\n oDvLP9FfaWWZyDFhemTrJNUfMxScMoUNb7m3PDWeJ4Jm5ClYC80UhUW+9\n z3JhnbsaWL59gd+dmAochnzyk6Qx+0vSv1WRYAnNcK8TVNkXehtZTeCMa\n Q==;","X-Mailman-Original-Authentication-Results":["smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com","smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=Ea2fniLx"],"Subject":"[Intel-wired-lan] [PATCH 0/2] ice: ptp: fix E825 timer\n synchronization and locking","X-BeenThere":"intel-wired-lan@osuosl.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>","List-Unsubscribe":"<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>","List-Archive":"<http://lists.osuosl.org/pipermail/intel-wired-lan/>","List-Post":"<mailto:intel-wired-lan@osuosl.org>","List-Help":"<mailto:intel-wired-lan-request@osuosl.org?subject=help>","List-Subscribe":"<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>","Cc":"netdev@vger.kernel.org, anthony.l.nguyen@intel.com,\n przemyslaw.kitszel@intel.com","Errors-To":"intel-wired-lan-bounces@osuosl.org","Sender":"\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"},"content":"These two fixes address E825 PTP synchronization issues in\nice_ptp_hw.c.\n\nThe first patch serializes PHY timer start against concurrent PTP\ncommand paths by holding the global PTP semaphore while programming\nTIMETUS registers and issuing INIT_INCVAL.\n\nThe second patch fixes semaphore access for E825 2xNAC configurations by\nmaking ice_ptp_lock() and ice_ptp_unlock() use the primary NAC register\nblock, matching the rest of the primary-only PTP register access path.\n\nTogether, the series closes two locking gaps in E825 timer control: one\nduring PHY timer initialization and one in 2xNAC semaphore selection.\n\nGrzegorz Nitka (2):\n  ice: ptp: serialize E825 PHY timer start with PTP lock\n  ice: ptp: use primary NAC semaphore on E825\n\n drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 24 +++++++++++++++++++--\n 1 file changed, 22 insertions(+), 2 deletions(-)\n\n\nbase-commit: 3662329d3f304a421e0230ee3913dab021ec3a3d"}