1. 11 5月, 2022 1 次提交
  2. 23 3月, 2022 2 次提交
  3. 22 3月, 2022 1 次提交
  4. 17 3月, 2022 2 次提交
  5. 11 3月, 2022 1 次提交
  6. 10 3月, 2022 1 次提交
  7. 07 3月, 2022 1 次提交
  8. 23 2月, 2022 3 次提交
  9. 18 2月, 2022 1 次提交
  10. 12 2月, 2022 2 次提交
  11. 05 2月, 2022 1 次提交
  12. 04 2月, 2022 1 次提交
    • F
      PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails · f81f095e
      Fabio Estevam 提交于
      The intention of commit 886a9c13 ("PCI: dwc: Move link handling into
      common code") was to standardize the behavior of link down as explained
      in its commit log:
      
      "The behavior for a link down was inconsistent as some drivers would fail
      probe in that case while others succeed. Let's standardize this to
      succeed as there are usecases where devices (and the link) appear later
      even without hotplug. For example, a reconfigured FPGA device."
      
      The pci-imx6 still fails to probe when the link is not present, which
      causes the following warning:
      
      imx6q-pcie 8ffc000.pcie: Phy link never came up
      imx6q-pcie: probe of 8ffc000.pcie failed with error -110
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 30 at drivers/regulator/core.c:2257 _regulator_put.part.0+0x1b8/0x1dc
      Modules linked in:
      CPU: 0 PID: 30 Comm: kworker/u2:2 Not tainted 5.15.0-next-20211103 #1
      Hardware name: Freescale i.MX6 SoloX (Device Tree)
      Workqueue: events_unbound async_run_entry_fn
      [<c0111730>] (unwind_backtrace) from [<c010bb74>] (show_stack+0x10/0x14)
      [<c010bb74>] (show_stack) from [<c0f90290>] (dump_stack_lvl+0x58/0x70)
      [<c0f90290>] (dump_stack_lvl) from [<c012631c>] (__warn+0xd4/0x154)
      [<c012631c>] (__warn) from [<c0f87b00>] (warn_slowpath_fmt+0x74/0xa8)
      [<c0f87b00>] (warn_slowpath_fmt) from [<c076b4bc>] (_regulator_put.part.0+0x1b8/0x1dc)
      [<c076b4bc>] (_regulator_put.part.0) from [<c076b574>] (regulator_put+0x2c/0x3c)
      [<c076b574>] (regulator_put) from [<c08c3740>] (release_nodes+0x50/0x178)
      
      Fix this problem by ignoring the dw_pcie_wait_for_link() error like
      it is done on the other dwc drivers.
      
      Tested on imx6sx-sdb and imx6q-sabresd boards.
      
      Link: https://lore.kernel.org/r/20220106103645.2790803-1-festevam@gmail.com
      Fixes: 886a9c13 ("PCI: dwc: Move link handling into common code")
      Signed-off-by: NFabio Estevam <festevam@gmail.com>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Reviewed-by: NRob Herring <robh@kernel.org>
      Reviewed-by: NRichard Zhu <hongxing.zhu@nxp.com>
      Cc: <stable@vger.kernel.org>
      f81f095e
  13. 16 1月, 2022 1 次提交
  14. 07 1月, 2022 1 次提交
  15. 05 1月, 2022 1 次提交
  16. 04 1月, 2022 11 次提交
  17. 26 12月, 2021 1 次提交
  18. 06 12月, 2021 2 次提交
  19. 04 12月, 2021 1 次提交
  20. 02 12月, 2021 1 次提交
  21. 29 11月, 2021 1 次提交
  22. 19 11月, 2021 3 次提交