1. 07 Feb, 2020 12 commits
    • 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
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-avs' and 'pm-cpuidle' · 33200825
      Rafael J. Wysocki authored
      * pm-avs:
        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
      
      * pm-cpuidle:
        cpuidle: Documentation: Clean up PM QoS description
        intel_idle: Introduce 'states_off' module parameter
        intel_idle: Introduce 'use_acpi' module parameter
      33200825
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.6-2020-02-05' of git://people.freedesktop.org/~agd5f/linux into drm-next · 9f880327
      Dave Airlie authored
      amd-drm-next-5.6-2020-02-05:
      
      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
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200206035458.3894-1-alexander.deucher@amd.com
      9f880327
    • Dave Airlie's avatar
      Merge branch 'linux-5.6' of git://github.com/skeggsb/linux into drm-next · a345cc0d
      Dave Airlie authored
      Just a couple of fixes to Volta/Turing modesetting on some systems.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Ben Skeggs <skeggsb@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ <CACAvsv7=eP+Ai1ouoMyYyo1xMF0pTQki=owYjJkS=NpvKQd1fg@mail.gmail.com
      a345cc0d
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-5.6-rc1-fixes' of git://anongit.freedesktop.org/tegra/linux into drm-next · e139e8ae
      Dave Airlie authored
      drm/tegra: Fixes for v5.6-rc1
      
      These are a couple of quick fixes for regressions that were found during
      the first two weeks of the merge window.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thierry Reding <thierry.reding@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200206172753.2185390-1-thierry.reding@gmail.com
      e139e8ae
  2. 06 Feb, 2020 26 commits
    • Thierry Reding's avatar
      gpu: host1x: Set DMA direction only for DMA-mapped buffer objects · 98ae41ad
      Thierry Reding authored
      The DMA direction is only used by the DMA API, so there is no use in
      setting it when a buffer object isn't mapped with the DMA API.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Tested-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
      98ae41ad
    • Thierry Reding's avatar
      drm/tegra: Reuse IOVA mapping where possible · 273da5a0
      Thierry Reding authored
      This partially reverts the DMA API support that was recently merged
      because it was causing performance regressions on older Tegra devices.
      Unfortunately, the cache maintenance performed by dma_map_sg() and
      dma_unmap_sg() causes performance to drop by a factor of 10.
      
      The right solution for this would be to cache mappings for buffers per
      consumer device, but that's a bit involved. Instead, we simply revert to
      the old behaviour of sharing IOVA mappings when we know that devices can
      do so (i.e. they share the same IOMMU domain).
      
      Cc: <stable@vger.kernel.org> # v5.5
      Reported-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Tested-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
      273da5a0
    • Thierry Reding's avatar
      drm/tegra: Relax IOMMU usage criteria on old Tegra · 2d9384ff
      Thierry Reding authored
      Older Tegra devices only allow addressing 32 bits of memory, so whether
      or not the host1x is attached to an IOMMU doesn't matter. host1x IOMMU
      attachment is only needed on devices that can address memory beyond the
      32-bit boundary and where the host1x doesn't support the wide GATHER
      opcode that allows it to access buffers at higher addresses.
      
      Cc: <stable@vger.kernel.org> # v5.5
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Tested-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
      2d9384ff
    • Linus Torvalds's avatar
      Merge tag 'kvm-5.6-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 90568ecf
      Linus Torvalds authored
      Pull more KVM updates from Paolo Bonzini:
       "s390:
         - fix register corruption
         - ENOTSUPP/EOPNOTSUPP mixed
         - reset cleanups/fixes
         - selftests
      
        x86:
         - Bug fixes and cleanups
         - AMD support for APIC virtualization even in combination with
           in-kernel PIT or IOAPIC.
      
        MIPS:
         - Compilation fix.
      
        Generic:
         - Fix refcount overflow for zero page"
      
      * tag 'kvm-5.6-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (42 commits)
        KVM: vmx: delete meaningless vmx_decache_cr0_guest_bits() declaration
        KVM: x86: Mark CR4.UMIP as reserved based on associated CPUID bit
        x86: vmxfeatures: rename features for consistency with KVM and manual
        KVM: SVM: relax conditions for allowing MSR_IA32_SPEC_CTRL accesses
        KVM: x86: Fix perfctr WRMSR for running counters
        x86/kvm/hyper-v: don't allow to turn on unsupported VMX controls for nested guests
        x86/kvm/hyper-v: move VMX controls sanitization out of nested_enable_evmcs()
        kvm: mmu: Separate generating and setting mmio ptes
        kvm: mmu: Replace unsigned with unsigned int for PTE access
        KVM: nVMX: Remove stale comment from nested_vmx_load_cr3()
        KVM: MIPS: Fold comparecount_func() into comparecount_wakeup()
        KVM: MIPS: Fix a build error due to referencing not-yet-defined function
        x86/kvm: do not setup pv tlb flush when not paravirtualized
        KVM: fix overflow of zero page refcount with ksm running
        KVM: x86: Take a u64 when checking for a valid dr7 value
        KVM: x86: use raw clock values consistently
        KVM: x86: reorganize pvclock_gtod_data members
        KVM: nVMX: delete meaningless nested_vmx_run() declaration
        KVM: SVM: allow AVIC without split irqchip
        kvm: ioapic: Lazy update IOAPIC EOI
        ...
      90568ecf
    • Linus Torvalds's avatar
      Merge tag 'kgdb-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux · d854b2d6
      Linus Torvalds authored
      Pull kgdb fix from Daniel Thompson:
       "One of the simplifications added for 5.6-rc1 has caused build
        regressions on some platforms (it was reported for sparc64).
      
        This fixes it with a revert"
      
      * tag 'kgdb-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
        Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no regs"
      d854b2d6
    • 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.comSigned-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.comSigned-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.comSigned-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
    • 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
  3. 05 Feb, 2020 2 commits