Project

General

Profile

Actions

Issue #2326

open

Review Linux 6.0 userspace firmware related changes

Added by Denis 'GNUtoo' Carikli almost 2 years ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
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 almost 2 years 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 #2

Updated by Denis 'GNUtoo' Carikli 5 months ago

  • Target version set to Replicant 11.0 0001
Actions #3

Updated by Denis 'GNUtoo' Carikli 5 months ago

  • Target version changed from Replicant 11.0 0001 to Replicant 11.0
Actions

Also available in: Atom PDF