[SRU][oem-b-osp1][PULL] sound:asoc:sof update the sof driver to intel pv release

Hui Wang hui.wang at canonical.com
Mon Jun 3 02:52:53 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1826181

Intel released the sof driver of PV version May 31th, there are 50
more patches based on beta release. All new patches are limited to
soc/sof driver, it is safe for other subsytstems.

[Impact]
Our OEM project need to enable a couple of laptops which connect the dmic
directly to the PCH, there is no driver for this design in the linux kernel,
so we need to integrate Intel's sof driver.


[Fix]
Intel provided a sof driver tree based on v5.0, it is for oem-d kernel

[Test Case]
Intel tested the audio functions, the testing result is good.

I also made a simple test, speaker, headphone, dmic and headset-mic
worked.

[Regression Risk]
Low. So far both Intel side and I have not found any regression introduced by this
patchset, and to lower the risk, we only integrate the driver to oem-d kernel,
and after the image is ready, the oem project will perform the full-range test.


The following changes since commit 55f194b47e671599b850643f9419e184706172af:

  Revert "ASoC:SOF:get spcm from FE dai link during BE dai link prepare" (2019-06-01 17:17:56 +0800)

are available in the Git repository at:

  git at github.com:jason77-wang/oem.git sof-pv

for you to fetch changes up to 723615b8b46bc4f1284237e53732e0ee63102108:

  UBUNTU: SAUCE: [Config-oem] Enable two platforms for snd_sof (2019-06-01 17:21:47 +0800)

----------------------------------------------------------------
Amadeusz Sławiński (1):
      ALSA: hdac: fix memory release for SST and SOF drivers

Bard Liao (8):
      Revert "ASoC:SOF: fix FW loaded failed"
      Revert "ALSA: hdac: fix memory release for SST and SOF drivers"
      ALSA: hda - Force polling mode on CNL for fixing codec communication
      ALSA: hda: assign polling_mode after azx_bus_init
      ALSA: hda: move polling_mode flag to struct hdac_bus
      ALSA: hda: add polling mode in snd_hdac_bus_get_response
      ASoC: SOF: Force polling mode on CFL and CNL
      ALSA: hda: fix: lock reg_lock before calling snd_hdac_bus_update_rirb

Evan Green (1):
      ASoC: SOF: Add Comet Lake PCI IDs

Guennadi Liakhovetski (1):
      ASoC: SOF: ipc: fix a race, leading to IPC timeouts

Hui Wang (1):
      UBUNTU: SAUCE: [Config-oem] Enable two platforms for snd_sof

Kai Vehmanen (2):
      ASoC: SOF: fix race in FW boot timeout handling
      ASoC: SOF: fix DSP oops definitions in FW ABI

Kailang Yang (1):
      ALSA: hda/realtek - Check headset type by unplug and resume

Keyon Jie (7):
      ASoC: SOF: topology: refine multi-core power up/down to avoid core status chaos
      ASoC: SOF: PCM: add period_elapsed work to fix race condition in interrupt context
      ASoC: SOF: Intel: use snd_sof_pcm_period_elapsed
      ASoC: SOF: ipc: use snd_sof_pcm_period_elapsed
      ASoC: SOF: control: correct the copy size for bytes kcontrol put
      ASoC: SOF: Intel: hda: switch to use legacy IRQ mode
      ASoC: SOF: intel: hda-stream: fix a deadlock with bus->reg_lock

Libin Yang (4):
      ASoC: codec: hdac_hdmi: no checking monitor in hw_params
      ASoC: SOF: pcm: clear hw_params_upon_resume flag correctly
      ASoC: intel: skl_hda_dsp_common: create HDMI jack kctl
      ASoC: hdac_hdmi: jack hotplug in S3

Pan Xiuli (4):
      ASoC: SOF: IPC: add ipc dump function
      ASoC: SOF: Intel: APL: add ipc dump function
      ASoC: SOF: Intel: CNL: add ipc dump function
      ASoC: SOF: soundwire: add initial soundwire support

Pierre-Louis Bossart (6):
      ASoC: SOF: enable DEBUG by default
      ASoC: SOF: uapi: align comments with firmware files
      ASoC: SOF: uapi: mirror firmware changes
      ASoC: SOF: core: fix error handling with the probe workqueue
      ASoC: SOF: bump to ABI 3.6
      ASoC: SOF: Intel: hda-dsp: fix compilation warning

Ranjani Sridharan (13):
      ASoC: SOF: intel: hda: add hw_params_upon_resume flag for hda stream
      ASoC: SOF: pcm: remove runtime PM calls during pcm open/close
      ASoC: SOF: fix error in verbose ipc command parsing
      ASoC: SOF: core: remove DSP after unregistering machine driver
      ASoC: SOF: core: remove snd_soc_unregister_component in case of error
      ASoC: SOF: hda: save handle to sdev in sof_intel_hda_stream
      ASoC: SOF: topology: add cpu_dai_name for DAIs
      ASoC: SOF: Intel: hda: add new macro hstream_to_sof_hda_stream()
      ASoC: SOF: assign link DMA channel at run-time
      ASoC: SOF: hda: reserve host DMA channel for hostless streams
      ASoC: SOF: Intel: hda: release link DMA for paused streams during suspend
      ASoC: SOF: hda: couple host and link DMA during FE hw_free
      ASoC: SOF: hda: set autosuspend delay for hda bus device

 debian.oem-osp1/config/config.common.ubuntu |   4 ++
 include/sound/hdaudio.h                     |   3 ++
 include/sound/sof/dai.h                     |   1 +
 include/sound/sof/header.h                  |  23 ++++++++++++
 include/sound/sof/topology.h                |   4 +-
 include/sound/sof/trace.h                   |   4 +-
 include/sound/sof/xtensa.h                  |   9 ++++-
 include/uapi/sound/sof/abi.h                |   2 +-
 sound/hda/hdac_controller.c                 |   2 +
 sound/pci/hda/hda_controller.c              |  12 +++---
 sound/pci/hda/hda_controller.h              |   2 -
 sound/pci/hda/hda_intel.c                   |   9 +++--
 sound/pci/hda/patch_realtek.c               |  10 +++--
 sound/soc/codecs/hdac_hdmi.c                |  18 +--------
 sound/soc/intel/boards/skl_hda_dsp_common.c |   5 +++
 sound/soc/sof/Makefile                      |   2 +
 sound/soc/sof/control.c                     |   9 +++--
 sound/soc/sof/core.c                        |  29 +++++++++++++--
 sound/soc/sof/intel/Kconfig                 |  32 ++++++++++++++++
 sound/soc/sof/intel/Makefile                |   2 +
 sound/soc/sof/intel/apl.c                   |   3 ++
 sound/soc/sof/intel/bdw.c                   |  28 ++++++++------
 sound/soc/sof/intel/byt.c                   |  27 ++++++++------
 sound/soc/sof/intel/cnl.c                   |  27 ++++++++++++++
 sound/soc/sof/intel/hda-codec.c             |   4 ++
 sound/soc/sof/intel/hda-dai.c               | 307 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------
 sound/soc/sof/intel/hda-dsp.c               |  43 ++++++++++++++++++++++
 sound/soc/sof/intel/hda-ipc.c               |  19 ++++++++--
 sound/soc/sof/intel/hda-stream.c            |  38 +++++++++++++++++--
 sound/soc/sof/intel/hda.c                   |  73 ++++++++++++++++++++++--------------
 sound/soc/sof/intel/hda.h                   |  10 +++++
 sound/soc/sof/ipc.c                         |  18 ++-------
 sound/soc/sof/loader.c                      |   2 +
 sound/soc/sof/ops.h                         |  24 ++++++++++++
 sound/soc/sof/pcm.c                         |  90 ++++++++++++++++++++++++++++++---------------
 sound/soc/sof/pm.c                          |  25 +++++++++++--
 sound/soc/sof/sof-pci-dev.c                 |  28 ++++++++++++++
 sound/soc/sof/sof-priv.h                    |  11 ++++++
 sound/soc/sof/topology.c                    |  71 ++++++++++++-----------------------
 sound/soc/sof/xtensa/Makefile               |   2 +
 sound/soc/sof/xtensa/core.c                 |   2 +-
 41 files changed, 731 insertions(+), 303 deletions(-)



-- 
2.17.1




More information about the kernel-team mailing list