Re: [PATCH 1/2] ARM: OMAP: CLKFW: Initial debugfs support for omap clock framework

David Brownell
2008-04-17T19:14:40Z

On Thursday 17 April 2008, Hiroshi DOYU wrote:
> For "set_parent", would it be possible to do that by using
> "debugfs_rename()"?

Could be. What happens if you try it?

> And if there will be a little possibility that sysfs attribute can be
> used by userland in the future, keeping sysfs instead of debugfs
> doesn't seem not so illegal, does it?

I'm unaware of any laws passed in any country on that topic. ;)

I happen to think that the clock tree is sensitive enough
that it should not be managed from userspace in production
systems. (Except possibly through driver-specific APIs which
ensure the right rules are followed.) Too easy to break things
otherwise.

- Dave