[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240312162705.0097ee5a@kmaincent-XPS-13-7390>
Date: Tue, 12 Mar 2024 16:27:05 +0100
From: Köry Maincent <kory.maincent@...tlin.com>
To: Elad Nachman <enachman@...vell.com>
Cc: <taras.chornyi@...ision.eu>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<andrew@...n.ch>, <thomas.petazzoni@...tlin.com>,
<miquel.raynal@...tlin.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] net: marvell: prestera: fix driver reload
On Mon, 11 Mar 2024 15:51:10 +0200
Elad Nachman <enachman@...vell.com> wrote:
> From: Elad Nachman <enachman@...vell.com>
>
> Driver rmmod after insmod would fail because of
> the following issues:
>
> 1. API call to reset the switch HW and restart the
> firmware CPU firmware code loading was missing in
> driver removal code handler.
> 2. Timeout waiting for the firmware CPU firmware
> loader code to start was too small.
>
> Fix by adding API call to reset the switch HW and
> restart the firmware CPU firmware code loading when
> handling the driver removal procedure,
> increase the timeout waiting for this restart operation
> from 5 to 30 seconds.
Tested-by: Kory Maincent <kory.maincent@...tlin.com>
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Powered by blists - more mailing lists