diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-07-02 17:42:05 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-04 22:41:09 +1000 |
commit | 00c376fdd7ed6cc083da3a3c51a63a75f270d647 (patch) | |
tree | 13a0647a510356571d5e971346a4696da772d4d9 | |
parent | 8950329c4a64c6d3ca0bc34711a1afbd9ce05657 (diff) | |
download | linux-stable-00c376fdd7ed6cc083da3a3c51a63a75f270d647.tar.gz linux-stable-00c376fdd7ed6cc083da3a3c51a63a75f270d647.tar.bz2 linux-stable-00c376fdd7ed6cc083da3a3c51a63a75f270d647.zip |
powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case
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 <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index 94ec58c3f5f2..e7f2bee89fdd 100644 --- 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; } |