Re: [Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-30 Thread Julien Grall
Hi Dirk, On 29/06/16 16:49, Dirk Behme wrote: On 22.06.2016 17:26, Julien Grall wrote: On 21/06/16 11:16, Dirk Behme wrote: Would it be possible to use the flags CLK_IGNORE_UNUSED instead? So the clock will be ignored by clk_disable_unused_subtree. Yes, using CLK_IGNORE_UNUSED is an option.

Re: [Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-29 Thread Dirk Behme
Hi Julien, On 22.06.2016 17:26, Julien Grall wrote: Hello Dirk, On 21/06/16 11:16, Dirk Behme wrote: Some clocks might be used by the Xen hypervisor and not by the Linux kernel. If these are not registered by the Linux kernel, they might be disabled by clk_disable_unused() as the kernel doesn'

Re: [Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-22 Thread Mark Rutland
On Wed, Jun 22, 2016 at 04:26:46PM +0100, Julien Grall wrote: > Hello Dirk, > > On 21/06/16 11:16, Dirk Behme wrote: > >Some clocks might be used by the Xen hypervisor and not by the Linux > >kernel. If these are not registered by the Linux kernel, they might be > >disabled by clk_disable_unused()

Re: [Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-22 Thread Julien Grall
Hello Dirk, On 21/06/16 11:16, Dirk Behme wrote: Some clocks might be used by the Xen hypervisor and not by the Linux kernel. If these are not registered by the Linux kernel, they might be disabled by clk_disable_unused() as the kernel doesn't know that they are used. The clock of the serial con

Re: [Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-21 Thread Dirk Behme
On 21.06.2016 12:16, Dirk Behme wrote: Some clocks might be used by the Xen hypervisor and not by the Linux kernel. If these are not registered by the Linux kernel, they might be disabled by clk_disable_unused() as the kernel doesn't know that they are used. The clock of the serial console handle

[Xen-devel] [PATCH] xen/arm: register clocks used by the hypervisor

2016-06-21 Thread Dirk Behme
Some clocks might be used by the Xen hypervisor and not by the Linux kernel. If these are not registered by the Linux kernel, they might be disabled by clk_disable_unused() as the kernel doesn't know that they are used. The clock of the serial console handled by Xen is one example for this. It migh