Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3418048pxb; Sat, 9 Oct 2021 09:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9cdGZcKz1bvI3LQBhDAlseOYjfEml75WPcOZtCOP3rxwpaTBCLeXVc6m5Gv0EwfePaU7h X-Received: by 2002:a05:6402:35c5:: with SMTP id z5mr25261509edc.388.1633798263519; Sat, 09 Oct 2021 09:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633798263; cv=none; d=google.com; s=arc-20160816; b=TIlbcZcn4rR7gZbn5WmHPydraXw2Z62x23TBQTepgAUX+XfYLOLNXGZVIO+rAuOd2U pznvzHRnl82c4f1rTnGRiFSz+IVE6B0KoHjjEpVoRwwDFxjLJ91GaFIUySElxw1vur7Z sat0GSNdMPVLP3TTQKULWRyG376WHbimB6OXBxn/iKSf+EXJwEyje/gEcWn8Kyw36G0b yOz21YKFMxnOvotIgeslXuIEDfzDokI+eKj51tB4YdF54bgSjYKy5pQDnShoLbW1klX2 qUleEj+cEWSZhgGbvvVkB4WLHgrGbCGmYgEYFaWSKpjUsOLyS79+dJIUXknmAItQ6rM7 zHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=pLOSs5SzxhRFjfKBVGn6IGVF7xDJU07PoOnI/mwFPgE=; b=eN1fqMknzguKhb6GzQrtJhldn97XJthykvbztxlXU/N9alhrGGSWaF2omoP9Jvwzev bmHYWz2UeTZdq7AWK/ortpEdTRbnL60ssupGHe1DRJiB2N1QyEpl9QNtr/dlQg0KPVMH yrm5nj3W+jH/Qh/muXHZobjq8s88QIU++5jglc7jUqaEmXbJHhGzfJD9aduijwFOyBdg Hc8+NzZbHt59iF7p3LUl4cEVOoDRTtnYRaPIzzBDaqkVaW5S7FgfvSN+BVT+Ghkrygc3 ngBAQ/EcKB6agnz+dTZ/gJFerUY19gMG2/hD/gFO0d08GaFGHG25IZs217ucV87j2rfV VI/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si4717837ejj.448.2021.10.09.09.50.37; Sat, 09 Oct 2021 09:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229984AbhJIQuL (ORCPT + 99 others); Sat, 9 Oct 2021 12:50:11 -0400 Received: from smtprelay0042.hostedemail.com ([216.40.44.42]:48322 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229624AbhJIQuK (ORCPT ); Sat, 9 Oct 2021 12:50:10 -0400 Received: from omf03.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 5F1F332637; Sat, 9 Oct 2021 16:48:12 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA id 5976213D95; Sat, 9 Oct 2021 16:48:11 +0000 (UTC) Message-ID: <0f625a108a2905c4f7d7ebb5b0db62b42f865338.camel@perches.com> Subject: Re: [PATCH v3 02/10] cxl/pci: Remove dev_dbg for unknown register blocks From: Joe Perches To: Dan Williams , linux-cxl@vger.kernel.org Cc: Ben Widawsky , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, hch@lst.de Date: Sat, 09 Oct 2021 09:48:10 -0700 In-Reply-To: <163379784717.692348.3478221381958300790.stgit@dwillia2-desk3.amr.corp.intel.com> References: <163379783658.692348.16064992154261275220.stgit@dwillia2-desk3.amr.corp.intel.com> <163379784717.692348.3478221381958300790.stgit@dwillia2-desk3.amr.corp.intel.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.22 X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 5976213D95 X-Stat-Signature: a5tduneyhcpcb19yw7gotamc4ery6puk X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19EJkk5YGlMmhTfgufSNgJ6p7Sugk4y9po= X-HE-Tag: 1633798091-718472 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2021-10-09 at 09:44 -0700, Dan Williams wrote: > From: Ben Widawsky > > While interesting to driver developers, the dev_dbg message doesn't do > much except clutter up logs. So? This isn't enabled by default. How does it 'clutter' logs? > This information should be attainable > through sysfs, and someday lspci like utilities. This change > additionally helps reduce the LOC in a subsequent patch to refactor some > of cxl_pci register mapping. > > Signed-off-by: Ben Widawsky > Signed-off-by: Dan Williams > --- > ?drivers/cxl/pci.c | 3 --- > ?1 file changed, 3 deletions(-) > > diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c > index 64180f46c895..ccc7c2573ddc 100644 > --- a/drivers/cxl/pci.c > +++ b/drivers/cxl/pci.c > @@ -475,9 +475,6 @@ static int cxl_pci_setup_regs(struct cxl_mem *cxlm) > ? cxl_decode_register_block(reg_lo, reg_hi, &bar, &offset, > ? ®_type); > ? > > - dev_dbg(dev, "Found register block in bar %u @ 0x%llx of type %u\n", > - bar, offset, reg_type); > - > ? /* Ignore unknown register block types */ > ? if (reg_type > CXL_REGLOC_RBI_MEMDEV) > ? continue; >