Project

General

Profile

Actions

Issue #2326

open

Review Linux 6.0 userspace firmware related changes

Added by Denis 'GNUtoo' Carikli over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/08/2022
Due date:
% Done:

0%

Estimated time:
Upstream patch status:
Work not started
Grant:
Type of work:
Wiki editions
Actions #1

Updated by Denis 'GNUtoo' Carikli over 1 year ago

Kernelnewbies talks about "Add the ability for userspace to initiate the firmware load when it needs to, instead of being always initiated by the kernel"[1].

Why this is useful:
  • libsamsung-ipc currently use a non-standard driver to upload the firmware. The firmware file may or may not have a partition header and the individual partitions need to be sent to the modem, potentially with the memory address at which the modem needs to load them (we have various generations with various upload / transport methods depending on the device,). So that makes it complicated to use the standard firmware upload mechanism (we'd need to bind mount a range inside the firmware file to create new files out of it, or use fuse to produce the new files, etc). So if userspace has more control it could fit our needs.
  • There was also a firmware loading issue with WiFi where we re-trigger the firmware load as a workaround because the firmware is loaded too soon
Patches to review:

1 https://kernelnewbies.org/LinuxChanges for Linux 6.0

Actions

Also available in: Atom PDF