Re: [PATCH] powerpc/rtas: upgrade internal arch spinlocks

2023-01-17 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch writes: >> Laurent Dufour writes: >>> On 10/01/2023 05:42:55, Nathan Lynch wrote: --- a/arch/powerpc/include/asm/rtas-types.h +++ b/arch/powerpc/include/asm/rtas-types.h @@ -18,7 +18,7 @@ struct rtas_t { unsigned long entry;

Re: [PATCH] powerpc/rtas: upgrade internal arch spinlocks

2023-01-15 Thread Michael Ellerman
Nathan Lynch writes: > Laurent Dufour writes: >> On 10/01/2023 05:42:55, Nathan Lynch wrote: >>> --- a/arch/powerpc/include/asm/rtas-types.h >>> +++ b/arch/powerpc/include/asm/rtas-types.h >>> @@ -18,7 +18,7 @@ struct rtas_t { >>> unsigned long entry;/* physical address pointer

Re: [PATCH] powerpc/rtas: upgrade internal arch spinlocks

2023-01-12 Thread Nathan Lynch
Laurent Dufour writes: > On 10/01/2023 05:42:55, Nathan Lynch wrote: >> --- a/arch/powerpc/include/asm/rtas-types.h >> +++ b/arch/powerpc/include/asm/rtas-types.h >> @@ -18,7 +18,7 @@ struct rtas_t { >> unsigned long entry;/* physical address pointer */ >> unsigned long

Re: [PATCH] powerpc/rtas: upgrade internal arch spinlocks

2023-01-12 Thread Laurent Dufour
On 10/01/2023 05:42:55, Nathan Lynch wrote: > At the time commit f97bb36f705d ("powerpc/rtas: Turn rtas lock into a > raw spinlock") was written, the spinlock lockup detection code called > __delay(), which will not make progress if the timebase is not > advancing. Since the interprocessor