1. 04 8月, 2020 1 次提交
  2. 24 7月, 2020 1 次提交
    • R
      PCI: Move setting pci_host_bridge.busnr out of host drivers · 4f5c883d
      Rob Herring 提交于
      Most host drivers only parse the DT bus range to set the root bus number
      in pci_host_bridge.busnr. The ones that don't set busnr are buggy in
      that they ignore what's in DT. Let's set busnr in pci_scan_root_bus_bridge()
      where we already check for the bus resource and remove setting it in
      host drivers.
      
      Link: https://lore.kernel.org/r/20200722022514.1283916-12-robh@kernel.orgSigned-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Acked-by: NBjorn Helgaas <bhelgaas@google.com>
      Cc: Jingoo Han <jingoohan1@gmail.com>
      Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
      Cc: Will Deacon <will@kernel.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Ryder Lee <ryder.lee@mediatek.com>
      Cc: Marek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: linux-tegra@vger.kernel.org
      Cc: linux-mediatek@lists.infradead.org
      Cc: linux-renesas-soc@vger.kernel.org
      4f5c883d
  3. 23 7月, 2020 1 次提交
  4. 10 7月, 2020 2 次提交
  5. 01 6月, 2020 1 次提交
  6. 11 5月, 2020 1 次提交
  7. 24 2月, 2020 1 次提交
  8. 04 2月, 2020 1 次提交
  9. 11 1月, 2020 2 次提交
  10. 12 8月, 2019 1 次提交
    • N
      PCI: tegra: Fix OF node reference leak · 9e38e690
      Nishka Dasgupta 提交于
      Each iteration of for_each_child_of_node() executes of_node_put() on the
      previous node, but in some return paths in the middle of the loop
      of_node_put() is missing thus causing a reference leak.
      
      Hence stash these mid-loop return values in a variable 'err' and add a
      new label err_node_put which executes of_node_put() on the previous node
      and returns 'err' on failure.
      
      Change mid-loop return statements to point to jump to this label to
      fix the reference leak.
      
      Issue found with Coccinelle.
      Signed-off-by: NNishka Dasgupta <nishkadg.linux@gmail.com>
      [lorenzo.pieralisi@arm.com: rewrote commit log]
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      9e38e690
  11. 05 7月, 2019 3 次提交
  12. 21 6月, 2019 20 次提交
  13. 16 4月, 2019 1 次提交
  14. 08 6月, 2018 1 次提交
  15. 15 5月, 2018 1 次提交
  16. 19 3月, 2018 1 次提交
    • M
      PCI: tegra: Add power management support · da76ba50
      Manikanta Maddireddy 提交于
      Tegra186 powergate driver is implemented as power domain driver, power
      partition ungate/gate are registered as power_on/power_off callback
      functions. There are no direct functions to power gate/ungate host
      controller in Tegra186. Host controller driver should add "power-domains"
      property in device tree and implement runtime suspend and resume
      callback functons. Power gate and ungate is taken care by power domain
      driver when host controller driver calls pm_runtime_put_sync and
      pm_runtime_get_sync respectively.
      
      Register suspend_noirq & resume_noirq callback functions to allow PCIe to
      come up after resume from RAM. Both runtime and noirq pm ops share same
      callback functions.
      Signed-off-by: NManikanta Maddireddy <mmaddireddy@nvidia.com>
      [lorenzo.pieralisi@arm.com: squashed patch to fix compilation]
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Tested-by: NThierry Reding <treding@nvidia.com>
      da76ba50
  17. 02 3月, 2018 1 次提交