[PATCH 13/15] powerpc/rtas: Use fsleep() to minimize additional sleep duration

2024-09-04 Thread Anna-Maria Behnsen
t sleeping mechanism to use.. Cc: Michael Ellerman Cc: Nathan Lynch Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Anna-Maria Behnsen --- arch/powerpc/kernel/rtas.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/arch/powerpc/kernel/rtas.c b/ar

[PATCH 00/15] timers: Cleanup delay/sleep related mess

2024-09-04 Thread Anna-Maria Behnsen
: Len Brown Cc: Rafael J. Wysocki To: Frederic Weisbecker To: Thomas Gleixner To: Jonathan Corbet Signed-off-by: Anna-Maria Behnsen Thanks, Anna-Maria --- Anna-Maria Behnsen (15): timers: Rename next_expiry_recalc() to be unique cpu: Use already existing usleep_range() Comm

[PATCH v2 00/15] timers: Cleanup delay/sleep related mess

2024-09-10 Thread Anna-Maria Behnsen
ion and move it into a file with a self explaining file name The queue is available here and applies on top of tip/timers/core: git://git.kernel.org/pub/scm/linux/kernel/git/anna-maria/linux-devel.git timers/misc Signed-off-by: Anna-Maria Behnsen --- Changes in v2: - change udelay() and ndelay

[PATCH v2 13/15] powerpc/rtas: Use fsleep() to minimize additional sleep duration

2024-09-10 Thread Anna-Maria Behnsen
t sleeping mechanism to use.. Cc: Michael Ellerman Cc: Nathan Lynch Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Anna-Maria Behnsen Acked-by: Michael Ellerman (powerpc) --- v2: fix typos --- arch/powerpc/kernel/rtas.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletion

[PATCH v3 00/16] timers: Cleanup delay/sleep related mess

2024-10-14 Thread Anna-Maria Behnsen
name (as there are no more references) - Remove checkpatch checks which also rely on the outdated documentation The queue is available here: git://git.kernel.org/pub/scm/linux/kernel/git/anna-maria/linux-devel.git timers/misc Signed-off-by: Anna-Maria Behnsen --- Changes in v3: - Add

[PATCH v3 13/16] powerpc/rtas: Use fsleep() to minimize additional sleep duration

2024-10-14 Thread Anna-Maria Behnsen
t sleeping mechanism to use. Cc: Michael Ellerman Cc: Nathan Lynch Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Anna-Maria Behnsen Acked-by: Michael Ellerman (powerpc) Reviewed-by: Frederic Weisbecker --- v2: fix typos --- arch/powerpc/kernel/rtas.c | 21 +++-- 1 file

Re: (subset) [PATCH v3 00/16] timers: Cleanup delay/sleep related mess

2024-10-18 Thread Anna-Maria Behnsen
Hi Mark, Mark Brown writes: > On Mon, 14 Oct 2024 10:22:17 +0200, Anna-Maria Behnsen wrote: >> a question about which sleeping function should be used in acpi_os_sleep() >> started a discussion and examination about the existing documentation and >> implementation of fun

Re: [PATCH v2 13/15] powerpc/rtas: Use fsleep() to minimize additional sleep duration

2024-10-10 Thread Anna-Maria Behnsen
Frederic Weisbecker writes: > Le Wed, Sep 11, 2024 at 07:13:39AM +0200, Anna-Maria Behnsen a écrit : >> When commit 38f7b7067dae ("powerpc/rtas: rtas_busy_delay() improvements") >> was introduced, documentation about proper usage of sleep realted functions >

Re: [PATCH v2 00/15] timers: Cleanup delay/sleep related mess

2024-09-23 Thread Anna-Maria Behnsen
Christophe JAILLET writes: > Le 16/09/2024 à 22:20, Christophe JAILLET a écrit : >> Le 11/09/2024 à 07:13, Anna-Maria Behnsen a écrit : >>> Hi, >>> >>> a question about which sleeping function should be used in >>> acpi_os_sleep() >>> s