Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1196573 > unrolled thread

Re: [kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table

Started byMichael Ellerman <mpe@ellerman.id.au>
First post2015-07-31 06:20 +0200
Last post2015-07-31 06:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table Michael Ellerman <mpe@ellerman.id.au> - 2015-07-31 06:20 +0200

#1196573 — Re: [kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table

FromMichael Ellerman <mpe@ellerman.id.au>
Date2015-07-31 06:20 +0200
SubjectRe: [kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table
Message-ID<pS9Xz-2S8-1@gated-at.bofh.it>
On Mon, 2015-20-07 at 10:45:51 UTC, 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>
> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/3ba3a73e9f204ce7904c

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web