1. 23 Aug, 2023 1 commit
    • RD Babiera's avatar
      usb: typec: tcpm: set initial svdm version based on pd revision · c97cd0b4
      RD Babiera authored
      When sending Discover Identity messages to a Port Partner that uses Power
      Delivery v2 and SVDM v1, we currently send PD v2 messages with SVDM v2.0,
      expecting the port partner to respond with its highest supported SVDM
      version as stated in Section 6.4.4.2.3 in the Power Delivery v3
      specification. However, sending SVDM v2 to some Power Delivery v2 port
      partners results in a NAK whereas sending SVDM v1 does not.
      
      NAK messages can be handled by the initiator (PD v3 section 6.4.4.2.5.1),
      and one solution could be to resend Discover Identity on a lower SVDM
      version if possible. But, Section 6.4.4.3 of PD v2 states that "A NAK
      response Should be taken as an indication not to retry that particular
      Command."
      
      Instead, we can set the SVDM version to the maximum one supported by the
      negotiated PD revision. When operating in PD v2, this obeys Section
      6.4.4.2.3, which states the SVDM field "Shall be set to zero to indicate
      Version 1.0." In PD v3, the SVDM field "Shall be set to 01b to indicate
      Version 2.0."
      
      Fixes: c34e85fa ("usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarRD Babiera <rdbabiera@google.com>
      Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Link: https://lore.kernel.org/r/20230731165926.1815338-1-rdbabiera@google.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c97cd0b4
  2. 22 Aug, 2023 27 commits
  3. 14 Aug, 2023 1 commit
  4. 13 Aug, 2023 9 commits
  5. 12 Aug, 2023 2 commits
    • Linus Torvalds's avatar
      Merge tag 'for-6.5-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · a785fd28
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "More fixes, some of them going back to older releases and there are
        fixes for hangs in stress tests regarding space caching:
      
         - fixes and progress tracking for hangs in free space caching, found
           by test generic/475
      
         - writeback fixes, write pages in integrity mode and skip writing
           pages that have been written meanwhile
      
         - properly clear end of extent range after an error
      
         - relocation fixes:
            - fix race betwen qgroup tree creation and relocation
            - detect and report invalid reloc roots"
      
      * tag 'for-6.5-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: set cache_block_group_error if we find an error
        btrfs: reject invalid reloc tree root keys with stack dump
        btrfs: exit gracefully if reloc roots don't match
        btrfs: avoid race between qgroup tree creation and relocation
        btrfs: properly clear end of the unreserved range in cow_file_range
        btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
        btrfs: don't stop integrity writeback too early
        btrfs: wait for actual caching progress during allocation
      a785fd28
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · ae545c32
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - mark virtual chips exposed by gpio-sim as ones that can sleep
         (callbacks must not be called from interrupt context)
      
       - fix an off-by-one error in gpio-ws16c48
      
      * tag 'gpio-fixes-for-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
        gpio: sim: mark the GPIO chip as a one that can sleep
      ae545c32