Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp60381ybb; Thu, 2 Apr 2020 20:59:17 -0700 (PDT) X-Google-Smtp-Source: APiQypJSmgu2LT8unHJhm9AUuQJROFNRAlLhuTEW2jv69Rri4LGjJVIhVLkPMEzjH3DNqCcadwKj X-Received: by 2002:a05:6830:23b6:: with SMTP id m22mr4840087ots.225.1585886357660; Thu, 02 Apr 2020 20:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585886357; cv=none; d=google.com; s=arc-20160816; b=Tg+ybVxtBFsp2tCf/qsbsxBZmTePWhhHurUyDN6Y/SxTzVy3jI/DIDkIAktVfAYAmU Rq/sv3jPJWSlcPYeK6ujVy4gdydZCBpymS5hjSxLQD7wxdnjeBrrtJOSi0SYFrEYyw9h 6Ynowswxtt8vmpCoZVilklwA3oCgK1a60njJvxp/AI2pOE1FqrjNyyuep7yuiVppcvqn 7nOtE6mEJiJqaoVcKtIGiOThaGDgJIfV8T/a5ME43H9+tXHnhLhE7y4TKf2Hopd7P34m ComzrN6SNJJZBKlZPGW6b2t0iS4njjmaE3EWBBF3B/eq70VEzC9hcBIDoLn+CoAX2pqM GtiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=SIeoOkvCf//9zrAhSl1k6MvDWdnKebjSMOLUaLSPMjc=; b=mmq+H9HvOYvZAxV+EIJPLhFUMzeSB65Ot8PDfPU6YLqYoW6ODURe3Hq4V8JmZUzO+F qhtJViArp94bvAn4JDj+7GbRV1mQ+2NSYpg16TS40Dsg5jaEL/OKxNsSaHgFB6Z/PWxZ K7+83P+HhzT8C2ZIwv+LLBzYhaRt+Gb4L+3pykG9e1jT/gmR76Pj6fEDSMMRULho3/xZ jPrkVlX/bl32IilCn6xovmzFuQlEYEyb+IhXMoKV2fUuxTjvZzM0MiAFZslsbdfO1YtD aA3wGL0kSWjqe6j6t/K0pPa3Fs8lggBmpWNm7XseLwJ5Ny3/ItVNbDN4OFHhXqoeN8xH jrag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@d-silva.org header.s=201810a header.b=Up9Nr+Gr; 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 j6si3156159otq.296.2020.04.02.20.59.00; Thu, 02 Apr 2020 20:59:17 -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=@d-silva.org header.s=201810a header.b=Up9Nr+Gr; 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 S2390368AbgDCDwu (ORCPT + 99 others); Thu, 2 Apr 2020 23:52:50 -0400 Received: from ushosting.nmnhosting.com ([66.55.73.32]:53842 "EHLO ushosting.nmnhosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388951AbgDCDwt (ORCPT ); Thu, 2 Apr 2020 23:52:49 -0400 Received: from mail2.nmnhosting.com (unknown [202.169.106.97]) by ushosting.nmnhosting.com (Postfix) with ESMTPS id EB1792DC3D2F; Fri, 3 Apr 2020 14:52:48 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=d-silva.org; s=201810a; t=1585885969; bh=/qbrUZJLw49Px53fHH61XOP2eWqn8wkHBEx+KDSvrvU=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=Up9Nr+GrEKkMUmYftzGW5Z/K773hVH2gCzSh13cEdpBqugKJMdGjipoexqX61BLky ayKBdVIkDJ3AWvztbbnCAMuWghuRpEFqwjwO7ZCBySBD1og/S2moYgXWRLdsSxX+/a KJgQMUpBu1dvVGv3RzD7CKJW6Ql/YjGtVRIEdQhmeVNyq1ucOVrbsqPcxHsZ+5jnri Uv3gZ/TiZUFYse5Ms95Z1Isf9lqt5FiL5KglNeH/kJ9Lgfiemfl0uqNeXdpg5ODP5o u6tP8fDctVbvByp+bOWemuDuloxT4MdnLoEHoVlKW+W9vSHWIHNQXZ20e1h7GgTyf7 Up1xIESuRDLpJxy9TskeAI2MQyLG89eASMl4ymxz8xf3P8kJzlpEdTImYRU3qypGCP vghn0zggG+R2Y8UxG2Kx7ibgXj6dwDdOJWPptZ0Sk1ktQRdv5asJnawbE1/uJnBT9/ m5GTdMJ5I51IJ95FMhLNN61RTqmrzxxb+realllSuHBu5Bjn+Nc1OCOOHGq7OPg5Vf O1E57PRzyRKY5TIWerTom3GmJfKugyUp+sax+i4x7dqJt/gevtV73WHliEnb/jCfAa VXnRR+uAepbur0PMxUSeNhrd8VYWuGsIiSzvW4k9HoPd6oeU1HKABrDdyxr7r8tDrB qLLBCAUjvg7BTg/sH/3ifbfg= Received: from Hawking (ntp.lan [10.0.1.1]) (authenticated bits=0) by mail2.nmnhosting.com (8.15.2/8.15.2) with ESMTPSA id 0333qhBP097301 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 3 Apr 2020 14:52:43 +1100 (AEDT) (envelope-from alastair@d-silva.org) From: "Alastair D'Silva" To: "'Dan Williams'" Cc: "'Aneesh Kumar K . V'" , "'Oliver O'Halloran'" , "'Benjamin Herrenschmidt'" , "'Paul Mackerras'" , "'Michael Ellerman'" , "'Frederic Barrat'" , "'Andrew Donnellan'" , "'Arnd Bergmann'" , "'Greg Kroah-Hartman'" , "'Vishal Verma'" , "'Dave Jiang'" , "'Ira Weiny'" , "'Andrew Morton'" , "'Mauro Carvalho Chehab'" , "'David S. Miller'" , "'Rob Herring'" , "'Anton Blanchard'" , "'Krzysztof Kozlowski'" , "'Mahesh Salgaonkar'" , "'Madhavan Srinivasan'" , "=?utf-8?Q?'C=C3=A9dric_Le_Goater'?=" , "'Anju T Sudhakar'" , "'Hari Bathini'" , "'Thomas Gleixner'" , "'Greg Kurz'" , "'Nicholas Piggin'" , "'Masahiro Yamada'" , "'Alexey Kardashevskiy'" , "'Linux Kernel Mailing List'" , "'linuxppc-dev'" , "'linux-nvdimm'" , "'Linux MM'" References: <20200327071202.2159885-1-alastair@d-silva.org> <20200327071202.2159885-9-alastair@d-silva.org> In-Reply-To: Subject: RE: [PATCH v4 08/25] ocxl: Emit a log message showing how much LPC memory was detected Date: Fri, 3 Apr 2020 14:52:42 +1100 Message-ID: <303c01d6096b$541f33d0$fc5d9b70$@d-silva.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-au Thread-Index: AQJ5L4Hn/mp5p0p1jYAFWLJ+xmWSbgKkO1ZLATOc+DmnAbiIwA== X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail2.nmnhosting.com [10.0.1.20]); Fri, 03 Apr 2020 14:52:44 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Dan Williams > Sent: Wednesday, 1 April 2020 7:49 PM > To: Alastair D'Silva > Cc: Aneesh Kumar K . V ; Oliver O'Halloran > ; Benjamin Herrenschmidt > ; Paul Mackerras ; Michael > Ellerman ; Frederic Barrat = ; > Andrew Donnellan ; Arnd Bergmann > ; Greg Kroah-Hartman ; > Vishal Verma ; Dave Jiang > ; Ira Weiny ; Andrew Morton > ; Mauro Carvalho Chehab > ; David S. Miller ; > Rob Herring ; Anton Blanchard ; > Krzysztof Kozlowski ; Mahesh Salgaonkar > ; Madhavan Srinivasan > ; C=C3=A9dric Le Goater ; Anju = T > Sudhakar ; Hari Bathini > ; Thomas Gleixner ; Greg > Kurz ; Nicholas Piggin ; Masahiro > Yamada ; Alexey Kardashevskiy > ; Linux Kernel Mailing List = ; > linuxppc-dev ; linux-nvdimm nvdimm@lists.01.org>; Linux MM > Subject: Re: [PATCH v4 08/25] ocxl: Emit a log message showing how = much > LPC memory was detected >=20 > On Sun, Mar 29, 2020 at 10:23 PM Alastair D'Silva = > wrote: > > > > This patch emits a message showing how much LPC memory & special > > purpose memory was detected on an OCXL device. > > > > Signed-off-by: Alastair D'Silva > > Acked-by: Frederic Barrat > > Acked-by: Andrew Donnellan > > --- > > drivers/misc/ocxl/config.c | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/drivers/misc/ocxl/config.c b/drivers/misc/ocxl/config.c > > index a62e3d7db2bf..69cca341d446 100644 > > --- a/drivers/misc/ocxl/config.c > > +++ b/drivers/misc/ocxl/config.c > > @@ -568,6 +568,10 @@ static int read_afu_lpc_memory_info(struct > pci_dev *dev, > > afu->special_purpose_mem_size =3D > > total_mem_size - lpc_mem_size; > > } > > + > > + dev_info(&dev->dev, "Probed LPC memory of %#llx bytes and = special > purpose memory of %#llx bytes\n", > > + afu->lpc_mem_size, afu->special_purpose_mem_size); >=20 > A patch for a single log message is too fine grained for my taste, = let's squash > this into another patch in the series. >=20 I'm not sure there's a great place for it. At a pinch, it could with the = previous patch, but they are really different layers. > > + > > return 0; > > } > > > > -- > > 2.24.1 > > >=20 >=20 > -- > This email has been checked for viruses by AVG. > https://www.avg.com