Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1201/?format=api
{ "id": 1201, "url": "http://patchwork.ozlabs.org/api/patches/1201/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20080923224630.6927.28967.stgit@jtkirshe-mobile.jf.intel.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20080923224630.6927.28967.stgit@jtkirshe-mobile.jf.intel.com>", "list_archive_url": null, "date": "2008-09-23T22:46:38", "name": "[3/3] e1000e: remove failed request for sw/fw/hw flag", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3e9dfbd33f95f6227941039acc89a276b39feee9", "submitter": { "id": 473, "url": "http://patchwork.ozlabs.org/api/people/473/?format=api", "name": "Kirsher, Jeffrey T", "email": "jeffrey.t.kirsher@intel.com" }, "delegate": { "id": 36, "url": "http://patchwork.ozlabs.org/api/users/36/?format=api", "username": "jgarzik", "first_name": "Jeff", "last_name": "Garzik", "email": "jgarzik@pobox.com" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20080923224630.6927.28967.stgit@jtkirshe-mobile.jf.intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/1201/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1201/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id F0F81DDDF5\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 24 Sep 2008 08:46:40 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752000AbYIWWqf (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 23 Sep 2008 18:46:35 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1751926AbYIWWqe\n\t(ORCPT <rfc822; netdev-outgoing>); Tue, 23 Sep 2008 18:46:34 -0400", "from rv-out-0506.google.com ([209.85.198.225]:55128 \"EHLO\n\trv-out-0506.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751421AbYIWWqd (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 23 Sep 2008 18:46:33 -0400", "by rv-out-0506.google.com with SMTP id k40so2390523rvb.1\n\tfor <netdev@vger.kernel.org>; Tue, 23 Sep 2008 15:46:33 -0700 (PDT)", "by 10.141.29.21 with SMTP id g21mr3035402rvj.225.1222209993054;\n\tTue, 23 Sep 2008 15:46:33 -0700 (PDT)", "from jtkirshe-mobile.jf.intel.com\n\t(c-76-115-105-25.hsd1.or.comcast.net [76.115.105.25])\n\tby mx.google.com with ESMTPS id f21sm2703219rvb.5.2008.09.23.15.46.31\n\t(version=TLSv1/SSLv3 cipher=RC4-MD5);\n\tTue, 23 Sep 2008 15:46:32 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\n\th=domainkey-signature:received:received:from:subject:to:cc:date\n\t:message-id:user-agent:mime-version:content-type\n\t:content-transfer-encoding:sender;\n\tbh=0Ok1C1UufkapSSsL3hfQcQ0wQ6AbKFeSApk6qta09Ag=;\n\tb=cUIh9S1BGA1gF7s9BgVKL/3XR/KlaiL+zYe9hA8kUbUb85gsHDqGbYLejRlH1I7ijh\n\tGRFy/r25WRIKLS9hkRU/BXkAiZwLbQOWDaXOMrNGyDeqhMK/uRCcMpu/aWXsosUH6w5w\n\tCGxdFk4mTgz1gAT+loCYORwqgY8V/lGeFqy9A=", "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\n\th=from:subject:to:cc:date:message-id:user-agent:mime-version\n\t:content-type:content-transfer-encoding:sender;\n\tb=TInqTiQGRLjN9M+5Hma7OdXiDkRtud2ipXqO/WAIhtBJLwuwGRhGh4nfF1698Na5u/\n\tyouCsWgduVNIUkplCwgTqp39Qyl9q6DgfcV2qGh3XnMechBDykAP0vvRW2LzMM7SDyIH\n\tXwaNxv5NRzSOEaPEJ7GMWKLrnWtlYZnX+dwLA=", "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Subject": "[PATCH 3/3] e1000e: remove failed request for sw/fw/hw flag", "To": "jeff@garzik.org, mingo@elte.hu, davem@davemloft.net", "Cc": "netdev@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tjesse.brandeburg@intel.com, john.ronciak@intel.com,\n\tBruce Allan <bruce.w.allan@intel.com>,\n\tJeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Tue, 23 Sep 2008 15:46:38 -0700", "Message-ID": "<20080923224630.6927.28967.stgit@jtkirshe-mobile.jf.intel.com>", "User-Agent": "StGIT/0.14.3", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Bruce Allan <bruce.w.allan@intel.com>\n\nWhen the driver fails to acquire the control flag used to serialize\nNVM and PHY accesses between the driver, firmware and hardware, remove the\nrequest for the flag otherwise the hardware might grant the flag when it\nbecomes available but the driver will not release the flag. This could\ncause the firmware to prevent the driver getting the flag for all future\nattempts.\n\nSigned-off-by: Bruce Allan <bruce.w.allan@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>\n---\n\n drivers/net/e1000e/ich8lan.c | 2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)\n\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe netdev\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at http://vger.kernel.org/majordomo-info.html", "diff": "diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c\nindex f47c60e..6b14ea8 100644\n--- a/drivers/net/e1000e/ich8lan.c\n+++ b/drivers/net/e1000e/ich8lan.c\n@@ -409,6 +409,8 @@ static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw)\n \n \tif (!timeout) {\n \t\thw_dbg(hw, \"FW or HW has locked the resource for too long.\\n\");\n+\t\textcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG;\n+\t\tew32(EXTCNF_CTRL, extcnf_ctrl);\n \t\treturn -E1000_ERR_CONFIG;\n \t}\n \n", "prefixes": [ "3/3" ] }