Re: [RFC 2/3] powernv/cpuidle : Interface for an idle-stop dependency structure

2020-04-27 Thread Gautham R Shenoy
On Sun, Apr 26, 2020 at 09:10:26PM -0500, Abhishek Goel wrote: > This patch introduces the idea of having a dependency structure for > idle-stop. The structure encapsulates the following: > 1. Bitmask for version of idle-stop > 2. Bitmask for propterties like ENABLE/DISABLE > 3. Function pointer wh

[RFC 2/3] powernv/cpuidle : Interface for an idle-stop dependency structure

2020-04-26 Thread Abhishek Goel
This patch introduces the idea of having a dependency structure for idle-stop. The structure encapsulates the following: 1. Bitmask for version of idle-stop 2. Bitmask for propterties like ENABLE/DISABLE 3. Function pointer which helps handle how the stop must be invoked This patch lays a foundati