Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2221307/?format=api
{ "id": 2221307, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221307/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260409075523.3728506-1-aleksandr.loktionov@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/1.1/projects/46/?format=api", "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": "" }, "msgid": "<20260409075523.3728506-1-aleksandr.loktionov@intel.com>", "date": "2026-04-09T07:55:23", "name": "[iwl-next,v2] igb: use ktime_get_real helpers in igb_ptp_reset()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "aa816716aff1fdd2fa8be70a72872e3d985172df", "submitter": { "id": 75597, "url": "http://patchwork.ozlabs.org/api/1.1/people/75597/?format=api", "name": "Loktionov, Aleksandr", "email": "aleksandr.loktionov@intel.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260409075523.3728506-1-aleksandr.loktionov@intel.com/mbox/", "series": [ { "id": 499248, "url": "http://patchwork.ozlabs.org/api/1.1/series/499248/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=499248", "date": "2026-04-09T07:55:23", "name": "[iwl-next,v2] igb: use ktime_get_real helpers in igb_ptp_reset()", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/499248/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2221307/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2221307/checks/", "tags": {}, "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=JYmblkcC;\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 4frsg753NGz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 17:55:31 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D29B64095E;\n\tThu, 9 Apr 2026 07:55:29 +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 aivhLZy_x51k; Thu, 9 Apr 2026 07:55:29 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 18F474087A;\n\tThu, 9 Apr 2026 07:55:29 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id 926321D6\n for <intel-wired-lan@lists.osuosl.org>; Thu, 9 Apr 2026 07:55:27 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 7844681D46\n for <intel-wired-lan@lists.osuosl.org>; Thu, 9 Apr 2026 07:55:27 +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 lfr7SXrC40OH for <intel-wired-lan@lists.osuosl.org>;\n Thu, 9 Apr 2026 07:55:27 +0000 (UTC)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.9])\n by smtp1.osuosl.org (Postfix) with ESMTPS id AD25181CEF\n for <intel-wired-lan@lists.osuosl.org>; Thu, 9 Apr 2026 07:55:26 +0000 (UTC)", "from orviesa008.jf.intel.com ([10.64.159.148])\n by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Apr 2026 00:55:26 -0700", "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa008.jf.intel.com with ESMTP; 09 Apr 2026 00:55:24 -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 18F474087A", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org AD25181CEF" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1775721329;\n\tbh=IYa4YKAXuQi8DiosGXxjBjYfZrJ8/mD458SDehiJr+I=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=JYmblkcC2tCDExZkUZwdAZAciFOzO86xl/Ew8VrmHWQSXM+wQo6o1P9wbdrY8CKec\n\t /w9gDBoUd1RqZF3SvXOX3qBinE+JtZvZp8EfEcXCK0e5WF4AY1szSVMtOht44oMdCz\n\t F1q7jYb5u5u1osKg1/OWUg5SIKXHtk3RnE90lnVLt4QT7FnC52IpXcAL/D6W76J75o\n\t aTrFiRzIjtUP4TxS33zmGa+Yjhx3qdPytReIn+Z7P5dEdvA9KBYINedf/KBSsLyg+E\n\t DOKJV3DOWwfVyR/mVFDcCQjGu2sWzk4M1aKwj9e6jdmuV8AeZ3S7Ad1ckYaP1SZEGJ\n\t sFvUw5rrVD2uA==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.9;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org AD25181CEF", "X-CSE-ConnectionGUID": [ "AY5Z3YUNRyGiZ9+rUYnP+w==", "IWD2CF2fTrqWGyKgTGudOg==" ], "X-CSE-MsgGUID": [ "bwvFR0/8RZ2+BfEcLSS2xw==", "BV+lYnXdTIu9DNNXNk9UBA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11753\"; a=\"99346304\"", "E=Sophos;i=\"6.23,169,1770624000\"; d=\"scan'208\";a=\"99346304\"", "E=Sophos;i=\"6.23,169,1770624000\"; d=\"scan'208\";a=\"228628765\"" ], "X-ExtLoop1": "1", "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com", "Cc": "netdev@vger.kernel.org, Jacob Keller <jacob.e.keller@intel.com>,\n Simon Horman <horms@kernel.org>, Paul Menzel <pmenzel@molgen.mpg.de>", "Date": "Thu, 9 Apr 2026 09:55:23 +0200", "Message-ID": "<20260409075523.3728506-1-aleksandr.loktionov@intel.com>", "X-Mailer": "git-send-email 2.52.0", "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=1775721327; x=1807257327;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=/5ZJ1FafXGgB0BH35EwTR8rcplGlVRfAu4DR25wM9Wo=;\n b=a5cCZARnwdSBMn2WbeCiw7MEumrBhNDwb44Py5HPqpd6d35VTshO8rbG\n 2xqduUftiAg6B7BdFf0GB5mLH/Xy5uLGjy1jUuYT+RZC5RDQ38805yb/+\n UTf8Lpof1BEf9N2pV5fK5Ry1R9VbeOatcy3Nh/jV0O8pGKH9viaCcQsHe\n 6gyf1TumF6bDa/DrN86eA4CvfSIgK0uov3IEP9PWq8QPyJGYZFgD618zT\n GrROCCaSjLtGLS/Wd060hZkuSlVjtSHAMurVo83d/Ijsgl/NmlArkzUge\n ubm2o/Uj8kO+fEPfMK2NRU320FMmrHkjByQAZDXSiSBXQ1rwkSW2Piw7Z\n A==;", "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=a5cCZARn" ], "Subject": "[Intel-wired-lan] [PATCH iwl-next v2] igb: use ktime_get_real\n helpers in igb_ptp_reset()", "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>", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "Replace ktime_to_ns(ktime_get_real()) with the direct equivalent\nktime_get_real_ns() and ktime_to_timespec64(ktime_get_real()) with\nktime_get_real_ts64() in igb_ptp_reset(). Using the combined helpers\nmakes the intent clearer.\n\nSuggested-by: Jacob Keller <jacob.e.keller@intel.com>\nSuggested-by: Simon Horman <horms@kernel.org>\nReviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\nv1 -> v2 removed the inaccurate claim, + Pauls RB\n---\n drivers/net/ethernet/intel/igb/igb_ptp.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_ptp.c b/drivers/net/ethernet/intel/igb/igb_ptp.c\nindex bd85d02..638d824 100644\n--- a/drivers/net/ethernet/intel/igb/igb_ptp.c\n+++ b/drivers/net/ethernet/intel/igb/igb_ptp.c\n@@ -1500,12 +1500,13 @@ void igb_ptp_reset(struct igb_adapter *adapter)\n \n \t/* Re-initialize the timer. */\n \tif ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211)) {\n-\t\tstruct timespec64 ts = ktime_to_timespec64(ktime_get_real());\n+\t\tstruct timespec64 ts;\n \n+\t\tktime_get_real_ts64(&ts);\n \t\tigb_ptp_write_i210(adapter, &ts);\n \t} else {\n \t\ttimecounter_init(&adapter->tc, &adapter->cc,\n-\t\t\t\t ktime_to_ns(ktime_get_real()));\n+\t\t\t\t ktime_get_real_ns());\n \t}\n out:\n \tspin_unlock_irqrestore(&adapter->tmreg_lock, flags);\n", "prefixes": [ "iwl-next", "v2" ] }