1. 25 May, 2021 1 commit
    • Imre Deak's avatar
      drm/i915: Reenable LTTPR non-transparent LT mode for DPCD_REV<1.4 · e1185142
      Imre Deak authored
      The driver currently disables the LTTPR non-transparent link training
      mode for sinks with a DPCD_REV<1.4, based on the following description
      of the LTTPR DPCD register range in DP standard 2.0 (at the 0xF0000
      register description):
      
      ""
      LTTPR-related registers at DPCD Addresses F0000h through F02FFh are valid
      only for DPCD r1.4 (or higher).
      """
      
      The transparent link training mode should still work fine, however the
      implementation for this in some retimer FWs seems to be broken, see the
      References: link below.
      
      After discussions with DP standard authors the above "DPCD r1.4" does
      not refer to the DPCD revision (stored in the DPCD_REV reg at 0x00000),
      rather to the "LTTPR field data structure revision" stored in the
      0xF0000 reg. An update request has been filed at vesa.org (see
      wg/Link/documentComment/3746) for the upcoming v2.1 specification to
      clarify the above description along the following lines:
      
      """
      LTTPR-related registers at DPCD Addresses F0000h through F02FFh are
      valid only for LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV 1.4 (or
      higher)
      """
      
      Based on my tests Windows uses the non-transparent link training mode
      for DPCD_REV==1.2 sinks as well (so presumably for all DPCD_REVs), and
      forcing it to use transparent mode on ICL/TGL platforms leads to the
      same LT failure as reported at the References: link.
      
      Based on the above let's assume that the transparent link training mode
      is not well tested/supported and align the code to the correct
      interpretation of what the r1.4 version refers to.
      Reported-and-tested-by: default avatarCasey Harkins <caseyharkins@gmail.com>
      Tested-by: default avatarKhaled Almahallawy <khaled.almahallawy@intel.com>
      References: https://gitlab.freedesktop.org/drm/intel/-/issues/3415
      Fixes: 264613b4 ("drm/i915: Disable LTTPR support when the DPCD rev < 1.4")
      Cc: <stable@vger.kernel.org> # v5.11+
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Reviewed-by: default avatarKhaled Almahallawy <khaled.almahallawy@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210512212809.1234701-1-imre.deak@intel.com
      (cherry picked from commit cb4920cc)
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      e1185142
  2. 23 May, 2021 18 commits
  3. 22 May, 2021 4 commits
    • Linus Torvalds's avatar
      Merge tag 'block-5.13-2021-05-22' of git://git.kernel.dk/linux-block · 4ff2473b
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Fix BLKRRPART and deletion race (Gulam, Christoph)
      
       - NVMe pull request (Christoph):
            - nvme-tcp corruption and timeout fixes (Sagi Grimberg, Keith
              Busch)
            - nvme-fc teardown fix (James Smart)
            - nvmet/nvme-loop memory leak fixes (Wu Bo)"
      
      * tag 'block-5.13-2021-05-22' of git://git.kernel.dk/linux-block:
        block: fix a race between del_gendisk and BLKRRPART
        block: prevent block device lookups at the beginning of del_gendisk
        nvme-fc: clear q_live at beginning of association teardown
        nvme-tcp: rerun io_work if req_list is not empty
        nvme-tcp: fix possible use-after-completion
        nvme-loop: fix memory leak in nvme_loop_create_ctrl()
        nvmet: fix memory leak in nvmet_alloc_ctrl()
      4ff2473b
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.13-2021-05-22' of git://git.kernel.dk/linux-block · b9231dfb
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "One fix for a regression with poll in this merge window, and another
        just hardens the io-wq exit path a bit"
      
      * tag 'io_uring-5.13-2021-05-22' of git://git.kernel.dk/linux-block:
        io_uring: fortify tctx/io_wq cleanup
        io_uring: don't modify req->poll for rw
      b9231dfb
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.13b-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 23d72926
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - a fix for a boot regression when running as PV guest on hardware
         without NX support
      
       - a small series fixing a bug in the Xen pciback driver when
         configuring a PCI card with multiple virtual functions
      
      * tag 'for-linus-5.13b-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen-pciback: reconfigure also from backend watch handler
        xen-pciback: redo VF placement in the virtual topology
        x86/Xen: swap NX determination and GDT setup on BSP
      23d72926
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.13-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · a3969ef4
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
      
       - Fix some math errors in the realtime allocator when extent size hints
         are applied.
      
       - Fix unnecessary short writes to realtime files when free space is
         fragmented.
      
       - Fix a crash when using scrub tracepoints.
      
       - Restore ioctl uapi definitions that were accidentally removed in
         5.13-rc1.
      
      * tag 'xfs-5.13-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: restore old ioctl definitions
        xfs: fix deadlock retry tracepoint arguments
        xfs: retry allocations when locality-based search fails
        xfs: adjust rt allocation minlen when extszhint > rtextsize
      a3969ef4
  4. 21 May, 2021 17 commits