From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A67C3285C80 for ; Wed, 18 Mar 2026 08:27:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773822477; cv=none; b=a48ilAtUoqOGzFYEt7FZRmtJjhMahaZ8fdwqcykDF/BjLQdr7qrN+3NPBENvHnra9Vwwo2TCHwGtkXCfoESPLdSSmvAh84N8yaDF6DtNPv/DysBA581aHXwHp9/qMJb4gRoROUCp8S92PYBwiJS0w65gjUOK0OL691mimrTqX+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773822477; c=relaxed/simple; bh=ofWzG+TZmi3oV5yOiNZfwlTkhM9hrajx92UsNLLUKBI=; h=From:To:Cc:Subject:MIME-Version:Content-Disposition:Content-Type: Message-Id:Date; b=V5njocJrGqZjtucqjdbfH6ZtrZJzoMHKwyrpN+S6ZcyFprpPrKzwpuUY5nNy3kOzsc4sLtG2a9ZWav3Yb0+7qxM8v9YLjXFJd61IJuNueXarRQY5F6WNWyy2Yqj1LeTo4haDGvZUl5PQfatD/IIWahL0N4NnjKZlGlU3GsEXs90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=baO9XAXy; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="baO9XAXy" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TxdMl9bR+bGsBgQD99s++n6aKWHLjlhy5SMeZDTuxBg=; b=baO9XAXy07ulc8rM74Wn8vNuDy gqZpWClpCFH+QL8jC6UszAqJ2j1lUk3HFBHThHIoacHHsx7iWsybhJ/e7dqx5hmk34bC7dE4Vy/IY Ia+27ayP9Mj/vYsmYVirBB+w1zBtQW03EZY62KXHOtBEB4dxK+Ar8OXhWVzattj1JHg3Ed+yE2FVV 85VkZusbi23FKpDFqjf5lvKWpLUsvYFyWOvUCZg6fvK/1VfegZDtCuGFhi9EqHF/vPmZG+roXkK6h EX3C+iilwTKOCNlo2XIW3khbnlHjSVUoG3/m3uw5AGl3qwJ6F5FADFU0ayrxP/tBLCqd5uCvMFXmt H/gKmU2g==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:58734 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2mFl-0000000033f-1c4h; Wed, 18 Mar 2026 08:27:45 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1w2mFk-0000000DXW2-2PR9; Wed, 18 Mar 2026 08:27:44 +0000 From: "Russell King (Oracle)" To: Andrew Lunn Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni Subject: [PATCH net-next] net: phylink: add debug for phy_config_inband() Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: Sender: Russell King Date: Wed, 18 Mar 2026 08:27:44 +0000 Add debug for the phy_config_inband() call so we can see which inband modes are being configured at the PHY. Signed-off-by: Russell King (Oracle) --- drivers/net/phy/phylink.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 59bcc69b6c39..1c178038e6f1 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -1341,6 +1341,13 @@ static void phylink_major_config(struct phylink *pl, bool restart, } if (pl->phydev && pl->phy_ib_mode) { + phylink_dbg(pl, "configuring PHY for inband%s%s%s\n", + pl->phy_ib_mode & LINK_INBAND_DISABLE ? + " disable" : "", + pl->phy_ib_mode & LINK_INBAND_ENABLE ? + " enable" : "", + pl->phy_ib_mode & LINK_INBAND_BYPASS ? + " bypass" : ""); err = phy_config_inband(pl->phydev, pl->phy_ib_mode); if (err < 0) { phylink_err(pl, "phy_config_inband: %pe\n", -- 2.47.3