1. 03 8月, 2021 1 次提交
  2. 25 6月, 2021 1 次提交
  3. 20 4月, 2021 1 次提交
  4. 28 9月, 2020 1 次提交
  5. 07 9月, 2020 1 次提交
  6. 04 8月, 2020 2 次提交
  7. 03 8月, 2020 1 次提交
  8. 28 7月, 2020 1 次提交
  9. 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
  10. 23 7月, 2020 1 次提交
  11. 20 7月, 2020 1 次提交
    • N
      PCI: tegra: Revert tegra124 raw_violation_fixup · e7b856df
      Nicolas Chauvet 提交于
      As reported in https://bugzilla.kernel.org/206217 , raw_violation_fixup
      is causing more harm than good in some common use-cases.
      
      This patch is a partial revert of commit:
      
      191cd6fb ("PCI: tegra: Add SW fixup for RAW violations")
      
      and fixes the following regression since then.
      
      * Description:
      
      When both the NIC and MMC are used one can see the following message:
      
        NETDEV WATCHDOG: enp1s0 (r8169): transmit queue 0 timed out
      
      and
      
        pcieport 0000:00:02.0: AER: Uncorrected (Non-Fatal) error received: 0000:01:00.0
        r8169 0000:01:00.0: AER: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
        r8169 0000:01:00.0: AER:   device [10ec:8168] error status/mask=00004000/00400000
        r8169 0000:01:00.0: AER:    [14] CmpltTO                (First)
        r8169 0000:01:00.0: AER: can't recover (no error_detected callback)
        pcieport 0000:00:02.0: AER: device recovery failed
      
      After that, the ethernet NIC is not functional anymore even after
      reloading the r8169 module. After a reboot, this is reproducible by
      copying a large file over the NIC to the MMC.
      
      For some reason this is not reproducible when files are copied to a tmpfs.
      
      * Little background on the fixup, by Manikanta Maddireddy:
        "In the internal testing with dGPU on Tegra124, CmplTO is reported by
      dGPU. This happened because FIFO queue in AFI(AXI to PCIe) module
      get full by upstream posted writes. Back to back upstream writes
      interleaved with infrequent reads, triggers RAW violation and CmpltTO.
      This is fixed by reducing the posted write credits and by changing
      updateFC timer frequency. These settings are fixed after stress test.
      
      In the current case, RTL NIC is also reporting CmplTO. These settings
      seems to be aggravating the issue instead of fixing it."
      
      Link: https://lore.kernel.org/r/20200718100710.15398-1-kwizart@gmail.com
      Fixes: 191cd6fb ("PCI: tegra: Add SW fixup for RAW violations")
      Signed-off-by: NNicolas Chauvet <kwizart@gmail.com>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Reviewed-by: NManikanta Maddireddy <mmaddireddy@nvidia.com>
      Cc: stable@vger.kernel.org
      e7b856df
  12. 10 7月, 2020 2 次提交
  13. 01 6月, 2020 1 次提交
  14. 11 5月, 2020 1 次提交
  15. 24 2月, 2020 1 次提交
  16. 04 2月, 2020 1 次提交
  17. 11 1月, 2020 2 次提交
  18. 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
  19. 05 7月, 2019 3 次提交
  20. 21 6月, 2019 16 次提交