1. 06 Feb, 2020 12 commits
    • Linus Torvalds's avatar
      Merge tag 'sound-fix-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 750ce8cc
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of pending small fixes:
      
        ALSA core:
         - PCM memory leak fix
      
        ASoC:
         - Lots of SOF and Intel driver fixes
         - Addition of COMMON_CLK for wcd934x
         - Regression fixes for AMD and Tegra platforms
      
        HD-audio:
         - DP-MST HDMI regression fix, Tegra workarounds, HP quirk fix
      
        Others:
         - A few fixes relevant with the recent uapi-updates
         - Sparse warnings and endianness fixes"
      
      * tag 'sound-fix-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (35 commits)
        ALSA: hda: Clear RIRB status before reading WP
        ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported
        ASoC: wcd934x: Add missing COMMON_CLK dependency to SND_SOC_ALL_CODECS
        ALSA: hda - Fix DP-MST support for NVIDIA codecs
        ASoC: wcd934x: Add missing COMMON_CLK dependency
        MAINTAINERS: Remove the Bard Liao from the MAINTAINERS of Realtek CODECs
        ASoC: tegra: Revert 24 and 32 bit support
        ASoC: SOF: Intel: add PCI ID for JasperLake
        ALSA: hdsp: Make the firmware loading ioctl a bit more readable
        ALSA: emu10k1: Fix annotation and cast for the recent uapi header change
        ALSA: dummy: Fix PCM format loop in proc output
        ALSA: usb-audio: Annotate endianess in Scarlett gen2 quirk
        ALSA: usb-audio: Fix endianess in descriptor validation
        ALSA: hda: Add JasperLake PCI ID and codec vid
        ALSA: pcm: Fix sparse warnings wrt snd_pcm_state_t
        ALSA: pcm: Fix memory leak at closing a stream without hw_free
        ALSA: uapi: Fix sparse warning
        ASoC: rt715: Add __maybe_unused to PM callbacks
        ASoC: rt711: Add __maybe_unused to PM callbacks
        ASoC: rt700: Add __maybe_unused to PM callbacks
        ...
      750ce8cc
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.6-rc1' of https://github.com/ceph/ceph-client · 4c46bef2
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
      
       - a set of patches that fixes various corner cases in mount and umount
         code (Xiubo Li). This has to do with choosing an MDS, distinguishing
         between laggy and down MDSes and parsing the server path.
      
       - inode initialization fixes (Jeff Layton). The one included here
         mostly concerns things like open_by_handle() and there is another one
         that will come through Al.
      
       - copy_file_range() now uses the new copy-from2 op (Luis Henriques).
         The existing copy-from op turned out to be infeasible for generic
         filesystem use; we disable the copy offload if OSDs don't support
         copy-from2.
      
       - a patch to link "rbd" and "block" devices together in sysfs (Hannes
         Reinecke)
      
      ... and a smattering of cleanups from Xiubo, Jeff and Chengguang.
      
      * tag 'ceph-for-5.6-rc1' of https://github.com/ceph/ceph-client: (25 commits)
        rbd: set the 'device' link in sysfs
        ceph: move net/ceph/ceph_fs.c to fs/ceph/util.c
        ceph: print name of xattr in __ceph_{get,set}xattr() douts
        ceph: print r_direct_hash in hex in __choose_mds() dout
        ceph: use copy-from2 op in copy_file_range
        ceph: close holes in structs ceph_mds_session and ceph_mds_request
        rbd: work around -Wuninitialized warning
        ceph: allocate the correct amount of extra bytes for the session features
        ceph: rename get_session and switch to use ceph_get_mds_session
        ceph: remove the extra slashes in the server path
        ceph: add possible_max_rank and make the code more readable
        ceph: print dentry offset in hex and fix xattr_version type
        ceph: only touch the caps which have the subset mask requested
        ceph: don't clear I_NEW until inode metadata is fully populated
        ceph: retry the same mds later after the new session is opened
        ceph: check availability of mds cluster on mount after wait timeout
        ceph: keep the session state until it is released
        ceph: add __send_request helper
        ceph: ensure we have a new cap before continuing in fill_inode
        ceph: drop unused ttl_from parameter from fill_inode
        ...
      4c46bef2
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.6-3' of... · 6954b323
      Takashi Iwai authored
      Merge tag 'asoc-v5.6-3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fix for v5.6
      
      An incremental fix for the Qualcomm COMMON_CLK issue.
      6954b323
    • Mohan Kumar's avatar
      ALSA: hda: Clear RIRB status before reading WP · 6d011d50
      Mohan Kumar authored
      RIRB interrupt status getting cleared after the write pointer is read
      causes a race condition, where last response(s) into RIRB may remain
      unserviced by IRQ, eventually causing azx_rirb_get_response to fall
      back to polling mode. Clearing the RIRB interrupt status ahead of
      write pointer access ensures that this condition is avoided.
      Signed-off-by: default avatarMohan Kumar <mkumard@nvidia.com>
      Signed-off-by: default avatarViswanath L <viswanathl@nvidia.com>
      Link: https://lore.kernel.org/r/1580983853-351-1-git-send-email-viswanathl@nvidia.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6d011d50
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 5b211154
      Linus Torvalds authored
      Pull m68knommu updates from Greg Ungerer:
       "A couple of changes:
      
         - remove old CONFIG options from the m68knommu defconfig files
      
         - fix a warning in the m68k non-MMU get_user() macro"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68knommu: fix memcpy() out of bounds warning in get_user()
        m68k: configs: Cleanup old Kconfig IO scheduler options
      5b211154
    • Linus Torvalds's avatar
      Merge tag 'Smack-for-5.6' of git://github.com/cschaufler/smack-next · 85e55296
      Linus Torvalds authored
      Pull smack fix from Casey Schaufler:
       "One fix for an obscure error found using an old version of ping(1)
        that did not use IPv6 sockets in the documented way"
      
      * tag 'Smack-for-5.6' of git://github.com/cschaufler/smack-next:
        broken ping to ipv6 linklocal addresses on debian buster
      85e55296
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.6-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 99be3f60
      Linus Torvalds authored
      Pull moar xfs updates from Darrick Wong:
       "This contains the buffer error code refactoring I mentioned last week,
        now that it has had extra time to complete the full xfs fuzz testing
        suite to make sure there aren't any obvious new bugs"
      
      * tag 'xfs-5.6-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix xfs_buf_ioerror_alert location reporting
        xfs: remove unnecessary null pointer checks from _read_agf callers
        xfs: make xfs_*read_agf return EAGAIN to ALLOC_FLAG_TRYLOCK callers
        xfs: remove the xfs_btree_get_buf[ls] functions
        xfs: make xfs_trans_get_buf return an error code
        xfs: make xfs_trans_get_buf_map return an error code
        xfs: make xfs_buf_read return an error code
        xfs: make xfs_buf_get_uncached return an error code
        xfs: make xfs_buf_get return an error code
        xfs: make xfs_buf_read_map return an error code
        xfs: make xfs_buf_get_map return an error code
        xfs: make xfs_buf_alloc return an error code
      99be3f60
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · e310396b
      Linus Torvalds authored
      Pull tracing updates from Steven Rostedt:
      
       - Added new "bootconfig".
      
         This looks for a file appended to initrd to add boot config options,
         and has been discussed thoroughly at Linux Plumbers.
      
         Very useful for adding kprobes at bootup.
      
         Only enabled if "bootconfig" is on the real kernel command line.
      
       - Created dynamic event creation.
      
         Merges common code between creating synthetic events and kprobe
         events.
      
       - Rename perf "ring_buffer" structure to "perf_buffer"
      
       - Rename ftrace "ring_buffer" structure to "trace_buffer"
      
         Had to rename existing "trace_buffer" to "array_buffer"
      
       - Allow trace_printk() to work withing (some) tracing code.
      
       - Sort of tracing configs to be a little better organized
      
       - Fixed bug where ftrace_graph hash was not being protected properly
      
       - Various other small fixes and clean ups
      
      * tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (88 commits)
        bootconfig: Show the number of nodes on boot message
        tools/bootconfig: Show the number of bootconfig nodes
        bootconfig: Add more parse error messages
        bootconfig: Use bootconfig instead of boot config
        ftrace: Protect ftrace_graph_hash with ftrace_sync
        ftrace: Add comment to why rcu_dereference_sched() is open coded
        tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
        tracing: Annotate ftrace_graph_hash pointer with __rcu
        bootconfig: Only load bootconfig if "bootconfig" is on the kernel cmdline
        tracing: Use seq_buf for building dynevent_cmd string
        tracing: Remove useless code in dynevent_arg_pair_add()
        tracing: Remove check_arg() callbacks from dynevent args
        tracing: Consolidate some synth_event_trace code
        tracing: Fix now invalid var_ref_vals assumption in trace action
        tracing: Change trace_boot to use synth_event interface
        tracing: Move tracing selftests to bottom of menu
        tracing: Move mmio tracer config up with the other tracers
        tracing: Move tracing test module configs together
        tracing: Move all function tracing configs together
        tracing: Documentation for in-kernel synthetic event API
        ...
      e310396b
    • Kailang Yang's avatar
      ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported · f2adbae0
      Kailang Yang authored
      HP want to keep BIOS verb table for release platform.
      So, it need to add 0x19 pin for quirk.
      
      Fixes: 5af29028 ("ALSA: hda/realtek - Add Headset Mic supported for HP cPC")
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Link: https://lore.kernel.org/r/74636ccb700a4cbda24c58a99dc430ce@realtek.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f2adbae0
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.6-2020-02-05' of git://git.kernel.dk/linux-block · c1ef57a3
      Linus Torvalds authored
      Pull io_uring updates from Jens Axboe:
       "Some later fixes for io_uring:
      
         - Small cleanup series from Pavel
      
         - Belt and suspenders build time check of sqe size and layout
           (Stefan)
      
         - Addition of ->show_fdinfo() on request of Jann Horn, to aid in
           understanding mapped personalities
      
         - eventfd recursion/deadlock fix, for both io_uring and aio
      
         - Fixup for send/recv handling
      
         - Fixup for double deferral of read/write request
      
         - Fix for potential double completion event for close request
      
         - Adjust fadvise advice async/inline behavior
      
         - Fix for shutdown hang with SQPOLL thread
      
         - Fix for potential use-after-free of fixed file table"
      
      * tag 'io_uring-5.6-2020-02-05' of git://git.kernel.dk/linux-block:
        io_uring: cleanup fixed file data table references
        io_uring: spin for sq thread to idle on shutdown
        aio: prevent potential eventfd recursion on poll
        io_uring: put the flag changing code in the same spot
        io_uring: iterate req cache backwards
        io_uring: punt even fadvise() WILLNEED to async context
        io_uring: fix sporadic double CQE entry for close
        io_uring: remove extra ->file check
        io_uring: don't map read/write iovec potentially twice
        io_uring: use the proper helpers for io_send/recv
        io_uring: prevent potential eventfd recursion on poll
        eventfd: track eventfd_signal() recursion depth
        io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe
        io_uring: add ->show_fdinfo() for the io_uring file descriptor
      c1ef57a3
    • Linus Torvalds's avatar
      Merge tag 'block-5.6-2020-02-05' of git://git.kernel.dk/linux-block · ed535f2c
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
       "Some later arrivals, but all fixes at this point:
      
         - bcache fix series (Coly)
      
         - Series of BFQ fixes (Paolo)
      
         - NVMe pull request from Keith with a few minor NVMe fixes
      
         - Various little tweaks"
      
      * tag 'block-5.6-2020-02-05' of git://git.kernel.dk/linux-block: (23 commits)
        nvmet: update AEN list and array at one place
        nvmet: Fix controller use after free
        nvmet: Fix error print message at nvmet_install_queue function
        brd: check and limit max_part par
        nvme-pci: remove nvmeq->tags
        nvmet: fix dsm failure when payload does not match sgl descriptor
        nvmet: Pass lockdep expression to RCU lists
        block, bfq: clarify the goal of bfq_split_bfqq()
        block, bfq: get a ref to a group when adding it to a service tree
        block, bfq: remove ifdefs from around gets/puts of bfq groups
        block, bfq: extend incomplete name of field on_st
        block, bfq: get extra ref to prevent a queue from being freed during a group move
        block, bfq: do not insert oom queue into position tree
        block, bfq: do not plug I/O for bfq_queues with no proc refs
        bcache: check return value of prio_read()
        bcache: fix incorrect data type usage in btree_flush_write()
        bcache: add readahead cache policy options via sysfs interface
        bcache: explicity type cast in bset_bkey_last()
        bcache: fix memory corruption in bch_cache_accounting_clear()
        xen/blkfront: limit allocated memory size to actual use case
        ...
      ed535f2c
    • Linus Torvalds's avatar
      Merge tag 'libata-5.6-2020-02-05' of git://git.kernel.dk/linux-block · 03840663
      Linus Torvalds authored
      Pull libata updates from Jens Axboe:
      
       - Add a Sandisk CF card to supported pata_pcmcia list (Christian)
      
       - Move pata_arasan_cf away from legacy API (Peter)
      
       - Ensure ahci DMA/ints are shut down on shutdown (Prabhakar)
      
      * tag 'libata-5.6-2020-02-05' of git://git.kernel.dk/linux-block:
        ata: pata_arasan_cf: Use dma_request_chan() instead dma_request_slave_channel()
        ata: ahci: Add shutdown to freeze hardware resources of ahci
        pata_pcmia: add SanDisk High (>8G) CF card to supported list
      03840663
  2. 05 Feb, 2020 24 commits
  3. 04 Feb, 2020 4 commits
    • Jens Axboe's avatar
      io_uring: spin for sq thread to idle on shutdown · df069d80
      Jens Axboe authored
      As part of io_uring shutdown, we cancel work that is pending and won't
      necessarily complete on its own. That includes requests like poll
      commands and timeouts.
      
      If we're using SQPOLL for kernel side submission and we shutdown the
      ring immediately after queueing such work, we can race with the sqthread
      doing the submission. This means we may miss cancelling some work, which
      results in the io_uring shutdown hanging forever.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      df069d80
    • Dilip Kota's avatar
      dt-bindings: PCI: intel: Fix dt_binding_check compilation failure · 34129bb8
      Dilip Kota authored
      Remove <dt-bindings/clock/intel,lgm-clk.h> dependency as
      it is not present in the mainline tree. Use numeric value
      instead of LGM_GCLK_PCIE10 macro.
      Signed-off-by: default avatarDilip Kota <eswara.kota@linux.intel.com>
      [robh: Also drop interrupt-parent from example]
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      34129bb8
    • Rob Herring's avatar
      dt-bindings: phy: Fix errors in intel,lgm-emmc-phy example · 4ae87b17
      Rob Herring authored
      DT labels can't have '-' in them causing a compile failure in the example.
      Fixing that leads to more warnings:
      
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:23.13-33: Warning (reg_format): /example-0/chiptop@e0200000/emmc-phy@a8:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #address-cells value
      Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.example.dts:21.33-26.13: Warning (avoid_default_addr_size): /example-0/chiptop@e0200000/emmc-phy@a8: Relying on default #size-cells value
      
      Fixes: 5bc99910 ("dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY")
      Cc: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
      Cc: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      4ae87b17
    • Jens Axboe's avatar
      Merge branch 'nvme-5.6' of git://git.infradead.org/nvme into block-5.6 · b74e58cd
      Jens Axboe authored
      Pull NVMe fixes from Keith.
      
      * 'nvme-5.6' of git://git.infradead.org/nvme:
        nvmet: update AEN list and array at one place
        nvmet: Fix controller use after free
        nvmet: Fix error print message at nvmet_install_queue function
        nvme-pci: remove nvmeq->tags
        nvmet: fix dsm failure when payload does not match sgl descriptor
        nvmet: Pass lockdep expression to RCU lists
      b74e58cd