diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2015-10-22 04:03:08 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-12-17 14:40:59 +0300 |
commit | e80c4e7ca5aed7d2fa766191bcf4e83fa411c720 (patch) | |
tree | 0172c7cc4cf13b15c98e64ba5169c1d9263feacf /fs/hpfs/hpfs_fn.h | |
parent | 7207f43665b83ed7881c5111bc45475ccf5ce48b (diff) | |
download | linux-e80c4e7ca5aed7d2fa766191bcf4e83fa411c720.tar.xz |
powerpc/powernv: Fix M64 resource name in /proc/iomem
The name of PCI root bus's M64 resource isn't initialized properly.
When dumping "/proc/iomem", "<BAD>" is seen for those M64 resources
on PCI root buses.
~# cat /proc/iomem | grep -e "BAD"
3b0000000000-3b0fefffffff : <BAD>
3b1000000000-3b1fefffffff : <BAD>
3c0000000000-3c0fefffffff : <BAD>
3c1000000000-3c1fefffffff : <BAD>
3c2000000000-3c2fefffffff : <BAD>
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 "<BAD>" is seen from "/proc/iomem".
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
0 files changed, 0 insertions, 0 deletions