1. 25 Jan, 2022 4 commits
    • Mark Brown's avatar
      ASoC: sh: rz-ssi: Code cleanup and fixes · d2fe7fc5
      Mark Brown authored
      Merge series from Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>:
      
      Hi All,
      
      This patch series does code cleanup and fixes to the rz-ssi driver.
      
      Cheers,
      Prabhakar
      
      Lad Prabhakar (5):
        ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
        ASoC: sh: rz-ssi: Make the data structures available before
          registering the handlers
        ASoC: sh: rz-ssi: Drop ssi parameter from rz_ssi_stream_init()
        ASoC: sh: rz-ssi: Make return type of rz_ssi_stream_is_valid() to bool
        ASoC: sh: rz-ssi: Add functions to get/set substream pointer
      
       sound/soc/sh/rz-ssi.c | 147 ++++++++++++++++++++++++------------------
       1 file changed, 86 insertions(+), 61 deletions(-)
      
      --
      2.17.1
      d2fe7fc5
    • Mark Brown's avatar
      ASoC: Xilinx fixes · 8bcd0f12
      Mark Brown authored
      Merge series from Robert Hancock <robert.hancock@calian.com>:
      
      There are drivers in mainline for the Xilinx Audio Formatter and Xilinx
      I2S IP cores. However, because of a few issues, these were only really
      usable with Xilinx's xlnx_pl_snd_card top-level driver, which is not in
      mainline (and not suitable for mainline).
      
      The fixes in this patchset, for the simple-card layer as well as the
      Xilinx drivers, now allow these drivers to be properly used with
      simple-card without any out-of-tree support code.
      8bcd0f12
    • Mark Brown's avatar
      ASoC: SOF: Intel: don't download firmware at each resume · 01f5060e
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      After the first firmware boot, the firmware is capable of
      saving/restoring its context to/from IMR (Isolated Memory Region, set
      aside by BIOS on startup). This capability improves the resume speed.
      
      Due to an unexplained issue on Up2 boards, this capability is disabled
      on ApolloLake.
      
      For backwards compatibility, the regular boot flow is used with older
      firmware. For added peace of mind, a kernel module parameter is
      provided to force the regular boot flow - this shouldn't be necessary
      since we've been testing these patches for 6+ months.
      01f5060e
    • Mark Brown's avatar
      ASoC: topology: Fixes · cef982dc
      Mark Brown authored
      Merge series from Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>:
      
      Following series performs few cleanups in topology code.
      
      First patch reduces number of prints we get from failure.
      Second allos TLV controls to be either read or write which should be
      possible as evidenced by further code in function.
      Last one cleanups after refactoring of memory handling.
      
      v2:
       - Add missing Fixes tag on second patch
       - Add Reviewed-by tag from Pierre
      
      Amadeusz Sławiński (3):
        ASoC: topology: Remove superfluous error prints
        ASoC: topology: Allow TLV control to be either read or write
        ASoC: topology: Optimize soc_tplg_dapm_graph_elems_load behavior
      
       sound/soc/soc-topology.c | 103 ++++++++++-----------------------------
       1 file changed, 27 insertions(+), 76 deletions(-)
      
      --
      2.25.1
      cef982dc
  2. 24 Jan, 2022 25 commits
  3. 23 Jan, 2022 6 commits
    • Linus Torvalds's avatar
      Linux 5.17-rc1 · e783362e
      Linus Torvalds authored
      e783362e
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v5.17-2022-01-22' of... · 40c84321
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v5.17-2022-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Fix printing 'phys_addr' in 'perf script'.
      
       - Fix failure to add events with 'perf probe' in ppc64 due to not
         removing leading dot (ppc64 ABIv1).
      
       - Fix cpu_map__item() python binding building.
      
       - Support event alias in form foo-bar-baz, add pmu-events and
         parse-event tests for it.
      
       - No need to setup affinities when starting a workload or attaching to
         a pid.
      
       - Use path__join() to compose a path instead of ad-hoc snprintf()
         equivalent.
      
       - Override attr->sample_period for non-libpfm4 events.
      
       - Use libperf cpumap APIs instead of accessing the internal state
         directly.
      
       - Sync x86 arch prctl headers and files changed by the new
         set_mempolicy_home_node syscall with the kernel sources.
      
       - Remove duplicate include in cpumap.h.
      
       - Remove redundant err variable.
      
      * tag 'perf-tools-for-v5.17-2022-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf tools: Remove redundant err variable
        perf test: Add parse-events test for aliases with hyphens
        perf test: Add pmu-events test for aliases with hyphens
        perf parse-events: Support event alias in form foo-bar-baz
        perf evsel: Override attr->sample_period for non-libpfm4 events
        perf cpumap: Remove duplicate include in cpumap.h
        perf cpumap: Migrate to libperf cpumap api
        perf python: Fix cpu_map__item() building
        perf script: Fix printing 'phys_addr' failure issue
        tools headers UAPI: Sync files changed by new set_mempolicy_home_node syscall
        tools headers UAPI: Sync x86 arch prctl headers with the kernel sources
        perf machine: Use path__join() to compose a path instead of snprintf(dir, '/', filename)
        perf evlist: No need to setup affinities when disabling events for pid targets
        perf evlist: No need to setup affinities when enabling events for pid targets
        perf stat: No need to setup affinities when starting a workload
        perf affinity: Allow passing a NULL arg to affinity__cleanup()
        perf probe: Fix ppc64 'perf probe add events failed' case
      40c84321
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 67bfce0e
      Linus Torvalds authored
      Pull ftrace fix from Steven Rostedt:
       "Fix s390 breakage from sorting mcount tables.
      
        The latest merge of the tracing tree sorts the mcount table at build
        time. But s390 appears to do things differently (like always) and
        replaces the sorted table back to the original unsorted one. As the
        ftrace algorithm depends on it being sorted, bad things happen when it
        is not, and s390 experienced those bad things.
      
        Add a new config to tell the boot if the mcount table is sorted or
        not, and allow s390 to opt out of it"
      
      * tag 'trace-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        ftrace: Fix assuming build time sort works for s390
      67bfce0e
    • Steven Rostedt (Google)'s avatar
      ftrace: Fix assuming build time sort works for s390 · 6b9b6413
      Steven Rostedt (Google) authored
      To speed up the boot process, as mcount_loc needs to be sorted for ftrace
      to work properly, sorting it at build time is more efficient than boot up
      and can save milliseconds of time. Unfortunately, this change broke s390
      as it will modify the mcount_loc location after the sorting takes place
      and will put back the unsorted locations. Since the sorting is skipped at
      boot up if it is believed that it was sorted at run time, ftrace can crash
      as its algorithms are dependent on the list being sorted.
      
      Add a new config BUILDTIME_MCOUNT_SORT that is set when
      BUILDTIME_TABLE_SORT but not if S390 is set. Use this config to determine
      if sorting should take place at boot up.
      
      Link: https://lore.kernel.org/all/yt9dee51ctfn.fsf@linux.ibm.com/
      
      Fixes: 72b3942a ("scripts: ftrace - move the sort-processing in ftrace_init")
      Reported-by: default avatarSven Schnelle <svens@linux.ibm.com>
      Tested-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      6b9b6413
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.17' of... · 473aec0e
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Bring include/uapi/linux/nfc.h into the UAPI compile-test coverage
      
       - Revert the workaround of CONFIG_CC_IMPLICIT_FALLTHROUGH
      
       - Fix build errors in certs/Makefile
      
      * tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        certs: Fix build error when CONFIG_MODULE_SIG_KEY is empty
        certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URI
        Revert "Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH"
        usr/include/Makefile: add linux/nfc.h to the compile-test coverage
      473aec0e
    • Linus Torvalds's avatar
      Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linux · 3689f9f8
      Linus Torvalds authored
      Pull bitmap updates from Yury Norov:
      
       - introduce for_each_set_bitrange()
      
       - use find_first_*_bit() instead of find_next_*_bit() where possible
      
       - unify for_each_bit() macros
      
      * tag 'bitmap-5.17-rc1' of git://github.com/norov/linux:
        vsprintf: rework bitmap_list_string
        lib: bitmap: add performance test for bitmap_print_to_pagebuf
        bitmap: unify find_bit operations
        mm/percpu: micro-optimize pcpu_is_populated()
        Replace for_each_*_bit_from() with for_each_*_bit() where appropriate
        find: micro-optimize for_each_{set,clear}_bit()
        include/linux: move for_each_bit() macros from bitops.h to find.h
        cpumask: replace cpumask_next_* with cpumask_first_* where appropriate
        tools: sync tools/bitmap with mother linux
        all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriate
        cpumask: use find_first_and_bit()
        lib: add find_first_and_bit()
        arch: remove GENERIC_FIND_FIRST_BIT entirely
        include: move find.h from asm_generic to linux
        bitops: move find_bit_*_le functions from le.h to find.h
        bitops: protect find_first_{,zero}_bit properly
      3689f9f8
  4. 22 Jan, 2022 5 commits