Message ID | 20200303003305.6152-1-hui.wang@canonical.com |
---|---|
Headers | show |
Series | alsa/sof: load different firmware on different platforms | expand |
On Tue, Mar 03, 2020 at 08:32:56AM +0800, Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. Applied to focal/master-next, thanks!
On 03.03.20 01:32, Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. Hi Hui Wang, The fixes for #1861837 were applied only to bionic/linux-oem-osp1. Is it safe to apply these changes to eoan/linux as well? Thank you, Kleber > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. > > > Liam Girdwood (1): > ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. > > Pierre-Louis Bossart (2): > ASoC: SOF: Intel: hda: use fallback for firmware name > ASoC: Intel: acpi-match: split CNL tables in three > > include/sound/soc-acpi-intel-match.h | 2 + > sound/soc/intel/common/Makefile | 3 +- > .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ > .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ > .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- > sound/soc/sof/intel/hda.c | 11 +++- > sound/soc/sof/sof-pci-dev.c | 8 +-- > 7 files changed, 91 insertions(+), 38 deletions(-) > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c >
On 2020/3/10 下午7:18, Kleber Souza wrote: > On 03.03.20 01:32, Hui Wang wrote: >> BugLink: https://bugs.launchpad.net/bugs/1857409 >> >> Because we already merged the fix for #1861837, it is safe to merge >> these patchset now, so I resend those patches. > Hi Hui Wang, > > The fixes for #1861837 were applied only to bionic/linux-oem-osp1. Is it > safe to apply these changes to eoan/linux as well? It is safe to apply to eoan and focal. And for the fixes of #1861837, they are for focal, eoan and oem-osp1, I remember I sent the patches for focal, eoan and oem-osp1. Just created nominations for #1861837. Thanks, Hui. > > > Thank you, > Kleber > >> [Impact] >> In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) >> on all platforms, but mainline kernel already supported the multi >> firmwares on differnt platforms, and OEM project needs us to >> support the mutli-firmware names in the ubuntu kernel >> >> [Fix] >> cherry-pick 3 upstream patches, then on cnl platforms, it will >> load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl >> platforms, it will load sof-cfl.ri >> >> >> [Test Case] >> Prepare the firmware from https://github.com/thesofproject/linux-firmware >> master branch, then boot the kernel with these patches. >> >> [Regression Risk] >> Low, just let different platforms load differnt firmware, and these >> patches are in the upstream kernel. >> >> >> Liam Girdwood (1): >> ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. >> >> Pierre-Louis Bossart (2): >> ASoC: SOF: Intel: hda: use fallback for firmware name >> ASoC: Intel: acpi-match: split CNL tables in three >> >> include/sound/soc-acpi-intel-match.h | 2 + >> sound/soc/intel/common/Makefile | 3 +- >> .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ >> .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ >> .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- >> sound/soc/sof/intel/hda.c | 11 +++- >> sound/soc/sof/sof-pci-dev.c | 8 +-- >> 7 files changed, 91 insertions(+), 38 deletions(-) >> create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c >> create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c >>
On 03.03.20 01:32, Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. > > > Liam Girdwood (1): > ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. > > Pierre-Louis Bossart (2): > ASoC: SOF: Intel: hda: use fallback for firmware name > ASoC: Intel: acpi-match: split CNL tables in three > > include/sound/soc-acpi-intel-match.h | 2 + > sound/soc/intel/common/Makefile | 3 +- > .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ > .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ > .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- > sound/soc/sof/intel/hda.c | 11 +++- > sound/soc/sof/sof-pci-dev.c | 8 +-- > 7 files changed, 91 insertions(+), 38 deletions(-) > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c > For Eoan: Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
On 03.03.20 01:32, Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. > > > Liam Girdwood (1): > ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. > > Pierre-Louis Bossart (2): > ASoC: SOF: Intel: hda: use fallback for firmware name > ASoC: Intel: acpi-match: split CNL tables in three > > include/sound/soc-acpi-intel-match.h | 2 + > sound/soc/intel/common/Makefile | 3 +- > .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ > .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ > .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- > sound/soc/sof/intel/hda.c | 11 +++- > sound/soc/sof/sof-pci-dev.c | 8 +-- > 7 files changed, 91 insertions(+), 38 deletions(-) > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c > From the bug task it seems not committed to Focal, despite the email... Acked-by: Stefan Bader <stefan.bader@canonical.com>
On 2020-03-03 08:32:56 , Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. > > > Liam Girdwood (1): > ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. > > Pierre-Louis Bossart (2): > ASoC: SOF: Intel: hda: use fallback for firmware name > ASoC: Intel: acpi-match: split CNL tables in three > > include/sound/soc-acpi-intel-match.h | 2 + > sound/soc/intel/common/Makefile | 3 +- > .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ > .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ > .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- > sound/soc/sof/intel/hda.c | 11 +++- > sound/soc/sof/sof-pci-dev.c | 8 +-- > 7 files changed, 91 insertions(+), 38 deletions(-) > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c > > -- > 2.17.1 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team
On 2020-03-03 08:32:56 , Hui Wang wrote: > BugLink: https://bugs.launchpad.net/bugs/1857409 > > Because we already merged the fix for #1861837, it is safe to merge > these patchset now, so I resend those patches. > > [Impact] > In our ubuntu kernel, the sof driver will load the sof-cnl.ri (firmware) > on all platforms, but mainline kernel already supported the multi > firmwares on differnt platforms, and OEM project needs us to > support the mutli-firmware names in the ubuntu kernel > > [Fix] > cherry-pick 3 upstream patches, then on cnl platforms, it will > load sof-cnl.ri, on cml platfomrs, it will load sof-cml.ri, on cfl > platforms, it will load sof-cfl.ri > > > [Test Case] > Prepare the firmware from https://github.com/thesofproject/linux-firmware > master branch, then boot the kernel with these patches. > > [Regression Risk] > Low, just let different platforms load differnt firmware, and these > patches are in the upstream kernel. > > > Liam Girdwood (1): > ASoC: SOF: Intel: Fix CFL and CML FW nocodec binary names. > > Pierre-Louis Bossart (2): > ASoC: SOF: Intel: hda: use fallback for firmware name > ASoC: Intel: acpi-match: split CNL tables in three > > include/sound/soc-acpi-intel-match.h | 2 + > sound/soc/intel/common/Makefile | 3 +- > .../intel/common/soc-acpi-intel-cfl-match.c | 18 ++++++ > .../intel/common/soc-acpi-intel-cml-match.c | 56 +++++++++++++++++++ > .../intel/common/soc-acpi-intel-cnl-match.c | 31 ---------- > sound/soc/sof/intel/hda.c | 11 +++- > sound/soc/sof/sof-pci-dev.c | 8 +-- > 7 files changed, 91 insertions(+), 38 deletions(-) > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cfl-match.c > create mode 100644 sound/soc/intel/common/soc-acpi-intel-cml-match.c > > -- > 2.17.1 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team