Re: [Qemu-devel] [RFC] A clock framework in QEMU.

2016-06-02 Thread KONRAD Frederic
Le 02/06/2016 à 12:01, Edgar E. Iglesias a écrit : On Tue, May 31, 2016 at 09:08:14PM +0200, KONRAD Frederic wrote: Hi, Hi Fred, We would like to have a way to have a clock tree inside QEMU: * models can have clock outputs and/or clock inputs. * changing the clock rate of propagates i

Re: [Qemu-devel] [RFC] A clock framework in QEMU.

2016-06-02 Thread Edgar E. Iglesias
On Tue, May 31, 2016 at 09:08:14PM +0200, KONRAD Frederic wrote: > Hi, Hi Fred, > We would like to have a way to have a clock tree inside QEMU: > * models can have clock outputs and/or clock inputs. > * changing the clock rate of propagates in the clock tree through > callbacks which wil

Re: [Qemu-devel] [RFC] A clock framework in QEMU.

2016-06-02 Thread Peter Maydell
On 2 June 2016 at 10:18, KONRAD Frederic wrote: > Hi Peter, > > Do you agree with this? I think you are the hw/*/omap* maintainer? The in-master OMAP stuff is pretty ancient and not a good pattern for anything. You could have a look at the omap3 clocktree stuff that's in the qemu-linaro tree; tha

Re: [Qemu-devel] [RFC] A clock framework in QEMU.

2016-06-02 Thread KONRAD Frederic
Hi Peter, Do you agree with this? I think you are the hw/*/omap* maintainer? Thanks, Fred Le 31/05/2016 à 21:08, KONRAD Frederic a écrit : Hi, We would like to have a way to have a clock tree inside QEMU: * models can have clock outputs and/or clock inputs. * changing the clock rate of pr

[Qemu-devel] [RFC] A clock framework in QEMU.

2016-05-31 Thread KONRAD Frederic
Hi, We would like to have a way to have a clock tree inside QEMU: * models can have clock outputs and/or clock inputs. * changing the clock rate of propagates in the clock tree through callbacks which will be implemented in the model (eg: like qemu_irq) * would be nice to be able to vis