[v3, 1/5] powerpc/mm: Ensure change_page_attr() doesn't invalidate pinned TLBs

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 16 22:29:48 AEST 2017


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 at c-s.fr>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e611939fc8ec13387018df88083de7

cheers


More information about the Linuxppc-dev mailing list