Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp777801yba; Fri, 3 May 2019 10:16:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxj3bhFC0LgE/c1YqMzQb3ubBynwYokJfcCj0BhZs6i0DcSPdJo4UrZg0Tnj+/JxX+ev3xW X-Received: by 2002:a17:902:a582:: with SMTP id az2mr11981435plb.315.1556903787941; Fri, 03 May 2019 10:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556903787; cv=none; d=google.com; s=arc-20160816; b=x9/oVvLE7oIX+46MG+qmHsiWwzKbOTajtFUvHvnmC9bRVeOWfsemCrQqgYPGEZaxtJ quoTC3GFUUs1pxTxLVtCbMM7YWoDQwEFVwQi1e66zqwJWJdcef1d/T7r0svxNxi6eB07 gX9pPEeso/aJF5ywGqFfaBIE0wK9ZcJlbZgA37fXNj4KTnrAGlvyyG3xIihdel7A3XFH dmCTHpWPf1kOGtzqeAhRtX0tRS04SN9nW8aPH3IV9dEBvthNw3v9NWKMUs5cufbVocP8 uoFlTIUZYPXi2QTf/LYdm1rhm7sKBNzRGkJ8bKmzvHhmhwVbvz+znhkfEGoa5MsKSVUy 1yUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pVu9drSnPddBuIQAIFdbknMyIe04fx1qOLYw27qhuyU=; b=BURY6MF7nRxRzEGaWSQ83rGh5VPPhnjxf955Fw/tWLrilKksQ5JCfRbBuvg+YLoXLa X2BZ2udncixFqc5MY2yOkp7nRjmMcdchNJFgTXr8K8eXanddDM1T3zPZ+pMYcX7eXWBR hTJrxfZ2RTeXIxBCvlGiHVuOzq4R2mm/OfILtnDekgv352hbe5e2Az9LYGpBXVLSIeF7 eXeqwWj6SEGVxqPjjnIW+AVk6/3kW+sqfiCLkmNr8iLWCPbMVJCLVaMTej67fiCCDRm7 WI9DC+N27jVvgPtBxW5nFSnfas9xU/3oa6cFBQEwVEjnK80MemgvByGzkayCFqxdrEvo 66cQ== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l37si3178795plb.173.2019.05.03.10.16.12; Fri, 03 May 2019 10:16:27 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728589AbfECQua (ORCPT + 99 others); Fri, 3 May 2019 12:50:30 -0400 Received: from mga09.intel.com ([134.134.136.24]:43658 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbfECQua (ORCPT ); Fri, 3 May 2019 12:50:30 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 May 2019 09:50:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,426,1549958400"; d="scan'208";a="343151618" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga005.fm.intel.com with ESMTP; 03 May 2019 09:50:28 -0700 Date: Fri, 3 May 2019 10:44:46 -0600 From: Keith Busch To: Frederick Lawler Cc: "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mika.westerberg@linux.intel.com" , "lukas@wunner.de" , "andriy.shevchenko@linux.intel.com" , "Busch, Keith" , "mr.nuke.me@gmail.com" , "liudongdong3@huawei.com" , "thesven73@gmail.com" Subject: Re: [PATCH v2 2/9] PCI/DPC: Prefix dmesg logs with PCIe service name Message-ID: <20190503164446.GD30291@localhost.localdomain> References: <20190503035946.23608-1-fred@fredlawl.com> <20190503035946.23608-3-fred@fredlawl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190503035946.23608-3-fred@fredlawl.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 02, 2019 at 08:59:39PM -0700, Frederick Lawler wrote: > +#define dev_fmt(fmt) "DPC: " fmt > + > @@ -110,7 +111,7 @@ static int dpc_wait_rp_inactive(struct dpc_dev *dpc) > + pci_warn(pdev, "DPC root port still busy\n"); > @@ -229,18 +229,17 @@ static irqreturn_t dpc_handler(int irq, void *context) > + pci_warn(pdev, "DPC %s detected\n", > @@ -328,11 +327,11 @@ static int dpc_probe(struct pcie_device *dev) > + pci_info(pdev, "DPC error containment capabilities: Int Msg #%d, RPExt%c PoisonedTLP%c SwTrigger%c RP PIO Log %d, DL_ActiveErr%c\n", Since you've already prefixed each print with "DPC: ", the extra "DPC" in the above prints is redundant.