Received: by 10.223.176.5 with SMTP id f5csp1963404wra; Thu, 8 Feb 2018 06:24:37 -0800 (PST) X-Google-Smtp-Source: AH8x22654a4Hv5b7GlV6shHzCaASVCe5LoaHnW/SMwOOtcX1Hi0WqhnkAjuVkyzAiXJPrQK4txnz X-Received: by 10.99.171.69 with SMTP id k5mr635966pgp.287.1518099877001; Thu, 08 Feb 2018 06:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518099876; cv=none; d=google.com; s=arc-20160816; b=F/jmj/9GiVxLJ7knBuIFSmtFd+gigWWO2iQ9VL0Jg3DMHj9vI+IlCXv6uthanVNcQa vhQw/RCq8qkBfHUxYBcIZMgjXU8QldQrPxgnk/y0DrWrJuYND+EAwCswzv1uTOAkf8fv UeijZDbry7SmzEv8094yETQnGh/Rww8ENyKw8zguDFNJOWXPYTLR4VqwQZGKAnmU5Cos VBKne4LGNNyHhU2W49fcd42VI1uI3D3j/9ui+vtTl/IuCflp4tvbzcJZ53r1hBdVzdxn +fG8LdB62lo/OGl7EMVFb15qIOqhin7u87/hFZ3ahbfzJ246ap8bMVPevP/Hrph2aDs9 NDgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=2gOegyj79TdbR6PKaF+QUejHPeIup++1azJ3xE7cSoM=; b=tD7dzwJoGEg3BlS61KRDsnzqMCjNkeJ4djQzq70BpXpyzSBd15AYvufsKhUhQhth/A CjwJ1POjXu8T/PdOfvc0YGUxJ/zX4XAEQ8wa3qvOAQjzWjVKYM02xd7Xo+AcZs1HFekH iSh4HZ5Uwq7H1mgZ3YT73sBPRvSFO1tBD+x1xAEqLYXXr45cdBOJZ4tTRJeNRrHIr4Tf CaFR9yQa5lZxwuCAuYLr9bSrYDxapHYoJZjOjUZCz14zY2lVf2Ynq2einNdU5UBInUEb vmWBUbfEjZ9xlkgRALbsgasPG8YKLDkjw7GDXTZTUcSaTDjTZoRL/zwyAelv5i1yFFyy DlhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eCselNuP; 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=QUARANTINE 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 w5si26382pgs.259.2018.02.08.06.24.22; Thu, 08 Feb 2018 06:24:36 -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=eCselNuP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752192AbeBHOX2 (ORCPT + 99 others); Thu, 8 Feb 2018 09:23:28 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:36291 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbeBHOX1 (ORCPT ); Thu, 8 Feb 2018 09:23:27 -0500 Received: by mail-qt0-f193.google.com with SMTP id t25so6349451qtg.3; Thu, 08 Feb 2018 06:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2gOegyj79TdbR6PKaF+QUejHPeIup++1azJ3xE7cSoM=; b=eCselNuP6TBR4IbDN+iX7lNdXXIndOVxK72We2umKSf8uyc5g302i+0DB4ZYIQltK5 KlYSiSztXJ7CXPojJM00bLO3hoh/DOayDwuePVl2TLxUTwI8hOhkTc62em9akjBEF8op IcM/FWk0t24OWdALDpExyzOPH32WFEiqBciqV5R5QSlgf0LrlN7Fy7CZWJBQ8Q8Kc4yg 29hRgxbFdrWiXC/lHFnuk0OseOJVP/NCc0LA8X92VDiX8fgXIHhcvnMxdn0u6iY5Yy3u BR0/Ofb3tWFw4S94BZhMKG9AfLVwIKu8N/qjsFe9HXQfkxGtWHeAXr4PbAUGg/MUcA6H sTvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2gOegyj79TdbR6PKaF+QUejHPeIup++1azJ3xE7cSoM=; b=ALl57sUfxILSxp4F1xFLFZT2qVof81dnovNBBE7MMApebRo4s13imQevfI6jlX9hD8 0LEtczBDyl3Se+/5A66zSVdpCQLRxuu9zCmYgilc3TiH8ZFsHBhceJkdw5hXgrtIhfDU 9Q4b9r1TGGzsGrVDhHXig6mpuUvMXD05/gRhkjUNTHtPxu5K56P0ZdvHmthhgZQ41hER s6qre5TkNslrpF92ZMKu4JZejZNQ0sLxhmKoOfyrps/dNVJejDgYcb+tVDoUXx/nGMZY yCJ3sfYDLypQD4mzNDZzkpvbCN34UBnlcj3qaW/mYhyq/j/GOGivrBnqtUzsM1vGaobv LD2A== X-Gm-Message-State: APf1xPA6uHR+QGn2IT7D0UtJWG3ofe23RozMatUFJmZsmbj8NsE5nnuH xQ/Pqv/h2hNkxdTgTUwVpGc7aisjgXZmrD5kmlg= X-Received: by 10.237.60.150 with SMTP id d22mr1294948qtf.319.1518099806265; Thu, 08 Feb 2018 06:23:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.89.199 with HTTP; Thu, 8 Feb 2018 06:23:25 -0800 (PST) In-Reply-To: <20180208064714.6042-2-bpoirier@suse.com> References: <20180208064714.6042-1-bpoirier@suse.com> <20180208064714.6042-2-bpoirier@suse.com> From: Alexander Duyck Date: Thu, 8 Feb 2018 06:23:25 -0800 Message-ID: Subject: Re: [PATCH net-queue 2/3] e1000e: Fix queue interrupt re-raising in Other interrupt. To: Benjamin Poirier Cc: Jeff Kirsher , intel-wired-lan , Netdev , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 7, 2018 at 10:47 PM, Benjamin Poirier wrote: > restores the ICS write for rx/tx queue interrupts which was present before > commit 16ecba59bc33 ("e1000e: Do not read ICR in Other interrupt", > v4.5-rc1) but was not restored in commit 4aea7a5c5e94 ("e1000e: Avoid > receiver overrun interrupt bursts", v4.15-rc1). > > This re-raises the queue interrupts in case the txq or rxq bits were set in > ICR and the Other interrupt handler read and cleared ICR before the queue > interrupt was raised. > > Fixes: 4aea7a5c5e94 ("e1000e: Avoid receiver overrun interrupt bursts") > Signed-off-by: Benjamin Poirier Acked-by: Alexander Duyck > --- > drivers/net/ethernet/intel/e1000e/netdev.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c > index 3b36efa6228d..2c9609bee2ae 100644 > --- a/drivers/net/ethernet/intel/e1000e/netdev.c > +++ b/drivers/net/ethernet/intel/e1000e/netdev.c > @@ -1919,6 +1919,9 @@ static irqreturn_t e1000_msix_other(int __always_unused irq, void *data) > icr = er32(ICR); > ew32(ICR, E1000_ICR_OTHER); > > + if (icr & adapter->eiac_mask) > + ew32(ICS, (icr & adapter->eiac_mask)); > + > if (icr & E1000_ICR_LSC) { > ew32(ICR, E1000_ICR_LSC); > hw->mac.get_link_status = true; > -- > 2.16.1 >