diff options
author | Pratyush Anand <pratyush.anand@gmail.com> | 2016-07-04 18:14:42 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-08-22 19:34:43 +0200 |
commit | fe48cb8538421fbd16ecf8bf95829faf8d8c001e (patch) | |
tree | e38cfb7e754dc352e03785dab0c33ab793c6c5f3 /drivers/pci/host/pcie-designware.h | |
parent | PCI: designware: Check LTSSM training bit before deciding link is up (diff) | |
download | linux-fe48cb8538421fbd16ecf8bf95829faf8d8c001e.tar.xz linux-fe48cb8538421fbd16ecf8bf95829faf8d8c001e.zip |
PCI: designware: Keep viewport fixed for IO transaction if num_viewport > 2
Most of the platforms have 3 or more viewports. For such platforms, We do
not need to share viewports between IO and CFG. Assign viewport 2 to IO
transactions in such cases.
Tested-by: Dong Bo <dongbo4@huawei.com>
Signed-off-by: Pratyush Anand <pratyush.anand@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/pci/host/pcie-designware.h')
-rw-r--r-- | drivers/pci/host/pcie-designware.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h index e74cc4a93fb9..c8e5bc647f49 100644 --- a/drivers/pci/host/pcie-designware.h +++ b/drivers/pci/host/pcie-designware.h @@ -44,6 +44,7 @@ struct pcie_port { struct resource *busn; int irq; u32 lanes; + u32 num_viewport; struct pcie_host_ops *ops; int msi_irq; struct irq_domain *irq_domain; |