Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-23 Thread Zhouyi Zhou
On Wed, Aug 24, 2022 at 12:50 AM Christophe Leroy wrote: > > > > Le 23/08/2022 à 10:47, Christophe Leroy a écrit : > > > > > > Le 23/08/2022 à 10:33, Michael Ellerman a écrit : > >> Zhouyi Zhou writes: > >> > >> My worry is that this will force irq_soft_mask_set() out of line, which > >> we would

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-23 Thread Christophe Leroy
Le 23/08/2022 à 10:47, Christophe Leroy a écrit : Le 23/08/2022 à 10:33, Michael Ellerman a écrit : Zhouyi Zhou writes: My worry is that this will force irq_soft_mask_set() out of line, which we would rather avoid. It's meant to be a fast path. In fact with this applied I see nearly 300

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-23 Thread Christophe Leroy
Le 23/08/2022 à 10:33, Michael Ellerman a écrit : > Zhouyi Zhou writes: >> In ppc, compiler based sanitizer will generate instrument instructions >> around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): >> >> 0xc0295cb0 <+0>: addis r2,r12,774 >> 0xc0295cb4 <+4>:

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-23 Thread Michael Ellerman
Zhouyi Zhou writes: > In ppc, compiler based sanitizer will generate instrument instructions > around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): > >0xc0295cb0 <+0>: addis r2,r12,774 >0xc0295cb4 <+4>: addir2,r2,16464 >0xc0295cb8 <+8>: mflr

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-22 Thread Christophe Leroy
Le 23/08/2022 à 03:43, Zhouyi Zhou a écrit : > On Mon, Aug 22, 2022 at 2:04 PM Christophe Leroy > wrote: >> >> >> >> Le 21/08/2022 à 03:00, Zhouyi Zhou a écrit : >>> In ppc, compiler based sanitizer will generate instrument instructions >>> around statement WRITE_ONCE(local_paca->irq_soft_mask,

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-22 Thread Zhouyi Zhou
On Mon, Aug 22, 2022 at 2:04 PM Christophe Leroy wrote: > > > > Le 21/08/2022 à 03:00, Zhouyi Zhou a écrit : > > In ppc, compiler based sanitizer will generate instrument instructions > > around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): > > > > 0xc0295cb0 <+0>: addis r2

Re: [PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-21 Thread Christophe Leroy
Le 21/08/2022 à 03:00, Zhouyi Zhou a écrit : > In ppc, compiler based sanitizer will generate instrument instructions > around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): > > 0xc0295cb0 <+0>: addis r2,r12,774 > 0xc0295cb4 <+4>: addir2,r2,16464 > 0xc

[PATCH linux-next] powerpc: disable sanitizer in irq_soft_mask_set

2022-08-20 Thread Zhouyi Zhou
In ppc, compiler based sanitizer will generate instrument instructions around statement WRITE_ONCE(local_paca->irq_soft_mask, mask): 0xc0295cb0 <+0>: addis r2,r12,774 0xc0295cb4 <+4>: addir2,r2,16464 0xc0295cb8 <+8>: mflrr0 0xc0295c