[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48My3Z3flnz9sSP@ozlabs.org>
Date: Wed, 19 Feb 2020 23:39:53 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, aneesh.kumar@...ux.ibm.com
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] powerpc/hugetlb: Fix 8M hugepages on 8xx
On Sun, 2020-02-09 at 16:02:41 UTC, Christophe Leroy wrote:
> With HW assistance all page tables must be 4k aligned, the 8xx
> drops the last 12 bits during the walk.
>
> Redefine HUGEPD_SHIFT_MASK to mask last 12 bits out.
> HUGEPD_SHIFT_MASK is used to for alignment of page table cache.
>
> Fixes: 22569b881d37 ("powerpc/8xx: Enable 8M hugepage support with HW assistance")
> Cc: stable@...r.kernel.org
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/50a175dd18de7a647e72aca7daf4744e3a5a81e3
cheers
Powered by blists - more mailing lists