mbox series

[v2,0/2] powerpc/rtas: improved busy and extended delay status handling

Message ID 20211117060259.957178-1-nathanl@linux.ibm.com (mailing list archive)
Headers show
Series powerpc/rtas: improved busy and extended delay status handling | expand

Message

Nathan Lynch Nov. 17, 2021, 6:02 a.m. UTC
This can be considered a successor to:

https://lore.kernel.org/linuxppc-dev/20210504030358.1715034-1-nathanl@linux.ibm.com/

which tried to address both the suboptimal delay behavior as well as API
issues. This version achieves the performance improvements and leaves major
API changes for another time.

Changes since v1:
* Drop major API changes.
* Avoid division when calculating the arguments to usleep_range() (Alexey).
* Improve kernel-doc for rtas_busy_delay(), rtas_busy_delay_time().

Nathan Lynch (2):
  powerpc/rtas: rtas_busy_delay() improvements
  powerpc/rtas: rtas_busy_delay_time() kernel-doc

 arch/powerpc/include/asm/rtas.h |  2 +-
 arch/powerpc/kernel/rtas.c      | 95 +++++++++++++++++++++++++++++----
 2 files changed, 87 insertions(+), 10 deletions(-)

Comments

Michael Ellerman Nov. 25, 2021, 9:36 a.m. UTC | #1
On Wed, 17 Nov 2021 00:02:57 -0600, Nathan Lynch wrote:
> This can be considered a successor to:
> 
> https://lore.kernel.org/linuxppc-dev/20210504030358.1715034-1-nathanl@linux.ibm.com/
> 
> which tried to address both the suboptimal delay behavior as well as API
> issues. This version achieves the performance improvements and leaves major
> API changes for another time.
> 
> [...]

Applied to powerpc/next.

[1/2] powerpc/rtas: rtas_busy_delay() improvements
      https://git.kernel.org/powerpc/c/38f7b7067dae0c101be573106018e8af22a90fdf
[2/2] powerpc/rtas: rtas_busy_delay_time() kernel-doc
      https://git.kernel.org/powerpc/c/dd5cde457a5eb77088d1d9eecface47c0563cd43

cheers