diff options
author | Ray Jui <ray.jui@broadcom.com> | 2018-06-11 20:21:07 -0400 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-07-13 06:59:21 -0400 |
commit | 0043d4ae812e474d4edd28b60f203bfbb4edc93b (patch) | |
tree | a6628a2966b5f9e4e1be2b7d0da1c502b43fc555 /drivers | |
parent | f78e60a29d4ff27531770cf2c6eee89292379209 (diff) |
PCI: iproc: Reduce inbound/outbound mapping print level
Reduce inbound/outbound mapping print level from dev_info() to
dev_dbg(). This reduces the console logs during Linux boot process.
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/controller/pcie-iproc.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/drivers/pci/controller/pcie-iproc.c b/drivers/pci/controller/pcie-iproc.c index 59be1e02ba65..3160e9342a2f 100644 --- a/drivers/pci/controller/pcie-iproc.c +++ b/drivers/pci/controller/pcie-iproc.c | |||
@@ -880,14 +880,14 @@ static inline int iproc_pcie_ob_write(struct iproc_pcie *pcie, int window_idx, | |||
880 | writel(lower_32_bits(pci_addr), pcie->base + omap_offset); | 880 | writel(lower_32_bits(pci_addr), pcie->base + omap_offset); |
881 | writel(upper_32_bits(pci_addr), pcie->base + omap_offset + 4); | 881 | writel(upper_32_bits(pci_addr), pcie->base + omap_offset + 4); |
882 | 882 | ||
883 | dev_info(dev, "ob window [%d]: offset 0x%x axi %pap pci %pap\n", | 883 | dev_dbg(dev, "ob window [%d]: offset 0x%x axi %pap pci %pap\n", |
884 | window_idx, oarr_offset, &axi_addr, &pci_addr); | 884 | window_idx, oarr_offset, &axi_addr, &pci_addr); |
885 | dev_info(dev, "oarr lo 0x%x oarr hi 0x%x\n", | 885 | dev_dbg(dev, "oarr lo 0x%x oarr hi 0x%x\n", |
886 | readl(pcie->base + oarr_offset), | 886 | readl(pcie->base + oarr_offset), |
887 | readl(pcie->base + oarr_offset + 4)); | 887 | readl(pcie->base + oarr_offset + 4)); |
888 | dev_info(dev, "omap lo 0x%x omap hi 0x%x\n", | 888 | dev_dbg(dev, "omap lo 0x%x omap hi 0x%x\n", |
889 | readl(pcie->base + omap_offset), | 889 | readl(pcie->base + omap_offset), |
890 | readl(pcie->base + omap_offset + 4)); | 890 | readl(pcie->base + omap_offset + 4)); |
891 | 891 | ||
892 | return 0; | 892 | return 0; |
893 | } | 893 | } |
@@ -1054,8 +1054,8 @@ static int iproc_pcie_ib_write(struct iproc_pcie *pcie, int region_idx, | |||
1054 | iproc_pcie_reg_is_invalid(imap_offset)) | 1054 | iproc_pcie_reg_is_invalid(imap_offset)) |
1055 | return -EINVAL; | 1055 | return -EINVAL; |
1056 | 1056 | ||
1057 | dev_info(dev, "ib region [%d]: offset 0x%x axi %pap pci %pap\n", | 1057 | dev_dbg(dev, "ib region [%d]: offset 0x%x axi %pap pci %pap\n", |
1058 | region_idx, iarr_offset, &axi_addr, &pci_addr); | 1058 | region_idx, iarr_offset, &axi_addr, &pci_addr); |
1059 | 1059 | ||
1060 | /* | 1060 | /* |
1061 | * Program the IARR registers. The upper 32-bit IARR register is | 1061 | * Program the IARR registers. The upper 32-bit IARR register is |
@@ -1065,9 +1065,9 @@ static int iproc_pcie_ib_write(struct iproc_pcie *pcie, int region_idx, | |||
1065 | pcie->base + iarr_offset); | 1065 | pcie->base + iarr_offset); |
1066 | writel(upper_32_bits(pci_addr), pcie->base + iarr_offset + 4); | 1066 | writel(upper_32_bits(pci_addr), pcie->base + iarr_offset + 4); |
1067 | 1067 | ||
1068 | dev_info(dev, "iarr lo 0x%x iarr hi 0x%x\n", | 1068 | dev_dbg(dev, "iarr lo 0x%x iarr hi 0x%x\n", |
1069 | readl(pcie->base + iarr_offset), | 1069 | readl(pcie->base + iarr_offset), |
1070 | readl(pcie->base + iarr_offset + 4)); | 1070 | readl(pcie->base + iarr_offset + 4)); |
1071 | 1071 | ||
1072 | /* | 1072 | /* |
1073 | * Now program the IMAP registers. Each IARR region may have one or | 1073 | * Now program the IMAP registers. Each IARR region may have one or |
@@ -1081,10 +1081,10 @@ static int iproc_pcie_ib_write(struct iproc_pcie *pcie, int region_idx, | |||
1081 | writel(upper_32_bits(axi_addr), | 1081 | writel(upper_32_bits(axi_addr), |
1082 | pcie->base + imap_offset + ib_map->imap_addr_offset); | 1082 | pcie->base + imap_offset + ib_map->imap_addr_offset); |
1083 | 1083 | ||
1084 | dev_info(dev, "imap window [%d] lo 0x%x hi 0x%x\n", | 1084 | dev_dbg(dev, "imap window [%d] lo 0x%x hi 0x%x\n", |
1085 | window_idx, readl(pcie->base + imap_offset), | 1085 | window_idx, readl(pcie->base + imap_offset), |
1086 | readl(pcie->base + imap_offset + | 1086 | readl(pcie->base + imap_offset + |
1087 | ib_map->imap_addr_offset)); | 1087 | ib_map->imap_addr_offset)); |
1088 | 1088 | ||
1089 | imap_offset += ib_map->imap_window_offset; | 1089 | imap_offset += ib_map->imap_window_offset; |
1090 | axi_addr += size; | 1090 | axi_addr += size; |