1. 02 Aug, 2019 3 commits
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 42d21900
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A few fixes for code that came in during the merge window or that
        started getting exercised differently this time around:
      
         - Select regmap MMIO kconfig in spreadtrum driver to avoid compile
           errors
      
         - Complete kerneldoc on devm_clk_bulk_get_optional()
      
         - Register an essential clk earlier on mediatek mt8183 SoCs so the
           clocksource driver can use it
      
         - Fix divisor math in the at91 driver
      
         - Plug a race in Renesas reset control logic"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: renesas: cpg-mssr: Fix reset control race condition
        clk: sprd: Select REGMAP_MMIO to avoid compile errors
        clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource
        clk: Add missing documentation of devm_clk_bulk_get_optional() argument
        clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
      42d21900
    • Linus Torvalds's avatar
      Merge tag 'arm-swiotlb-5.3' of git://git.infradead.org/users/hch/dma-mapping · 234172f6
      Linus Torvalds authored
      Pull arm swiotlb support from Christoph Hellwig:
       "This fixes a cascade of regressions that originally started with the
        addition of the ia64 port, but only got fatal once we removed most
        uses of block layer bounce buffering in Linux 4.18.
      
        The reason is that while the original i386/PAE code that was the first
        architecture that supported > 4GB of memory without an iommu decided
        to leave bounce buffering to the subsystems, which in those days just
        mean block and networking as no one else consumed arbitrary userspace
        memory.
      
        Later with ia64, x86_64 and other ports we assumed that either an
        iommu or something that fakes it up ("software IOTLB" in beautiful
        Intel speak) is present and that subsystems can rely on that for
        dealing with addressing limitations in devices. Except that the ARM
        LPAE scheme that added larger physical address to 32-bit ARM did not
        follow that scheme and thus only worked by chance and only for block
        and networking I/O directly to highmem.
      
        Long story, short fix - add swiotlb support to arm when build for LPAE
        platforms, which actuallys turns out to be pretty trivial with the
        modern dma-direct / swiotlb code to fix the Linux 4.18-ish regression"
      
      * tag 'arm-swiotlb-5.3' of git://git.infradead.org/users/hch/dma-mapping:
        arm: use swiotlb for bounce buffering on LPAE configs
        dma-mapping: check pfn validity in dma_common_{mmap,get_sgtable}
      234172f6
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.3-3' of git://git.infradead.org/users/hch/dma-mapping · 35fca9f8
      Linus Torvalds authored
      Pull dma-mapping regression fixes from Christoph Hellwig:
       "Two related regression fixes for changes from this merge window to fix
        alignment issues introduced in the CMA allocation rework (Nicolin
        Chen)"
      
      * tag 'dma-mapping-5.3-3' of git://git.infradead.org/users/hch/dma-mapping:
        dma-contiguous: page-align the size in dma_free_contiguous()
        dma-contiguous: do not overwrite align in dma_alloc_contiguous()
      35fca9f8
  2. 01 Aug, 2019 2 commits
  3. 31 Jul, 2019 9 commits
  4. 30 Jul, 2019 6 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20190730' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 629f8205
      Linus Torvalds authored
      Pull pidfd fixes from Christian Brauner:
       "This makes setting the exit_state in exit_notify() consistent after
        fixing the pidfd polling race pre-rc1. Related to the race fix, this
        adds a WARN_ON() to do_notify_pidfd() to catch any future exit_state
        races.
      
        Last, this removes an obsolete comment from the pidfd tests"
      
      * tag 'for-linus-20190730' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        exit: make setting exit_state consistent
        pidfd: Add warning if exit_state is 0 during notification
        pidfd: remove obsolete comments from test
      629f8205
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 0572d766
      Linus Torvalds authored
      Pull f2fs fixes from Jaegeuk Kim:
       "This set of patches adjust to follow recent setflags changes and fix
        two regressions"
      
      * tag 'f2fs-for-5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs:
        f2fs: use EINVAL for superblock with invalid magic
        f2fs: fix to read source block before invalidating it
        f2fs: remove redundant check from f2fs_setflags_common()
        f2fs: use generic checking function for FS_IOC_FSSETXATTR
        f2fs: use generic checking and prep function for FS_IOC_SETFLAGS
      0572d766
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-5.3-rc3' of... · 2f6f0a99
      Linus Torvalds authored
      Merge tag 'linux-kselftest-5.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fixes from Shuah Khan:
       "Minor fixes to tests and one major fix to livepatch test to add skip
        handling to avoid false fail reports when livepatch is disabled"
      
      * tag 'linux-kselftest-5.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/livepatch: add test skip handling
        selftests: mlxsw: Fix typo in qos_mc_aware.sh
        selftests/x86: fix spelling mistake "FAILT" -> "FAIL"
        selftests: kmod: Fix typo in kmod.sh
      2f6f0a99
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 32a024b9
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "A few regression and bug fixes for the patches merged in the last
        cycle:
      
         - hns fixes a subtle crash from the ib core SGL rework
      
         - hfi1 fixes various error handling, oops and protocol errors
      
         - bnxt_re fixes a regression where nvmeof doesn't work on some
           configurations
      
         - mlx5 fixes a serious 'use after free' bug in how MR caching is
           handled
      
         - some edge case crashers in the new statistic core code
      
         - more siw static checker fixups"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
        IB/counters: Always initialize the port counter object
        IB/core: Fix querying total rdma stats
        IB/mlx5: Prevent concurrent MR updates during invalidation
        IB/mlx5: Fix clean_mr() to work in the expected order
        IB/mlx5: Move MRs to a kernel PD when freeing them to the MR cache
        IB/mlx5: Use direct mkey destroy command upon UMR unreg failure
        IB/mlx5: Fix unreg_umr to ignore the mkey state
        RDMA/siw: Remove set but not used variables 'rv'
        IB/mlx5: Replace kfree with kvfree
        RDMA/bnxt_re: Honor vlan_id in GID entry comparison
        IB/hfi1: Drop all TID RDMA READ RESP packets after r_next_psn
        IB/hfi1: Field not zero-ed when allocating TID flow memory
        IB/hfi1: Unreserve a flushed OPFN request
        IB/hfi1: Check for error on call to alloc_rsm_map_table
        RDMA/hns: Fix sg offset non-zero issue
        RDMA/siw: Fix error return code in siw_init_module()
      32a024b9
    • Linus Torvalds's avatar
      Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 515f12b9
      Linus Torvalds authored
      Pull HMM fixes from Jason Gunthorpe:
       "Fix the locking around nouveau's use of the hmm_range_* APIs. It works
        correctly in the success case, but many of the the edge cases have
        missing unlocks or double unlocks.
      
        The diffstat is a bit big as Christoph did a comprehensive job to move
        the obsolete API from the core header and into the driver before
        fixing its flow, but the risk of regression from this code motion is
        low"
      
      * tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        nouveau: unlock mmap_sem on all errors from nouveau_range_fault
        nouveau: remove the block parameter to nouveau_range_fault
        mm/hmm: move hmm_vma_range_done and hmm_vma_fault to nouveau
        mm/hmm: always return EBUSY for invalid ranges in hmm_range_{fault,snapshot}
      515f12b9
    • Christian Brauner's avatar
      exit: make setting exit_state consistent · 30b692d3
      Christian Brauner authored
      Since commit b191d649 ("pidfd: fix a poll race when setting exit_state")
      we unconditionally set exit_state to EXIT_ZOMBIE before calling into
      do_notify_parent(). This was done to eliminate a race when querying
      exit_state in do_notify_pidfd().
      Back then we decided to do the absolute minimal thing to fix this and
      not touch the rest of the exit_notify() function where exit_state is
      set.
      Since this fix has not caused any issues change the setting of
      exit_state to EXIT_DEAD in the autoreap case to account for the fact hat
      exit_state is set to EXIT_ZOMBIE unconditionally. This fix was planned
      but also explicitly requested in [1] and makes the whole code more
      consistent.
      
      /* References */
      [1]: https://lore.kernel.org/lkml/CAHk-=wigcxGFR2szue4wavJtH5cYTTeNES=toUBVGsmX0rzX+g@mail.gmail.comSigned-off-by: default avatarChristian Brauner <christian@brauner.io>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      30b692d3
  5. 29 Jul, 2019 9 commits
  6. 28 Jul, 2019 11 commits