summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/44x_mmu.c
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2017-06-14 14:47:50 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-06-14 15:23:19 +1000
commit377aa6b0efbaa29cfeecd8b9244641217f9544ca (patch)
tree298ad8b55f45348c5b17cbdb6f02381e6e4fc157 /arch/powerpc/mm/44x_mmu.c
parentc6ee9619e2edd9912316f7e2eaf9ffa14fafe9f9 (diff)
downloadblackbird-op-linux-377aa6b0efbaa29cfeecd8b9244641217f9544ca.tar.gz
blackbird-op-linux-377aa6b0efbaa29cfeecd8b9244641217f9544ca.zip
powerpc/npu-dma: Remove spurious WARN_ON when a PCI device has no of_node
Commit 4c3b89effc28 ("powerpc/powernv: Add sanity checks to pnv_pci_get_{gpu|npu}_dev") introduced explicit warnings in pnv_pci_get_npu_dev() when a PCIe device has no associated device-tree node. However not all PCIe devices have an of_node and pnv_pci_get_npu_dev() gets indirectly called at least once for every PCIe device in the system. This results in spurious WARN_ON()'s so remove it. The same situation should not exist for pnv_pci_get_gpu_dev() as any NPU based PCIe device requires a device-tree node. Fixes: 4c3b89effc28 ("powerpc/powernv: Add sanity checks to pnv_pci_get_{gpu|npu}_dev") Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/44x_mmu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud