Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-10-03 20:00:39 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-10-03 20:01:01 +0200
commit728a19352c2fa7330dd049f0a9f726c8183f2c93 (patch)
tree700659b6eeabba7dbe4905b7651b5d2066a85eb5
parent93af7cce4f9e4de29e6e3200a2e94ebb3aa94319 (diff)
powerpc/powernv/npu: Remove obsolete comment about
TCE_KILL_INVAL_ALL (bsc#1065729).
-rw-r--r--patches.suse/powerpc-powernv-npu-Remove-obsolete-comment-about-TC.patch34
-rw-r--r--series.conf1
2 files changed, 35 insertions, 0 deletions
diff --git a/patches.suse/powerpc-powernv-npu-Remove-obsolete-comment-about-TC.patch b/patches.suse/powerpc-powernv-npu-Remove-obsolete-comment-about-TC.patch
new file mode 100644
index 0000000000..20cdc76df2
--- /dev/null
+++ b/patches.suse/powerpc-powernv-npu-Remove-obsolete-comment-about-TC.patch
@@ -0,0 +1,34 @@
+From 797eadd9c80ca3b3f913ccde29f8a6015f9974f9 Mon Sep 17 00:00:00 2001
+From: Alexey Kardashevskiy <aik@ozlabs.ru>
+Date: Mon, 14 Jan 2019 11:41:38 +1100
+Subject: [PATCH] powerpc/powernv/npu: Remove obsolete comment about
+ TCE_KILL_INVAL_ALL
+
+References: bsc#1065729
+Patch-mainline: v5.1-rc1
+Git-commit: 797eadd9c80ca3b3f913ccde29f8a6015f9974f9
+
+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 <aik@ozlabs.ru>
+Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
+Acked-by: Michal Suchanek <msuchanek@suse.de>
+---
+ arch/powerpc/platforms/powernv/npu-dma.c | 4 ----
+ 1 file changed, 4 deletions(-)
+
+--- a/arch/powerpc/platforms/powernv/npu-dma.c
++++ b/arch/powerpc/platforms/powernv/npu-dma.c
+@@ -46,10 +46,6 @@ static DEFINE_SPINLOCK(npu_context_lock)
+ */
+ #define ATSD_THRESHOLD (2*1024*1024)
+
+-/*
+- * Other types of TCE cache invalidation are not functional in the
+- * hardware.
+- */
+ static struct pci_dev *get_pci_dev(struct device_node *dn)
+ {
+ return PCI_DN(dn)->pcidev;
diff --git a/series.conf b/series.conf
index 4542ba3b90..a89d59f416 100644
--- a/series.conf
+++ b/series.conf
@@ -22191,6 +22191,7 @@
patches.suse/xfs-fix-reporting-supported-extra-file-attributes-fo.patch
patches.suse/powerpc-irq-drop-arch_early_irq_init.patch
patches.suse/powerpc-powernv-Remove-never-used-pnv_power9_force_s.patch
+ patches.suse/powerpc-powernv-npu-Remove-obsolete-comment-about-TC.patch
patches.suse/powerpc-pseries-Perform-full-re-add-of-CPU-for-topol.patch
patches.suse/powerpc-perf-add-mem-access-events-to-sysfs.patch
patches.suse/powerpc-64s-clear-on-stack-exception-marker-upon-exception-return.patch