1. 19 6月, 2023 1 次提交
    • L
      xhci:fix USB xhci controller issue · 1a869403
      Longfang Liu 提交于
      driver inclusion
      category: bugfix
      bugzilla: https://gitee.com/openeuler/kernel/issues/I7DZ8S
      CVE: NA
      
      ----------------------------------------------------------------------
      
      When the current HiSilicon USB xhci controller formats the faulty
      U disk, it will trigger a controller exception error. This will
      cause errors in the control logic of the xhci controller and
      driver software. In the end, all USB devices on the xhci controller
      cannot be used.
      
      By introducing a noop command operation, restore the logic of the
      xhci controller and driver software, and restore all USB devices
      on the xhci controller to normal.
      Signed-off-by: NLongfang Liu <liulongfang@huawei.com>
      1a869403
  2. 23 5月, 2023 2 次提交
  3. 06 4月, 2023 1 次提交
  4. 27 10月, 2022 2 次提交
  5. 29 9月, 2022 1 次提交
  6. 04 8月, 2022 1 次提交
  7. 23 2月, 2022 1 次提交
    • L
      XHCI: Fix some device identify fail when enable xHCI runtime suspend · b2d2a169
      LeoLiu-oc 提交于
      zhaoxin inclusion
      category: bugfix
      bugzilla: https://gitee.com/openeuler/kernel/issues/I40QDN
      CVE: NA
      
      ----------------------------------------------------------------
      
      If plug out device form xhci with runtime suspend enabled.
      On the one hand, driver will disconnect this device and send disabled
      slot command to xhci.
      On the other hand, without no device connect to xhci, PM core will
      call xhci suspend function to let xhci go to D3 to save power.
      However there is a temporal competition to get xhci lock between
      disable slot command interrupt and xhci suspend.
      If xhci suspend function get xhci lock first, then this function will
      clear xhci command ring. It will get error command trb when driver to
      handle disable slot command interrupt. This is a serious error for
      driver and driver will cleanup xhci. So,any device connect to this
      xhci port again will not be recognized.
      
      In order to fix this issues, we let disable slot command interrupt ISR
      to get xhci lock first. So, add a delay in xhci suspend function before
      to get xhci lock.
      Signed-off-by: NLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
      Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
      Reviewed-by: NJackie Liu <liuyun01@kylinos.cn>
      Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
      b2d2a169
  8. 22 2月, 2022 1 次提交
  9. 28 1月, 2022 1 次提交
  10. 14 1月, 2022 1 次提交
  11. 06 12月, 2021 1 次提交
  12. 15 11月, 2021 2 次提交
  13. 15 10月, 2021 1 次提交
  14. 29 9月, 2021 2 次提交
  15. 23 7月, 2021 3 次提交
  16. 03 6月, 2021 2 次提交
  17. 09 4月, 2021 2 次提交
  18. 07 1月, 2021 2 次提交
  19. 29 10月, 2020 1 次提交
  20. 18 8月, 2020 1 次提交
  21. 29 7月, 2020 2 次提交
  22. 21 7月, 2020 1 次提交
  23. 15 5月, 2020 2 次提交
  24. 13 3月, 2020 2 次提交
  25. 11 3月, 2020 1 次提交
  26. 19 2月, 2020 1 次提交
  27. 10 2月, 2020 2 次提交