Re: [PATCH] powerpc: fix pgtable pmd cache init
flat view
From: Aneesh Kumar K.V <hidden>
Date: 2017-01-04 02:18:41
Nicholas Piggin [off-list ref] writes:
On Wed, 04 Jan 2017 07:34:41 +0530 "Aneesh Kumar K.V" [off-list ref] wrote:quoted
Nicholas Piggin [off-list ref] writes:quoted
Commit 9b081e10805cd ("powerpc: port 64 bits pgtable_cache to 32 bits") mixed up PMD_INDEX_SIZE and PMD_CACHE_INDEX a couple of times. This resulted in 64s/hash/4k configs to panic at boot with a false positive error check. Fix that and simplify error handling by moving the check to the caller. Fixes: 9b081e10805cd ("powerpc: port 64 bits pgtable_cache to 32 bits") Cc: Christophe Leroy <redacted> Cc: Aneesh Kumar K.V <redacted> Cc: Scott Wood <oss@buserror.net> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Nicholas Piggin <npiggin@gmail.com>I did another fix here. https://lkml.kernel.org/r/20161214043349.23677-1-aneesh.kumar@linux.vnet.ibm.com But this patch makes it much simpler. Hence. Reviewed-by: Aneesh Kumar K.V <redacted> There is this hunk in the patch I did.Ah, I missed that. My patch just fixes the 9b081e10805cd bug, but this hunk looks like it should still go in as another patch. Will you resend it?
ok will do that. -aneesh