Re: [PATCH 2/4] powerpc/kuap: Avoid useless jump_label on empty function

2023-06-06 Thread Nicholas Piggin
On Mon Jun 5, 2023 at 9:04 PM AEST, Christophe Leroy wrote: > Disassembly of interrupt_enter_prepare() shows a pointless nop before the mftb > > c000abf0 : > c000abf0: 81 23 00 84 lwz r9,132(r3) > c000abf4: 71 29 40 00 andi. r9,r9,16384 > c000abf8: 41 82 00 2

[PATCH 2/4] powerpc/kuap: Avoid useless jump_label on empty function

2023-06-05 Thread Christophe Leroy
Disassembly of interrupt_enter_prepare() shows a pointless nop before the mftb c000abf0 : c000abf0: 81 23 00 84 lwz r9,132(r3) c000abf4: 71 29 40 00 andi. r9,r9,16384 c000abf8: 41 82 00 28 beq-c000ac20 c000abfc: ===> 60 00 00 00 nop <