Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1126925ybb; Sat, 28 Mar 2020 19:28:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvTQ1oAQ/cn/HUk3i1Gwb8PuWb7TRpmWR8If75Htp4i5+MqbS/xJw9bCBX4H0eRFEJjW5G5 X-Received: by 2002:a9d:6ad8:: with SMTP id m24mr4638115otq.66.1585448935819; Sat, 28 Mar 2020 19:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585448935; cv=none; d=google.com; s=arc-20160816; b=jFTThEYGKl9cSuokZwpPJz3htNUCSW/Zi0QgtDPO3ZEC6qYZ2o/R1ppLiBHhs0OLn9 JiRqxwxdItmK71R79guQ9Bt3YM182Ed61KR4ITtSCgYbt8ItDnuWSV7sbBJUMrk6XZ0w kwyFXXhWQ5yddgcAmFNxVUWq6moNOouuzotdErTfp0ULII3k73nL+25qhlaWkEVXiWr6 x4ZvdIBvdz5kauDY9hYL1AplpTCVj01DeFLKaHF2E8win3P5TXR7X+giwgUSqP+5N3Vs zh+G8Ys7jcKqXMjsaJFeEnVfXQ442JNX9T3yPvmYIhV4Rif2wZ7bpxLXiRrEhyShGAo6 mjEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rC8tKdg0eJ4m4856aEVswk4VTIQwTqO9KyJickcb9Gs=; b=dkMli+QB6GuvS3gQTlLooJ1wNTg3tSLD6I+6oTuuuK8Y0uP/7sNuEnIqpZt4RmD/mK LNNZwWsSFZSySsmaPpjtKLZtyRYf7pbm8c35GIdMgPfPoMh75+KM1Ou3DgL4hBlOjf15 9LByaE/mkOM6MkNun/j8NlCpZ7ZboVQBXKtbkb7cGzIn3PEZMnkiez0/NTm5L61YKiXj mX3Tkcw/rhVuzwgTkUV/9MTjk93YsP13NNbuulxioENCgf+rhtKQTmpvfFSTZPNDbu1Q vb5+zmGv+8PFAgSURNjqg25zYNh8v3zzlIjqpFYkr1Z5x3CQVX6yIAZjoCmmXQb6LVtW XKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@d-silva.org header.s=201810a header.b=gd3j0Duo; 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 t24si4785484oth.319.2020.03.28.19.28.31; Sat, 28 Mar 2020 19:28:55 -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=gd3j0Duo; 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 S1727797AbgC2C2C (ORCPT + 99 others); Sat, 28 Mar 2020 22:28:02 -0400 Received: from ushosting.nmnhosting.com ([66.55.73.32]:35204 "EHLO ushosting.nmnhosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbgC2C2C (ORCPT ); Sat, 28 Mar 2020 22:28:02 -0400 Received: from mail2.nmnhosting.com (unknown [202.169.106.97]) by ushosting.nmnhosting.com (Postfix) with ESMTPS id 5E12D2DC67FE; Fri, 27 Mar 2020 18:12:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=d-silva.org; s=201810a; t=1585293141; bh=bEfzXRR0cTBf+yBtWTvEdtXlD5xDUP18rOvIDgiLves=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gd3j0DuoeTtlWmyHUBUazlQ1VFusMIA9aMaYhizfgDpSKt92Sy7qNXsG96bPw/XxL 9QhMWe73iJYRcKatLqQyH20jrk2zgVkqk6EZ71FermuqUedtDX+/a0Nl0KdpTvyQGX TI7AMhz5XxEnv3yAqHVIW9qqxXNSXJloUqB4fVEgjJLPiAyElMs9/sGcUgkKv9wRiT pVzWhJmqwR4it0c5Jr1sRPCU+d7RO8j9kbV60yXlW6plmXpocT8DiJaRVac54Kl5bx iykZ94QQC1lJiJhk6vSgbqe3hvFn4jc4B7ggDCo3TAcwMB0jDRWxoQ9t48F2xrqoxc Uc7oM3knlUNd38QNUCVGzKSnmF0yYLUaLZOpbB6nKsaWWmft6E6+3oQTcHtQjB8Ja/ f9bmXSMg7fOd70wY0ezYnuB6dFA38AdcPEhax50weTdofK/DbxqRRk+Nn/8pWP3THe yfQFCXqYYY7dSVktejI9B3aDo17PWhaE3+ZCC1FDLqmXe9TesqrQPPeQ8B/8Lnk3jm +jdLoxFPBf78IBZA6+JcRjRAKDCxDsrWUAW8qhRPf595Us6aILG5DUC852KzjPL4me SGVCPNuhRq371astBd/3M8cq2ByQeoJvs2+NtXwgbRW4GSgBLQwfL719g3fE041XB8 93xnLU1sO4dAMbvZvsnBeSS8= Received: from localhost.lan ([10.0.1.179]) by mail2.nmnhosting.com (8.15.2/8.15.2) with ESMTP id 02R7C4Ah045934; Fri, 27 Mar 2020 18:12:16 +1100 (AEDT) (envelope-from alastair@d-silva.org) From: "Alastair D'Silva" To: alastair@d-silva.org Cc: "Aneesh Kumar K . V" , "Oliver O'Halloran" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman , Dan Williams , 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=20Le=20Goater?= , Anju T Sudhakar , Hari Bathini , Thomas Gleixner , Greg Kurz , Nicholas Piggin , Masahiro Yamada , Alexey Kardashevskiy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-nvdimm@lists.01.org, linux-mm@kvack.org Subject: [PATCH v4 08/25] ocxl: Emit a log message showing how much LPC memory was detected Date: Fri, 27 Mar 2020 18:11:45 +1100 Message-Id: <20200327071202.2159885-9-alastair@d-silva.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200327071202.2159885-1-alastair@d-silva.org> References: <20200327071202.2159885-1-alastair@d-silva.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mail2.nmnhosting.com [10.0.1.20]); Fri, 27 Mar 2020 18:12:16 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); + return 0; } -- 2.24.1