Re: [PATCH] powerpc/8xx: Simplify pte_update() with 16k pages

2022-11-30 Thread Michael Ellerman
On Wed, 28 Sep 2022 08:29:00 +0200, Christophe Leroy wrote: > While looking at code generated for code patching, I saw that > pte_clear generated: > > 2d8: 38 a0 00 00 li r5,0 > 2dc: 38 e0 10 00 li r7,4096 > 2e0: 39 00 20 00 li r8,8192 > 2e4: 39 40 30 00 li

[PATCH] powerpc/8xx: Simplify pte_update() with 16k pages

2022-09-28 Thread Christophe Leroy
While looking at code generated for code patching, I saw that pte_clear generated: 2d8: 38 a0 00 00 li r5,0 2dc: 38 e0 10 00 li r7,4096 2e0: 39 00 20 00 li r8,8192 2e4: 39 40 30 00 li r10,12288 2e8: 90 a9 00 00 stw r5,0(r9) 2ec: 90 e9