Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1188696
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table |
| Date | 2015-07-21 08:30 +0200 |
| Message-ID | <pOzdT-bd-11@gated-at.bofh.it> (permalink) |
| References | <pOgNX-7df-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- 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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH kernel] powerpc/powernv/ioda2: Fix calculation for memory allocated for TCE table Michael Ellerman <mpe@ellerman.id.au> - 2015-07-21 08:30 +0200
csiph-web