Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp104241yba; Thu, 2 May 2019 21:01:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJXxfpL/Eug9cq/xBeLF805gEqzy2VqzFDyznA7aM6zl0MBFpDbYr7NxV5UxvHs10ZcEhu X-Received: by 2002:a65:534b:: with SMTP id w11mr7766459pgr.210.1556856101454; Thu, 02 May 2019 21:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556856101; cv=none; d=google.com; s=arc-20160816; b=zmqSk3ujZFq53b9kJFZUvF1855Ix93UPeEt9Mc2L4JwKu8za9wftYTJNXh7piT2Esw aIvZkhSVjV7YDbEkbxZ9eFOyIiqLZBhOdqNERPF5VYKzSILprtIG6lthLeaSIor72L9s kxjDxrzDeWiSD6/Cj7YT1W5ev3l/jJ6rzI+2wweNg01SikPWoTqcCzZIlSdNJoKR3f6e wYFugz10PTMGze0rIFmKNWUi8ZvwhS0IQobNH/V6WGWsLH7gZ9DmNNYg1CVVbfOKu1mc Tu+IDbVqsy7nSS0vlgGXvIsxJ1YpAs2Y65vfB8oMGqgWKdt0ijZrul/i737jvg7uxj6A g0Gg== 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; bh=rUTSw74gexjNwzq9ZLmaaBHpeJsduJxpcMlGupfmHG4=; b=rehTOTEJA/csgqrR379oLF1dhH4bMgcZdLwVd9X3z2GPyxCMFdaHINmnkcoRMHsMZZ 0YBaOXC9ZWxD32EzZ7pPPpsnKpqUokXXJ5UoQc3N3SPu25SurfMaA8za+tgyMYIOGkfH gmg5i0UpSETHDOsAkhTTxOaXvRD/a6yMQzUG5FbqVwYTRgqeY+DWY6HQpmknPR7LBtVv 0NJJBAXkn7xRtlcxemLB1DfnM+oxaZAxo55IRBsqh2oybOahRaSW3naL4x34DGbddlYb 8+vBbUpSfUM8R3lyCKnhoKay6GPhpR5n7ynOUhdkiOGqXnDNpou/J811EaqjxvQRQDHn arzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b="ZI/oDJAD"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12si892578pgq.493.2019.05.02.21.01.26; Thu, 02 May 2019 21:01:41 -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=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b="ZI/oDJAD"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725972AbfECEAR (ORCPT + 99 others); Fri, 3 May 2019 00:00:17 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:34936 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbfECEAQ (ORCPT ); Fri, 3 May 2019 00:00:16 -0400 Received: by mail-oi1-f195.google.com with SMTP id w197so3492848oia.2 for ; Thu, 02 May 2019 21:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fredlawl-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rUTSw74gexjNwzq9ZLmaaBHpeJsduJxpcMlGupfmHG4=; b=ZI/oDJADO4rOIoCDUnEV0PbQiau5ydorvrx+xZUz6wqYvpFKXYpKjD09gcXjvLJpdH 2cQCCQkAcf+0n06uPKjdHDUPcXEiKHbg9eHm4XK5AKX46KEiyP+pPzgBnYQefV/+vyFh cKwAIAGh1P4P5VUSJXf4iQx4iVu1ouPvCqcGu2oL9SU61i14VDndeWAEL2v38AtIDuwz NfC49wl8dxQpI9tFDfxwSsZT0qZQ84eYQLUd8B2wLOvZph01gOCgwANcJvzZ1M9yJi2X QFstesEHaDZOYE2n1xzsV0Y0VgXBrnuSBUuBnbB9Zukz/1DEfi6xPsaduTPskGLbajRv KE2w== 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=rUTSw74gexjNwzq9ZLmaaBHpeJsduJxpcMlGupfmHG4=; b=hUFzU2+zPiA367BivmJ5sl8sDZJK/LjDh/YKu3cuX78fMBY3AyQVhvFrJjtDEUV2/z 4c9CEpvVqv4QRG1ryIojQgAYsjSiRYegdOUL5/zAICWOviIF2WaEhjkGNEbzR2gbNwb3 Ip5TOtRC+T9UJRA/RXnzFOkpVm93P1jXvl/g9EivZ2Zd3KzdHMSyzx+j3XsSVzObZmfz k56CDsdorzp+Sulr0jiJFAeZwGgpIdbVdhZYF3O3Q/xAMKGI8AtT84bhF6nz5CT+L5+m Pv5yNnfyn21SYDJGYLC4b9mb0nmBRUf2jWrX3vEEE3/UdAxunBgb8k8Qzzp299xbmZes 1vLA== X-Gm-Message-State: APjAAAUqsuk0wxMwUexafKiGJebAOunCKUJ/EijXkWnv68oULw2s5Aak KvDHUHnQ5R7vXAI/fZH/4iPmng== X-Received: by 2002:aca:5b85:: with SMTP id p127mr4620755oib.90.1556856015507; Thu, 02 May 2019 21:00:15 -0700 (PDT) Received: from linux.fredlawl.com ([2600:1700:18a0:11d0:5518:38b8:ef25:393a]) by smtp.gmail.com with ESMTPSA id 20sm622436oty.58.2019.05.02.21.00.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 May 2019 21:00:14 -0700 (PDT) From: Frederick Lawler To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, lukas@wunner.de, andriy.shevchenko@linux.intel.com, keith.busch@intel.com, mr.nuke.me@gmail.com, liudongdong3@huawei.com, thesven73@gmail.com, Frederick Lawler Subject: [PATCH v2 1/9] PCI/AER: Cleanup dmesg logs Date: Thu, 2 May 2019 22:59:38 -0500 Message-Id: <20190503035946.23608-2-fred@fredlawl.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190503035946.23608-1-fred@fredlawl.com> References: <20190503035946.23608-1-fred@fredlawl.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleanup dmesg logs. Signed-off-by: Frederick Lawler --- drivers/pci/pcie/aer.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index f8fc2114ad39..82eb45335b6f 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -964,8 +964,8 @@ static bool find_source_device(struct pci_dev *parent, pci_walk_bus(parent->subordinate, find_device_iter, e_info); if (!e_info->error_dev_num) { - pci_printk(KERN_DEBUG, parent, "can't find device of ID%04x\n", - e_info->id); + pci_info(parent, "can't find device of ID%04x\n", + e_info->id); return false; } return true; @@ -1380,7 +1380,6 @@ static int aer_probe(struct pcie_device *dev) rpc = devm_kzalloc(device, sizeof(struct aer_rpc), GFP_KERNEL); if (!rpc) { - dev_printk(KERN_DEBUG, device, "alloc AER rpc failed\n"); return -ENOMEM; } rpc->rpd = dev->port; @@ -1389,8 +1388,8 @@ static int aer_probe(struct pcie_device *dev) status = devm_request_threaded_irq(device, dev->irq, aer_irq, aer_isr, IRQF_SHARED, "aerdrv", dev); if (status) { - dev_printk(KERN_DEBUG, device, "request AER IRQ %d failed\n", - dev->irq); + dev_err(device, "request AER IRQ %d failed\n", + dev->irq); return status; } @@ -1419,7 +1418,7 @@ static pci_ers_result_t aer_root_reset(struct pci_dev *dev) pci_write_config_dword(dev, pos + PCI_ERR_ROOT_COMMAND, reg32); rc = pci_bus_error_reset(dev); - pci_printk(KERN_DEBUG, dev, "Root Port link has been reset\n"); + pci_info(dev, "Root Port link has been reset\n"); /* Clear Root Error Status */ pci_read_config_dword(dev, pos + PCI_ERR_ROOT_STATUS, ®32); -- 2.17.1