Received: by 10.223.176.46 with SMTP id f43csp127859wra; Fri, 19 Jan 2018 14:55:58 -0800 (PST) X-Google-Smtp-Source: AH8x227aws1jjv0/0g3fIPkEoUZ5HW3CYinVnV0UNfo7EK/t7eaoUnhJ0CDCsL4yRrdCQ5bzchLV X-Received: by 10.99.175.3 with SMTP id w3mr59637pge.328.1516402558425; Fri, 19 Jan 2018 14:55:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516402558; cv=none; d=google.com; s=arc-20160816; b=DBhxi0+Z2yzPJaw/fhwwn6ojwdjjqRCpa9v36hwiSaZHz6HNty37D3jAAwafi0lIHD lSq3u1zU5/V6oTGAvZLAFa/NNTljDekWp+8fKViPyfFNCoe3JislCIsUUyXsVGGLG8NY fSxRPo+c4+9EcpL2q3tF6FWU8zEAZ/rdBgZiydcxsLjs7QXYmD5WyPi+ihfH+i5D0Iwz Vvu4mBTtHZM8dzAiCfM5g8T/nqU8fkyPRdpFdnlfsFqjh6g+2+nPeWrvYhyv5N41JbE+ VK+jBfThZ7+BbePcUKywwy2RphLGzJVbCx8wNx/5m/qIKb+MVszzb3sBfgqOnvzvvBai akdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=C8MXp9Or/L2DVxt5r75+4vKHWPhptDnN8GY9KiD7IBU=; b=f/whnLABgXh5NyGkxGm+gBisTm6XERuX0pB1g4ecspbz5tmUCHfBhOiCps4EWTgSFI dJO/ozteawrblhyP4bPewWnB+Rutut/R96gZjFUe2FiiajJpuerY0KcWDFKl9mO2wDN1 hymF13uQq+4vQtsb9dALJSr3CoTZXdi2o6hJIn+CR16DvwtRCzOZNlukywd0jl0sYNjz MI+3ZK4c6Hr+FLbiFTeskuj7dWG7kFUTheGpNMrLY+QxHuOE4KRURlylmkrJZ6gq1lyQ 6+symE7I0cBivHqWWC6DKSfjZ6UcnWqZyFVHgQwR6sNsAdlBDMLnINkr5MLCD2jRqb3g ugMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bUSz8YJv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x141si9167669pgx.601.2018.01.19.14.55.43; Fri, 19 Jan 2018 14:55:58 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bUSz8YJv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932663AbeASWzP (ORCPT + 99 others); Fri, 19 Jan 2018 17:55:15 -0500 Received: from mail-pf0-f169.google.com ([209.85.192.169]:44203 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756577AbeASWzG (ORCPT ); Fri, 19 Jan 2018 17:55:06 -0500 Received: by mail-pf0-f169.google.com with SMTP id m26so2426191pfj.11; Fri, 19 Jan 2018 14:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=C8MXp9Or/L2DVxt5r75+4vKHWPhptDnN8GY9KiD7IBU=; b=bUSz8YJvXYpJm+H/+oGq5yaLdFYTvv9q/2DvPk9BxEEaatVLNYzE0v9Vi8uFyf8Hdj rq4ZVMaMklLciRgveZdCvSOQuGpRQ+GcuNax1nl0AUQnX/Hw5CNuKw4vuDVHkxd5Cl+k LNPq5xP8dedJUWI21T6GAqlYLEEQW2bcp2U/kIB80NSbcLOEZrX4N9UbVcnEW/esX3bN GcWdC/aQguqNXbOBfN0TRrXLzV2iml3ny63HK7oTg2/ODC4zz4NUHtVmdorjkF67vSgS SYM+to0EZ/AY4iJc1HT8CHK2grikPeB5tSyYcocYO9wvi0C3KpTW8kU712QEG5VK5iGG AWQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C8MXp9Or/L2DVxt5r75+4vKHWPhptDnN8GY9KiD7IBU=; b=OZExbQBLEZqOemHDLycdMpBgYgvAgnPVyC1tYTWBVr0dVhYYxd0SfRbeSTnJzNxaAs FE+C1EgsgzeyCNSOJ7n/VyTObOTYwtHxxnC+tK279Dyxt71nSMof69k9NF/U99lCtZ43 y0ra4aBn6uQRDonbuM+rWoFe0+XqaS1f5lvx65Rq/FiWEK9fdHEFl2av40It5+K1oSm+ O5NCTFW8a+MaDAvVGqkUmzO03W8GxJWFcOGV/xda38Vp0+CgzRfzKmS3SGHj0eJwidD6 hRWvDI8hNf3K7Y6e5k7OagKt/4wLuw9PZginXQheSEU12N37ISOjdFQBq0b/vHi78YgY GdQQ== X-Gm-Message-State: AKwxytdtG0LKSi2wvvSpL+/gH11RoBA4gXEoYdQmWVaz4VqzTrYlY2SS /YQCe5g5gja6YtUyz4JcChg= X-Received: by 10.99.160.88 with SMTP id u24mr67022pgn.122.1516402504994; Fri, 19 Jan 2018 14:55:04 -0800 (PST) Received: from f1.synalogic.ca (pdf86d7d5.tokynt01.ap.so-net.ne.jp. [223.134.215.213]) by smtp.gmail.com with ESMTPSA id p75sm19902983pfi.148.2018.01.19.14.55.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jan 2018 14:55:03 -0800 (PST) Date: Sat, 20 Jan 2018 07:55:00 +0900 From: Benjamin Poirier To: Alexander Duyck Cc: Shrikrishna Khare , Jeff Kirsher , Netdev , intel-wired-lan , linux-kernel@vger.kernel.org Subject: Re: [Intel-wired-lan] [RFC PATCH] e1000e: Remove Other from EIAC. Message-ID: <20180119225500.lq2vpnjh5isxiovf@f1.synalogic.ca> References: <20180118065054.29844-1-bpoirier@suse.com> <20180119085952.u63kius4ud34lleq@f1.synalogic.ca> <20180119133648.s5nbm4gvby6c33av@f1.synalogic.ca> <20180119224517.klugizz5n5zznryx@f1.synalogic.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180119224517.klugizz5n5zznryx@f1.synalogic.ca> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/01/20 07:45, Benjamin Poirier wrote: [...] > > > > I'm of the mind that we need to cut down on the code thrash. This > > driver is supposed to have been in a "maintenance" mode for the last > > year or so as there aren't being any new parts added is my > > understanding. As-is I don't see any reason why 16ecba59bc33 ("e1000e: > > Do not read ICR in Other interrupt", v4.5-rc1) was submitted or > > accepted in the first place. I don't see any notes about it fixing any > > bug or addressing any issue and it seems like that is the start of all > > the issues we have been having recently with RXO triggering more > > interrupts, various link issues, and this most recent VMware issue. > > I'm sorry to say but you're the one who suggested that change: > > http://lkml.iu.edu/hypermail/linux/kernel/1510.3/03528.html > > On 2015/10/28 23:08, Alexander Duyck wrote: > > On 10/22/2015 05:32 PM, Benjamin Poirier wrote: > [...] > > > > I would argue your first patch probably didn't go far enough to remove dead > > code. Specifically you should only ever get into this function if LSC is > > set. There are no other causes that should trigger this. As such you could > > probably remove the ICR read, and instead replace it with an ICR write of > > the LSC bit since OTHER is already cleared via EIAC. > > ... The assumption that "There are no other causes that should trigger this." turned out to be wrong and that caused the RXO problems. Clearing OTHER via EIAC is causing the problems with vmware now. I don't think you foresaw those problems back in 2015 and neither did I.