[V2, 07/10] powerpc/hash: Use the correct ppp mask when updating hpte
Michael Ellerman
mpe at ellerman.id.au
Wed Jun 15 22:37:04 AEST 2016
On Wed, 2016-08-06 at 14:25:55 UTC, "Aneesh Kumar K.V" wrote:
> With commit: e58e87adc8bf9 ("powerpc/mm: Update _PAGE_KERNEL_RO") we
> now use all the three PPP bits. The top bit is now used to have a
> PPP value of 0b110 which will be mapped to kernel read only. When
> updating the hpte entry use right mask such that we update the
> 63rd bit (top 'P' bit) too.
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/8550e2fa34f077c8a87cf1ba24
cheers
More information about the Linuxppc-dev
mailing list