From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 6140D1A127F for ; Thu, 17 Dec 2015 22:57:34 +1100 (AEDT) In-Reply-To: <1445475788-30348-1-git-send-email-gwshan@linux.vnet.ibm.com> To: Gavin Shan , linuxppc-dev@ozlabs.org From: Michael Ellerman Cc: Gavin Shan Subject: Re: powerpc/powernv: Fix M64 resource name in /proc/iomem Message-Id: <20151217115733.D9CEE1402F0@ozlabs.org> Date: Thu, 17 Dec 2015 22:57:33 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2015-22-10 at 01:03:08 UTC, Gavin Shan wrote: > The name of PCI root bus's M64 resource isn't initialized properly. > When dumping "/proc/iomem", "" is seen for those M64 resources > on PCI root buses. > > ~# cat /proc/iomem | grep -e "BAD" > 3b0000000000-3b0fefffffff : > 3b1000000000-3b1fefffffff : > 3c0000000000-3c0fefffffff : > 3c1000000000-3c1fefffffff : > 3c2000000000-3c2fefffffff : > > This fixes the issue by setting the name of PCI root bus's M64 > resource to that of PHB's device node full name. With the patch, > no "" is seen from "/proc/iomem". > > Signed-off-by: Gavin Shan Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e80c4e7ca5aed7d2fa766191bc cheers