Skip to content
Permalink
Vitaly-Rodiono…
Switch branches/tags

Commits on Mar 15, 2021

  1. ALSA: hda/cirrus: Make CS8409 driver more generic by using fixups.

    CS8409/CS42L42 Driver currently does most of the platform specific
    setup inside the main body of the code, however, this setup can be
    moved into fixup functions, to make the driver more generic.
    
    Making the driver more generic, allows the driver to use the
    cs_parse_auto_config function in the patch function. This function
    forces all of the ADCs to be permanently powered, which means the
    cap_sync_hook function is no longer needed to restart the stream, when
    the jack has been ejected.
    
    Since the codec is re-initialized on every init/resume, there is no
    need to add specific verbs to be run on init, and instead these can
    be combined with the initialization verbs, which are run on init.
    
    In addition, the extra fixup verbs are no longer required, since this
    is taken care of elsewhere.
    
    Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    Stefan Binding authored and intel-lab-lkp committed Mar 15, 2021
  2. ALSA: hda/cirrus: Fix CS42L42 Headset Mic volume control name

    Existing name "Headset Mic Volume Control" causes multiple Microphone
    entries to appear in UI. Using name "Mic Volume Control" ensures only a
    single Microphone entry exists when the Headset is connected.
    
    Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    BugLink: https://bugs.launchpad.net/bugs/1918378
    Reported-and-tested-by: You-Sheng Yang <vicamo.yang@canonical.com>
    
    Changes in v1:
    - No changes
    
    Changes in v2:
    - No changes
    Stefan Binding authored and intel-lab-lkp committed Mar 15, 2021
  3. ALSA: hda/cirrus: Cleanup patch_cirrus.c code.

    Minor changes, clean up code, remove unnecessary
    initialization of variables, reduced number of
    warnings from ./scripts/checkpatch.pl from 19 to 0
    
    Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    
    Changes in v1:
    - Fixed warning (Reported-by: kernel test robot <lkp@intel.com>)
    
    Changes in v2:
    - No Changes
    Stefan Binding authored and intel-lab-lkp committed Mar 15, 2021
  4. ALSA: hda/cirrus: Add error handling into CS8409 I2C functions

    Also removing 2 redundant cs8409_i2c_read() calls, as we already did read
    them in a code above.
    
    Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    
    Changes in v1:
    - No changes
    
    Changes in v2:
    - Chanaged commit message to describe removal of 2 cs8409_i2c_read()s.
    - Added comments for i2c_read/write functions
    - Removed redundant parentheses
    Stefan Binding authored and intel-lab-lkp committed Mar 15, 2021

Commits on Mar 11, 2021

  1. ALSA: ppc: keywest: remove outdated comment

    The I2C attach_adapter callback is gone. Remove this reference.
    
    Signed-off-by: Wolfram Sang <wsa@kernel.org>
    Link: https://lore.kernel.org/r/20210310193227.333140-1-wsa@kernel.org
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Wolfram Sang authored and tiwai committed Mar 11, 2021

Commits on Mar 7, 2021

  1. ALSA: hda/cirrus: Add Headphone and Headset MIC Volume Control

    CS8409 does not support Volume Control for NIDs 0x24 (the Headphones),
    or 0x34 (The Headset Mic).
    However, CS42L42 codec does support gain control for both.
    We can add support for Volume Controls, by writing the the CS42L42
    regmap via i2c commands, using custom info, get and put volume
    functions, saved in the control.
    
    Tested on DELL Inspiron-3500, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20210306111934.4832-5-vitalyr@opensource.cirrus.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Stefan Binding authored and tiwai committed Mar 7, 2021
  2. ALSA: hda/cirrus: Add jack detect interrupt support from CS42L42 comp…

    …anion codec.
    
    In the case of CS8409 we do not have unsol events from NID's 0x24 and 0x34
    where hs mic and hp are connected. Companion codec CS42L42 will generate
    interrupt via gpio 4 to notify jack events. We have to overwrite standard
    snd_hda_jack_unsol_event(), read CS42L42 jack detect status registers and
    then notify status via generic snd_hda_jack_unsol_event() call.
    
    Tested on DELL Inspiron-3500, DELL Inspiron-3501, DELL Inspiron-3505.
    
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20210306111934.4832-4-vitalyr@opensource.cirrus.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Vitaly Rodionov authored and tiwai committed Mar 7, 2021
  3. ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42 compa…

    …nion codec.
    
    Dell's laptops Inspiron 3500, Inspiron 3501, Inspiron 3505 are using Cirrus Logic
    CS8409 HDA bridge with CS42L42 companion codec.
    
    The CS8409 is a multichannel HD audio routing controller.
    CS8409 includes support for four channels of digital
    microphone data and two bidirectional ASPs for up to 32
    channels of TDM data or 4 channels of I2S data. The CS8409 is
    intended to be used with a remote companion codec that implements
    high performance analog functions in close physical
    proximity to the end-equipment audio port or speaker driver.
    
    The CS42L42 is a low-power audio codec with integrated MIPI
    SoundWire interface or I2C/I2S/TDM interfaces designed
    for portable applications. It provides a high-dynamic range,
    stereo DAC for audio playback and a mono high-dynamic-range
    ADC for audio capture
    
    CS42L42 is connected to CS8409 HDA bridge via I2C and I2S.
    
    CS8409          CS42L42
    -------         --------
    ASP1.A TX  -->  ASP_SDIN
    ASP1.A RX  <--  ASP_SDOUT
    GPIO5      -->  RST#
    GPIO4      <--  INT#
    GPIO3      <--  WAKE#
    GPIO7      <->  I2C SDA
    GPIO6      -->  I2C CLK
    
    Tested on DELL Inspiron-3500, DELL Inspiron-3501, DELL Inspiron-3505
    
    This patch will register CS8409 with sound card and create
    input/output paths and two input devices, initialise CS42L42
    companion codec and configure it for ASP TX/RX TDM mode,
    24bit, 48kHz.
    
    cat /proc/asound/pcm
    00-00: CS8409 Analog : CS8409 Analog : playback 1 : capture 1
    00-03: HDMI 0 : HDMI 0 : playback 1
    
    dmesg
    snd_hda_codec_cirrus hdaudioC0D0: autoconfig for CS8409: line_outs=1 (0x2c/0x0/0x0/0x0/0x0) type:speaker
    snd_hda_codec_cirrus hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    snd_hda_codec_cirrus hdaudioC0D0:    hp_outs=1 (0x24/0x0/0x0/0x0/0x0)
    snd_hda_codec_cirrus hdaudioC0D0:    mono: mono_out=0x0
    snd_hda_codec_cirrus hdaudioC0D0:    inputs:
    snd_hda_codec_cirrus hdaudioC0D0:      Internal Mic=0x44
    snd_hda_codec_cirrus hdaudioC0D0:      Mic=0x34
    input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input8
    input: HDA Intel PCH Headset Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input9
    
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20210306111934.4832-3-vitalyr@opensource.cirrus.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Vitaly Rodionov authored and tiwai committed Mar 7, 2021
  4. ALSA: hda/cirrus: Increase AUTO_CFG_MAX_INS from 8 to 18

    In preparation to support Cirrus Logic CS8409 HDA bridge on new Dell platforms
    it is nessasary to increase AUTO_CFG_MAX_INS and AUTO_CFG_NUM_INPUTS values.
    Currently AUTO_CFG_MAX_INS is limited to 8, but Cirrus Logic HDA bridge CS8409
    has 18 input pins, 16 ASP receivers and 2 DMIC inputs. We have to increase this
    value to 18, so generic code can handle this correctly.
    
    Tested on DELL Inspiron-3505, DELL Inspiron-3501, DELL Inspiron-3500
    
    Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20210306111934.4832-2-vitalyr@opensource.cirrus.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Vitaly Rodionov authored and tiwai committed Mar 7, 2021
  5. Merge tag 'tags/virtio_snd-5.12-rc2' into for-next

    ALSA: add virtio sound driver
    
    This series implements a driver part of the virtio sound device
    specification v8 [1].
    
    The driver supports PCM playback and capture substreams, jack and
    channel map controls. A message-based transport is used to write/read
    PCM frames to/from a device.
    
    As a device part was used OpenSynergy proprietary implementation.
    
    v7 changes:
     - Moved the snd_pcm_period_elapsed() call from the interrupt handler to the
       kernel worker for being consistent with the non-atomic mode of the PCM
       device.
     - Removed SNDRV_PCM_INFO_RESUME flag. Now ops->prepare() sets the parameters
       for the substream if it was previously suspended.
     - Some additional code readability improvements/comments.
    
    [1] https://lists.oasis-open.org/archives/virtio-dev/202003/msg00185.html
    
    Link: https://lore.kernel.org/r/20210302164709.3142702-1-anton.yakovlev@opensynergy.com
    tiwai committed Mar 7, 2021
  6. ALSA: virtio: introduce device suspend/resume support

    All running PCM substreams are stopped on device suspend and restarted
    on device resume.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-10-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  7. ALSA: virtio: introduce PCM channel map support

    Enumerate all available PCM channel maps and create ALSA controls.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-9-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  8. ALSA: virtio: introduce jack support

    Enumerate all available jacks and create ALSA controls.
    
    At the moment jacks have a simple implementation and can only be used
    to receive notifications about a plugged in/out device.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-8-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  9. ALSA: virtio: PCM substream operators

    Introduce the operators required for the operation of substreams.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-7-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  10. ALSA: virtio: handling control and I/O messages for the PCM device

    The driver implements a message-based transport for I/O substream
    operations. Before the start of the substream, the hardware buffer is
    sliced into I/O messages, the number of which is equal to the current
    number of periods. The size of each message is equal to the current
    size of one period.
    
    I/O messages are organized in an ordered queue. The completion of the
    I/O message indicates an elapsed period (the only exception is the end
    of the stream for the capture substream). Upon completion, the message
    is automatically re-added to the end of the queue.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-6-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  11. ALSA: virtio: build PCM devices and substream hardware descriptors

    Like the HDA specification, the virtio sound device specification links
    PCM substreams, jacks and PCM channel maps into functional groups. For
    each discovered group, a PCM device is created, the number of which
    coincides with the group number.
    
    Introduce the module parameters for setting the hardware buffer
    parameters:
      pcm_buffer_ms [=160]
      pcm_periods_min [=2]
      pcm_periods_max [=16]
      pcm_period_ms_min [=10]
      pcm_period_ms_max [=80]
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-5-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  12. ALSA: virtio: handling control messages

    The control queue can be used by different parts of the driver to send
    commands to the device. Control messages can be either synchronous or
    asynchronous. The lifetime of a message is controlled by a reference
    count.
    
    Introduce a module parameter to set the message completion timeout:
      msg_timeout_ms [=1000]
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-4-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  13. ALSA: virtio: add virtio sound driver

    Introduce skeleton of the virtio sound driver. The driver implements
    the virtio sound device specification, which has become part of the
    virtio standard.
    
    Initial initialization of the device, virtqueues and creation of an
    empty ALSA sound device.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-3-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021
  14. uapi: virtio_ids: add a sound device type ID from OASIS spec

    The OASIS virtio spec defines a sound device type ID that is not
    present in the header yet.
    
    Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
    Link: https://lore.kernel.org/r/20210302164709.3142702-2-anton.yakovlev@opensynergy.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    heneko-de authored and tiwai committed Mar 7, 2021

Commits on Mar 6, 2021

  1. Linux 5.12-rc2

    torvalds committed Mar 6, 2021
  2. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/rdma/rdma
    
    Pull rdma fixes from Jason Gunthorpe:
     "Nothing special here, though Bob's regression fixes for rxe would have
      made it before the rc cycle had there not been such strong winter
      weather!
    
       - Fix corner cases in the rxe reference counting cleanup that are
         causing regressions in blktests for SRP
    
       - Two kdoc fixes so W=1 is clean
    
       - Missing error return in error unwind for mlx5
    
       - Wrong lock type nesting in IB CM"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
      RDMA/rxe: Fix errant WARN_ONCE in rxe_completer()
      RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt()
      RDMA/rxe: Fix missed IB reference counting in loopback
      RDMA/uverbs: Fix kernel-doc warning of _uverbs_alloc
      RDMA/mlx5: Set correct kernel-doc identifier
      IB/mlx5: Add missing error code
      RDMA/rxe: Fix missing kconfig dependency on CRYPTO
      RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
    torvalds committed Mar 6, 2021
  3. Merge tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/kees/linux
    
    Pull gcc-plugins fixes from Kees Cook:
     "Tiny gcc-plugin fixes for v5.12-rc2. These issues are small but have
      been reported a couple times now by static analyzers, so best to get
      them fixed to reduce the noise. :)
    
       - Fix coding style issues (Jason Yan)"
    
    * tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      gcc-plugins: latent_entropy: remove unneeded semicolon
      gcc-plugins: structleak: remove unneeded variable 'ret'
    torvalds committed Mar 6, 2021
  4. Merge tag 'pstore-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/kees/linux
    
    Pull pstore fixes from Kees Cook:
    
     - Rate-limit ECC warnings (Dmitry Osipenko)
    
     - Fix error path check for NULL (Tetsuo Handa)
    
    * tag 'pstore-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      pstore/ram: Rate-limit "uncorrectable error in header" message
      pstore: Fix warning in pstore_kill_sb()
    torvalds committed Mar 6, 2021

Commits on Mar 5, 2021

  1. Merge tag 'for-5.12/dm-fixes' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/device-mapper/linux-dm
    
    Pull device mapper fixes from Mike Snitzer:
     "Fix DM verity target's optional Forward Error Correction (FEC) for
      Reed-Solomon roots that are unaligned to block size"
    
    * tag 'for-5.12/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm verity: fix FEC for RS roots unaligned to block size
      dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    torvalds committed Mar 5, 2021
  2. Merge tag 'block-5.12-2021-03-05' of git://git.kernel.dk/linux-block

    Pull block fixes from Jens Axboe:
    
     - NVMe fixes:
          - more device quirks (Julian Einwag, Zoltán Böszörményi, Pascal
            Terjan)
          - fix a hwmon error return (Daniel Wagner)
          - fix the keep alive timeout initialization (Martin George)
          - ensure the model_number can't be changed on a used subsystem
            (Max Gurtovoy)
    
     - rsxx missing -EFAULT on copy_to_user() failure (Dan)
    
     - rsxx remove unused linux.h include (Tian)
    
     - kill unused RQF_SORTED (Jean)
    
     - updated outdated BFQ comments (Joseph)
    
     - revert work-around commit for bd_size_lock, since we removed the
       offending user in this merge window (Damien)
    
    * tag 'block-5.12-2021-03-05' of git://git.kernel.dk/linux-block:
      nvmet: model_number must be immutable once set
      nvme-fabrics: fix kato initialization
      nvme-hwmon: Return error code when registration fails
      nvme-pci: add quirks for Lexar 256GB SSD
      nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
      nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
      rsxx: Return -EFAULT if copy_to_user() fails
      block/bfq: update comments and default value in docs for fifo_expire
      rsxx: remove unused including <linux/version.h>
      block: Drop leftover references to RQF_SORTED
      block: revert "block: fix bd_size_lock use"
    torvalds committed Mar 5, 2021
  3. Merge tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block

    Pull io_uring fixes from Jens Axboe:
     "A bit of a mix between fallout from the worker change, cleanups and
      reductions now possible from that change, and fixes in general. In
      detail:
    
       - Fully serialize manager and worker creation, fixing races due to
         that.
    
       - Clean up some naming that had gone stale.
    
       - SQPOLL fixes.
    
       - Fix race condition around task_work rework that went into this
         merge window.
    
       - Implement unshare. Used for when the original task does unshare(2)
         or setuid/seteuid and friends, drops the original workers and forks
         new ones.
    
       - Drop the only remaining piece of state shuffling we had left, which
         was cred. Move it into issue instead, and we can drop all of that
         code too.
    
       - Kill f_op->flush() usage. That was such a nasty hack that we had
         out of necessity, we no longer need it.
    
       - Following from ->flush() removal, we can also drop various bits of
         ctx state related to SQPOLL and cancelations.
    
       - Fix an issue with IOPOLL retry, which originally was fallout from a
         filemap change (removing iov_iter_revert()), but uncovered an issue
         with iovec re-import too late.
    
       - Fix an issue with system suspend.
    
       - Use xchg() for fallback work, instead of cmpxchg().
    
       - Properly destroy io-wq on exec.
    
       - Add create_io_thread() core helper, and use that in io-wq and
         io_uring. This allows us to remove various silly completion events
         related to thread setup.
    
       - A few error handling fixes.
    
      This should be the grunt of fixes necessary for the new workers, next
      week should be quieter. We've got a pending series from Pavel on
      cancelations, and how tasks and rings are indexed. Outside of that,
      should just be minor fixes. Even with these fixes, we're still killing
      a net ~80 lines"
    
    * tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block: (41 commits)
      io_uring: don't restrict issue_flags for io_openat
      io_uring: make SQPOLL thread parking saner
      io-wq: kill hashed waitqueue before manager exits
      io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
      io_uring: don't keep looping for more events if we can't flush overflow
      io_uring: move to using create_io_thread()
      kernel: provide create_io_thread() helper
      io_uring: reliably cancel linked timeouts
      io_uring: cancel-match based on flags
      io-wq: ensure all pending work is canceled on exit
      io_uring: ensure that threads freeze on suspend
      io_uring: remove extra in_idle wake up
      io_uring: inline __io_queue_async_work()
      io_uring: inline io_req_clean_work()
      io_uring: choose right tctx->io_wq for try cancel
      io_uring: fix -EAGAIN retry with IOPOLL
      io-wq: fix error path leak of buffered write hash map
      io_uring: remove sqo_task
      io_uring: kill sqo_dead and sqo submission halting
      io_uring: ignore double poll add on the same waitqueue head
      ...
    torvalds committed Mar 5, 2021
  4. Merge tag 'pm-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/rafael/linux-pm
    
    Pull power management fixes from Rafael Wysocki:
     "These fix the usage of device links in the runtime PM core code and
      update the DTPM (Dynamic Thermal Power Management) feature added
      recently.
    
      Specifics:
    
       - Make the runtime PM core code avoid attempting to suspend supplier
         devices before updating the PM-runtime status of a consumer to
         'suspended' (Rafael Wysocki).
    
       - Fix DTPM (Dynamic Thermal Power Management) root node
         initialization and label that feature as EXPERIMENTAL in Kconfig
         (Daniel Lezcano)"
    
    * tag 'pm-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      powercap/drivers/dtpm: Add the experimental label to the option description
      powercap/drivers/dtpm: Fix root node initialization
      PM: runtime: Update device status before letting suppliers suspend
    torvalds committed Mar 5, 2021
  5. Merge tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rafael/linux-pm
    
    Pull ACPI fix from Rafael Wysocki:
     "Make the empty stubs of some helper functions used when CONFIG_ACPI is
      not set actually match those functions (Andy Shevchenko)"
    
    * tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI: bus: Constify is_acpi_node() and friends (part 2)
    torvalds committed Mar 5, 2021
  6. Merge tag 'iommu-fixes-v5.12-rc1' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/joro/iommu
    
    Pull iommu fixes from Joerg Roedel:
    
     - Fix a sleeping-while-atomic issue in the AMD IOMMU code
    
     - Disable lazy IOTLB flush for untrusted devices in the Intel VT-d
       driver
    
     - Fix status code definitions for Intel VT-d
    
     - Fix IO Page Fault issue in Tegra IOMMU driver
    
    * tag 'iommu-fixes-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
      iommu/vt-d: Fix status code for Allocate/Free PASID command
      iommu: Don't use lazy flush for untrusted device
      iommu/tegra-smmu: Fix mc errors on tegra124-nyan
      iommu/amd: Fix sleeping in atomic in increase_address_space()
    torvalds committed Mar 5, 2021
  7. Merge tag 'for-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/kdave/linux
    
    Pull btrfs fixes from David Sterba:
     "More regression fixes and stabilization.
    
      Regressions:
    
       - zoned mode
          - count zone sizes in wider int types
          - fix space accounting for read-only block groups
    
       - subpage: fix page tail zeroing
    
      Fixes:
    
       - fix spurious warning when remounting with free space tree
    
       - fix warning when creating a directory with smack enabled
    
       - ioctl checks for qgroup inheritance when creating a snapshot
    
       - qgroup
          - fix missing unlock on error path in zero range
          - fix amount of released reservation on error
          - fix flushing from unsafe context with open transaction,
            potentially deadlocking
    
       - minor build warning fixes"
    
    * tag 'for-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: zoned: do not account freed region of read-only block group as zone_unusable
      btrfs: zoned: use sector_t for zone sectors
      btrfs: subpage: fix the false data csum mismatch error
      btrfs: fix warning when creating a directory with smack enabled
      btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
      btrfs: export and rename qgroup_reserve_meta
      btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
      btrfs: fix spurious free_space_tree remount warning
      btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
      btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
      btrfs: ref-verify: use 'inline void' keyword ordering
    torvalds committed Mar 5, 2021
  8. Merge tag 'devicetree-fixes-for-5.12-1' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/robh/linux
    
    Pull devicetree fixes from Rob Herring:
    
     - Another batch of graph and video-interfaces schema conversions
    
     - Drop DT header symlink for dropped C6X arch
    
     - Fix bcm2711-hdmi schema error
    
    * tag 'devicetree-fixes-for-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
      dt-bindings: media: Use graph and video-interfaces schemas, round 2
      dts: drop dangling c6x symlink
      dt-bindings: bcm2711-hdmi: Fix broken schema
    torvalds committed Mar 5, 2021
  9. Merge tag 'trace-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/rostedt/linux-trace
    
    Pull tracing fixes from Steven Rostedt:
     "Functional fixes:
    
       - Fix big endian conversion for arm64 in recordmcount processing
    
       - Fix timestamp corruption in ring buffer on discarding events
    
       - Fix memory leak in __create_synth_event()
    
       - Skip selftests if tracing is disabled as it will cause them to
         fail.
    
      Non-functional fixes:
    
       - Fix help text in Kconfig
    
       - Remove duplicate prototype for trace_empty()
    
       - Fix stale comment about the trace_event_call flags.
    
      Self test update:
    
       - Add more information to the validation output of when a corrupt
         timestamp is found in the ring buffer, and also trigger a warning
         to make sure that tests catch it"
    
    * tag 'trace-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      tracing: Fix comment about the trace_event_call flags
      tracing: Skip selftests if tracing is disabled
      tracing: Fix memory leak in __create_synth_event()
      ring-buffer: Add a little more information and a WARN when time stamp going backwards is detected
      ring-buffer: Force before_stamp and write_stamp to be different on discard
      tracing: Fix help text of TRACEPOINT_BENCHMARK in Kconfig
      tracing: Remove duplicate declaration from trace.h
      ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    torvalds committed Mar 5, 2021
  10. RDMA/rxe: Fix errant WARN_ONCE in rxe_completer()

    In rxe_comp.c in rxe_completer() the function free_pkt() did not clear skb
    which triggered a warning at 'done:' and could possibly at 'exit:'. The
    WARN_ONCE() calls are not actually needed.  The call to free_pkt() is
    moved to the end to clearly show that all skbs are freed.
    
    Fixes: 899aba8 ("RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()")
    Link: https://lore.kernel.org/r/20210304192048.2958-1-rpearson@hpe.com
    Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
    Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
    Bob Pearson authored and jgunthorpe committed Mar 5, 2021
  11. RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt()

    rxe_rcv_mcast_pkt() dropped a reference to ib_device when no error
    occurred causing an underflow on the reference counter.  This code is
    cleaned up to be clearer and easier to read.
    
    Fixes: 899aba8 ("RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()")
    Link: https://lore.kernel.org/r/20210304192048.2958-1-rpearson@hpe.com
    Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
    Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
    Bob Pearson authored and jgunthorpe committed Mar 5, 2021
  12. RDMA/rxe: Fix missed IB reference counting in loopback

    When the noted patch below extending the reference taken by
    rxe_get_dev_from_net() in rxe_udp_encap_recv() until each skb is freed it
    was not matched by a reference in the loopback path resulting in
    underflows.
    
    Fixes: 899aba8 ("RDMA/rxe: Fix FIXME in rxe_udp_encap_recv()")
    Link: https://lore.kernel.org/r/20210304192048.2958-1-rpearson@hpe.com
    Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
    Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
    Bob Pearson authored and jgunthorpe committed Mar 5, 2021
Older