Re: [PATCH v2 1/5] powerpc: Move idle_loop_prolog()/epilog() functions to header file

2020-03-06 Thread Nathan Lynch
Gautham R Shenoy writes: > On Fri, Feb 21, 2020 at 09:03:16AM -0600, Nathan Lynch wrote: >> Looks fine and correct as a cleanup, but asm/include/idle.h and >> idle_loop_prolog, idle_loop_epilog, strike me as too generic for >> pseries-specific code. > > Should it be prefixed with pseries , i.e pse

Re: [PATCH v2 1/5] powerpc: Move idle_loop_prolog()/epilog() functions to header file

2020-02-23 Thread Gautham R Shenoy
Hello Nathan, On Fri, Feb 21, 2020 at 09:03:16AM -0600, Nathan Lynch wrote: > "Gautham R. Shenoy" writes: > > > From: "Gautham R. Shenoy" > > > > Currently prior to entering an idle state on a Linux Guest, the > > pseries cpuidle driver implement an idle_loop_prolog() and > > idle_loop_epilog()

Re: [PATCH v2 1/5] powerpc: Move idle_loop_prolog()/epilog() functions to header file

2020-02-21 Thread Nathan Lynch
"Gautham R. Shenoy" writes: > From: "Gautham R. Shenoy" > > Currently prior to entering an idle state on a Linux Guest, the > pseries cpuidle driver implement an idle_loop_prolog() and > idle_loop_epilog() functions which ensure that idle_purr is correctly > computed, and the hypervisor is infor

[PATCH v2 1/5] powerpc: Move idle_loop_prolog()/epilog() functions to header file

2020-02-20 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Currently prior to entering an idle state on a Linux Guest, the pseries cpuidle driver implement an idle_loop_prolog() and idle_loop_epilog() functions which ensure that idle_purr is correctly computed, and the hypervisor is informed that the CPU cycles have been donated