projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/powernv: Fix condition for when to invalidate the TCE cache
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
powerpc
/
platforms
/
powernv
/
pci.c
diff --git
a/arch/powerpc/platforms/powernv/pci.c
b/arch/powerpc/platforms/powernv/pci.c
index
163bd74
..
098d357
100644
(file)
--- a/
arch/powerpc/platforms/powernv/pci.c
+++ b/
arch/powerpc/platforms/powernv/pci.c
@@
-367,7
+367,7
@@
static void pnv_tce_free(struct iommu_table *tbl, long index, long npages)
while (npages--)
*(tcep++) = 0;
- if (tbl->it_type & TCE_PCI_SWINV_
CREAT
E)
+ if (tbl->it_type & TCE_PCI_SWINV_
FRE
E)
pnv_pci_ioda_tce_invalidate(tbl, tces, tcep - 1);
}