Message ID | 20191001090202.26346-1-t-kristo@ti.com (mailing list archive) |
---|---|
Headers | show |
Series | clk: debugfs: add some simple debug functionality | expand |
On 01/10/2019 12:01, Tero Kristo wrote: > Hi, > > I have been using a variation of these patches myself for several years > for debugging / testing different clock issues. Basically what I do here > is extend the functionality of debugfs to allow write access to certain > properties, like rate, enable / prepare counts, mux parents. > > This allows simple testing of new features or debugging directly from > userspace. The functionality is hidden behind a Kconfig option because > it can be rather dangerous to allow access to these unconditionally if > the user does not know what they are doing. > > Any thoughts? I haven't reviewed the patches, but I've been using (earlier versions of) these, and at least for me they were of great value finding clock related issues. So what it's worth, +1 from me. Tomi
Quoting Tero Kristo (2019-10-01 02:01:58) > Hi, > > I have been using a variation of these patches myself for several years > for debugging / testing different clock issues. Basically what I do here > is extend the functionality of debugfs to allow write access to certain > properties, like rate, enable / prepare counts, mux parents. > > This allows simple testing of new features or debugging directly from > userspace. The functionality is hidden behind a Kconfig option because > it can be rather dangerous to allow access to these unconditionally if > the user does not know what they are doing. > > Any thoughts? I just applied Geerts approach to this. Let's follow that and not provide any Kconfig things.