From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp02.in.ibm.com (e28smtp02.in.ibm.com [122.248.162.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id EAE531A08EF for ; Fri, 12 Dec 2014 08:58:26 +1100 (AEDT) Received: from /spool/local by e28smtp02.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 12 Dec 2014 03:28:23 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 683F23940024 for ; Fri, 12 Dec 2014 03:28:21 +0530 (IST) Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sBBLwwKS6816052 for ; Fri, 12 Dec 2014 03:28:59 +0530 Received: from d28av05.in.ibm.com (localhost [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sBBLwKhf010468 for ; Fri, 12 Dec 2014 03:28:20 +0530 Date: Fri, 12 Dec 2014 08:58:19 +1100 From: Gavin Shan To: Wei Yang Subject: Re: [PATCH] powerpc/powernv: Print the M64 range information Message-ID: <20141211215818.GA6584@shangw> Reply-To: Gavin Shan References: <1418221778-12458-1-git-send-email-weiyang@linux.vnet.ibm.com> <20141210224030.GA13035@shangw> <20141211072901.GA9598@richard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20141211072901.GA9598@richard> Cc: linuxppc-dev@lists.ozlabs.org, Gavin Shan List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Dec 11, 2014 at 03:29:01PM +0800, Wei Yang wrote: >On Thu, Dec 11, 2014 at 09:40:30AM +1100, Gavin Shan wrote: >>On Wed, Dec 10, 2014 at 10:29:37PM +0800, Wei Yang wrote: >>>The M64 range information is missed, which would be helpful in debug. >>> >>>This patch print the M64 range information in the same format as M32. s/print/prints >>> >>>Signed-off-by: Wei Yang >>>--- >>> arch/powerpc/platforms/powernv/pci-ioda.c | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>>diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c >>>index 21c8b4d..34f1a27 100644 >>>--- a/arch/powerpc/platforms/powernv/pci-ioda.c >>>+++ b/arch/powerpc/platforms/powernv/pci-ioda.c >>>@@ -369,6 +369,9 @@ static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb) >>> phb->ioda.m64_segsize = phb->ioda.m64_size / phb->ioda.total_pe; >>> phb->ioda.m64_base = pci_addr; >>> >>>+ printk(KERN_INFO " MEM64 0x%016llx..0x%016llx -> 0x%016llx\n", >>>+ res->start, res->end, pci_addr); >>>+ >> >>Please output segment size if you think it's helpful as well. > >The M64 segment size is printed in pnv_pci_init_ioda_phb() line 2620. > Yes, it has been printed separately. So the change looks good to me after you replace "printk(KERN_INFO ...)" with pr_info. Could you please send updated version and include following line if you want: Reviewed-by: Gavin Shan Thanks, Gavin