[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165261053145.1047019.10970993413033058326.b4-ty@ellerman.id.au>
Date: Sun, 15 May 2022 20:28:51 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: align address to page boundary in change_page_attr()
On Mon, 21 Mar 2022 16:44:45 +0100, Christophe Leroy wrote:
> Aligning address to page boundary allows flush_tlb_kernel_range()
> to know it's a single page flush and use tlbie instead of tlbia.
>
> On 603 we now have the following code in first leg of
> change_page_attr():
>
> 2c: 55 29 00 3c rlwinm r9,r9,0,0,30
> 30: 91 23 00 00 stw r9,0(r3)
> 34: 7c 00 22 64 tlbie r4,r0
> 38: 7c 00 04 ac hwsync
> 3c: 38 60 00 00 li r3,0
> 40: 4e 80 00 20 blr
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: align address to page boundary in change_page_attr()
https://git.kernel.org/powerpc/c/65883b78bc9f49ac891bb202c59fcb76b9cfc611
cheers
Powered by blists - more mailing lists