[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240206165406.24008997@kmaincent-XPS-13-7390>
Date: Tue, 6 Feb 2024 16:54:06 +0100
From: Köry Maincent <kory.maincent@...tlin.com>
To: netdev@...r.kernel.org, Taras Chornyi <taras.chornyi@...ision.eu>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>, Miquel Raynal
<miquel.raynal@...tlin.com>
Subject: Prestera driver fail to probe twice
Hello,
It seems the prestera driver has never been tested as a module or in a
probe defer case:
# insmod /mnt/prestera.ko
# insmod /mnt/prestera_pci.ko
[ 87.927343] Prestera DX 0000:01:00.0: Loading mrvl/prestera/mvsw_prestera_fw-v4.1.img ...
[ 87.935600] Prestera DX 0000:01:00.0: FW version '4.1.0'
[ 91.556693] Prestera DX 0000:01:00.0: Prestera FW is ready
[ 99.431226] Prestera DX 0000:01:00.0: using random base mac address
# rmmod /mnt/prestera_pci.ko
# insmod /mnt/prestera_pci.ko
[ 122.938273] Prestera DX 0000:01:00.0: waiting for FW loader is timed out
[ 122.945163] prestera_pci_probe : 944, err -110
[ 122.949704] Prestera DX: probe of 0000:01:00.0 failed with error -110
We have to find a way to detect if the firmware has already been flashed.
I am not familiar with this controller and don't have its datasheet.
Could someone handle it?
Thanks,
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Powered by blists - more mailing lists