|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4] xen/arm: Add a clock property
On 14.07.2016 12:38, Stefano Stabellini wrote: On Thu, 14 Jul 2016, Dirk Behme wrote:On 13.07.2016 23:03, Michael Turquette wrote:Quoting Dirk Behme (2016-07-13 11:56:30)On 13.07.2016 20:43, Stefano Stabellini wrote:On Wed, 13 Jul 2016, Dirk Behme wrote:On 13.07.2016 00:26, Michael Turquette wrote:Quoting Dirk Behme (2016-07-12 00:46:45)Clocks described by this property are reserved for use by Xen, and the OS must not alter their state any way, such as disabling or gating a clock, or modifying its rate. Ensuring this may impose constraints on parent clocks or other resources used by the clock tree. Let me ask then: Do we have a practical example where it's not sufficient practically? To my understanding, Xen people have been happy with the "clk_ignore_unused" workaround since ~2 years, now [1]. And I think the "clk_ignore_unused" workaround does mainly the same like the patch discussed here. It doesn't care regarding clk_set_rate from changing properties, too? While I agree that the patch theoretically incomplete, if nobody has a real world example I would think that from practical point of view it's sufficient in a first step. If this is the case, I'd propose to fix the practical issue in a first step with a patch (this one) which is sufficient to fix the issues the Xen users have. And update the code for theoretical future issues in a second step. Best regards Dirk [1] http://bugs.xenproject.org/xen/bug/45 We need to understand at least what it would take to have a complete solution. Michael, do you have any suggestions on how it would be possible to set CLK_SET_RATE_GATE and CLK_SET_PARENT_GATE for those clocks in a proper way? Like you wrote, I would imagine it needs to be done by the clock provider driver. Maybe to do that, it would be easier to have a new device tree property on the clock node, rather than listing phandle and clock-specifier pairs under the Xen node? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |