Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2024-01-25 Thread Nathan Lynch
Christophe Leroy writes: > Le 25/01/2024 à 17:33, Nathan Lynch a écrit : >> Christophe Leroy writes: >>> Hi Nathan, >>> >>> Le 06/03/2023 à 22:33, Nathan Lynch via B4 Relay a écrit : From: Nathan Lynch The kernel can handle retrying RTAS function calls in response to

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2024-01-25 Thread Christophe Leroy
Le 25/01/2024 à 17:33, Nathan Lynch a écrit : > Christophe Leroy writes: >> Hi Nathan, >> >> Le 06/03/2023 à 22:33, Nathan Lynch via B4 Relay a écrit : >>> From: Nathan Lynch >>> >>> The kernel can handle retrying RTAS function calls in response to >>> -2/990x in the sys_rtas() handler instead

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2024-01-25 Thread Nathan Lynch
Christophe Leroy writes: > Hi Nathan, > > Le 06/03/2023 à 22:33, Nathan Lynch via B4 Relay a écrit : >> From: Nathan Lynch >> >> The kernel can handle retrying RTAS function calls in response to >> -2/990x in the sys_rtas() handler instead of relaying the intermediate >> status to user space. >

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2024-01-25 Thread Christophe Leroy
Hi Nathan, Le 06/03/2023 à 22:33, Nathan Lynch via B4 Relay a écrit : > From: Nathan Lynch > > The kernel can handle retrying RTAS function calls in response to > -2/990x in the sys_rtas() handler instead of relaying the intermediate > status to user space. From this series with still have

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2023-03-23 Thread Nathan Lynch
Andrew Donnellan writes: > On Mon, 2023-03-06 at 15:33 -0600, Nathan Lynch via B4 Relay wrote: >> * We can expect performance improvements for existing sys_rtas() >>   users, not only because of overall reduction in the number of >> system >>   calls issued, but also due to the better handling

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2023-03-23 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch via B4 Relay writes: >> From: Nathan Lynch >> >> The kernel can handle retrying RTAS function calls in response to >> -2/990x in the sys_rtas() handler instead of relaying the intermediate >> status to user space. > > This looks good in general. > > One

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2023-03-23 Thread Michael Ellerman
Nathan Lynch via B4 Relay writes: > From: Nathan Lynch > > The kernel can handle retrying RTAS function calls in response to > -2/990x in the sys_rtas() handler instead of relaying the intermediate > status to user space. This looks good in general. One query ... > diff --git

Re: [PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2023-03-23 Thread Andrew Donnellan
On Mon, 2023-03-06 at 15:33 -0600, Nathan Lynch via B4 Relay wrote: > From: Nathan Lynch > > The kernel can handle retrying RTAS function calls in response to > -2/990x in the sys_rtas() handler instead of relaying the > intermediate > status to user space. > > Justifications: > > * Currently

[PATCH 8/8] powerpc/rtas: consume retry statuses in sys_rtas()

2023-03-06 Thread Nathan Lynch via B4 Relay
From: Nathan Lynch The kernel can handle retrying RTAS function calls in response to -2/990x in the sys_rtas() handler instead of relaying the intermediate status to user space. Justifications: * Currently it's nondeterministic and quite variable in practice whether a retry status is