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