Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/566357/?format=api
{ "id": 566357, "url": "http://patchwork.ozlabs.org/api/patches/566357/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1452497658-20050-1-git-send-email-roland.king.guan.hii@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/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": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1452497658-20050-1-git-send-email-roland.king.guan.hii@intel.com>", "list_archive_url": null, "date": "2016-01-11T07:34:18", "name": "igb: add conditions for I210 to generate periodic clock output", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "86babe908099b0694100afa6f51df556253171be", "submitter": { "id": 68049, "url": "http://patchwork.ozlabs.org/api/people/68049/?format=api", "name": "Roland Hii", "email": "roland.king.guan.hii@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1452497658-20050-1-git-send-email-roland.king.guan.hii@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/566357/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/566357/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 3EA4E140307\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Jan 2016 18:02:24 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 670EB8B604;\n\tTue, 12 Jan 2016 07:02:22 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id UX2rKBq5L1Sj; Tue, 12 Jan 2016 07:02:20 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 491B88B5CB;\n\tTue, 12 Jan 2016 07:02:20 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4122F1C1645\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 11 Jan 2016 07:35:54 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8E68F8738E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 11 Jan 2016 07:35:53 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Q+HWEwzlBtNX for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 11 Jan 2016 07:35:52 +0000 (UTC)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C8D1784D4A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 11 Jan 2016 07:35:52 +0000 (UTC)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga102.jf.intel.com with ESMTP; 10 Jan 2016 23:35:53 -0800", "from rhii-hpz620ws.png.intel.com ([10.221.118.138])\n\tby fmsmga001.fm.intel.com with ESMTP; 10 Jan 2016 23:35:51 -0800" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,551,1444719600\"; d=\"scan'208\";a=\"878827036\"", "From": "Roland Hii <roland.king.guan.hii@intel.com>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Mon, 11 Jan 2016 15:34:18 +0800", "Message-Id": "<1452497658-20050-1-git-send-email-roland.king.guan.hii@intel.com>", "X-Mailer": "git-send-email 1.9.1", "X-Mailman-Approved-At": "Tue, 12 Jan 2016 07:02:19 +0000", "Cc": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org", "Subject": "[Intel-wired-lan] [PATCH] igb: add conditions for I210 to generate\n\tperiodic clock output", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "In general case the maximum supported half cycle time of the synchronized\noutput clock is 70msec. Slower half cycle time than 70msec can be\nprogrammed also as long as the output clock is synchronized to whole\nseconds, useful specifically for generating a 1Hz clock.\n\nPermitted values for the clock half cycle time are: 125,000,000 decimal,\n250,000,000 decimal and 500,000,000 decimal (equals to 125msec, 250msec\nand 500msec respectively).\n\nBefore this patch, only the half cycle time of less than or equal to 70msec\nuses the I210 clock output function. This patch adds additional conditions\nwhen half cycle time is equal to 125msec or 250msec or 500msec to use\nclock output function.\n\nUnder other conditions, interrupt driven target time output events method\nis still used to generate the desired clock output.\n\nSigned-off-by: Roland Hii <roland.king.guan.hii@intel.com>\n---\n drivers/net/ethernet/intel/igb/igb_ptp.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_ptp.c b/drivers/net/ethernet/intel/igb/igb_ptp.c\nindex c44df87..22a8a29 100644\n--- a/drivers/net/ethernet/intel/igb/igb_ptp.c\n+++ b/drivers/net/ethernet/intel/igb/igb_ptp.c\n@@ -525,7 +525,8 @@ static int igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp,\n \t\tts.tv_nsec = rq->perout.period.nsec;\n \t\tns = timespec64_to_ns(&ts);\n \t\tns = ns >> 1;\n-\t\tif (on && ns <= 70000000LL) {\n+\t\tif (on && ((ns <= 70000000LL) || (ns == 125000000LL) ||\n+\t\t\t (ns == 250000000LL) || (ns == 500000000LL))) {\n \t\t\tif (ns < 8LL)\n \t\t\t\treturn -EINVAL;\n \t\t\tuse_freq = 1;\n", "prefixes": [] }