Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp652413pxv; Thu, 15 Jul 2021 12:31:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxojIScyQC2cLhT2AVK1/8oNLq+TOUGAogCMF+aphMK2BYXYjP4Z1CWlpKApZ5NUxWj4SFW X-Received: by 2002:aa7:dc0c:: with SMTP id b12mr9261153edu.105.1626377517109; Thu, 15 Jul 2021 12:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626377517; cv=none; d=google.com; s=arc-20160816; b=X7Jeq4RZliBVADAM3g5LQbGY8Q/G4kJdWYn7N/9bP5/upZatyIgBAsZjLh+ixGVXg9 M6M/ZafT2ZX87eS/c46lLxbDB+zQzQW2Yk4HXvqnXfAd+D9EeyIATK7NytMW/E+qzH0F 3/SUcC7Q3833NAQSLr/dilX7WzSymD85eG3pIrGpNn7QUZ4BOiupcs86i8fEY+ZtHBZ4 k6K+p56Hgky2hHq25G+iugHqKGbnFt4RsLrhdVXzDS9Rc6ZuzbL4rC5rjBdy57NtFi7o jf8hY5zZpTVK3HclHgRDh3nVtoLIY/ZG3DU7ccMqKPujLvYSAHPmlSvxpcvgZusxmKZd i/KQ== 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=hq6imGZmpwN55xfSivFnnUGBb901pNuQBtVNjpchNEw=; b=jeoODfDewC5CGHyXSs8aw/amDA/rpcqdWKFKVON0Jgu2d9SaihmFqPpNw32Qvcux0P L7rtzkMy3xHuYOdfX/9CVhso8g9b53GAG00BTC4Kif1BOF6eZPNBQvzxQ2ejsV7e2rdZ iVYcbJwN1hlghgLiNbCag+CcxTlLpK90/wmzE23h65/ZqJDFtAA8XnJzZeJ0ROxCCqsd OZOCWY2fNYbD2K720vGL0PGV6KVtsVqTXqQnzubQUXRUDbJzX5J46+vzGl4534fAq0ka H8NbxdYpG5i3bbsQWztgUs4pd7Lzrn2B6EA9oWm8ilDtfIaCTUd037pP5xYbY+CuL7bc 1nQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kOMT1lPO; 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 q18si10012185edi.63.2021.07.15.12.31.34; Thu, 15 Jul 2021 12:31: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=@linuxfoundation.org header.s=korg header.b=kOMT1lPO; 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 S243961AbhGOTcN (ORCPT + 99 others); Thu, 15 Jul 2021 15:32:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:46538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243894AbhGOTKM (ORCPT ); Thu, 15 Jul 2021 15:10:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FAB8613C4; Thu, 15 Jul 2021 19:07:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376028; bh=5TOr71VUDOiqYVGvZq2pvb41l1QmDcVK6CxhXV/U/8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kOMT1lPO0JP+76kxpk+XwoizXUIwuC4zKfpvhC9miwEAz2kElD7OUrTDCC8x4D8nR LuO4+f0JnFUbUfaFyG/FhnolglFMs60Ky8NLjwb4qHfNvmLn9unJRa/e8Rr3+bHXPs A3LGyo9cG6FRxRwACkD34xeVFp6Vaxb8Us9UZ7PU= 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.13 096/266] r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM Date: Thu, 15 Jul 2021 20:37:31 +0200 Message-Id: <20210715182631.054252296@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@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 2ee72dc431cd..a0d4e052a79e 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -3510,7 +3510,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