From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: linuxppc-dev@lists.ozlabs.org
Cc: Russell Currey <ruscur@russell.cc>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH kernel] powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case
Date: Thu, 12 Jul 2018 15:12:59 +1000 [thread overview]
Message-ID: <20180712151259.44f2f6ee@aik.ozlabs.ibm.com> (raw)
In-Reply-To: <20180702074205.12837-1-aik@ozlabs.ru>
On Mon, 2 Jul 2018 17:42:05 +1000
Alexey Kardashevskiy <aik@ozlabs.ru> wrote:
> 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>
> ---
> arch/powerpc/platforms/powernv/pci-ioda.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
> index 5bd0eb6..557c11d 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;
Ping?
> return mask;
> }
>
> --
> 2.11.0
>
--
Alexey
next prev parent reply other threads:[~2018-07-12 5:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-02 7:42 [PATCH kernel] powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case Alexey Kardashevskiy
2018-07-12 5:12 ` Alexey Kardashevskiy [this message]
2018-07-12 7:21 ` Russell Currey
2018-07-19 6:07 ` [kernel] " Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180712151259.44f2f6ee@aik.ozlabs.ibm.com \
--to=aik@ozlabs.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=ruscur@russell.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).