1. 19 7月, 2018 4 次提交
  2. 08 6月, 2018 1 次提交
  3. 15 5月, 2018 1 次提交
  4. 06 3月, 2018 3 次提交
  5. 29 1月, 2018 1 次提交
  6. 21 12月, 2017 6 次提交
  7. 19 12月, 2017 2 次提交
    • K
      PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit · a134a457
      Kishon Vijay Abraham I 提交于
      ->get_msi() now checks MSI_EN bit in the MSI CAPABILITY register to
      find whether the host supports MSI instead of using the
      MSI ADDRESS in the MSI CAPABILITY register.
      
      This fixes the issue with the following sequence
        'modprobe pci_endpoint_test' enables MSI
        'rmmod pci_endpoint_test' disables MSI but MSI address (in EP's
      	capability register) has a valid value
        'modprobe pci_endpoint_test no_msi=1' - Since MSI address (in EP's
      	capability register) has a valid value (set during the previous
      	insertion of the module), EP thinks host supports MSI.
      
      Fixes: f8aed6ec ("PCI: dwc: designware: Add EP mode support")
      Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      a134a457
    • N
      PCI: designware-ep: Fix find_first_zero_bit() usage · ad4a5bec
      Niklas Cassel 提交于
      find_first_zero_bit()'s parameter 'size' is defined in bits,
      not in bytes.
      
      find_first_zero_bit() is called with size in bytes rather than bits,
      which thus defines a too low upper limit, causing
      dw_pcie_ep_inbound_atu() to assign iatu index #4 to both bar 4
      and bar 5, which makes bar 5 overwrite the settings set by bar 4.
      
      Since the sizes of the bitmaps are known, dynamically allocate the
      bitmaps, and use the correct size when calling find_first_zero_bit().
      
      Additionally, make sure that ep->num_ob_windows and ep->num_ib_windows,
      which are obtained from device tree, are smaller than the maximum number
      of iATUs (MAX_IATU_IN/MAX_IATU_OUT).
      
      Fixes: f8aed6ec ("PCI: dwc: designware: Add EP mode support")
      Signed-off-by: NNiklas Cassel <niklas.cassel@axis.com>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Acked-by: NKishon Vijay Abraham I <kishon@ti.com>
      ad4a5bec
  8. 02 9月, 2017 1 次提交
  9. 30 8月, 2017 2 次提交
  10. 04 8月, 2017 1 次提交
  11. 03 7月, 2017 1 次提交
  12. 28 4月, 2017 2 次提交
  13. 04 4月, 2017 3 次提交
  14. 22 2月, 2017 7 次提交
  15. 11 10月, 2016 3 次提交
  16. 23 8月, 2016 1 次提交
  17. 18 8月, 2016 1 次提交