Netdev List
 help / color / mirror / Atom feed
From: Fidelio LAWSON <lawson.fidelio@gmail.com>
To: Nicolai Buchwitz <nb@tipi-net.de>
Cc: Woojung Huh <woojung.huh@microchip.com>,
	UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>,
	Vladimir Oltean <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Marek Vasut <marex@denx.de>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>,
	Simon Horman <horms@kernel.org>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Tristram Ha <Tristram.Ha@microchip.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Fidelio Lawson <fidelio.lawson@exotec.com>
Subject: Re: [PATCH net-next v7 1/3] net: dsa: microchip: implement KSZ87xx Module 3 low-loss cable errata
Date: Mon, 1 Jun 2026 10:30:36 +0200	[thread overview]
Message-ID: <7b7616ef-026e-437b-89de-2a1f67356c5c@gmail.com> (raw)
In-Reply-To: <77de607f2f8330ae6a593a4803887c8f@tipi-net.de>

On 5/28/26 09:19, Nicolai Buchwitz wrote:
> Hi Fidelio
> 
> On 24.5.2026 12:44, Fidelio Lawson wrote:
>> Implement the "Module 3: Equalizer fix for short cables" erratum from
>> Microchip document DS80000687C for KSZ87xx switches.
> 
> The commit message says this implements Module 3 from DS80000687C, but
> the errata's Work Around 1 writes 0x15 to indirect register 0x3C
> ("PHY equalizer register"), and the patch never touches 0x3C. Could you
> please clarify which document the register addresses
> (KSZ87XX_REG_DSP_EQ = 0x08, KSZ87XX_REG_PHY_LPF = 0x4C) come from?
> 
> I checked against the the following document:
> https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ 
> ProductDocuments/Errata/KSZ87xx-Errata-DS80000687C.pdf
> 

Hi Nicolai,

Thanks for the review.
Regarding the register addresses the definitions used in the 
implementation are based on the following Microchip support article:

https://support.microchip.com/s/article/Solution-for-Using-CAT-5E-or-CAT-6-Short-Cable-with-a-Link-Issue-for-the-KSZ8795-Family

I'll add that clarification to the commit message.

> This silently returns when enable = false and nothing is written to the 
> registers.
> Either I'm missing something or the short-cable preset cannot be cleared 
> through this tunable?
> 

You are correct that the current implementation does not restore any
configuration when 'enable' is set to false.

In the next revision, I will update this to apply the default
settings when disabling the preset, so that the tunable behaves as a
proper reversible configuration.

Thanks again for pointing these out.

Best regards,
Fidelio


  reply	other threads:[~2026-06-01  8:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-24 10:44 [PATCH net-next v7 0/3] ksz87xx: add support for low-loss cable equalizer errata Fidelio Lawson
2026-05-24 10:44 ` [PATCH net-next v7 1/3] net: dsa: microchip: implement KSZ87xx Module 3 low-loss cable errata Fidelio Lawson
2026-05-28  7:19   ` Nicolai Buchwitz
2026-06-01  8:30     ` Fidelio LAWSON [this message]
2026-05-28 11:43   ` Nicolai Buchwitz
2026-06-01 10:40     ` Fidelio LAWSON
2026-05-24 10:44 ` [PATCH net-next v7 2/3] net: ethtool: add KSZ87xx low-loss cable PHY tunables Fidelio Lawson
2026-05-24 10:44 ` [PATCH net-next v7 3/3] net: phy: micrel: expose KSZ87xx low-loss cable tunables Fidelio Lawson
2026-05-24 16:19 ` [PATCH net-next v7 0/3] ksz87xx: add support for low-loss cable equalizer errata Marek Vasut
2026-05-28  9:11   ` Paolo Abeni
2026-05-28  2:30 ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b7616ef-026e-437b-89de-2a1f67356c5c@gmail.com \
    --to=lawson.fidelio@gmail.com \
    --cc=Tristram.Ha@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fidelio.lawson@exotec.com \
    --cc=hkallweit1@gmail.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=marex@denx.de \
    --cc=maxime.chevallier@bootlin.com \
    --cc=nb@tipi-net.de \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=woojung.huh@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox