Re: [PATCH v2 0/5] Fix prestera driver fail to probe twice
From: Andrew Lunn
Date: Wed Mar 20 2024 - 20:18:39 EST
On Wed, Mar 20, 2024 at 07:20:03PM +0200, Elad Nachman wrote:
> From: Elad Nachman <enachman@xxxxxxxxxxx>
>
> Fix issues resulting from insmod, rmmod and insmod of the
> prestera driver:
>
> 1. Call of firmware switch HW reset was missing, and is required
> in order to make the firmware loader shift to the correct state
> needed for loading the next firmware.
> 2. Time-out for waiting for firmware loader to be ready was too small.
> 3. memory referencing after freeing
> 4. MAC addresses wrapping
> 5. Missing SFP unbind (phylink release) of a port during the port release.
I don't see any problems with 3-5. Maybe post them independent of the
first 2 and they can be merged.
Are you really saying it is impossible to determine if the hardware is
in the boot loader waiting for firmware, or is running the firmware?
Andrew