Thread (52 messages) 52 messages, 9 authors, 2023-11-27

Re: [PATCH net-next 7/9] firmware_loader: Expand Firmware upload error codes

From: Conor Dooley <conor@kernel.org>
Date: 2023-11-16 17:45:01
Also in: linux-devicetree, linux-doc, lkml

On Thu, Nov 16, 2023 at 03:01:39PM +0100, Kory Maincent wrote:
No error code are available to signal an invalid firmware content.
Drivers that can check the firmware content validity can not return this
specific failure to the user-space

Expand the firmware error code with an additional code:
- "firmware invalid" code which can be used when the provided firmware
  is invalid

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
This would be rather helpful to me for some stuff that I am currently
working on and was hoping to send to Arnd for inclusion in 6.8:
https://lore.kernel.org/all/20231020-series-uncooked-077b107af3ae@spud/ (local)

I'm currently returning a "HW_ERROR" for something that this would fit
the bill for (in mpfs_auto_update_write()). What would the ETA for this
stuff landing via the net tree be?
Since I am not a netdev contributor its hard to tell how controversial
these patches are!

Cheers,
Conor.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help