lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55B0B7C8.8030804@ozlabs.ru>
Date:	Thu, 23 Jul 2015 19:45:44 +1000
From:	Alexey Kardashevskiy <aik@...abs.ru>
To:	Michael Ellerman <mpe@...erman.id.au>
Cc:	linuxppc-dev@...ts.ozlabs.org,
	David Gibson <david@...son.dropbear.id.au>,
	Paul Mackerras <paulus@...ba.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH kernel] powerpc/powernv/ioda2: Fix calculation for memory
 allocated for TCE table

On 07/21/2015 04:24 PM, Michael Ellerman wrote:
> 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@...abs.ru>
>> ---
>>
>> I was sure I sent it already but could not find it anywhere so reposting.
>> Sorry if it is a duplicate.
>
> Stable?

No, this is for DDW patchset I recently posted and which did not get to any 
release yet.



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ