Re: [PATCH net-next V2] net: dsa: microchip: Adjust reset release timing to match reference reset circuit

2021-01-20 Thread Paul Barker
n't so long that it will have a major impact on start-up time. So it looks good to me. Reviewed-by: Paul Barker -- Paul Barker Konsulko Group

Re: linux-next: manual merge of the net-next tree with the net tree

2020-09-11 Thread Paul Barker
prev_msg = ""; > + prev_mode = ""; > + } > + dev_info(dev->dev, > +"Port%d: using phy mode %s%s%s\n", > +i, > - phy_modes(dev->interface), > ++ phy_modes(p->interface), > +prev_msg, > +prev_mode); > > /* enable cpu port */ > ksz9477_port_setup(dev, i, true); Looks good to me wrt my patch "net: dsa: microchip: Improve phy mode message". Thanks, -- Paul Barker Konsulko Group

Re: [PATCH v3 0/4] ksz9477 dsa switch driver improvements

2020-09-10 Thread Paul Barker
On Wed, 9 Sep 2020 at 19:26, David Miller wrote: > > From: Paul Barker > Date: Wed, 9 Sep 2020 11:04:13 +0100 > > > These changes were made while debugging the ksz9477 driver for use on a > > custom board which uses the ksz9893 switch supported by this driver. The >

[PATCH v3 3/4] net: dsa: microchip: Disable RGMII in-band status on KSZ9893

2020-09-09 Thread Paul Barker
We can't assume that the link partner supports the in-band status reporting which is enabled by default on the KSZ9893 when using RGMII for the upstream port. Signed-off-by: Paul Barker Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz9477.c | 3 +

[PATCH v3 1/4] net: dsa: microchip: Make switch detection more informative

2020-09-09 Thread Paul Barker
easy to see any errors here will help identify issues with SPI data corruption or reset sequencing. Signed-off-by: Paul Barker Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz9477.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz9477.c b

[PATCH v3 0/4] ksz9477 dsa switch driver improvements

2020-09-09 Thread Paul Barker
-next. * Dropped unnecessary `#include `. * Instead of printing the phy mode in `ksz9477_port_setup()`, modify the existing print in `ksz9477_config_cpu_port()` to always produce output and to be more clear. Paul Barker (4): net: dsa: microchip: Make switch detection more informative

[PATCH v3 4/4] net: dsa: microchip: Implement recommended reset timing

2020-09-09 Thread Paul Barker
range used here is somewhat arbitrary, as long as the reset is asserted for at least 10ms we should be ok. Signed-off-by: Paul Barker Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa

[PATCH v3 2/4] net: dsa: microchip: Improve phy mode message

2020-09-09 Thread Paul Barker
: Paul Barker Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz9477.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c index df5ecd0261fa..d9030820f406 100644 --- a

[PATCH v2 4/4] net: dsa: microchip: Implement recommended reset timing

2020-09-07 Thread Paul Barker
range used here is somewhat arbitrary, as long as the reset is asserted for at least 10ms we should be ok. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers

[PATCH v2 2/4] net: dsa: microchip: Improve phy mode message

2020-09-07 Thread Paul Barker
: Paul Barker --- drivers/net/dsa/microchip/ksz9477.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c index df5ecd0261fa..9513af057793 100644 --- a/drivers/net/dsa/microchip/ksz9477.c

[PATCH v2 1/4] net: dsa: microchip: Make switch detection more informative

2020-09-07 Thread Paul Barker
easy to see any errors here will help identify issues with SPI data corruption or reset sequencing. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz9477.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c

[PATCH v2 3/4] net: dsa: microchip: Disable RGMII in-band status on KSZ9893

2020-09-07 Thread Paul Barker
We can't assume that the link partner supports the in-band status reporting which is enabled by default on the KSZ9893 when using RGMII for the upstream port. Signed-off-by: Paul Barker Reviewed-by: Andrew Lunn --- drivers/net/dsa/microchip/ksz9477.c | 3 +++ 1 file changed, 3 inser

[PATCH v2 0/4] ksz9477 dsa switch driver improvements

2020-09-07 Thread Paul Barker
clude Reviewed-by tag from v1 series so it isn't lost (is this correct?). Paul Barker (4): net: dsa: microchip: Make switch detection more informative net: dsa: microchip: Improve phy mode message net: dsa: microchip: Disable RGMII in-band status on KSZ9893 net: dsa: microchip:

Re: [PATCH 0/4] ksz9477 dsa switch driver improvements

2020-09-05 Thread Paul Barker
On Sat, 5 Sep 2020 at 16:34, Andrew Lunn wrote: > > On Sat, Sep 05, 2020 at 03:03:21PM +0100, Paul Barker wrote: > > These changes were made while debugging the ksz9477 driver for use on a > > custom board which uses the ksz9893 switch supported by this driver. The > > p

Re: [PATCH 3/4] net: dsa: microchip: Disable RGMII in-band status on KSZ9893

2020-09-05 Thread Paul Barker
On Sat, 5 Sep 2020 at 16:32, Andrew Lunn wrote: > > On Sat, Sep 05, 2020 at 03:03:24PM +0100, Paul Barker wrote: > > We can't assume that the link partner supports the in-band status > > reporting which is enabled by default on the KSZ9893 when using RGMII > > for t

[PATCH 4/4] net: dsa: microchip: Implement recommended reset timing

2020-09-05 Thread Paul Barker
range used here is somewhat arbitrary, as long as the reset is asserted for at least 10ms we should be ok. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers

[PATCH 0/4] ksz9477 dsa switch driver improvements

2020-09-05 Thread Paul Barker
build tested on top of 5.9-rc3. Paul Barker (4): net: dsa: microchip: Make switch detection more informative net: dsa: microchip: Add debug print for XMII port mode net: dsa: microchip: Disable RGMII in-band status on KSZ9893 net: dsa: microchip: Implement recommended reset timing drivers/ne

[PATCH 2/4] net: dsa: microchip: Add debug print for XMII port mode

2020-09-05 Thread Paul Barker
When debug is enabled for this driver, this allows users to confirm that the correct port mode is in use. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz9477.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip

[PATCH 3/4] net: dsa: microchip: Disable RGMII in-band status on KSZ9893

2020-09-05 Thread Paul Barker
We can't assume that the link partner supports the in-band status reporting which is enabled by default on the KSZ9893 when using RGMII for the upstream port. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz9477.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/driver

[PATCH 1/4] net: dsa: microchip: Make switch detection more informative

2020-09-05 Thread Paul Barker
easy to see any errors here will help identify issues with SPI data corruption or reset sequencing. Signed-off-by: Paul Barker --- drivers/net/dsa/microchip/ksz9477.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477

[PATCH 1/2] net: dsa: b53: Use dev_{err,info} instead of pr_*

2020-09-03 Thread Paul Barker
This change allows us to see which device the err or info messages are referring to if we have multiple b53 compatible devices on a board. As this removes the only pr_*() calls in this file we can drop the definition of pr_fmt(). Signed-off-by: Paul Barker --- drivers/net/dsa/b53/b53_common.c

[PATCH 0/2] Minor improvements to b53 dmesg output

2020-09-03 Thread Paul Barker
ow if further testing is required. Unfortunately I don't have a board to hand which boots with a more recent kernel and has a switch supported by the b53 driver. I'd still like to upstream these patches if possible though. Paul Barker (2): net: dsa: b53: Use dev_{err,info} instead of

[PATCH 2/2] net: dsa: b53: Print err message on SW_RST timeout

2020-09-03 Thread Paul Barker
This allows us to differentiate between the possible failure modes of b53_switch_reset() by looking at the dmesg output. Signed-off-by: Paul Barker --- drivers/net/dsa/b53/b53_common.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/b53/b53_common.c b

[PATCH] doc: net: dsa: Fix typo in config code sample

2020-09-03 Thread Paul Barker
In the "single port" example code for configuring a DSA switch without tagging support from userspace the command to bring up the "lan2" link was typo'd. Signed-off-by: Paul Barker --- Documentation/networking/dsa/configuration.rst | 2 +- 1 file changed, 1 insertio

Re: ethtool-4.8.tar.gz checksum change

2017-04-10 Thread Paul Barker
On Wed, 5 Apr 2017 10:00:04 -0400 "John W. Linville" wrote: > On Mon, Apr 03, 2017 at 11:25:54AM +0100, Paul Barker wrote: > > Hi, > > > > It looks like the checksum of the following file has changed recently: > > https://www.kernel.org/pub/softwa

ethtool-4.8.tar.gz checksum change

2017-04-03 Thread Paul Barker
gz file as corrupted since the checksums do not match those originally recorded. Thanks, Paul Barker