Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4685299imm; Mon, 11 Jun 2018 17:22:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLaffKmbrJgrf7MiV6ZlgFBClMOiTy78dHyISajL0unST2IHXxeXaV+Omd90/D/DpPjNK8i X-Received: by 2002:a17:902:8b86:: with SMTP id ay6-v6mr1385977plb.295.1528762958733; Mon, 11 Jun 2018 17:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528762958; cv=none; d=google.com; s=arc-20160816; b=pna5Vln81YnijHzasGKbOoqsSl0Bj1yEyDw43oejEFGvDcEq4VGjHoQtzqIDtlY7UZ p6Bhy4Rew1rXo57FrRy9KqHAP/yNpcCe8ls08JrR3D87V14ebf7ZOxfQC3yZgPO+r+Ws Vp0ofraoEtMKTRLZ0+18teKUHEO/tReDz2Ks/YswoJRoLhCXLfbhhpPvsMFeAJAhopGl m/sA59P0cdHnPXvoj7zJdJMlGt2hTobod31nDvCiTqb6EiRbE/doVopEq0YiTLZFK8FN mABeQkfR3oXafp7BzxqT08qvp3qrLtG08TYqWndvKRu8NCJknmxUIbCv5TqrsklSgagj Uh1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=VJ35+cAr60ktcS2YiCU2iAyS1vrhpyJ/SpYlzj64g9M=; b=S8zbofzwyIA1VV59F0JKcy+V+dwtDFY/ZgpWbd0y8tV1ZKlIrIwYUPRsAzSu9JOH4n n157h+E5BvTABiMm/vw+kdu3gm7pWzUbiN4ajLQlu84xTKV8oFWyHlz4c++haIXXQG9e AWw/q3RKfZIpuOkGYvv/6b0iw6ny5RmsKRrgMhGtxmPFTH9TjlhBsAe6zJUdSS6t2kTj olEOjGaqp6uWL0NXm84cWlsTqNr+PKOxJOV+CzUy6Q+C0PjQAKBWsVXEjIUKMfwqb3YF JeYphFpt2myeSAhlfLF7NuRn9IEcNF3HHfP9yFebCvsD5swTF+6cHEP1oYjGLSeU3CZt 3/Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Db1mMYmV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c18-v6si2557878pfn.245.2018.06.11.17.22.24; Mon, 11 Jun 2018 17:22:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Db1mMYmV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934730AbeFLAVj (ORCPT + 99 others); Mon, 11 Jun 2018 20:21:39 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:45691 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934706AbeFLAVf (ORCPT ); Mon, 11 Jun 2018 20:21:35 -0400 Received: by mail-qk0-f195.google.com with SMTP id c198-v6so14068595qkg.12 for ; Mon, 11 Jun 2018 17:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VJ35+cAr60ktcS2YiCU2iAyS1vrhpyJ/SpYlzj64g9M=; b=Db1mMYmV6mPFNUXlDaxUvhSCETY3G1f+VY0d7nz4bKym6epQK0g2pZTCHAmQQ/hf6d i4Z9iKs6dHH2xs4AGzmcl66g3UbGxS6wE+E+Im7c0meXJLWNaI0r75V3Dg9TT5pg5xVG mfS3cXvoAx3NeR+GBa9Majb60TNBJ24MWUABA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VJ35+cAr60ktcS2YiCU2iAyS1vrhpyJ/SpYlzj64g9M=; b=dZfPrAFVksux1v0D9N2i0T5+XoCPKmlwolI+RRdft/QulU/EUoPEtWohweSijwi5h8 17uAmTh9ra14vbmoLjMXQBsNZn+JkXdGSl+W8z0Rt5dC/CDJgFfGYK0i9v/HGcrOgljl iRpeyEAk66H/GZZdG72ej/+7A6BUvPwJL94HNuCDDtI2yhZXNGuA2/kVhFxlgRf0dNLn vymuQn/nKESs1I75eSeWm7onrCEfQb1EObztOzX1wNspZrk10AqmddyGucTX82LQ0/FK +BBjxdL3I8LrVgX3VLHtjyZYLlmeyon9AHbcZTTgCYkhhZGsSVDRBN2dBrhxWxWl6Alo DbXQ== X-Gm-Message-State: APt69E2PwOSZCEmpn3k+8tRYx7tPjHOHUrYGHwWq/graLw1/b4/grLmM GYjZHPajyonx5yvMcRjdU4IpnlNlaks= X-Received: by 2002:a37:7dc2:: with SMTP id y185-v6mr1315923qkc.232.1528762894967; Mon, 11 Jun 2018 17:21:34 -0700 (PDT) Received: from lbrmn-lnxub44-1.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id v26-v6sm31470299qtc.12.2018.06.11.17.21.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jun 2018 17:21:34 -0700 (PDT) From: Ray Jui To: Lorenzo Pieralisi , Bjorn Helgaas Cc: Bjorn Helgaas , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org, Ray Jui Subject: [PATCH v2 5/5] PCI: iproc: Reduce inbound/outbound mapping print level Date: Mon, 11 Jun 2018 17:21:07 -0700 Message-Id: <1528762867-16823-6-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1528762867-16823-1-git-send-email-ray.jui@broadcom.com> References: <1528762867-16823-1-git-send-email-ray.jui@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Scott Branden --- drivers/pci/host/pcie-iproc.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c index 59be1e0..3160e93 100644 --- a/drivers/pci/host/pcie-iproc.c +++ b/drivers/pci/host/pcie-iproc.c @@ -880,14 +880,14 @@ static inline int iproc_pcie_ob_write(struct iproc_pcie *pcie, int window_idx, writel(lower_32_bits(pci_addr), pcie->base + omap_offset); writel(upper_32_bits(pci_addr), pcie->base + omap_offset + 4); - dev_info(dev, "ob window [%d]: offset 0x%x axi %pap pci %pap\n", - window_idx, oarr_offset, &axi_addr, &pci_addr); - dev_info(dev, "oarr lo 0x%x oarr hi 0x%x\n", - readl(pcie->base + oarr_offset), - readl(pcie->base + oarr_offset + 4)); - dev_info(dev, "omap lo 0x%x omap hi 0x%x\n", - readl(pcie->base + omap_offset), - readl(pcie->base + omap_offset + 4)); + dev_dbg(dev, "ob window [%d]: offset 0x%x axi %pap pci %pap\n", + window_idx, oarr_offset, &axi_addr, &pci_addr); + dev_dbg(dev, "oarr lo 0x%x oarr hi 0x%x\n", + readl(pcie->base + oarr_offset), + readl(pcie->base + oarr_offset + 4)); + dev_dbg(dev, "omap lo 0x%x omap hi 0x%x\n", + readl(pcie->base + omap_offset), + readl(pcie->base + omap_offset + 4)); return 0; } @@ -1054,8 +1054,8 @@ static int iproc_pcie_ib_write(struct iproc_pcie *pcie, int region_idx, iproc_pcie_reg_is_invalid(imap_offset)) return -EINVAL; - dev_info(dev, "ib region [%d]: offset 0x%x axi %pap pci %pap\n", - region_idx, iarr_offset, &axi_addr, &pci_addr); + dev_dbg(dev, "ib region [%d]: offset 0x%x axi %pap pci %pap\n", + region_idx, iarr_offset, &axi_addr, &pci_addr); /* * 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, pcie->base + iarr_offset); writel(upper_32_bits(pci_addr), pcie->base + iarr_offset + 4); - dev_info(dev, "iarr lo 0x%x iarr hi 0x%x\n", - readl(pcie->base + iarr_offset), - readl(pcie->base + iarr_offset + 4)); + dev_dbg(dev, "iarr lo 0x%x iarr hi 0x%x\n", + readl(pcie->base + iarr_offset), + readl(pcie->base + iarr_offset + 4)); /* * 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, writel(upper_32_bits(axi_addr), pcie->base + imap_offset + ib_map->imap_addr_offset); - dev_info(dev, "imap window [%d] lo 0x%x hi 0x%x\n", - window_idx, readl(pcie->base + imap_offset), - readl(pcie->base + imap_offset + - ib_map->imap_addr_offset)); + dev_dbg(dev, "imap window [%d] lo 0x%x hi 0x%x\n", + window_idx, readl(pcie->base + imap_offset), + readl(pcie->base + imap_offset + + ib_map->imap_addr_offset)); imap_offset += ib_map->imap_window_offset; axi_addr += size; -- 2.1.4