Re: [PATCH v3 1/3] powerpc: inline doorbell sending functions

2020-07-26 Thread Michael Ellerman
Nicholas Piggin writes: > diff --git a/arch/powerpc/include/asm/dbell.h > b/arch/powerpc/include/asm/dbell.h > index 4ce6808deed3..1f04f3de96ba 100644 > --- a/arch/powerpc/include/asm/dbell.h > +++ b/arch/powerpc/include/asm/dbell.h > @@ -100,4 +102,63 @@ static inline void ppc_msgsnd(enum ppc_db

[PATCH v3 1/3] powerpc: inline doorbell sending functions

2020-07-25 Thread Nicholas Piggin
These are only called in one place for a given platform, so inline them for performance. Tested-by: Cédric Le Goater Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/dbell.h | 67 ++-- arch/powerpc/kernel/dbell.c | 55 -- 2 fil