lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae8e8b61-b00a-1ec1-8212-7194c5ae4b30@microchip.com>
Date:   Thu, 16 Mar 2023 17:22:07 +0100
From:   Nicolas Ferre <nicolas.ferre@...rochip.com>
To:     Harini Katakam <harini.katakam@....com>, <davem@...emloft.net>,
        <claudiu.beznea@...rochip.com>, <kuba@...nel.org>,
        <edumazet@...gle.com>, <pabeni@...hat.com>
CC:     <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <michal.simek@....com>, <harinikatakamlinux@...il.com>
Subject: Re: [PATCH net-next] net: macb: Increase halt timeout to accommodate
 10Mbps link

On 16/03/2023 at 09:30, Harini Katakam wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> From: Harini Katakam <harini.katakam@...inx.com>
> 
> Increase halt timeout to accommodate for 16K SRAM at 10Mbps rounded.
> 
> Signed-off-by: Harini Katakam <harini.katakam@...inx.com>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@...inx.com>

Fine with me:
Acked-by: Nicolas Ferre <nicolas.ferre@...rochip.com>
Best regards,
   Nicolas

> ---
>   drivers/net/ethernet/cadence/macb_main.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index 51c9fd6f68a4..96fd2aa9ee90 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -94,8 +94,7 @@ struct sifive_fu540_macb_mgmt {
>   /* Graceful stop timeouts in us. We should allow up to
>    * 1 frame time (10 Mbits/s, full-duplex, ignoring collisions)
>    */
> -#define MACB_HALT_TIMEOUT      1230
> -
> +#define MACB_HALT_TIMEOUT      14000
>   #define MACB_PM_TIMEOUT  100 /* ms */
> 
>   #define MACB_MDIO_TIMEOUT      1000000 /* in usecs */
> --
> 2.17.1
> 

-- 
Nicolas Ferre

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ