Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2761660pxk; Sun, 27 Sep 2020 21:41:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNOgJjaPtajDNgUU+xChVcGJ7SSt/AoWDMY1uRAugcd4eZca60C7ORljiJiQoVkr9cUNLs X-Received: by 2002:aa7:d15a:: with SMTP id r26mr13963287edo.181.1601268117134; Sun, 27 Sep 2020 21:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601268117; cv=none; d=google.com; s=arc-20160816; b=MzZyMrpMHoVwTl4yLtMilE7QARV2ZO045fsXrmXzjuq08N8FKfRCG1TosshDYj4n5Z SedZH8kuX642fuW4HnXTBMlyuMd3OABrkBtsdWsQMznHaiNhDsnbwULqaIERQ3B7FEdF UfHcbsKSXgBXLbBPSRF/AQzrKy70jBoS8Dp6rN+/07cLiBJkMzJH1zlM99jt29KMdjta FT1Px/y3B4veALyg8boMgpE9FTsUC4ekTJnckH8JS+HMtsc9wsqo93+2ZYSEK1STgZNX rUvGpmmtXEl05TMJTavL+G9OZeARGSgL8yaztSawxTdd/cV9FU7lABGKjb/q+p+Mdijn pxJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZYYLOG7cjd2FFEodYR9sOCf8GNcOlT5pXjKUseFXTPE=; b=ru222muiQf7h7Z9YgQ07xbSinkoLpVce7cYVkAWgh+WskKz5l//slUCkX7R8T+qAVz v2/0C7zwBmagNyIrUm4xP6uSpL8wa9fTIghr2GDGC4XNM2FSN2idorGhMzBbqnShdHH0 693IPLou0hOLwao3aTd+ba94fPx/RoozsfGwPVYcgI06HkYlIckf0AiBu7h97mxxEMpq gTWcPmQg/gxVNjEGjeplVE1sISVr5zITjBrFbXFkBWBn0+Nd8fxexiBuQIUfUYn8T78X dMDYWQ4FvY8SJapOnvzvG3obp4Nv2d0idUsQszjyLhYxpbkQcckszc25qr45gQZInJQ4 +vDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dell.com header.s=smtpout1 header.b=hMHXFRHy; 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=dell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a6si7950903edq.278.2020.09.27.21.41.35; Sun, 27 Sep 2020 21:41:57 -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=@dell.com header.s=smtpout1 header.b=hMHXFRHy; 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=dell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726564AbgI1Ekk (ORCPT + 99 others); Mon, 28 Sep 2020 00:40:40 -0400 Received: from mx0b-00154904.pphosted.com ([148.163.137.20]:5162 "EHLO mx0b-00154904.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgI1Ekj (ORCPT ); Mon, 28 Sep 2020 00:40:39 -0400 Received: from pps.filterd (m0170396.ppops.net [127.0.0.1]) by mx0b-00154904.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08S4deVY004992 for ; Mon, 28 Sep 2020 00:40:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=smtpout1; bh=ZYYLOG7cjd2FFEodYR9sOCf8GNcOlT5pXjKUseFXTPE=; b=hMHXFRHy1PFW6mIbYcVha8lUwf7hgI65aQ1glKE8rAMcOhYuyQ4S95Y5o1XaAqSbGACl eF2Ldeu4wQlldq5C9aN3GvC+ZwIIvYwp+JMGclQFmjhKsPVZ2MvVHgk/7eaPZ9M3SW5h QXjh+nTMUTAvTeUqQM3KrceBLzqWJI8t/IE5ja4NslQCoQ/f5LkIOYPJIMArYsF/avfZ gXBA72IesX7bL/wLdvFDWUwDx74Afc1gYcnn/+pP9mIUmZpatV5q/RtaOXvmi/t198Vk Qj0cQXvYBIrCaNeUhHfO19cyDW8JrJa+rOw4yL48yjXxe7z4ke+zOLAfy/aSyx3mzK3i qQ== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0b-00154904.pphosted.com with ESMTP id 33t1fyb28c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 28 Sep 2020 00:40:38 -0400 Received: from pps.filterd (m0134746.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08S4dZIm087193 for ; Mon, 28 Sep 2020 00:40:37 -0400 Received: from ausxippc101.us.dell.com (ausxippc101.us.dell.com [143.166.85.207]) by mx0a-00154901.pphosted.com with ESMTP id 33u81u0k67-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 28 Sep 2020 00:40:37 -0400 X-LoopCount0: from 10.173.37.130 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.77,312,1596517200"; d="scan'208";a="1434187423" From: Mario Limonciello To: Jeff Kirsher , intel-wired-lan@lists.osuosl.org Cc: linux-kernel@vger.kernel.org, darcari@redhat.com, Yijun.Shen@dell.com, Perry.Yuan@dell.com, Mario Limonciello Subject: [PATCH 0/3] Improve s0ix flows for systems i219LM Date: Sun, 27 Sep 2020 23:40:21 -0500 Message-Id: <20200928044024.7595-1-mario.limonciello@dell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-28_03:2020-09-24,2020-09-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 mlxscore=0 malwarescore=0 mlxlogscore=533 clxscore=1011 bulkscore=0 adultscore=0 priorityscore=1501 suspectscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009280037 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 bulkscore=0 mlxlogscore=717 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009280037 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit e086ba2fccda ("e1000e: disable s0ix entry and exit flows for ME systems") disabled s0ix flows for systems that have various incarnations of the i219-LM ethernet controller. This was done because of some regressions caused by an earlier commit 632fbd5eb5b0e ("e1000e: fix S0ix flows for cable connected case") with i219-LM controller. Performing suspend to idle with these ethernet controllers requires a properly configured system. To make enabling such systems easier, this patch series offers configuration options to enable/disable the flows. The flows have also been confirmed to be configured correctly on Dell's Latitude and Precision CML systems containing the i219-LM controller, when the kernel also contains the fix for s0i3.2 entry here: https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20200914/021361.html Patches 2 and 3 will turn the behavior on by default for Dell's CML systems. These patches should only be carried if that patch linked above is also applied. Mario Limonciello (3): e1000e: allow turning s0ix flows on for systems with ME e1000e: Add Dell's Comet Lake systems into s0ix heuristics e1000e: Add more Dell CML systems into s0ix heuristics .../device_drivers/ethernet/intel/e1000e.rst | 23 ++ drivers/net/ethernet/intel/Kconfig | 1 + drivers/net/ethernet/intel/e1000e/e1000.h | 7 + drivers/net/ethernet/intel/e1000e/netdev.c | 64 +++--- drivers/net/ethernet/intel/e1000e/param.c | 209 ++++++++++++++++++ 5 files changed, 266 insertions(+), 38 deletions(-) -- 2.25.1