From: Michael Ellerman <mpe@ellerman•id.au>
To: Alexey Kardashevskiy <aik@ozlabs•ru>
Cc: linuxppc-dev@lists•ozlabs.org,
David Gibson <david@gibson•dropbear.id.au>,
Paul Mackerras <paulus@samba•org>,
linux-kernel@vger•kernel.org
Subject: Re: [PATCH kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table
Date: Tue, 21 Jul 2015 16:24:01 +1000 [thread overview]
Message-ID: <1437459841.30722.9.camel@ellerman.id.au> (raw)
In-Reply-To: <1437389151-4042-1-git-send-email-aik@ozlabs.ru>
On Mon, 2015-07-20 at 20:45 +1000, Alexey Kardashevskiy wrote:
> The existing code stores the amount of memory allocated for a TCE table.
> At the moment it uses @offset which is a virtual offset in the TCE table
> which is only correct for a one level tables and it does not include
> memory allocated for intermediate levels. When multilevel TCE table is
> requested, WARN_ON in tce_iommu_create_table() prints a warning.
>
> This adds an additional counter to pnv_pci_ioda2_table_do_alloc_pages()
> to count actually allocated memory.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs•ru>
> ---
>
> I was sure I sent it already but could not find it anywhere so reposting.
> Sorry if it is a duplicate.
Stable?
cheers
next prev parent reply other threads:[~2015-07-21 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 10:45 [PATCH kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table Alexey Kardashevskiy
2015-07-21 5:11 ` David Gibson
2015-07-21 6:24 ` Michael Ellerman [this message]
2015-07-23 9:45 ` Alexey Kardashevskiy
2015-07-31 4:13 ` [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=1437459841.30722.9.camel@ellerman.id.au \
--to=mpe@ellerman$(echo .)id.au \
--cc=aik@ozlabs$(echo .)ru \
--cc=david@gibson$(echo .)dropbear.id.au \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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