Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp707625pxv; Thu, 15 Jul 2021 14:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXwvCK52ukU8yT4MC+trreTCzlsptbbTz4t99yQCdg5Tmbf1XObkx3dUy14SJWwo20UHVZ X-Received: by 2002:a92:c504:: with SMTP id r4mr3874381ilg.131.1626383020674; Thu, 15 Jul 2021 14:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383020; cv=none; d=google.com; s=arc-20160816; b=e5MC1ZfbVYnh2LHg9J53prZE66ox+hdH+WtEgffVPHWtTclB3fLUFfyRuZYzIZGnr7 DtAGy5tfHv08mx4ORnE3JdJ4mUt7K0iAhpdOChri7lmfpQBTa7TdsWM6ThWOmb4WT4k6 OU80pTqTiuOeSWLGEVn0iWplqeIGKvy5vzXe5G/ynmpBmtmrqDJQ3qMpu/NHnMxkTazy Ka6Wyd1LZeRrqdWpB4dJj8tMT6vVmlzAc6Z5O90f+WR2mEE6wFRKpZoiEG4CkznGK22T Gfx/ZITZzDy29OE3w7qeravSimZZISxUkgzBzfIkR62z9QG1YVEUaM9HsieJ2pcPR6B3 hbpg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JC6qzu6Zwx46QIwWO4Hhnmfk6iBVL7hAsStdp2pi1oI=; b=EzEwYJvUs1frMnKHNK5O18LV1tILqfO5Nvgl8oNimJikpFg1bHqaNsBh7uSoj+/g9d Li0ajT0iA+bvRHNBsVxCsfdiGT8Jg5JTxRyF3PyMHLxWbsjGCFXsf9LFcGkj4IsHwepR 84KOxjG3uXPab8BdY3RFGd8lrG0RKGcHqsi56MnZo1/DxEUuGzCk6uzVokjkgNCYOu9O qzEnN30gQUlSXGbvMV6lrH3hL6WmbCGW+ftdIFZZMWVaxXGWUis3vsRv8K1tMsMaRua1 r07XVmRahZOAMIqiKUfisv5B24FJYAhXjII/gVTw8l+G63LydHxFRuCclEJ4en9ISDVn HubQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sjXEcQyz; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si7811802jae.125.2021.07.15.14.03.27; Thu, 15 Jul 2021 14:03:40 -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=@linuxfoundation.org header.s=korg header.b=sjXEcQyz; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243725AbhGOTOA (ORCPT + 99 others); Thu, 15 Jul 2021 15:14:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:37234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242754AbhGOS76 (ORCPT ); Thu, 15 Jul 2021 14:59:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 900E260D07; Thu, 15 Jul 2021 18:57:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375424; bh=FB+80IiK/GSGLAobmQcnfjTV7K1piegwndlOBhjA61o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sjXEcQyzx2peCvCJShsB9wfRxB7Ub+8WF0P8FMjxE+57Rz35fJH1iIMon9pVRFeQq QpmbJ64FCuas5MSkY50RDRTilYCbaDCo6+U32YQRPk4YkOFbB7SFvW4yY7Vfu6/Ky2 edB3x0yitP0w8jDqsZLaUy5CoN+pCbWFaVu1MKFo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Koba Ko , Heiner Kallweit , "David S. Miller" , Sasha Levin Subject: [PATCH 5.12 082/242] r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM Date: Thu, 15 Jul 2021 20:37:24 +0200 Message-Id: <20210715182607.441507325@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiner Kallweit [ Upstream commit 1ee8856de82faec9bc8bd0f2308a7f27e30ba207 ] It has been reported that on RTL8106e the link-up interrupt may be significantly delayed if the user enables ASPM L1. Per default ASPM is disabled. The change leaves L1 enabled on the PCIe link (thus still allowing to reach higher package power saving states), but the NIC won't actively trigger it. Reported-by: Koba Ko Tested-by: Koba Ko Signed-off-by: Heiner Kallweit Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/realtek/r8169_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index f7a56e05ec8a..552164af2dd4 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -3477,7 +3477,6 @@ static void rtl_hw_start_8106(struct rtl8169_private *tp) rtl_eri_write(tp, 0x1b0, ERIAR_MASK_0011, 0x0000); rtl_pcie_state_l2l3_disable(tp); - rtl_hw_aspm_clkreq_enable(tp, true); } DECLARE_RTL_COND(rtl_mac_ocp_e00e_cond) -- 2.30.2