Skip to content
  1. Feb 08, 2020
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · 60ea27e9
      Linus Torvalds authored
      Pull orangefs fix from Mike Marshall:
       "Debugfs fix for orangefs.
      
        Vasliy Averin noticed that 'if seq_file .next function does not change
        position index, read after some lseek can generate unexpected output'
        and sent in this fix"
      
      * tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
        help_next should increase position index
      60ea27e9
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.6' of git://linux-nfs.org/~bfields/linux · 08dffcc7
      Linus Torvalds authored
      Pull nfsd updates from Bruce Fields:
       "Highlights:
      
         - Server-to-server copy code from Olga.
      
           To use it, client and both servers must have support, the target
           server must be able to access the source server over NFSv4.2, and
           the target server must have the inter_copy_offload_enable module
           parameter set.
      
         - Improvements and bugfixes for the new filehandle cache, especially
           in the container case, from Trond
      
         - Also from Trond, better reporting of write errors.
      
         - Y2038 work from Arnd"
      
      * tag 'nfsd-5.6' of git://linux-nfs.org/~bfields/linux: (55 commits)
        sunrpc: expiry_time should be seconds not timeval
        nfsd: make nfsd_filecache_wq variable static
        nfsd4: fix double free in nfsd4_do_async_copy()
        nfsd: convert file cache to use over/underflow safe refcount
        nfsd: Define the file access mode enum for tracing
        nfsd: Fix a perf warning
        nfsd: Ensure sampling of the write verifier is atomic with the write
        nfsd: Ensure sampling of the commit verifier is atomic with the commit
        sunrpc: clean up cache entry add/remove from hashtable
        sunrpc: Fix potential leaks in sunrpc_cache_unhash()
        nfsd: Ensure exclusion between CLONE and WRITE errors
        nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range()
        nfsd: Update the boot verifier on stable writes too.
        nfsd: Fix stable writes
        nfsd: Allow nfsd_vfs_write() to take the nfsd_file as an argument
        nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create()
        nfsd: Reduce the number of calls to nfsd_file_gc()
        nfsd: Schedule the laundrette regularly irrespective of file errors
        nfsd: Remove unused constant NFSD_FILE_LRU_RESCAN
        nfsd: Containerise filecache laundrette
        ...
      08dffcc7
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · f43574d0
      Linus Torvalds authored
      Puyll NFS client updates from Anna Schumaker:
       "Stable bugfixes:
         - Fix memory leaks and corruption in readdir # v2.6.37+
         - Directory page cache needs to be locked when read # v2.6.37+
      
        New features:
         - Convert NFS to use the new mount API
         - Add "softreval" mount option to let clients use cache if server goes down
         - Add a config option to compile without UDP support
         - Limit the number of inactive delegations the client can cache at once
         - Improved readdir concurrency using iterate_shared()
      
        Other bugfixes and cleanups:
         - More 64-bit time conversions
         - Add additional diagnostic tracepoints
         - Check for holes in swapfiles, and add dependency on CONFIG_SWAP
         - Various xprtrdma cleanups to prepare for 5.7's changes
         - Several fixes for NFS writeback and commit handling
         - Fix acls over krb5i/krb5p mounts
         - Recover from premature loss of openstateids
         - Fix NFS v3 chacl and chmod bug
         - Compare creds using cred_fscmp()
         - Use kmemdup_nul() in more places
         - Optimize readdir cache page invalidation
         - Lease renewal and recovery fixes"
      
      * tag 'nfs-for-5.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (93 commits)
        NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewals
        NFSv4: try lease recovery on NFS4ERR_EXPIRED
        NFS: Fix memory leaks
        nfs: optimise readdir cache page invalidation
        NFS: Switch readdir to using iterate_shared()
        NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()
        NFS: Directory page cache pages need to be locked when read
        NFS: Fix memory leaks and corruption in readdir
        SUNRPC: Use kmemdup_nul() in rpc_parse_scope_id()
        NFS: Replace various occurrences of kstrndup() with kmemdup_nul()
        NFSv4: Limit the total number of cached delegations
        NFSv4: Add accounting for the number of active delegations held
        NFSv4: Try to return the delegation immediately when marked for return on close
        NFS: Clear NFS_DELEGATION_RETURN_IF_CLOSED when the delegation is returned
        NFSv4: nfs_inode_evict_delegation() should set NFS_DELEGATION_RETURNING
        NFS: nfs_find_open_context() should use cred_fscmp()
        NFS: nfs_access_get_cached_rcu() should use cred_fscmp()
        NFSv4: pnfs_roc() must use cred_fscmp() to compare creds
        NFS: remove unused macros
        nfs: Return EINVAL rather than ERANGE for mount parse errors
        ...
      f43574d0
    • Linus Torvalds's avatar
      Merge tag 'docs-5.6-2' of git://git.lwn.net/linux · 41dcd67e
      Linus Torvalds authored
      Pull Documentation fixes from Jonathan Corbet:
       "A handful of small documentation fixes that wandered in"
      
      * tag 'docs-5.6-2' of git://git.lwn.net/linux:
        Allow git builds of Sphinx
        Documentation: changes.rst: update several outdated project URLs
        Documentation: build warnings related to missing blank lines after explicit markups has been fixed
        mailmap: add entry for Tiezhu Yang
        Documentation/ko_KR/howto: Update a broken link
        Documentation/ko_KR/howto: Update broken web addresses
        docs/locking: Fix outdated section names
      41dcd67e
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 11777ee8
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "i2c core:
      
         - huge improvements and refactorizations of the Linux I2C
           documentation (lots of thanks to Luca for doing it and Jean for the
           careful review)
      
         - subsystem wide API conversion to i2c_new_client_device()
      
         - remove obsolete parport-light driver
      
         - smaller core updates (removal of 'extern', enabling more compile
           testing, use more helper macros)
      
         - and quite a bunch of driver updates (new IDs, simplifications,
           better PM, support of atomic transfers and other improvements)
      
        i2c-mux:
      
         - The main feature is the idle-state rework of the pca954x driver
           from Biwen Li
      
        at24 driver:
      
         - minor maintenance: update the license tag, sort headers
      
         - move support for the write-protect pin into nvmem core
      
         - add a reference to the new wp-gpios property in nvmem to at25
           bindings
      
         - add support for regulator and pm_runtime control"
      
      * 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (91 commits)
        i2c: cros-ec-tunnel: Fix ACPI identifier
        i2c: cros-ec-tunnel: Fix slave device enumeration
        i2c: stm32f7: add PM_SLEEP suspend/resume support
        i2c: cadence: Fix wording in i2c-cadence driver
        i2c: cadence: Fix power management order of operations
        i2c: cadence: Fix error printing in case of defer
        i2c: cadence: Handle transfer_size rollover
        i2c: i801: Add support for Intel Comet Lake PCH-V
        docs: i2c: writing-clients: properly name the stop condition
        docs: i2c: i2c-protocol: use same wording as smbus-protocol
        docs: i2c: rename sections so the overall picture is clearer
        docs: i2c: old-module-parameters: use monospace instead of ""
        docs: i2c: old-module-parameters: clarify this is for obsolete kernels
        docs: i2c: old-module-parameters: fix internal hyperlink
        docs: i2c: instantiating-devices: use monospace for sysfs attributes
        docs: i2c: instantiating-devices: rearrange static instatiation
        docs: i2c: instantiating-devices: fix internal hyperlink
        docs: i2c: smbus-protocol: improve I2C Block transactions description
        docs: i2c: smbus-protocol: fix punctuation
        docs: i2c: smbus-protocol: fix typo
        ...
      11777ee8
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ed39ba0e
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "Add Hisilicon Hip08-Lite I2C controller clock frequency support to the
        ACPI driver for AMD SoCs (APD) and to the Designware I2C driver
        (Hanjun Guo)"
      
      * tag 'acpi-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        i2c: designware: Add ACPI HID for Hisilicon Hip08-Lite I2C controller
        ACPI / APD: Add clock frequency for Hisilicon Hip08-Lite I2C controller
      ed39ba0e
    • Linus Torvalds's avatar
      Merge tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ba7dcfc7
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
      
       - Update the recently merged CPR (Core Power Reduction) support in the
         AVS (Adaptive Voltage Scaling) subsystem (Brendan Higgins, Nathan
         Chancellor, Niklas Cassel)
      
       - Update the rockchip-io AVS driver (Heiko Stuebner)
      
       - Add two more module parameters to intel_idle on top of the recently
         merged material (Rafael Wysocki)
      
       - Clean up a piece of cpuidle documentation and consolidate system
         sleep states documentation (Rafael Wysocki)
      
      * tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpuidle: Documentation: Clean up PM QoS description
        Documentation: admin-guide: PM: Update sleep states documentation
        intel_idle: Introduce 'states_off' module parameter
        intel_idle: Introduce 'use_acpi' module parameter
        power: avs: qcom-cpr: Avoid clang -Wsometimes-uninitialized in cpr_scale
        power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
        PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30
        power: avs: qcom-cpr: add a printout after the driver has been initialized
      ba7dcfc7
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-02-07' of git://anongit.freedesktop.org/drm/drm · c16b99d6
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just some fixes for this merge window: the tegra changes fix some
        regressions in the merge, nouveau has a few modesetting fixes.
      
        The amdgpu fixes are bit bigger, but they contain a couple of weeks of
        fixes, and don't seem to contain anything that isn't really a fix.
      
        Summary:
      
        tegra:
         - merge window regression fixes
      
        nouveau:
         - couple of volta/turing modesetting fixes
      
        amdgpu:
         - EDC fixes for Arcturus
         - GDDR6 memory training fixe
         - Fix for reading gfx clockgating registers while in GFXOFF state
         - i2c freq fixes
         - Misc display fixes
         - TLB invalidation fix when using semaphores
         - VCN 2.5 instancing fixes
         - Switch raven1 gfxoff to a blacklist
         - Coreboot workaround for KV/KB
         - Root cause dongle fixes for display and revert workaround
         - Enable GPU reset for renoir and navi
         - Navi overclocking fixes
         - Fix up confusing warnings in display clock validation on raven
      
        amdkfd:
         - SDMA fix
      
        radeon:
         - Misc LUT fixes"
      
      * tag 'drm-next-2020-02-07' of git://anongit.freedesktop.org/drm/drm: (90 commits)
        gpu: host1x: Set DMA direction only for DMA-mapped buffer objects
        drm/tegra: Reuse IOVA mapping where possible
        drm/tegra: Relax IOMMU usage criteria on old Tegra
        drm/amd/dm/mst: Ignore payload update failures
        drm/amdgpu: update default voltage for boot od table for navi1x
        drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
        drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
        drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
        drm/amdgpu: fetch default VDDC curve voltages (v2)
        drm/amdgpu/smu_v11_0: Correct behavior of restoring default tables (v2)
        drm/amdgpu/navi10: add OD_RANGE for navi overclocking
        drm/amdgpu/navi: fix index for OD MCLK
        drm/amd/display: Fix HW/SW state mismatch
        drm/amd/display: Fix a typo when computing dsc configuration
        drm/amd/powerplay: fix navi10 system intermittent reboot issue V2
        drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
        drm/amd/display: Only enable cursor on pipes that need it
        drm/nouveau/kms/gv100-: avoid sending a core update until the first modeset
        drm/nouveau/kms/gv100-: move window ownership setup into modesetting path
        drm/nouveau/disp/gv100-: halt NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_ERROR storms
        ...
      c16b99d6
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 8bf5973a
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A collection of fixes:
      
         - Make of_clk.h self contained
      
         - Fix new qcom DT bindings that just merged to match the DTS files
      
         - Fix qcom clk driver to properly detect DFS clk frequencies
      
         - Fix the ls1028a driver to not deref a pointer before assigning it"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        of: clk: Make <linux/of_clk.h> self-contained
        clk: qcom: Use ARRAY_SIZE in videocc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for videocc-sc7180
        dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180
        clk: qcom: Use ARRAY_SIZE in gpucc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for gpucc-sc7180
        dt-bindings: clock: Fix qcom,gpucc bindings for sdm845/sc7180/msm8998
        clk: qcom: Use ARRAY_SIZE in dispcc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for dispcc-sc7180
        clk: qcom: Get rid of fallback global names for dispcc-sc7180
        dt-bindings: clock: Fix qcom,dispcc bindings for sdm845/sc7180
        clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
        clk: ls1028a: fix a dereference of pointer 'parent' before a null check
        dt-bindings: clk: qcom: Fix self-validation, split, and clean cruft
        clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()
      8bf5973a
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-5.6-rc1' of git://www.linux-watchdog.org/linux-watchdog · b34f01f7
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - add IT8786 chipset ID
      
       - addition of sam9x60 compatible watchdog
      
       - da9062 improvements
      
       - fix UAF in reboot notifier handling in watchdog core code
      
       - other fixes and small improvements
      
      * tag 'linux-watchdog-5.6-rc1' of git://www.linux-watchdog.org/linux-watchdog:
        watchdog: da9062: make restart handler atomic safe
        watchdog: mtk_wdt: mt2712: Add reset controller
        watchdog: mtk_wdt: mt8183: Add reset controller
        dt-bindings: mediatek: mt2712: Add #reset-cells
        dt-bindings: mediatek: mt8183: Add #reset-cells
        dt-bindings: watchdog: da9062: add suspend disable option
        watchdog: it87_wdt: add IT8786 ID
        watchdog: dw_wdt: ping watchdog to reset countdown before start
        watchdog: fix UAF in reboot notifier handling in watchdog core code
        watchdog: cadence: Skip printing pointer value
        watchdog: qcom: Use platform_get_irq_optional() for bark irq
        watchdog: da9062: add power management ops
        watchdog: make DesignWare watchdog allow users to set bigger timeout value
        drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
        watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog
      b34f01f7
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · e0f121c5
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "Some bug fixes/cleanups.
      
        The deprecated scsi passthrough for virtio_blk is removed"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        virtio_balloon: Fix memory leaks on errors in virtballoon_probe()
        virtio-balloon: Fix memory leak when unloading while hinting is in progress
        virtio_balloon: prevent pfn array overflow
        virtio-blk: remove VIRTIO_BLK_F_SCSI support
        virtio-pci: check name when counting MSI-X vectors
        virtio-balloon: initialize all vq callbacks
        virtio-mmio: convert to devm_platform_ioremap_resource
      e0f121c5
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20200206' of git://github.com/jcmvbkbc/linux-xtensa · 9b7fa288
      Linus Torvalds authored
      Pull xtensa updates from Max Filippov:
      
       - reorganize exception vectors placement
      
       - small cleanups (drop unused functions/headers/defconfig entries,
         spelling fixes)
      
      * tag 'xtensa-20200206' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: ISS: improve simcall assembly
        xtensa: reorganize vectors placement
        xtensa: separate SMP and XIP support
        xtensa: move fast exception handlers close to vectors
        arch/xtensa: fix Kconfig typos for HAVE_SMP
        xtensa: clean up optional XCHAL_* definitions
        xtensa: drop unused function fast_coprocessor_double
        xtensa: drop empty platform_* functions from platforms
        xtensa: clean up platform headers
        xtensa: drop set_except_vector declaration
        xtensa: configs: Cleanup old Kconfig IO scheduler options
      9b7fa288
    • Roberto Bergantinos Corpas's avatar
      sunrpc: expiry_time should be seconds not timeval · 3d96208c
      Roberto Bergantinos Corpas authored
      When upcalling gssproxy, cache_head.expiry_time is set as a
      timeval, not seconds since boot. As such, RPC cache expiry
      logic will not clean expired objects created under
      auth.rpcsec.context cache.
      
      This has proven to cause kernel memory leaks on field. Using
      64 bit variants of getboottime/timespec
      
      Expiration times have worked this way since 2010's c5b29f88
      
       "sunrpc:
      use seconds since boot in expiry cache".  The gssproxy code introduced
      in 2012 added gss_proxy_save_rsc and introduced the bug.  That's a while
      for this to lurk, but it required a bit of an extreme case to make it
      obvious.
      
      Signed-off-by: default avatarRoberto Bergantinos Corpas <rbergant@redhat.com>
      Cc: stable@vger.kernel.org
      Fixes: 030d794b
      
       "SUNRPC: Use gssproxy upcall for server..."
      Tested-By: default avatarFrank Sorenson <sorenson@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      3d96208c
    • Chen Zhou's avatar
      nfsd: make nfsd_filecache_wq variable static · 50d0def9
      Chen Zhou authored
      
      
      Fix sparse warning:
      
      fs/nfsd/filecache.c:55:25: warning:
      	symbol 'nfsd_filecache_wq' was not declared. Should it be static?
      
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      50d0def9
  2. Feb 07, 2020
  3. Feb 06, 2020
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.6-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 9e6c535c
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
      
       - Define to_pci_sysdata() always to fix build breakage when !CONFIG_PCI
         (Jason A. Donenfeld)
      
       - Use PF PASID for VFs to fix VF IOMMU bind failures (Kuppuswamy
         Sathyanarayanan)
      
      * tag 'pci-v5.6-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI/ATS: Use PF PASID for VFs
        x86/PCI: Define to_pci_sysdata() even when !CONFIG_PCI
      9e6c535c
    • 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
    • Daniel Thompson's avatar
      Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no regs" · fcf2736c
      Daniel Thompson authored
      This reverts commit bbfceba1
      
      .
      
      When DBG_MAX_REG_NUM is zero then a number of symbols are conditionally
      defined. It is therefore not possible to check it using C expressions.
      
      Reported-by: default avatarAnatoly Pugachev <matorola@gmail.com>
      Acked-by: default avatarDoug Anderson <dianders@chromium.org>
      Signed-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
      fcf2736c
    • 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.com
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6d011d50
    • David Hildenbrand's avatar
      virtio_balloon: Fix memory leaks on errors in virtballoon_probe() · 1ad6f58e
      David Hildenbrand authored
      We forget to put the inode and unmount the kernfs used for compaction.
      
      Fixes: 71994620
      
       ("virtio_balloon: replace oom notifier with shrinker")
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Jason Wang <jasowang@redhat.com>
      Cc: Wei Wang <wei.w.wang@intel.com>
      Cc: Liang Li <liang.z.li@intel.com>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Link: https://lore.kernel.org/r/20200205163402.42627-3-david@redhat.com
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      1ad6f58e
    • David Hildenbrand's avatar
      virtio-balloon: Fix memory leak when unloading while hinting is in progress · 6c22dc61
      David Hildenbrand authored
      When unloading the driver while hinting is in progress, we will not
      release the free page blocks back to MM, resulting in a memory leak.
      
      Fixes: 86a55978
      
       ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Jason Wang <jasowang@redhat.com>
      Cc: Wei Wang <wei.w.wang@intel.com>
      Cc: Liang Li <liang.z.li@intel.com>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Link: https://lore.kernel.org/r/20200205163402.42627-2-david@redhat.com
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      6c22dc61
    • Michael S. Tsirkin's avatar
      virtio_balloon: prevent pfn array overflow · 6e9826e7
      Michael S. Tsirkin authored
      
      
      Make sure, at build time, that pfn array is big enough to hold a single
      page.  It happens to be true since the PAGE_SHIFT value at the moment is
      20, which is 1M - exactly 256 4K balloon pages.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
      6e9826e7
    • Christoph Hellwig's avatar
      virtio-blk: remove VIRTIO_BLK_F_SCSI support · 782e067d
      Christoph Hellwig authored
      
      
      Since the need for a special flag to support SCSI passthrough on a
      block device was added in May 2017 the SCSI passthrough support in
      virtio-blk has been disabled.  It has always been a bad idea
      (just ask the original author..) and we have virtio-scsi for proper
      passthrough.  The feature also never made it into the virtio 1.0
      or later specifications.
      
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      782e067d
    • Daniel Verkamp's avatar
      virtio-pci: check name when counting MSI-X vectors · 303090b5
      Daniel Verkamp authored
      VQs without a name specified are not valid; they are skipped in the
      later loop that assigns MSI-X vectors to queues, but the per_vq_vectors
      loop above that counts the required number of vectors previously still
      counted any queue with a non-NULL callback as needing a vector.
      
      Add a check to the per_vq_vectors loop so that vectors with no name are
      not counted to make the two loops consistent.  This prevents
      over-counting unnecessary vectors (e.g. for features which were not
      negotiated with the device).
      
      Cc: stable@vger.kernel.org
      Fixes: 86a55978
      
       ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
      Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
      Signed-off-by: default avatarDaniel Verkamp <dverkamp@chromium.org>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: default avatarWang, Wei W <wei.w.wang@intel.com>
      303090b5
    • Daniel Verkamp's avatar
      virtio-balloon: initialize all vq callbacks · 5790b533
      Daniel Verkamp authored
      Ensure that elements of the callbacks array that correspond to
      unavailable features are set to NULL; previously, they would be left
      uninitialized.
      
      Since the corresponding names array elements were explicitly set to
      NULL, the uninitialized callback pointers would not actually be
      dereferenced; however, the uninitialized callbacks elements would still
      be read in vp_find_vqs_msix() and used to calculate the number of MSI-X
      vectors required.
      
      Cc: stable@vger.kernel.org
      Fixes: 86a55978
      
       ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
      Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
      Signed-off-by: default avatarDaniel Verkamp <dverkamp@chromium.org>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      5790b533
    • Yangtao Li's avatar
      virtio-mmio: convert to devm_platform_ioremap_resource · c64eb62c
      Yangtao Li authored
      
      
      Use devm_platform_ioremap_resource() to simplify code, which
      contains platform_get_resource, devm_request_mem_region and
      devm_ioremap.
      
      Signed-off-by: default avatarYangtao Li <tiny.windzz@gmail.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      c64eb62c