[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR04MB5807014739D89583FF87D43EF2E59@VI1PR04MB5807.eurprd04.prod.outlook.com>
Date: Mon, 19 Dec 2022 16:23:09 +0000
From: Camelia Alexandra Groza <camelia.groza@....com>
To: Sean Anderson <sean.anderson@...o.com>,
"David S . Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Nicholas Piggin <npiggin@...il.com>,
Michael Ellerman <mpe@...erman.id.au>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sean Anderson <sean.anderson@...o.com>
Subject: RE: [PATCH net v2] powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
> -----Original Message-----
> From: Sean Anderson <sean.anderson@...o.com>
> Sent: Friday, December 16, 2022 19:30
> To: David S . Miller <davem@...emloft.net>; netdev@...r.kernel.org
> Cc: devicetree@...r.kernel.org; Rob Herring <robh+dt@...nel.org>;
> Christophe Leroy <christophe.leroy@...roup.eu>; Nicholas Piggin
> <npiggin@...il.com>; Michael Ellerman <mpe@...erman.id.au>; linuxppc-
> dev@...ts.ozlabs.org; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@...aro.org>; linux-kernel@...r.kernel.org; Camelia
> Alexandra Groza <camelia.groza@....com>; Sean Anderson
> <sean.anderson@...o.com>
> Subject: [PATCH net v2] powerpc: dts: t208x: Disable 10G on MAC1 and
> MAC2
>
> There aren't enough resources to run these ports at 10G speeds. Disable
> 10G for these ports, reverting to the previous speed.
>
> Fixes: 36926a7d70c2 ("powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G")
> Reported-by: Camelia Alexandra Groza <camelia.groza@....com>
> Signed-off-by: Sean Anderson <sean.anderson@...o.com>
> ---
Thank you.
Reviewed-by: Camelia Groza <camelia.groza@....com>
Tested-by: Camelia Groza <camelia.groza@....com>
> Changes in v2:
> - Remove the 10g properties, instead of removing the MAC dtsis.
>
> arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
> b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
> index 74e17e134387..27714dc2f04a 100644
> --- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
> +++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
> @@ -659,3 +659,19 @@ L2_1: l2-cache-controller@...000 {
> interrupts = <16 2 1 9>;
> };
> };
> +
> +&fman0_rx_0x08 {
> + /delete-property/ fsl,fman-10g-port;
> +};
> +
> +&fman0_tx_0x28 {
> + /delete-property/ fsl,fman-10g-port;
> +};
> +
> +&fman0_rx_0x09 {
> + /delete-property/ fsl,fman-10g-port;
> +};
> +
> +&fman0_tx_0x29 {
> + /delete-property/ fsl,fman-10g-port;
> +};
> --
> 2.35.1.1320.gc452695387.dirty
Powered by blists - more mailing lists