Cover Letter Detail
Show a cover letter.
GET /api/covers/1173520/?format=api
{ "id": 1173520, "url": "http://patchwork.ozlabs.org/api/covers/1173520/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20191008210639.4575.44144.stgit@localhost.localdomain/", "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": "<20191008210639.4575.44144.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2019-10-08T21:16:32", "name": "[next-queue,0/2] Address IRQ related crash seen due to io_perm_failure", "submitter": { "id": 252, "url": "http://patchwork.ozlabs.org/api/people/252/?format=api", "name": "Alexander Duyck", "email": "alexander.duyck@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20191008210639.4575.44144.stgit@localhost.localdomain/mbox/", "series": [ { "id": 134947, "url": "http://patchwork.ozlabs.org/api/series/134947/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=134947", "date": "2019-10-08T21:16:32", "name": "Address IRQ related crash seen due to io_perm_failure", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/134947/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/1173520/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@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"BtKrJlf9\"; dkim-atps=neutral" ], "Received": [ "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 46nqsg5KQ7z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 9 Oct 2019 08:16:39 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id ADC63228D5;\n\tTue, 8 Oct 2019 21:16:37 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JnLfump8xcZW; Tue, 8 Oct 2019 21:16:36 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 650AF22849;\n\tTue, 8 Oct 2019 21:16:36 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B11C21BF28E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Oct 2019 21:16:35 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id A892B864AA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Oct 2019 21:16:35 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id MwvMjcTATrrx for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Oct 2019 21:16:34 +0000 (UTC)", "from mail-pl1-f196.google.com (mail-pl1-f196.google.com\n\t[209.85.214.196])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 84CED862D4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 8 Oct 2019 21:16:34 +0000 (UTC)", "by mail-pl1-f196.google.com with SMTP id c3so7549592plo.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 08 Oct 2019 14:16:34 -0700 (PDT)", "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\tl24sm55274pff.151.2019.10.08.14.16.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 08 Oct 2019 14:16:33 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:cc:date:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=ym7Po/ipIr5qsZP6Wss4YgBN/Fdm72GjN294jAaAbXM=;\n\tb=BtKrJlf9z/iIQeSybJI790Nc8Ch0XBlYX7hUUYU2k5P1NSzuCbhvLuQ9Fasj8c/RLV\n\t7T9QSQgP592on+stFymuyY7HFtJYHHmaQUld1uHY4mDzn9QBKe5aNWMNF3+4DT8w1kc9\n\toq2QFLB9RxUoq7mkv+UsOinrHBJVOoDETFv/nMlzdP9AWvscwIStfHxPOcf16FYFRrkf\n\ti/IMHnflmMNpPgwv19O3DHEJEGpmCbrEad859AEJVEOzmrQBr4UvxvV2eWEp8u0isxTD\n\tpOorsK0jbEjry86XHen7qyBzn9t1ValfktI0AxGsnD5jHia/qvfYeWWlbLOgDqjUOfzj\n\tloOA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:user-agent\n\t:mime-version:content-transfer-encoding;\n\tbh=ym7Po/ipIr5qsZP6Wss4YgBN/Fdm72GjN294jAaAbXM=;\n\tb=fcSiZqYlwLhjWj5zKskq3FbWs3aKlprl34ubCJW2Z4q40J6+y2XSx/M3BgauFuHdl5\n\th86d7cHYaYEA3+JT2ipfMhPexexQwywNj5jL8UZKwjg+8B4GspsQ6GvkCJd65uwlA+21\n\tjZJO+gNOfSIQbikLxHzzpHZxIsbbcplYGyiq1Fi3bOk/Y5lA2F5hC4979eDlKd2K59kZ\n\tAzyvtoYIB3QRxWa13GlbUAN4tCH4AQq9tu9/vL/adqqE5MSg9uAQFBxFLbfDkwNdRS/j\n\tm1KP+wVVcrIp3KzCfn5m2F8j5bFjSjojwYu997chr2Hd5RUZ6CC+wMApyYf5B7N09alQ\n\tnFUA==", "X-Gm-Message-State": "APjAAAVllCZjCd43WT0l3TjNp2QHC86yJLz8rYknjG5cikel1zhH+hxr\n\tuY+9QQTRF3why2MW3wDMFc0=", "X-Google-Smtp-Source": "APXvYqwOsqx/h8V4j7TZDE3vB8YZXnJjOfzNJPlCEl5sUI5/OhZG4vNUhrhz/+y7QMNteEibu8WPhA==", "X-Received": "by 2002:a17:902:aa07:: with SMTP id\n\tbe7mr6106318plb.172.1570569393783; \n\tTue, 08 Oct 2019 14:16:33 -0700 (PDT)", "From": "Alexander Duyck <alexander.duyck@gmail.com>", "To": "alexander.h.duyck@linux.intel.com, intel-wired-lan@lists.osuosl.org,\n\tjeffrey.t.kirsher@intel.com", "Date": "Tue, 08 Oct 2019 14:16:32 -0700", "Message-ID": "<20191008210639.4575.44144.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next-queue PATCH 0/2] Address IRQ related crash\n\tseen due to io_perm_failure", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<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\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "netdev@vger.kernel.org, zdai@us.ibm.com, zdai@linux.vnet.ibm.com", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "David Dai had submitted a patch[1] to address a reported issue with e1000e\ncalling pci_disable_msi without first freeing the interrupts. Looking over\nthe issue it seems the problem was the fact that e1000e_down was being\ncalled in e1000_io_error_detected without calling e1000_free_irq, and this\nwas resulting in e1000e_close skipping over the call to e1000e_down and\ne1000_free_irq.\n\nThe use of the __E1000_DOWN flag for the close test seems to have come from\nthe runtime power management changes that were made some time ago. From\nwhat I can tell in the close path we should be disabling runtime power\nmanagement via a call to pm_runtime_get_sync. As such we can remove the\ntest for the __E1000_DOWN bit. However in comparing this with other drivers\nwe do need to avoid freeing the IRQs more than once. So in order to address\nthat I have copied the approach taken in igb and taken it a bit further so\nthat we will always detach the interface and if the interface is up we will\nbring it down and free the IRQs. In addition we are able to reuse some of\nthe power management code so I have taken the opportunity to merge those\nbits.\n\n[1]: https://lore.kernel.org/lkml/1570121672-12172-1-git-send-email-zdai@linux.vnet.ibm.com/\n\n---\n\nAlexander Duyck (2):\n e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm\n e1000e: Drop unnecessary __E1000_DOWN bit twiddling\n\n\n drivers/net/ethernet/intel/e1000e/netdev.c | 47 +++++++++++++---------------\n 1 file changed, 22 insertions(+), 25 deletions(-)\n\n--" }