Re: [RFC] PMU: replace information ioctls and schedule for removal

2007-11-13 Thread Johannes Berg
On Tue, 2007-11-13 at 10:15 +1100, Paul Mackerras wrote: Johannes Berg writes: Does anybody need that? I'm not against adding it but we never showed it and I haven't seen anyone ask for it. pmud uses the PMU version, but I think it gets it by issuing a PMU command. Yeah, it probably

Re: [RFC] PMU: replace information ioctls and schedule for removal

2007-11-12 Thread Johannes Berg
On Mon, 2007-11-12 at 07:55 +1100, Benjamin Herrenschmidt wrote: On Thu, 2007-11-08 at 13:02 +0100, Johannes Berg wrote: This patch adds sysfs attributes to the PMU to allow getting the information on the PMU type and whether adb is present from there instead of via the ioctl. The ioctl is

Re: [RFC] PMU: replace information ioctls and schedule for removal

2007-11-12 Thread Paul Mackerras
Johannes Berg writes: Does anybody need that? I'm not against adding it but we never showed it and I haven't seen anyone ask for it. pmud uses the PMU version, but I think it gets it by issuing a PMU command. Paul. ___ Linuxppc-dev mailing list

Re: [RFC] PMU: replace information ioctls and schedule for removal

2007-11-11 Thread Benjamin Herrenschmidt
On Thu, 2007-11-08 at 13:02 +0100, Johannes Berg wrote: This patch adds sysfs attributes to the PMU to allow getting the information on the PMU type and whether adb is present from there instead of via the ioctl. The ioctl is made optional and scheduled for removal. Acked-by: Benjamin

[RFC] PMU: replace information ioctls and schedule for removal

2007-11-08 Thread Johannes Berg
This patch adds sysfs attributes to the PMU to allow getting the information on the PMU type and whether adb is present from there instead of via the ioctl. The ioctl is made optional and scheduled for removal. Signed-off-by: Johannes Berg [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL