Received: by 10.223.185.111 with SMTP id b44csp1071946wrg; Fri, 9 Mar 2018 20:53:48 -0800 (PST) X-Google-Smtp-Source: AG47ELuI2DbEpKMYz4NxHNNUEP1U+LKbp8BGbJiwjVcHvML/Mrp3iHB1lKuU1KF77v3jmmAZTSWR X-Received: by 10.98.141.205 with SMTP id p74mr890950pfk.211.1520657628338; Fri, 09 Mar 2018 20:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520657628; cv=none; d=google.com; s=arc-20160816; b=kucsP1Ddt65iXypak4zi7ju7FqMhNYlsQtU7yOM6CvXg1+/0a+tiy9L/kcB1Mu1hf2 phz3o/bCNETNKgThpf+w8YCkezzrIyUc8emswZ+/oUzk0Wn4Ab0gBhv74PI6gBW5lrst eMkh4qAWDEb662vaZU3WGnXomvOtkQOUk0jx+OVkNTd4nXLASA3/ddTYV38sxMWNJFT0 t6pDV4gXvsyfP/KFZWnlVNnZ/koSfrQEHA2MBSV1wdMGK5hVsSnavX6kzKCw5UpRR+xd rUDXKsMbam/Egt2lvL1A5tpw6Mc+hgGraS9NIzPvH4M9LTKq+AzFxz9X3oxX6Fn/JbSx dEGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=QLFew4ibXrK3+yFRSi5XIRRpTJyHiZFTub7EudiPFEQ=; b=JIKuTtutCkp51gz0z9RGXmoOUybfNvqkmgcVjDspqGzEQFZviugCtpDP65iD9HAuP9 j0Mbywq8S3qJsXYGvwms49xp3HW0g5hLMvS6bBOuVlfe4yQHG9mHAG7839frsbRwfEgG kIs1cHWoA5z77oZVj/yczPKe52BgWSFFxC2MBECnddTtL7eS/Zz9q+EyPFdpcTX/BLQr CBdAGC685m0dCl/wxN+yScPMEktBjwiGBcFQ4PxM/xjgdHOTsklzHwzA0a6b/tMZb69N ucCyyIbI8IXOAKDG7zW4/yBjpa65jFi2L/1nt0nVJSBYh0inJ3C7NUggrIWx7DuqLY7L W2RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si2093486plr.365.2018.03.09.20.53.25; Fri, 09 Mar 2018 20:53:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933006AbeCJEuS convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Mar 2018 23:50:18 -0500 Received: from mga05.intel.com ([192.55.52.43]:4951 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932858AbeCJEuR (ORCPT ); Fri, 9 Mar 2018 23:50:17 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 20:50:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,449,1515484800"; d="scan'208";a="32740865" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 20:50:16 -0800 Received: from orsmsx163.amr.corp.intel.com (10.22.240.88) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 9 Mar 2018 20:50:15 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.72]) by ORSMSX163.amr.corp.intel.com ([169.254.9.220]) with mapi id 14.03.0319.002; Fri, 9 Mar 2018 20:50:15 -0800 From: "Brown, Aaron F" To: Benjamin Poirier , "Kirsher, Jeffrey T" CC: "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "linux-kernel@vger.kernel.org" , "Lennart Sorensen" Subject: RE: [Intel-wired-lan] [PATCH 1/2] Revert "e1000e: Separate signaling for link check/link up" Thread-Topic: [Intel-wired-lan] [PATCH 1/2] Revert "e1000e: Separate signaling for link check/link up" Thread-Index: AQHTtO5Yj5rEs8kwsEuU0WJCrzcdnqPI7HiQ Date: Sat, 10 Mar 2018 04:50:14 +0000 Message-ID: <309B89C4C689E141A5FF6A0C5FB2118B8C801AAC@ORSMSX101.amr.corp.intel.com> References: <20180306015553.10441-1-bpoirier@suse.com> In-Reply-To: <20180306015553.10441-1-bpoirier@suse.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of Benjamin Poirier > Sent: Monday, March 5, 2018 5:56 PM > To: Kirsher, Jeffrey T > Cc: netdev@vger.kernel.org; intel-wired-lan@lists.osuosl.org; linux- > kernel@vger.kernel.org; Lennart Sorensen > Subject: [Intel-wired-lan] [PATCH 1/2] Revert "e1000e: Separate signaling for > link check/link up" > > This reverts commit 19110cfbb34d4af0cdfe14cd243f3b09dc95b013. > This reverts commit 4110e02eb45ea447ec6f5459c9934de0a273fb91. > This reverts commit d3604515c9eda464a92e8e67aae82dfe07fe3c98. > > Commit 19110cfbb34d ("e1000e: Separate signaling for link check/link up") > changed what happens to the link status when there is an error which > happens after "get_link_status = false" in the copper check_for_link > callbacks. Previously, such an error would be ignored and the link > considered up. After that commit, any error implies that the link is down. > > Revert commit 19110cfbb34d ("e1000e: Separate signaling for link check/link > up") and its followups. After reverting, the race condition described in > the log of commit 19110cfbb34d is reintroduced. It may still be triggered > by LSC events but this should keep the link down in case the link is > electrically unstable, as discussed. The race may no longer be > triggered by RXO events because commit 4aea7a5c5e94 ("e1000e: Avoid > receiver overrun interrupt bursts") restored reading icr in the Other > handler. > > Link: https://lkml.org/lkml/2018/3/1/789 > Signed-off-by: Benjamin Poirier > --- > drivers/net/ethernet/intel/e1000e/ich8lan.c | 13 ++++--------- > drivers/net/ethernet/intel/e1000e/mac.c | 13 ++++--------- > drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- > 3 files changed, 9 insertions(+), 19 deletions(-) > Tested-by: Aaron Brown