Skip to content

[Loader] Use fallback methodology when loading #2766

Closed

Description

@cujomalainey

Now that devices are starting to support non-upstream-able firmware they will start specifying alternative paths for the topology. If the device does this via something like the AP firmware that generates kernel command line parameters then these paths will persist through to additional OSes. These args as a result will break audio since the driver will not find the firmware at the specified location since a different OS is loaded. The solution is to let the driver gradually fallback when checking locations from more specific to less specific to preserve audio functionality on non default OSes.

So each step, should the file be missing, will continue onto the next, if file is found, stop and load it

  1. If specified, check module params (via conf or cmdline args)
  2. dmi match if found
  3. default matching based on acpi/pci IDs.

FYI @plbossart @ranj063

Activity

  1. added
    P3Low-impact bugs or features
    and removed
    P2Critical bugs or normal features
    on Mar 25, 2021
  2. cujomalainey commented on Mar 25, 2021

    @cujomalainey
    Author

    Reducing priority since we found a work around locally

  3. cujomalainey commented on Mar 12, 2022

    @cujomalainey
    Author

    @plbossart this is done now right?

  4. plbossart commented on Mar 14, 2022

    @plbossart
    Member

    @plbossart this is done now right?

    For PCI only.

  5. cujomalainey commented on Mar 15, 2022

    @cujomalainey
    Author

    I don't see a need on legacy acpi platforms. OF is a different story

  6. plbossart commented on Jul 20, 2022

    @plbossart
    Member

    we have the ability to override paths, filenames, use DMI quirks, there are more than enough solutions. closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3Low-impact bugs or featuresenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions