projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8950329
)
powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case
author
Alexey Kardashevskiy
<
[email protected]
>
Mon, 2 Jul 2018 07:42:05 +0000
(17:42 +1000)
committer
Michael Ellerman
<
[email protected]
>
Wed, 4 Jul 2018 12:41:09 +0000
(22:41 +1000)
The sketchy bypass uses 256M pages so add this page size as well.
This should cause no behavioral change but will be used later.
Fixes: 477afd6ea6 "powerpc/ioda: Use ibm,supported-tce-sizes for IOMMU page size mask"
Signed-off-by: Alexey Kardashevskiy <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/platforms/powernv/pci-ioda.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powernv/pci-ioda.c
b/arch/powerpc/platforms/powernv/pci-ioda.c
index 94ec58c3f5f2efaa23feca51e0ab93c7e075bd0b..e7f2bee89fddddce8718ee11042a68cf4ec4caae 100644
(file)
--- a/
arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/
arch/powerpc/platforms/powernv/pci-ioda.c
@@
-2925,7
+2925,7
@@
static unsigned long pnv_ioda_parse_tce_sizes(struct pnv_phb *phb)
/* Add 16M for POWER8 by default */
if (cpu_has_feature(CPU_FTR_ARCH_207S) &&
!cpu_has_feature(CPU_FTR_ARCH_300))
- mask |= SZ_16M;
+ mask |= SZ_16M
| SZ_256M
;
return mask;
}