powerpc: iommu: Add device name to iommu error printks
commit4dfa9c474859629a2c4a3f8d29804d6a6c994908
authorAnton Blanchard <anton@samba.org>
Tue, 7 Dec 2010 14:36:05 +0000 (7 14:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Dec 2010 04:35:32 +0000 (9 15:35 +1100)
tree8d5866ae6388530ca5861ed07f9d795992331efe
parent7a9d12568e34e37a72d9e00ce01b62dec527e663
powerpc: iommu: Add device name to iommu error printks

Right now its difficult to see which device is running out of iommu space:

iommu_alloc failed, tbl c00000076e096660 vaddr c000000768806600 npages 1

Use dev_info() so we get the device name and location:

ipr 0000:00:01.0: iommu_alloc failed, tbl c00000076e096660 vaddr c000000768806600 npages 1

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iommu.c