diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-21 16:16:12 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-21 16:16:12 -0500 |
commit | 9e38637a0832f15552ae130622808831f515107c (patch) | |
tree | c9646b1c29393e359b0f57295ce83bc9761324c5 | |
parent | 9d534265bdcd47659c9fd080fff4c005512c4770 (diff) | |
parent | 26b54be568ad8611ebc62f02f9a5d5328e7b3392 (diff) |
Merge branch 'pci/host-xilinx' into next
* pci/host-xilinx:
PCI: xilinx-nwl: Remove mask for messages not supported by AXI
PCI: xilinx: Configure PCIe MPS settings
-rw-r--r-- | drivers/pci/host/pcie-xilinx-nwl.c | 14 | ||||
-rw-r--r-- | drivers/pci/host/pcie-xilinx.c | 4 |
2 files changed, 4 insertions, 14 deletions
diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c index 43eaa4afab94..4c3e0ab35496 100644 --- a/drivers/pci/host/pcie-xilinx-nwl.c +++ b/drivers/pci/host/pcie-xilinx-nwl.c | |||
@@ -62,21 +62,9 @@ | |||
62 | #define CFG_ENABLE_PM_MSG_FWD BIT(1) | 62 | #define CFG_ENABLE_PM_MSG_FWD BIT(1) |
63 | #define CFG_ENABLE_INT_MSG_FWD BIT(2) | 63 | #define CFG_ENABLE_INT_MSG_FWD BIT(2) |
64 | #define CFG_ENABLE_ERR_MSG_FWD BIT(3) | 64 | #define CFG_ENABLE_ERR_MSG_FWD BIT(3) |
65 | #define CFG_ENABLE_SLT_MSG_FWD BIT(5) | ||
66 | #define CFG_ENABLE_VEN_MSG_FWD BIT(7) | ||
67 | #define CFG_ENABLE_OTH_MSG_FWD BIT(13) | ||
68 | #define CFG_ENABLE_VEN_MSG_EN BIT(14) | ||
69 | #define CFG_ENABLE_VEN_MSG_VEN_INV BIT(15) | ||
70 | #define CFG_ENABLE_VEN_MSG_VEN_ID GENMASK(31, 16) | ||
71 | #define CFG_ENABLE_MSG_FILTER_MASK (CFG_ENABLE_PM_MSG_FWD | \ | 65 | #define CFG_ENABLE_MSG_FILTER_MASK (CFG_ENABLE_PM_MSG_FWD | \ |
72 | CFG_ENABLE_INT_MSG_FWD | \ | 66 | CFG_ENABLE_INT_MSG_FWD | \ |
73 | CFG_ENABLE_ERR_MSG_FWD | \ | 67 | CFG_ENABLE_ERR_MSG_FWD) |
74 | CFG_ENABLE_SLT_MSG_FWD | \ | ||
75 | CFG_ENABLE_VEN_MSG_FWD | \ | ||
76 | CFG_ENABLE_OTH_MSG_FWD | \ | ||
77 | CFG_ENABLE_VEN_MSG_EN | \ | ||
78 | CFG_ENABLE_VEN_MSG_VEN_INV | \ | ||
79 | CFG_ENABLE_VEN_MSG_VEN_ID) | ||
80 | 68 | ||
81 | /* Misc interrupt status mask bits */ | 69 | /* Misc interrupt status mask bits */ |
82 | #define MSGF_MISC_SR_RXMSG_AVAIL BIT(0) | 70 | #define MSGF_MISC_SR_RXMSG_AVAIL BIT(0) |
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index c8616fadccf1..7f030f5d750b 100644 --- a/drivers/pci/host/pcie-xilinx.c +++ b/drivers/pci/host/pcie-xilinx.c | |||
@@ -632,7 +632,7 @@ static int xilinx_pcie_probe(struct platform_device *pdev) | |||
632 | { | 632 | { |
633 | struct device *dev = &pdev->dev; | 633 | struct device *dev = &pdev->dev; |
634 | struct xilinx_pcie_port *port; | 634 | struct xilinx_pcie_port *port; |
635 | struct pci_bus *bus; | 635 | struct pci_bus *bus, *child; |
636 | int err; | 636 | int err; |
637 | resource_size_t iobase = 0; | 637 | resource_size_t iobase = 0; |
638 | LIST_HEAD(res); | 638 | LIST_HEAD(res); |
@@ -686,6 +686,8 @@ static int xilinx_pcie_probe(struct platform_device *pdev) | |||
686 | #ifndef CONFIG_MICROBLAZE | 686 | #ifndef CONFIG_MICROBLAZE |
687 | pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); | 687 | pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); |
688 | #endif | 688 | #endif |
689 | list_for_each_entry(child, &bus->children, node) | ||
690 | pcie_bus_configure_settings(child); | ||
689 | pci_bus_add_devices(bus); | 691 | pci_bus_add_devices(bus); |
690 | return 0; | 692 | return 0; |
691 | 693 | ||