Skip to content
  1. Aug 18, 2021
  2. Aug 17, 2021
  3. Aug 16, 2021
  4. Aug 12, 2021
    • Jonathan Bell's avatar
      usb: xhci: workaround for bogus SET_DEQ_PENDING endpoint state · 9d6d498b
      Jonathan Bell authored
      See https://github.com/raspberrypi/linux/issues/3981
      
      
      
      An unknown unsafe memory access can result in the ep_state variable
      in xhci_virt_ep being trampled with a stuck SET_DEQ_PENDING state
      despite successful completion of a Set TR Deq Pointer command.
      
      All URB enqueue/dequeue calls for the endpoint will fail in this state
      so no transfers are possible until the device is reconnected.
      
      As a workaround, clear the flag if we see it set and issue a new Set
      TR Deq command anyway - this should be harmless, as a prior Set TR Deq
      command will only have been issued in the Stopped state, and if the
      endpoint is Running then the controller is required to ignore it and
      respond with a Context State Error event TRB.
      
      Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
      9d6d498b
  5. Aug 11, 2021
  6. Aug 09, 2021
  7. Aug 04, 2021
  8. Aug 03, 2021
  9. Jul 28, 2021
  10. Jul 27, 2021
  11. Jul 26, 2021
  12. Jul 23, 2021
  13. Jul 22, 2021