Re: [Qemu-devel] [RFC PATCH 0/6] Clock and power gating support

2018-07-30 Thread Mark Burton
Hi Pete, sorry for the tardy reply, Im not in the office. Your right we shoujd have co-ordinated better the 2 patches, sorry for that. Regarding this new patchset, we think there is a degree of complementary to the clocktree one. Here we simply add a couple of generic power states to a device.

Re: [Qemu-devel] [RFC PATCH 0/6] Clock and power gating support

2018-07-27 Thread KONRAD Frederic
Le 07/27/2018 à 04:59 PM, Peter Maydell a écrit : On 27 July 2018 at 15:37, Damien Hedde wrote: This set of patches add support for power and clock gating in device objects. It adds two booleans to the state, one for power state and one of clock state. The state is controlled trough 2 funct

Re: [Qemu-devel] [RFC PATCH 0/6] Clock and power gating support

2018-07-27 Thread Peter Maydell
On 27 July 2018 at 15:37, Damien Hedde wrote: > This set of patches add support for power and clock gating in device objects. > It adds two booleans to the state, one for power state and one of clock state. > > The state is controlled trough 2 functions, one for power and one for clock. > Two new

[Qemu-devel] [RFC PATCH 0/6] Clock and power gating support

2018-07-27 Thread Damien Hedde
This set of patches add support for power and clock gating in device objects. It adds two booleans to the state, one for power state and one of clock state. The state is controlled trough 2 functions, one for power and one for clock. Two new methods *power_update* and *clock_update* is added to th