Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp385091ybb; Wed, 1 Apr 2020 01:50:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvcUDm2vxBgfSTGBWmDUzfZ9GYsA+IzrtIQ4AN2kHK6tkhZX2T+hAfEIhMVIOuYrD9Zj/Wp X-Received: by 2002:a9d:1a3:: with SMTP id e32mr16749191ote.206.1585731026702; Wed, 01 Apr 2020 01:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585731026; cv=none; d=google.com; s=arc-20160816; b=LzRAaKS1DQ80dH6QchgioKc1MAo1ozdgRdKmV/l9d4AQATLz0UKQdqa88i1gpiUIFA OOlYHqiGJrep6+zeMN8vsIk7nzH2bGGSDTehtVmlnWvUnGQmlRWeqj4vDz+eESmKCBIx yJiXstRPqed7WNAWsMW7s8ILxQXME8/Lq40xZjy9VZG5+A/SnnNq8ZU/cAIMhC80FTIG XJOHx63mHqnFCZwNU3GqMc66zli7RoRcOBqJYMlMyOkg2nsZDg/pqD8r4HcUpDIoFeha 5cqkRIvyelBfMXwY+nXvfcnmTRKfEq5gfI4QyT+rdMLwPxcsAD+36WotfwhDHApS7n8z G4OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=A7+9v32j9cPB3QX5vXPFoTYuOQMb+jFtKmzdafzKlXc=; b=Ceub0X6z2J7RPjk5L8sY3JjWYP0bf3VGZ8R7VV1jg7qldrdDqjYc0aDt1g8zOZLaB1 F9M6s2yU0/ofTVHVmTW1U6i9NhDDdVThHpJ57LCjXf8RmITWQTMxPly0hPNRW6QOIGBH SG67gX3G1TKVR4mBUzz3WLRd5nntRZjXGa2+rcm9UJxtN28ZGbyh+L8biNRJtk1AFMpy jXS9idRu/hS7pDG/uwLncA0rPFE430Q4+a5cBDPY2lh62MGKXzxUMgBQ1M/Cs47CvCRr Os73/WcXNk2EWAw3m0iNOkNtMRaeyRd8sdxvXZSV26UMgfew4Uy586ABge0show42cZS 68Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=IfBVo0qt; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l20si621206otk.242.2020.04.01.01.50.13; Wed, 01 Apr 2020 01:50:26 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=IfBVo0qt; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731836AbgDAItk (ORCPT + 99 others); Wed, 1 Apr 2020 04:49:40 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41837 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgDAItk (ORCPT ); Wed, 1 Apr 2020 04:49:40 -0400 Received: by mail-ed1-f66.google.com with SMTP id v1so28673967edq.8 for ; Wed, 01 Apr 2020 01:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A7+9v32j9cPB3QX5vXPFoTYuOQMb+jFtKmzdafzKlXc=; b=IfBVo0qtkzx0IwrTLjMKGmOczvAfIcGCXFrucXhdytTeaMv3LlGABrbnLscvf6EhPu ZipNSAsdlrGbSXI2CqQreu8FxLOGRWD8tJDVQkXpETIdmXHwd+Xv1jp44fy/mtTN32kt fVa09PGK306kWlrf3zKeHF07SGJb0bHLqW0CIkn37zcb7BIrEg+bNikwEXJacTI+GagZ hpxLEcN73/j3YUhCKXBElj08nNWzPs0hV3h929pXH5yevZyR1Cqzb0EOT5jcy3jgbKE7 d2Ahuxp5GjmVR/tbuNADZWn5ZmlTpD668O9WqG3hIA5ukj8ZWJtmtna2sM5J2LzKH6Sn jAnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A7+9v32j9cPB3QX5vXPFoTYuOQMb+jFtKmzdafzKlXc=; b=hr/GhO4OZcxRFAhVLtuxDBVa4e3hmR1XMHh08Ps0lovoUglw1wCyjWTmQ2C4WCFE3j bbMd9/JqvSh0OOTde0C56K07XgQYpG+Jx43nq3DIZAFgd+Mlt0UU4HDgZbqpi9fxa1K3 ezTlw8jGXVfqFQgzUMehidYjiZa/BsVPkhE4+9kNqJIUnYky7mJLNo/lC0h5yxLKHFW1 yogpnQJSFtsBc2Q5kXRp4EHCcJS16CuZMuyLvkM7eO7jl2Ogr7YQ3XnI+vzD2qbHmSiV xFz3mgwAHB4yI2Ui990xqzaiQXcQs1XMN0JomTC6ovz3Uxfy4toDBWb1PNhuJIRveS9v +LdA== X-Gm-Message-State: ANhLgQ1ZIPR57qG7hqy0cDnKaFCJjN2mo8KmCuBQFH7GsIB7kqMLo74Z NSx+Eth+H1imGMR+rDV76NREEU0ht2o+m3CyQZ5oqw== X-Received: by 2002:a17:906:1e42:: with SMTP id i2mr18635550ejj.317.1585730979486; Wed, 01 Apr 2020 01:49:39 -0700 (PDT) MIME-Version: 1.0 References: <20200327071202.2159885-1-alastair@d-silva.org> <20200327071202.2159885-9-alastair@d-silva.org> In-Reply-To: <20200327071202.2159885-9-alastair@d-silva.org> From: Dan Williams Date: Wed, 1 Apr 2020 01:49:28 -0700 Message-ID: Subject: Re: [PATCH v4 08/25] ocxl: Emit a log message showing how much LPC memory was detected 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 , =?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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = > 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); A patch for a single log message is too fine grained for my taste, let's squash this into another patch in the series. > + > return 0; > } > > -- > 2.24.1 >