[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3xXTF82Lcmz9t4Z@ozlabs.org>
Date: Wed, 16 Aug 2017 22:29:48 +1000 (AEST)
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>,
Scott Wood <oss@...error.net>,
Balbir Singh <bsingharora@...il.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [v3, 1/5] powerpc/mm: Ensure change_page_attr() doesn't invalidate pinned TLBs
On Wed, 2017-08-02 at 13:51:01 UTC, Christophe Leroy wrote:
> __change_page_attr() uses flush_tlb_page().
> flush_tlb_page() uses tlbie instruction, which also invalidates
> pinned TLBs, which is not what we expect.
>
> This patch modifies the implementation to use flush_tlb_kernel_range()
> instead. This will make use of tlbia which will preserve pinned TLBs.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e611939fc8ec13387018df88083de7
cheers
Powered by blists - more mailing lists