Received: by 10.223.148.5 with SMTP id 5csp7694450wrq; Thu, 18 Jan 2018 08:27:00 -0800 (PST) X-Google-Smtp-Source: ACJfBosGsCk3iHLgXxkKBCEPocrJu/l3lXGm50a8FXaCSrgLv34oAHr5dlSY7lQmbytjPKzGcpwh X-Received: by 10.98.147.154 with SMTP id r26mr14737809pfk.207.1516292820325; Thu, 18 Jan 2018 08:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516292820; cv=none; d=google.com; s=arc-20160816; b=JTZkOmpaQwF9dM89Hdx386dEDlrxunEzUtaq4wszT5XqBKc/TM256pUxXIP/J45I14 py+pqmb6UYxrYgakGRZkjE6hGaDdkc2gsvm+bzecQNCeSXhh1cFxcZCDz6aeCpizba3b ETz61aCHgwl/7P/ag+HW9hDig4QN/SiLyPQr50vXLlmU1Et1N9w0NEmTXByAI+waPJcZ I1FCyDi3NNTnB37dMu4SugC82JdKfRvReeXpqWiW4kT8QdfvjHwTbYjk8w1CnG6JZQwr rWJNO5hrdLfGHq4HGrND0qR07fV03Rr3KlPLnn55e7EEdTx3KTesAXJ6Pg3G9xL6cU66 WMRQ== 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=1JJgpCDZk0CstVY8Y0LQQEVSaFpoSLa7Ty0Dzk9x5fg=; b=GGvJ/Q5PxAp/f7UPX7OybhgZbjxoSQQziMAMQ4iNhYoodsR0d9jMxpekcXLVHF4aHA lGbZP9lw41uBpPXxuXTkBUJJpdZYj91G3UXeGUdUsmuy182SkCpm7UNQm9aFZqJ/X5K0 cvyqgeqDESvU455/B4fBjaTIS9BsBhvfp1ePU9IaM8Rl0X7/aMneo+zJnPwbxpn+uacL DABY2VOJg0bHM/dAWaZakbehtk+jXMABj9QvdWLQRHVYm0xxAQXmofFZvHJkImdn7hpF y8acdCQoqrJ9YalD6Rt/YbsGGSUHlBTx1bX5OQ8i+Ki2SbSks7zPWlBkgQsHfhrLzbCg s7cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X6/0i6Ug; 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 k9-v6si10537pli.404.2018.01.18.08.26.46; Thu, 18 Jan 2018 08:27:00 -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=X6/0i6Ug; 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 S932778AbeARPvm (ORCPT + 99 others); Thu, 18 Jan 2018 10:51:42 -0500 Received: from mail-qt0-f176.google.com ([209.85.216.176]:37824 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754842AbeARPvT (ORCPT ); Thu, 18 Jan 2018 10:51:19 -0500 Received: by mail-qt0-f176.google.com with SMTP id d54so19228429qtd.4; Thu, 18 Jan 2018 07:51:19 -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=1JJgpCDZk0CstVY8Y0LQQEVSaFpoSLa7Ty0Dzk9x5fg=; b=X6/0i6UglX0kJ6NhqNN6TZox2/anPQkQ39wpdko+SCe7n/dvi2jK1w8zm5InKDGijr U26gMaQ8lhaoR3+cPLma0ybSSk12bjZgqzNUVyVqqCkYgqVP9/tgV/0eR9246nxDyyvK LU/Evq3D5ubevMm+wOXkWSaLobab4bdRECp/z3slEecclNUYZ/MBZxAHt36anW91zYSj zozIZLJjJkaoQ5TYQ6jZg9RuN0LK8fNOR3dkqRir/a1Zdo65jLRtKM99gVNbOAJOkDGs WJw3hNj6GG2Zdn+F1fo2aTyLspmuBmz0ezZG/47TZ7xa25k4j1/wWEhYEokC02pAtBkU i5Dw== 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=1JJgpCDZk0CstVY8Y0LQQEVSaFpoSLa7Ty0Dzk9x5fg=; b=H3jw89LghpR/tqnrk7APsVf3g7499Yp51aKLdZOvrEKnFfASkAViW5med26sY8G2ir +Fs7orB9Emo5M7f13pgH3z4Cvr70oanJqFPEF8lAAxSzWFp/vhGtR/Bw0XzG91iqgx5R rS2df2G/Cm0Sl/KCEIRwW7TKzCEf9R2KG+0JG7uFCm+8i7FOTa80r4gU2KJgz6MvzAEA ksMFO1r9fH8oXiAHp39LQRL3q5nyiQBUWe1ewUlV6G1Xln/7CMA35x+oiCTxic+iIzPL cA1m8cHM50qUbU1yBH6xfJtQZU61D+Y7asb8QK1h2ZzZSW/pteKhz1y7A5K+hynaU7vL ZdJw== X-Gm-Message-State: AKwxytfsTrjzBXUiAQ8XhzJPRrLJHrCdOdx7at6wgHT8eb+GlfhecefM AcM+D1DoieZ2yz9oU/hlTSb7tqSlaM07ZfVkiFyBCA== X-Received: by 10.55.181.132 with SMTP id e126mr65436825qkf.79.1516290678768; Thu, 18 Jan 2018 07:51:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.107.102 with HTTP; Thu, 18 Jan 2018 07:51:18 -0800 (PST) In-Reply-To: <20180118065054.29844-1-bpoirier@suse.com> References: <20180118065054.29844-1-bpoirier@suse.com> From: Alexander Duyck Date: Thu, 18 Jan 2018 07:51:18 -0800 Message-ID: Subject: Re: [Intel-wired-lan] [RFC PATCH] e1000e: Remove Other from EIAC. To: Benjamin Poirier Cc: Jeff Kirsher , Netdev , intel-wired-lan , 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, Jan 17, 2018 at 10:50 PM, Benjamin Poirier wrote: > It was reported that emulated e1000e devices in vmware esxi 6.5 Build > 7526125 do not link up after commit 4aea7a5c5e94 ("e1000e: Avoid receiver > overrun interrupt bursts", v4.15-rc1). Some tracing shows that after > e1000e_trigger_lsc() is called, ICR reads out as 0x0 in e1000_msix_other() > on emulated e1000e devices. In comparison, on real e1000e 82574 hardware, > icr=0x80000004 (_INT_ASSERTED | _OTHER) in the same situation. Isn't 0x80000004 (_INT_ASSERTED | _LSC)? The assumption I based my patch on was that the VMware code was sending _OTHER instead of _LSC to trigger LSC events. As such in my version of the workaround I just went through and did the testing if the _RXO bit was set, otherwise I assumed that whatever event was received must have been meant to trigger an _LSC type event since that worked in the past. > Some experimentation showed that this flaw in vmware e1000e emulation can > be worked around by not setting Other in EIAC. This is how it was before > 16ecba59bc33 ("e1000e: Do not read ICR in Other interrupt", v4.5-rc1). Did this actually set the _LSC bit or was it just giving you the _OTHER bit? The ICR for that combination would come out 0x81000000. > Fixes: 4aea7a5c5e94 ("e1000e: Avoid receiver overrun interrupt bursts") > Signed-off-by: Benjamin Poirier > --- > > Jeff, I'm sending as RFC since it looks like a problem that should be fixed > in vmware. If you'd like to have the workaround in e1000e, I'll submit. I would appreciate it if you could review/test the patch I submitted for the same issue. Specifically I would want to make certain that it still addresses the original RXO interrupt burst issue your reported. Thanks. - Alex