From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796109703; b=NYeg159zn1sRp/+eZMDaFmv4KeU65U7bdkVJBAY1cssNv68cR4oOj7MIhz6ib0p9U6hs KOhzshlD3+7waSW8sIZck+M0ajhmHMq3NDmg9XF/TYKfpCpZT6D2+ELIoZQ/ox26rNnny b0lmgMO2b3eVqp6KfTLJTjWct3kgM7I+PJR0mkKDxgLSC7picJFW9Ys8C6o4urprGaSv7 7wexyHmdSc3T2/TQXmUFAL6tzE35SxqSp17gozoWKyorH4q0A/eHn50c/6oSbrETCbEq8 ZCt5/u3375UWKIY7gxBBCZWLnJ1VSVWslWGCewoi07JXCKZ5hsAPJ86150/wZqvN20g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796109703; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Date:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id: References:In-Reply-To:To:Cc:X-Mailer; bh=e1I/E/W0/0Dtj2T9W0RF3db3FuqpkIYp8YDTVPShuaY=; b=QsaQi3B/wp/GIvzqPBBeWOQ3G9ajDBW4rOw1fEc7kFa0W3tL556fsyGsR0NOzuGR7VeU V162p00GbI/OYIF7kMkMkHTPj1vBn3GovOIdNWv1g2N378ZI4SgQkg8gUlOEv7dDFSGWd PXfhOP82l7dFRVUkhvlMg5jhkf5DkCe0seUVyvcAA/qeqIwu0bUW4rED9AUyWlLOUVRyI RfWpgwzfE002WIgdWNF6XIFdKgOKa5+FhQ9lp/f/UOr1fjgonbkc0xmu2xI8oy9XY52QO vXGqtzmkcinEEW4d0MvrhYZL3720rRGiIwab0AXHdMwCPdQOe5q1MvpsrMuMwjsWFXg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=telaak.dev; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.remote-ip=209.85.128.170 Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F71606A6A5 for ; Tue, 1 Dec 2026 07:21:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 08F71606A6A5 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-8b4e04eda5aso84121497b3.1 for ; Mon, 30 Nov 2026 23:21:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796109700; x=1796714500; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=e1I/E/W0/0Dtj2T9W0RF3db3FuqpkIYp8YDTVPShuaY=; b=ovB9G+BDC5WxzRK/rY9Kr+fHC35v04pt7Rpr7ZNRbjyuJAq781bKUj1Ho6EFoHEKiz JxoCc7bfBUsz+rBjQ07FVdsPMe77WKA7Rx9k5LbuQHs9s9vQo10TONBSy2FXoXyzFKz4 uT0sylmgRkIH4nnhLCEi0Mz9FZBZJ3jaWxtOQqJMgQO3J2QJnK2FFUoIb7LbgrwRcbTx YV+Hdpx3nuh+yMniPDuPgcRpGWuN8cotbuUWP/yQu+IR/jR6eEcOa9cXD23LfC6vH+nC ZhlXB+QnunjL4x+fycvr8/530VRXbdPJpER8or31HE3l990n5qD9NZLcZnaQFzE0rE5y DW1A== X-Forwarded-Encrypted: i=1; AL+hErGIvqANHFjvSExLYRIc9cECe88JtlXgS++O6DS3fTajeIzotR6o85V10lKeUdPy0p4tFNSGegdH31PQx5s=@vger.kernel.org X-Gm-Message-State: APuU4Z8H29LlxsnoaTnfkPCkoocZUQ0l0rCbfi56xYjS+14ik9NQPyQ+ XdJJTS7mbZnWdA2CsW3Et2dv1oVylnhE8S00VW7bYqPu4v+ixfmtWFi+ X-Gm-Gg: AZFdTZdqxAA/V8i40kMH/Jpum9GSScwchxuDohzOs+t/sQll8sZkXeIfNNDvIARWELb HO/4d+lxlgSG26BilxyV0zYMkqy5sAUR0EtM2LzTPyyuhECbfz/U0UkHBD80DeA0KjSvMwBPc91 g3o4m9dqBIDyyb952sIGiPEn5mLJZIbJ5Xdbym+SBBgk9JgmZcmqP6imrgZqtx1TJIqYv+xNhIA ihwRyf3+43nck9Zcobp8m62GS/Q/osJiER/oNKkikGV93tmcr8uL3dGg6LBhAjEvpjzwBYXAYce qCK1d/EfQqtwYTjINArhtFMyuDukifSuIloXW0gImFOLlY091aC50Pc2IVeJCcK29RK4WIqfWnF n/vZhWYo8+IqC+Is0NE1MXRMLu7/ek23nkpxdBfDrslyo45QFDwffZiXyp9DRPc3AeEMJO3LJlA AzoB6kddt6DNkY9XGWVfcwnITQvenNzYc4bwYAY0FKdfuXbayZZP8ZdlBPDpKS+Xna8wOdn8viV L5edhLDZr2lJABblpcxHI6e9Uq2shwGhl3f9aj9+fxyrhf2QtfMMi52zZHjXfI+y5U9oh4adVZk dVBSdualdzjoDDbqHKO/aDpN3VyxXBC2Nho2ouQo1lFgVsLl5UhPQptBd62nN/MwtBD5h2aSiND V47w8BnMLX9HAyC4NC6NXJiC/mao8o0kTKxRFsEcTsTW3Iq3O9A5Pva3bpU4aWd+LOnF7pvddVJ 9TmlhdifPIJD+gomEHF0leDCo= X-Received: by 2002:a05:690c:2a87:b0:8b3:3fe5:f6b3 with SMTP id 00721157ae682-8b520537719mr163399887b3.50.1796109700161; Mon, 30 Nov 2026 23:21:40 -0800 (PST) Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa ([71.68.170.161]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8b52028c7f5sm141501177b3.12.2026.11.30.23.21.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 23:21:38 -0800 (PST) From: Joseph Telaak Date: Tue, 01 Dec 2026 02:21:20 -0500 Subject: [PATCH iwl-next 4/4] e1000: disable EEE on a CE4100 PHY under phylink X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261201-e1000-phylink-v1-4-21e6f1c816a0@telaak.dev> References: <20261201-e1000-phylink-v1-0-21e6f1c816a0@telaak.dev> In-Reply-To: <20261201-e1000-phylink-v1-0-21e6f1c816a0@telaak.dev> To: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joseph Telaak X-Mailer: b4 0.16.0 The MAC has no LPI support. phylink only disables EEE in a PHY when the MAC implements the LPI operations, so the PHY keeps its default EEE advertisement. With EEE negotiated, an RTL8211E blinks its link LED about once a second while the link idles, and a link LED offloaded to the PHY no longer shows the link state. Implement the LPI operations with no LPI capabilities, so that phylink disables EEE in the PHY. Signed-off-by: Joseph Telaak --- drivers/net/ethernet/intel/e1000/e1000_main.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c index 60ccfce3c889..914482f5256e 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_main.c +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c @@ -1058,10 +1058,26 @@ static void e1000_mac_link_up(struct phylink_config *config, mutex_unlock(&adapter->phylink_lock); } +/* The MAC has no LPI. LPI operations with no LPI capabilities tell + * phylink so, and it disables EEE in the PHY. + */ +static void e1000_mac_disable_tx_lpi(struct phylink_config *config) +{ +} + +static int e1000_mac_enable_tx_lpi(struct phylink_config *config, u32 timer, + bool tx_clk_stop) +{ + /* Never called: no LPI capabilities */ + return 0; +} + static const struct phylink_mac_ops e1000_phylink_mac_ops = { .mac_config = e1000_mac_config, .mac_link_down = e1000_mac_link_down, .mac_link_up = e1000_mac_link_up, + .mac_disable_tx_lpi = e1000_mac_disable_tx_lpi, + .mac_enable_tx_lpi = e1000_mac_enable_tx_lpi, }; /** -- Git-155)