1. 30 Sep, 2022 9 commits
  2. 29 Sep, 2022 6 commits
  3. 28 Sep, 2022 1 commit
  4. 27 Sep, 2022 19 commits
  5. 26 Sep, 2022 1 commit
    • Chris Wilson's avatar
      drm/i915/gt: Restrict forced preemption to the active context · 6ef7d362
      Chris Wilson authored
      When we submit a new pair of contexts to ELSP for execution, we start a
      timer by which point we expect the HW to have switched execution to the
      pending contexts. If the promotion to the new pair of contexts has not
      occurred, we declare the executing context to have hung and force the
      preemption to take place by resetting the engine and resubmitting the
      new contexts.
      
      This can lead to an unfair situation where almost all of the preemption
      timeout is consumed by the first context which just switches into the
      second context immediately prior to the timer firing and triggering the
      preemption reset (assuming that the timer interrupts before we process
      the CS events for the context switch). The second context hasn't yet had
      a chance to yield to the incoming ELSP (and send the ACk for the
      promotion) and so ends up being blamed for the reset.
      
      If we see that a context switch has occurred since setting the
      preemption timeout, but have not yet received the ACK for the ELSP
      promotion, rearm the preemption timer and check again. This is
      especially significant if the first context was not schedulable and so
      we used the shortest timer possible, greatly increasing the chance of
      accidentally blaming the second innocent context.
      
      Fixes: 3a7a92ab ("drm/i915/execlists: Force preemption")
      Fixes: d12acee8 ("drm/i915/execlists: Cancel banned contexts on schedule-out")
      Reported-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Andi Shyti <andi.shyti@linux.intel.com>
      Reviewed-by: default avatarAndrzej Hajda <andrzej.hajda@intel.com>
      Tested-by: default avatarAndrzej Hajda <andrzej.hajda@intel.com>
      Cc: <stable@vger.kernel.org> # v5.5+
      Signed-off-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220921135258.1714873-1-andrzej.hajda@intel.com
      (cherry picked from commit 107ba1a2)
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      6ef7d362
  6. 25 Sep, 2022 4 commits
    • Linus Torvalds's avatar
      Linux 6.0-rc7 · f76349cf
      Linus Torvalds authored
      f76349cf
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 5e049663
      Linus Torvalds authored
      Pull ext4 fixes from Ted Ts'o:
       "Regression and bug fixes:
      
         - Performance regression fix from 5.18 on a Rasberry Pi
      
         - Fix extent parsing bug which triggers a BUG_ON when a (corrupted)
           extent tree has has a non-root node when zero entries.
      
         - Fix a livelock where in the right (wrong) circumstances a large
           number of nfsd threads can try to write to a nearly full file
           system, and retry for hours(!)"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: limit the number of retries after discarding preallocations blocks
        ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
        ext4: use buckets for cr 1 block scan instead of rbtree
        ext4: use locality group preallocation for small closed files
        ext4: make directory inode spreading reflect flexbg size
        ext4: avoid unnecessary spreading of allocations among groups
        ext4: make mballoc try target group first even with mb_optimize_scan
      5e049663
    • Linus Torvalds's avatar
      Merge tag 'dax-and-nvdimm-fixes-v6.0-final' of... · 4207d595
      Linus Torvalds authored
      Merge tag 'dax-and-nvdimm-fixes-v6.0-final' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
      
      Pull NVDIMM and DAX fixes from Dan Williams:
       "A recently discovered one-line fix for devdax that further addresses a
        v5.5 regression, and (a bit embarrassing) a small batch of fixes that
        have been sitting in my fixes tree for weeks.
      
        The older fixes have soaked in linux-next during that time and address
        an fsdax infinite loop and some other minor fixups.
      
         - Fix a infinite loop bug in fsdax
      
         - Fix memory-type detection for devdax (EINJ regression)
      
         - Small cleanups"
      
      * tag 'dax-and-nvdimm-fixes-v6.0-final' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        devdax: Fix soft-reservation memory description
        fsdax: Fix infinite loop in dax_iomap_rw()
        nvdimm/namespace: drop nested variable in create_namespace_pmem()
        ndtest: Cleanup all of blk namespace specific code
        pmem: fix a name collision
      4207d595
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · f0cc7c00
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "I2C driver bugfixes for mlxbf and imx, a few documentation fixes after
        the rework this cycle, and one hardening for the i2c-mux core"
      
      * tag 'i2c-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: mux: harden i2c_mux_alloc() against integer overflows
        i2c: mlxbf: Fix frequency calculation
        i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
        i2c: mlxbf: incorrect base address passed during io write
        Documentation: i2c: fix references to other documents
        MAINTAINERS: remove Nehal Shah from AMD MP2 I2C DRIVER
        i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
      f0cc7c00