[PATCH kernel] powerpc/powernv/npu: Remove obsolete comment about TCE_KILL_INVAL_ALL

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2817d

2 messages, 2 authors, 2019-01-24 · open the first message on its own page

[PATCH kernel] powerpc/powernv/npu: Remove obsolete comment about TCE_KILL_INVAL_ALL

From: Alexey Kardashevskiy <hidden>
Date: 2019-01-14 00:43:48

TCE_KILL_INVAL_ALL has moved long ago but the comment was forgotted so
finish the move and remove the comment.

Fixes: 0bbcdb437da0c4a "powerpc/powernv/npu: TCE Kill helpers cleanup"
Signed-off-by: Alexey Kardashevskiy <redacted>
---
 arch/powerpc/platforms/powernv/npu-dma.c | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c
index d7f742e..2ca7982 100644
--- a/arch/powerpc/platforms/powernv/npu-dma.c
+++ b/arch/powerpc/platforms/powernv/npu-dma.c
@@ -28,10 +28,6 @@
  */
 static DEFINE_SPINLOCK(npu_context_lock);
 
-/*
- * Other types of TCE cache invalidation are not functional in the
- * hardware.
- */
 static struct pci_dev *get_pci_dev(struct device_node *dn)
 {
 	struct pci_dn *pdn = PCI_DN(dn);
-- 
2.17.1

Re: [kernel] powerpc/powernv/npu: Remove obsolete comment about TCE_KILL_INVAL_ALL

From: Michael Ellerman <hidden>
Date: 2019-01-24 04:08:52

On Mon, 2019-01-14 at 00:41:38 UTC, Alexey Kardashevskiy wrote:
TCE_KILL_INVAL_ALL has moved long ago but the comment was forgotted so
finish the move and remove the comment.

Fixes: 0bbcdb437da0c4a "powerpc/powernv/npu: TCE Kill helpers cleanup"
Signed-off-by: Alexey Kardashevskiy <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/797eadd9c80ca3b3f913ccde29f8a601

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help