Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp237408pxv; Wed, 14 Jul 2021 02:53:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFt3aagQFmufiOrSriDx+ThR6qbrrrZ9yS9qxpE/rCpsLy1hpaiLHs56M2lgsFYhbXwTSY X-Received: by 2002:a5e:d512:: with SMTP id e18mr6608523iom.149.1626256406726; Wed, 14 Jul 2021 02:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626256406; cv=none; d=google.com; s=arc-20160816; b=qJuXOpl6B/C+4eHjdQl2oo9Jqain4WWNnoWFErrrotvm/G/09BMhpaSvDPHflYAc0p OIT6EeXwxbjJD5TIb39dqlydkj3Is8H5vcwvG+y2r2Tl6U2yHzEAp06UEbplPA8sMl1m B76ulD88AlBjOAq9y4i5R8RixxQiDGvqf6O9DFl2EviN+zaMzuO/McCs3YVd1AvzQ3vw 4A2DF4aO9ctq4eBD+jqck7V/7vcxpAqS+ZON+pOosrKFnqBS2wf7RZN5C4DvF9gmZjcJ TjI3C771I3D1WuyFK0tkSF/aYUzCACUYml8PyfwGKNDvi+u5PUVzJLdpBrKjaw/Qp0Rp Rygg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=80zXfnJOV6lMeG5E5RjQ3UMMrg6S4mJKlz3aPhaJln4=; b=HIOHNEwSddwUb2igsjJk5+DOcKdsIR6AC0Uf9bfB6NR7fUGxTgolp3LQi7l4/dFuCV ac8oIjkUf3/HigJv2vquh5rlBIqy1zgiQxg/V1tHM7IN0zYUdIBTovXgPpDXnOZTrGid p75rwEG2Uxwq+9TL2eJzNZe0R+KCpxJLOkPyKTicn2pH0ijEd8MEy/Nbvd+L+YXFEzNp jB4IZYezkENLYh/EU0CViscFOEO98ofaKU9K4DytGVwAeeeGsrz1v9NnnMn24Wdsgzwq 8yyAhPkBdNuK17OLsL2Di7jnceiVq6To5HJf7+q3ciddMtXd6U9WaqX/9yrPsY3iMWwk T5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=MJVL1E7f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1941623ilu.146.2021.07.14.02.53.15; Wed, 14 Jul 2021 02:53:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=MJVL1E7f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238969AbhGNJzZ (ORCPT + 99 others); Wed, 14 Jul 2021 05:55:25 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:54674 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238957AbhGNJzZ (ORCPT ); Wed, 14 Jul 2021 05:55:25 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id 6152440618 for ; Wed, 14 Jul 2021 09:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1626256351; bh=80zXfnJOV6lMeG5E5RjQ3UMMrg6S4mJKlz3aPhaJln4=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=MJVL1E7f4cVZn4DDpqfig9e7WeOFR2h5wX3mWyojjMstVHRgeT+2zOuyhAWD2Mjfb Q2acS3cd4pvgag/CKj8/1X086KYgM9AYPx5GXB9HOSfizTX5SyVA2DMGi2BJ+G7gkA O9xmo+1DU8StsHz8oxXOHi2eXjOp0kGBlyYZmIvpXkmy1aP7JqwyNmTiQFosB4XHYy d5xzeMt3GO69Vb52Q5z+AO+by0L7TeHOYtgdZ1DejBTiMbtLqaDrNNRFOaSvsQX0vc bPmfKXlFJgvIpCvj5z47sb7WRLOGwWRSCre14M3usXAY12ji7EsnibQBhK2UH+Gqb1 5MDZKh2rf4nqA== Received: by mail-ed1-f71.google.com with SMTP id p23-20020aa7cc970000b02903948bc39fd5so953909edt.13 for ; Wed, 14 Jul 2021 02:52:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=80zXfnJOV6lMeG5E5RjQ3UMMrg6S4mJKlz3aPhaJln4=; b=sZvA3wux1+ETR/due15SAW5OxBmvaQL5MAFQMZRbMflQWZj6U4VC7Y0n5R8IdEA4S4 3YitMgPjXX++OZi2fX8vSgC8Bi7/Oc63gbww+zjgChsF5E74u6ts2+feKBNrf63gm7R4 JDgnQZev06it84OJUoQNaDz5knHo0i6W9RKxm1+91Jte63oly7jZFvomzLv+XcImadc0 WPc9BzZZkJwYIJbCqG0kmeM9dZFbJGteZKoirexV1ERxYHF2Rqu9dabPk6H/7dSZg7Qo 1C6tdDBNz6OUp3UfSsj8FB/ZdJC6gjBh9xf/IPaFxzy7jScPxjLmLdDk+LShJ6Fmirxd eYNg== X-Gm-Message-State: AOAM530UPOu/dbIAnjESCE8c+h8ghTzYbR0W9OoQtcyhdiiBMANqa7iE 4QkLkMBInOLL3B1ntxWEeJ7j4t+r5QUUkaX8duRmfl0ewlipNRjf6Z5y1jS9tjtH6EoYafKLijM nKV3ZOjva6CKCG7TfJwsRguNll+sWHDAEgu19P5S/qIG0jmONuxjZcub/sQ== X-Received: by 2002:a17:906:17c2:: with SMTP id u2mr2167082eje.117.1626256351024; Wed, 14 Jul 2021 02:52:31 -0700 (PDT) X-Received: by 2002:a17:906:17c2:: with SMTP id u2mr2167061eje.117.1626256350762; Wed, 14 Jul 2021 02:52:30 -0700 (PDT) MIME-Version: 1.0 References: <20210712133500.1126371-1-kai.heng.feng@canonical.com> <20210712133500.1126371-2-kai.heng.feng@canonical.com> <3947d70a-58d0-df93-24f1-1899fd567534@intel.com> <16e188d5-f06e-23dc-2f71-c935240dd3b4@intel.com> In-Reply-To: <16e188d5-f06e-23dc-2f71-c935240dd3b4@intel.com> From: Kai-Heng Feng Date: Wed, 14 Jul 2021 17:52:18 +0800 Message-ID: Subject: Re: [Intel-wired-lan] [PATCH 2/3] e1000e: Make mei_me active when e1000e is in use To: "Ruinskiy, Dima" Cc: Sasha Neftin , Jesse Brandeburg , "Nguyen, Anthony L" , "open list:NETWORKING DRIVERS" , open list , AceLan Kao , Jakub Kicinski , "moderated list:INTEL ETHERNET DRIVERS" , "David S. Miller" , devora.fuxbrumer@intel.com, alexander.usyskin@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 5:06 PM Ruinskiy, Dima wrote: > > On 14/07/2021 9:28, Kai-Heng Feng wrote: > >> I do not know how MEI driver affect 1Gbe driver - so, I would suggest to > >> involve our CSME engineer (alexander.usyskin@intel.com) and try to > >> investigate this problem. > >> Does this problem observed on Dell systems? As I heard no reproduction > >> on Intel's RVP platform. > >> Another question: does disable mei_me runpm solve your problem? > > > > Yes, disabling runpm on mei_me can workaround the issue, and that's > > essentially what this patch does by adding DL_FLAG_PM_RUNTIME | > > DL_FLAG_RPM_ACTIVE flag. > > > > Kai-Heng > Hi, Kai-Heng, > > If the goal of the patch is to essentially disable runpm on mei_me, then > why is the patch touching code in the e1000e driver? We can put the workaround in e1000e, mei_me or as PCI quirk. But since the bug itself manifests in e1000e, I think it's more appropriate to put it here. To be more specific, it doesn't disable runtime suspend on mei_me, it makes mei_me the power supplier of e1000e. So when e1000e can be runtime suspended (i.e. no link partner), mei_me can also get runtime suspended too. > > I agree with Sasha Neftin; it seems like the wrong location, and the > wrong way to do it, even if it currently works. We need to understand > what causes runpm of mei_me to adversely affect LAN Rx, and for this we > need the involvement of mei_me owners. I think it's the right location, however I totally agree with your other arguments. There are many users already affected by this bug, so if a proper fix isn't available for now, the temporary workaround can help here. Kai-Heng > > --Dima > --------------------------------------------------------------------- > Intel Israel (74) Limited > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies.