1. Apr 01, 2021
    • Rob Herring's avatar
      ASoC: dt-bindings: Use OF graph schema · ec1c8302
      Rob Herring authored
      
      
      Now that we have an OF graph schema, let's use it for the
      audio-graph-port schema.
      
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: alsa-devel@alsa-project.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20210331142748.2163272-3-robh@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ec1c8302
    • Rob Herring's avatar
      ASoC: dt-bindings: Move port/ports properties out of audio-graph-port.yaml · 9c1e0439
      Rob Herring authored
      
      
      Users of the audio-graph-port schema need to define how many ports
      and what each port is, so they need to define 'ports' and/or 'port'
      anyways. Let's drop 'ports' and 'port' from the schema and adjust users
      to reference audio-graph-port.yaml from a port property.
      
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Lubomir Rintel <lkundrak@v3.sk>
      Cc: Sameer Pujar <spujar@nvidia.com>
      Cc: alsa-devel@alsa-project.org
      Cc: linux-tegra@vger.kernel.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20210331142748.2163272-2-robh@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9c1e0439
    • Mark Brown's avatar
      Merge tag 'mute-led-rework' of... · ad858508
      Mark Brown authored
      Merge tag 'mute-led-rework' of https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into asoc-5.13
      
      ALSA: control - add generic LED API
      
      This patchset tries to resolve the diversity in the audio LED
      control among the ALSA drivers. A new control layer registration
      is introduced which allows to run additional operations on
      top of the elementary ALSA sound controls.
      
      A new control access group (three bits in the access flags)
      was introduced to carry the LED group information for
      the sound controls. The low-level sound drivers can just
      mark those controls using this access group. This information
      is not exported to the user space, but user space can
      manage the LED sound control associations through sysfs
      (last patch) per Mark's request. It makes things fully
      configurable in the kernel and user space (UCM).
      
      The actual state ('route') evaluation is really easy
      (the minimal value check for all channels / controls / cards).
      If there's more complicated logic for a given hardware,
      the card driver may eventually export a new read-only
      sound control for the LED group and do the logic itself.
      
      The new LED trigger control code is completely separated
      and possibly optional (there's no symbol dependency).
      The full code separation allows eventually to move this
      LED trigger control to the user space in future.
      Actually it replaces the already present functionality
      in the kernel space (HDA drivers) and allows a quick adoption
      for the recent hardware (ASoC codecs including SoundWire).
      
      snd_ctl_led            24576  0
      
      The sound driver implementation is really easy:
      
      1) call snd_ctl_led_request() when control LED layer should be
         automatically activated
         / it calls module_request("snd-ctl-led") on demand /
      2) mark all related kcontrols with
              SNDRV_CTL_ELEM_ACCESS_SPK_LED or
              SNDRV_CTL_ELEM_ACCESS_MIC_LED
      
      Link: https://lore.kernel.org/r/20210317172945.842280-1-perex@perex.cz
      
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ad858508
  2. Mar 31, 2021
  3. Mar 30, 2021
  4. Mar 29, 2021
    • Linus Torvalds's avatar
      Linux 5.12-rc5 · a5e13c6d
      Linus Torvalds authored
      a5e13c6d
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v5.12-2020-03-28' of... · f9e2bb42
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v5.12-2020-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tooling fixes from Arnaldo Carvalho de Melo:
      
       - Avoid write of uninitialized memory when generating PERF_RECORD_MMAP*
         records.
      
       - Fix 'perf top' BPF support related crash with perf_event_paranoid=3 +
         kptr_restrict.
      
       - Validate raw event with sysfs exported format bits.
      
       - Fix waipid on SIGCHLD delivery bugs in 'perf daemon'.
      
       - Change to use bash for daemon test on Debian, where the default is
         dash and thus fails for use of bashisms in this test.
      
       - Fix memory leak in vDSO found using ASAN.
      
       - Remove now useless (due to the fact that BPF now supports static
         vars) failing sub test "BPF relocation checker".
      
       - Fix auxtrace queue conflict.
      
       - Sync linux/kvm.h with the kernel sources.
      
      * tag 'perf-tools-fixes-for-v5.12-2020-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf test: Change to use bash for daemon test
        perf record: Fix memory leak in vDSO found using ASAN
        perf test: Remove now useless failing sub test "BPF relocation checker"
        perf daemon: Return from kill functions
        perf daemon: Force waipid for all session on SIGCHLD delivery
        perf top: Fix BPF support related crash with perf_event_paranoid=3 + kptr_restrict
        perf pmu: Validate raw event with sysfs exported format bits
        perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
        tools headers UAPI: Sync linux/kvm.h with the kernel sources
        perf synthetic-events: Fix uninitialized 'kernel_thread' variable
        perf auxtrace: Fix auxtrace queue conflict
      f9e2bb42
    • Linus Torvalds's avatar
      Merge tag 'auxdisplay-for-linus-v5.12-rc6' of git://github.com/ojeda/linux · 3fef15f8
      Linus Torvalds authored
      Pull auxdisplay fix from Miguel Ojeda:
       "Remove in_interrupt() usage (Sebastian Andrzej Siewior)"
      
      * tag 'auxdisplay-for-linus-v5.12-rc6' of git://github.com/ojeda/linux:
        auxdisplay: Remove in_interrupt() usage.
      3fef15f8
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 36a14638
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "Two fixes:
      
         - Fix build failure on Ubuntu with new GCC packages that turn
           on -fcf-protection
      
         - Fix SME memory encryption PTE encoding bug - AFAICT the code
           worked on 4K page sizes (level 1) but had the wrong shift at
           higher page level orders (level 2 and higher)"
      
      * tag 'x86-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/build: Turn off -fcf-protection for realmode targets
        x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
      36a14638
    • Linus Torvalds's avatar
      Merge tag 'locking-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 47fbbc94
      Linus Torvalds authored
      Pull locking fix from Ingo Molnar:
       "Fix the non-debug mutex_lock_io_nested() method to map to
        mutex_lock_io() instead of mutex_lock().
      
        Right now nothing uses this API explicitly, but this is an
        accident waiting to happen"
      
      * tag 'locking-urgent-2021-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/mutex: Fix non debug version of mutex_lock_io_nested()
      47fbbc94
    • Linus Torvalds's avatar
      Merge tag '5.12-rc4-smb3' of git://git.samba.org/sfrench/cifs-2.6 · 81b1d39f
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Five cifs/smb3 fixes, two for stable.
      
        Includes an important fix for encryption and an ACL fix, as well as a
        fix for possible reflink data corruption"
      
      * tag '5.12-rc4-smb3' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: fix cached file size problems in duplicate extents (reflink)
        cifs: Silently ignore unknown oplock break handle
        cifs: revalidate mapping when we open files for SMB1 POSIX
        cifs: Fix chmod with modefromsid when an older ACE already exists.
        cifs: Adjust key sizes and key generation routines for AES256 encryption
      81b1d39f