1. 14 Dec, 2019 2 commits
  2. 13 Dec, 2019 21 commits
    • Linus Torvalds's avatar
      Merge tag 'nios2-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2 · e31736d9
      Linus Torvalds authored
      Pull nios2 fix from Ley Foon Tan:
       "Fix nios2 ioremap regression"
      
      * tag 'nios2-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2:
        nios2: Fix ioremap
      e31736d9
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 1482e664
      Linus Torvalds authored
      Pull Devicetree fixes from Rob Herring:
      
       - Fix for dependency tracking caused by unittest interaction
      
       - Fix some schema errors in Tegra memory controller schema
      
       - Update Maxime Ripard's email address
      
       - Review fixes to TI cpsw-switch
      
       - Add wakeup-source prop for STM32 rproc. Got dropped in the schema
         conversion.
      
      * tag 'devicetree-fixes-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of/platform: Unconditionally pause/resume sync state during kernel init
        dt-bindings: memory-controllers: tegra: Fix type references
        dt-bindings: Change maintainer address
        dt-bindings: net: ti: cpsw-switch: update to fix comments
        dt-bindings: remoteproc: stm32: add wakeup-source property
      1482e664
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · dd79b536
      Linus Torvalds authored
      Pull virtio fixes from Michael Tsirkin:
       "Some fixes and cleanup patches"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        virtio_balloon: divide/multiply instead of shifts
        virtio_balloon: name cleanups
        virtio-balloon: fix managed page counts when migrating pages between zones
      dd79b536
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 1d76c079
      Linus Torvalds authored
      Pull PCI fix from Bjorn Helgaas:
       "Fix rockchip outbound ATU issue that prevented Google Kevin
        Chromebooks from booting (Enric Balletbo i Serra)"
      
      * tag 'pci-v5.5-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: rockchip: Fix IO outbound ATU register number
      1d76c079
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 3b2ee614
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
      
       - removal of an old API where all in-kernel users have been converted
         as of this merge window.
      
       - a kdoc fix
      
       - a new helper that will make dependencies for the next API conversion
         a tad easier
      
      * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: add helper to check if a client has a driver attached
        i2c: fix header file kernel-doc warning
        i2c: remove i2c_new_dummy() API
      3b2ee614
    • Linus Torvalds's avatar
      Merge tag 'pm-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 6bd2c87a
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These add PM QoS support to devfreq and fix a few issues in that
        subsystem, fix two cpuidle issues and do one minor cleanup in there,
        and address an ACPI power management problem related to devices with
        special power management requirements, like fans.
      
        Specifics:
      
         - Add PM QoS support, based on the frequency QoS introduced during
           the 5.4 cycle, to devfreq (Leonard Crestez).
      
         - Fix some assorted devfreq issues (Leonard Crestez).
      
         - Fix an unintentional cpuidle behavior change (introduced during the
           5.4 cycle) related to the active polling time limit (Marcelo
           Tosatti).
      
         - Fix a recently introduced cpuidle helper function and do a minor
           cleanup in the cpuidle core (Rafael Wysocki).
      
         - Avoid adding devices with special power management requirements,
           like fans, to the generic ACPI PM domain (Rafael Wysocki)"
      
      * tag 'pm-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
        cpuidle: Fix cpuidle_driver_state_disabled()
        ACPI: PM: Avoid attaching ACPI PM domain to certain devices
        cpuidle: use first valid target residency as poll time
        PM / devfreq: Use PM QoS for sysfs min/max_freq
        PM / devfreq: Add PM QoS support
        PM / devfreq: Don't fail devfreq_dev_release if not in list
        PM / devfreq: Introduce get_freq_range helper
        PM / devfreq: Set scaling_max_freq to max on OPP notifier error
        PM / devfreq: Fix devfreq_notifier_call returning errno
      6bd2c87a
    • Linus Torvalds's avatar
      Merge tag 'sound-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b61c5622
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A small collection of fixes.
      
        The main changes are fixes for a couple of regressions in AMD HD-audio
        and FireWire that were introduced in 5.5-rc1. The rest are small fixes
        for echoaudio and FireWire, as well as a usual Dell HD-audio fixup"
      
      * tag 'sound-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda/realtek - Line-out jack doesn't work on a Dell AIO
        ALSA: hda/hdmi - Fix duplicate unref of pci_dev
        ALSA: fireface: fix return value in error path of isochronous resources reservation
        ALSA: oxfw: fix return value in error path of isochronous resources reservation
        ALSA: firewire-motu: fix double unlocked 'motu->mutex'
        ALSA: echoaudio: simplify get_audio_levels
      b61c5622
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-12-13' of git://anongit.freedesktop.org/drm/drm · b2cb931d
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Usual round of rc2 fixes.
      
        i915 and amdgpu leading the charge, but a few others in here,
        including some nouveau fixes, all seems pretty for rc2, but hey it's a
        Fri 13th pull so I'm sure it'll cause untold bad fortune.
      
        dma-buf:
         - memory leak fix
         - expand MAINTAINERS scope
      
        core:
         - fix mode matching for drivers not using picture_aspect_ratio
      
        nouveau:
         - panel scaling fix
         - MST BPC fix
         - atomic fixes
      
        i915:
         - GPU hang on idle transition
         - GLK+ FBC corruption fix
         - non-priv OA access on Tigerlake
         - HDCP state fix
         - CI found race fixes
      
        amdgpu:
         - renoir DC fixes
         - GFX8 fence flush alignment with userspace
         - Arcturus power profile fix
         - DC aux + i2c over aux fixes
         - GPUVM invalidation semaphore fixes
         - gfx10 golden registers update
      
        mgag200:
         - expand startadd fix
      
        panfrost:
         - devfreq fix
         - memory fixes
      
        mcde:
         - DSI pointer deref fix"
      
      * tag 'drm-fixes-2019-12-13' of git://anongit.freedesktop.org/drm/drm: (51 commits)
        drm/amdgpu: add invalidate semaphore limit for SRIOV in gmc10
        drm/amdgpu: add invalidate semaphore limit for SRIOV and picasso in gmc9
        drm/amdgpu: avoid using invalidate semaphore for picasso
        Revert "drm/amdgpu: dont schedule jobs while in reset"
        drm/amdgpu: fix license on Kconfig and Makefiles
        drm/amdgpu/gfx10: update gfx golden settings for navi14
        drm/amdgpu/gfx10: update gfx golden settings
        drm/amdgpu/gfx10: update gfx golden settings for navi14
        drm/amdgpu/gfx10: update gfx golden settings
        drm/i915: Serialise with remote retirement
        drm/amd/display: include linux/slab.h where needed
        drm/amd/display: fix undefined struct member reference
        drm/nouveau/kms/nv50-: fix panel scaling
        drm/nouveau/kms/nv50-: Limit MST BPC to 8
        drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
        drm/nouveau/kms/nv50-: Call outp_atomic_check_view() before handling PBN
        drm/nouveau: Fix drm-core using atomic code-paths on pre-nv50 hardware
        drm/nouveau: Move the declaration of struct nouveau_conn_atom up a bit
        drm/i915/gt: Detect if we miss WaIdleLiteRestore
        drm/i915/hdcp: Nuke intel_hdcp_transcoder_config()
        ...
      b2cb931d
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20191212' of git://git.kernel.dk/linux-block · f1fcd778
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - stable fix for the bi_size overflow. Not a corruption issue, but a
         case wher we could merge but disallowed (Andreas)
      
       - NVMe pull request via Keith, with various fixes.
      
       - MD pull request from Song.
      
       - Merge window regression fix for the rq passthrough stats (Logan)
      
       - Remove unused blkcg_drain_queue() function (Guoqing)
      
      * tag 'for-linus-20191212' of git://git.kernel.dk/linux-block:
        blk-cgroup: remove blkcg_drain_queue
        block: fix NULL pointer dereference in account statistics with IDE
        md: make sure desc_nr less than MD_SB_DISKS
        md: raid1: check rdev before reference in raid1_sync_request func
        raid5: need to set STRIPE_HANDLE for batch head
        block: fix "check bi_size overflow before merge"
        nvme/pci: Fix read queue count
        nvme/pci Limit write queue sizes to possible cpus
        nvme/pci: Fix write and poll queue types
        nvme/pci: Remove last_cq_head
        nvme: Namepace identification descriptor list is optional
        nvme-fc: fix double-free scenarios on hw queues
        nvme: else following return is not needed
        nvme: add error message on mismatching controller ids
        nvme_fc: add module to ops template to allow module references
        nvmet-loop: Avoid preallocating big SGL for data
        nvme-fc: Avoid preallocating big SGL for data
        nvme-rdma: Avoid preallocating big SGL for data
      f1fcd778
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.5-20191212' of git://git.kernel.dk/linux-block · 5bd831a4
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - A tweak to IOSQE_IO_LINK (also marked for stable) to allow links that
         don't sever if the result is < 0.
      
         This is mostly for linked timeouts, where if we ask for a pure
         timeout we always get -ETIME. This makes links useless for that case,
         hence allow a case where it works.
      
       - Five minor optimizations to fix and improve cases that regressed
         since v5.4.
      
       - An SQTHREAD locking fix.
      
       - A sendmsg/recvmsg iov assignment fix.
      
       - Net fix where read_iter/write_iter don't honor IOCB_NOWAIT, and
         subsequently ensuring that works for io_uring.
      
       - Fix a case where for an invalid opcode we might return -EBADF instead
         of -EINVAL, if the ->fd of that sqe was set to an invalid fd value.
      
      * tag 'io_uring-5.5-20191212' of git://git.kernel.dk/linux-block:
        io_uring: ensure we return -EINVAL on unknown opcode
        io_uring: add sockets to list of files that support non-blocking issue
        net: make socket read/write_iter() honor IOCB_NOWAIT
        io_uring: only hash regular files for async work execution
        io_uring: run next sqe inline if possible
        io_uring: don't dynamically allocate poll data
        io_uring: deferred send/recvmsg should assign iov
        io_uring: sqthread should grab ctx->uring_lock for submissions
        io-wq: briefly spin for new work after finishing work
        io-wq: remove worker->wait waitqueue
        io_uring: allow unbreakable links
      5bd831a4
    • Linus Torvalds's avatar
      Merge tag 'for-5.5/dm-fixes' of... · 15da849c
      Linus Torvalds authored
      Merge tag 'for-5.5/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM multipath by restoring full path selector functionality for
         bio-based configurations that don't haave a SCSI device handler.
      
       - Fix dm-btree removal to ensure non-root btree nodes have at least
         (max_entries / 3) entries. This resolves userspace thin_check
         utility's report of "too few entries in btree_node".
      
       - Fix both the DM thin-provisioning and dm-clone targets to properly
         flush the data device prior to metadata commit. This resolves the
         potential for inconsistency across a power loss event when the data
         device has a volatile writeback cache.
      
       - Small documentation fixes to dm-clone and dm-integrity.
      
      * tag 'for-5.5/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        docs: dm-integrity: remove reference to ARC4
        dm thin: Flush data device before committing metadata
        dm thin metadata: Add support for a pre-commit callback
        dm clone: Flush destination device before committing metadata
        dm clone metadata: Use a two phase commit
        dm clone metadata: Track exact changes per transaction
        dm btree: increase rebalance threshold in __rebalance2()
        dm: add dm-clone to the documentation index
        dm mpath: remove harmful bio-based optimization
      15da849c
    • Linus Torvalds's avatar
      Merge tag 'sizeof_field-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 22ff311a
      Linus Torvalds authored
      Pull FIELD_SIZEOF conversion from Kees Cook:
       "A mostly mechanical treewide conversion from FIELD_SIZEOF() to
        sizeof_field(). This avoids the redundancy of having 2 macros
        (actually 3) doing the same thing, and consolidates on sizeof_field().
        While "field" is not an accurate name, it is the common name used in
        the kernel, and doesn't result in any unintended innuendo.
      
        As there are still users of FIELD_SIZEOF() in -next, I will clean up
        those during this coming development cycle and send the final old
        macro removal patch at that time"
      
      * tag 'sizeof_field-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        treewide: Use sizeof_field() macro
        MIPS: OCTEON: Replace SIZEOF_FIELD() macro
      22ff311a
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle' and 'acpi-pm' · 4c84515d
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
        cpuidle: Fix cpuidle_driver_state_disabled()
        cpuidle: use first valid target residency as poll time
      
      * acpi-pm:
        ACPI: PM: Avoid attaching ACPI PM domain to certain devices
      4c84515d
    • Pavel Shilovsky's avatar
      CIFS: Close cached root handle only if it has a lease · d9191319
      Pavel Shilovsky authored
      SMB2_tdis() checks if a root handle is valid in order to decide
      whether it needs to close the handle or not. However if another
      thread has reference for the handle, it may end up with putting
      the reference twice. The extra reference that we want to put
      during the tree disconnect is the reference that has a directory
      lease. So, track the fact that we have a directory lease and
      close the handle only in that case.
      Signed-off-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      Reviewed-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      d9191319
    • Steve French's avatar
      SMB3: Fix crash in SMB2_open_init due to uninitialized field in compounding path · e0fc5b11
      Steve French authored
      Ran into an intermittent crash in
      	SMB2_open_init+0x2f6/0x970
      due to oparms.cifs_sb not being initialized when called from:
      	smb2_compound_op+0x45d/0x1690
      Zero the whole oparms struct in the compounding path before setting up the
      oparms so we don't risk any uninitialized fields.
      
      Fixes: fdef665b ("smb3: fix mode passed in on create for modetosid mount option")
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      Acked-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
      Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      e0fc5b11
    • Dave Airlie's avatar
      Merge tag 'drm-fixes-5.5-2019-12-12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · d16f0f61
      Dave Airlie authored
      drm-fixes-5.5-2019-12-12:
      
      amdgpu:
      - DC fixes for renoir
      - Gfx8 fence flush align with mesa
      - Power profile fix for arcturus
      - Freesync fix
      - DC I2c over aux fix
      - DC aux defer fix
      - GPU reset fix
      - GPUVM invalidation semaphore fixes for PCO and SR-IOV
      - Golden settings updates for gfx10
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191212223211.8034-1-alexander.deucher@amd.com
      d16f0f61
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2019-12-12' of... · 82e50ec8
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2019-12-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix user reported issue #673: GPU hang on transition to idle
      - Avoid corruption on the top of the screen on GLK+ by disabling FBC
      - Fix non-privileged access to OA on Tigerlake
      - Fix HDCP code not to touch global state when just computing commit
      - Fix CI splat by saving irqstate around virtual_context_destroy
      - Serialise context retirement possibly on another CPU
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191212100759.GA22260@jlahtine-desk.ger.corp.intel.com
      82e50ec8
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2019-12-12' of... · 7315c0ed
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2019-12-12' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
      
      -mgag200: more startadd mitigation (Thomas)
      -panfrost: devfreq fix + several memory fixes (Steven, Boris)
      
      Cc: Boris Brezillon <boris.brezillon@collabora.com>
      Cc: Steven Price <steven.price@arm.com>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Sean Paul <sean@poorly.run>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191212140145.GA145200@art_vandelay
      7315c0ed
    • Saravana Kannan's avatar
      of/platform: Unconditionally pause/resume sync state during kernel init · ee9b280e
      Saravana Kannan authored
      Commit 5e666938 ("of/platform: Pause/resume sync state during init
      and of_platform_populate()") paused/resumed sync state during init only
      if Linux had parsed and populated a devicetree.
      
      However, the check for that (of_have_populated_dt()) can change after
      of_platform_default_populate_init() executes.  One example of this is
      when devicetree unittests are enabled.  This causes an unmatched
      pause/resume of sync state. To avoid this, just unconditionally
      pause/resume sync state during init.
      
      Fixes: 5e666938 ("of/platform: Pause/resume sync state during init and of_platform_populate()")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
      Reviewed-by: default avatarFrank Rowand <frowand.list@gmail.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      ee9b280e
    • Rob Herring's avatar
      dt-bindings: memory-controllers: tegra: Fix type references · 70c81210
      Rob Herring authored
      Json-schema requires a $ref to be under an 'allOf' if there are
      additional constraints otherwise the additional constraints are
      ignored. (Note that this behavior will be changed in draft8.)
      
      Fixes: 641262f5 ("dt-bindings: memory: Add binding for NVIDIA Tegra30 External Memory Controller")
      Fixes: 785685b7 ("dt-bindings: memory: Add binding for NVIDIA Tegra30 Memory Controller")
      Fixes: 8da65c37 ("dt-bindings: memory: tegra30: Convert to Tegra124 YAML")
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: linux-tegra@vger.kernel.org
      Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      70c81210
    • Maxime Ripard's avatar
      dt-bindings: Change maintainer address · 5c7404bb
      Maxime Ripard authored
      While my email address has changed for a while, all the schemas I
      contributed still have the old one unfortunately. Update it.
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      5c7404bb
  3. 12 Dec, 2019 14 commits
  4. 11 Dec, 2019 3 commits
    • Jens Axboe's avatar
      io_uring: ensure we return -EINVAL on unknown opcode · 9e3aa61a
      Jens Axboe authored
      If we submit an unknown opcode and have fd == -1, io_op_needs_file()
      will return true as we default to needing a file. Then when we go and
      assign the file, we find the 'fd' invalid and return -EBADF. We really
      should be returning -EINVAL for that case, as we normally do for
      unsupported opcodes.
      
      Change io_op_needs_file() to have the following return values:
      
      0   - does not need a file
      1   - does need a file
      < 0 - error value
      
      and use this to pass back the right value for this invalid case.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      9e3aa61a
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-5.5-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · 687dec9b
      Linus Torvalds authored
      Pull erofs fixes from Gao Xiang:
       "Mainly address a regression reported by David recently observed
        together with overlayfs due to the improper return value of
        listxattr() without xattr. Update outdated expressions in document as
        well.
      
        Summary:
      
         - Fix improper return value of listxattr() with no xattr
      
         - Keep up documentation with latest code"
      
      * tag 'erofs-for-5.5-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
        erofs: update documentation
        erofs: zero out when listxattr is called with no xattr
      687dec9b
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 6674fdb2
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - Remove code I accidentally applied when doing a minor fix up to a
         patch, and then using "git commit -a --amend", which pulled in some
         other changes I was playing with.
      
       - Remove an used variable in trace_events_inject code
      
       - Fix function graph tracer when it traces a ftrace direct function.
         It will now ignore tracing a function that has a ftrace direct
         tramploine attached. This is needed for eBPF to use the ftrace direct
         code.
      
      * tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        ftrace: Fix function_graph tracer interaction with BPF trampoline
        tracing: remove set but not used variable 'buffer'
        module: Remove accidental change of module_enable_x()
      6674fdb2