Received: by 10.213.65.68 with SMTP id h4csp846618imn; Wed, 4 Apr 2018 08:13:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx48nzWSwMSdvJYwBfCUkCmCfH3/+C0yuUGXfalEQvByCnD9l5kbZwIq5l7venAyLc4Qyd86f X-Received: by 10.99.112.80 with SMTP id a16mr12178086pgn.371.1522854795675; Wed, 04 Apr 2018 08:13:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522854795; cv=none; d=google.com; s=arc-20160816; b=Dyd2/7Rxzbb4GdvJiPOtTabY1NT0mCGdzF1LuTAbTX+DwLonkOB0cxAXZreOnhkIS3 RBjJVhnzcQt0aJ0BO0Kb1yYU7qaxDQVI5jl9rcJJShsz5rAGM3NhFjJnHiWi5PXN5CGU jXv5Htx2djc8cTFB6KAiog6/6Jm8WWT5ItgTUwuL+krDkykZfwObmPo9BVxSHHCzf3CP f7RcqVy4M5zBfk0gnNBV/MBnF2CVnUnrYOa2crqUBhTs4qgA+EusLuBhJVqfsU0LAQmD +04rhFxACx/dbpoKK7E3wp2M0fdOjwYCbsZ2Hts5vnO5uOYRdrBLuqQNSpzjXbQk3fVQ J/VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0t5q/tF4INy+k9oZ38gBYAhZXJdod4kObNQYunfK1PM=; b=hS/LiRsa0CbYsCCBn9nhchArTp1JA1NU9f8jaZmlqJyiTTxlUBo8ylCkKXd8W046Kj wBIGKP/ag11kl9PcjUaqBqhGACaaCfpP1EOzq6eUSrEgyD7jZcDAZA2jzeTWoeYyguBX 7RR6T8shj34uMPseOCPU0Nbh0u0DDyRdsHNo6/20+umEGfTipuwxwROXt3jZU8mX+IT7 YbCAUf/lceY0DcLfD99M6AtdeVfN7GGgSbEaAMl3qdy0dAEV86bpBR/+jiDUqNgvxMnc ir1qsC9TLREHbXppYfHRsNmHA4hpomyR77+p7pkfhOEpvzTtiQUzZjX2w4g4piLnhgoG YqzA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si807634pgt.756.2018.04.04.08.13.00; Wed, 04 Apr 2018 08:13:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751503AbeDDPLY (ORCPT + 99 others); Wed, 4 Apr 2018 11:11:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51028 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751413AbeDDPLX (ORCPT ); Wed, 4 Apr 2018 11:11:23 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w34F9NTW007860 for ; Wed, 4 Apr 2018 11:11:22 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h50sr192f-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 04 Apr 2018 11:11:19 -0400 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Apr 2018 11:11:18 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 4 Apr 2018 11:11:17 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w34FBH5t50921490; Wed, 4 Apr 2018 15:11:17 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 495B1112064; Wed, 4 Apr 2018 11:10:23 -0400 (EDT) Received: from ibm.ibmmodules.com (unknown [9.85.129.106]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP id 21512112054; Wed, 4 Apr 2018 11:10:21 -0400 (EDT) From: "Desnes A. Nunes do Rosario" To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: bhelgaas@google.com Subject: [PATCH, RESEND, pci, v2] pci: Delete PCI disabling informational messages Date: Wed, 4 Apr 2018 12:10:35 -0300 X-Mailer: git-send-email 2.14.3 X-TM-AS-GCONF: 00 x-cbid: 18040415-0008-0000-0000-000002F11BB1 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008801; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000256; SDB=6.01013031; UDB=6.00516334; IPR=6.00792296; MB=3.00020414; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-04 15:11:18 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040415-0009-0000-0000-000038C8A28B Message-Id: <20180404151035.12140-1-desnesn@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-04-04_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804040153 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The disabling informational messages on the PCI subsystem should be deleted since they do not represent any real value for the system logs. These messages are either not presented, or presented for all PCI devices (e.g., powerpc now realigns all PCI devices to its page size). Thus, they are flooding system logs and can be interpreted as a false positive for total PCI failure on the system. [root@system user]# dmesg | grep -i disabling [ 0.692270] pci 0000:00:00.0: Disabling memory decoding and releasing memory resources [ 0.692324] pci 0000:00:00.0: disabling bridge mem windows [ 0.729134] pci 0001:00:00.0: Disabling memory decoding and releasing memory resources [ 0.737352] pci 0001:00:00.0: disabling bridge mem windows [ 0.776295] pci 0002:00:00.0: Disabling memory decoding and releasing memory resources [ 0.784509] pci 0002:00:00.0: disabling bridge mem windows ... and goes on for all PCI devices on the system ... Fixes: 38274637699 ("powerpc/powernv: Override pcibios_default_alignment() to force PCI devices to be page aligned") Signed-off-by: Desnes A. Nunes do Rosario --- drivers/pci/pci.c | 1 - drivers/pci/setup-res.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 8c71d1a66cdd..1563ce1ee091 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -5505,7 +5505,6 @@ void pci_reassigndev_resource_alignment(struct pci_dev *dev) return; } - pci_info(dev, "Disabling memory decoding and releasing memory resources\n"); pci_read_config_word(dev, PCI_COMMAND, &command); command &= ~PCI_COMMAND_MEMORY; pci_write_config_word(dev, PCI_COMMAND, command); diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 369d48d6c6f1..6bd35e8e7cde 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -172,8 +172,6 @@ EXPORT_SYMBOL(pci_claim_resource); void pci_disable_bridge_window(struct pci_dev *dev) { - pci_info(dev, "disabling bridge mem windows\n"); - /* MMIO Base/Limit */ pci_write_config_dword(dev, PCI_MEMORY_BASE, 0x0000fff0); -- 2.14.3