Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Wed, Feb 06, 2008 at 01:33:25AM -0500, Len Brown wrote: > Thanks for the reply, Greg. > > If these counters are not always available by default, then > I've lost most of their value for supporting systems in the field. > > Plus, I think I can live with just the individual sysfs files, > given

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
Thanks for the reply, Greg. If these counters are not always available by default, then I've lost most of their value for supporting systems in the field. Plus, I think I can live with just the individual sysfs files, given Bjorn's "grep . *" tip. So if I follow the rules, do you think it is

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Tue, Feb 05, 2008 at 08:58:50PM -0500, Len Brown wrote: > On Tuesday 05 February 2008 18:18, Greg KH wrote: > > On Tue, Feb 05, 2008 at 06:12:09PM -0500, Len Brown wrote: > > > On Tuesday 05 February 2008 17:18, Greg KH wrote: > > > > On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: >

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 18:18, Greg KH wrote: > On Tue, Feb 05, 2008 at 06:12:09PM -0500, Len Brown wrote: > > On Tuesday 05 February 2008 17:18, Greg KH wrote: > > > On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: > > > > # cat /sys/firmware/acpi/interrupts/summary > > > > pm_timer

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 19:44, Bjorn Helgaas wrote: > On Tuesday 05 February 2008 04:12:09 pm Len Brown wrote: > > is there > > a version of cat that prints the file name before > > the contents of each file? > > I use "grep . *" for this sort of thing. good tip, bjorn, thanks!

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Bjorn Helgaas
On Tuesday 05 February 2008 04:12:09 pm Len Brown wrote: > is there > a version of cat that prints the file name before > the contents of each file? I use "grep . *" for this sort of thing. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Tue, Feb 05, 2008 at 06:12:09PM -0500, Len Brown wrote: > On Tuesday 05 February 2008 17:18, Greg KH wrote: > > On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: > > > # cat /sys/firmware/acpi/interrupts/summary > > > pm_timer 0 > > > glbl_lock0 > > > power_btn0 > > >

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 17:18, Greg KH wrote: > On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: > > # cat /sys/firmware/acpi/interrupts/summary > > pm_timer 0 > > glbl_lock0 > > power_btn0 > > sleep_btn0 > > rtc 0 > > gpe000 ... > > gpe1F0 > > gpe_hi

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: > # cat /sys/firmware/acpi/interrupts/summary > pm_timer 0 > glbl_lock0 > power_btn0 > sleep_btn0 > rtc 0 > gpe000 > gpe010 > gpe020 > gpe030 > gpe040 > gpe050 > gpe060 > gpe070 >

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: # cat /sys/firmware/acpi/interrupts/summary pm_timer 0 glbl_lock0 power_btn0 sleep_btn0 rtc 0 gpe000 gpe010 gpe020 gpe030 gpe040 gpe050 gpe060 gpe070 gpe080 gpe09

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 17:18, Greg KH wrote: On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: # cat /sys/firmware/acpi/interrupts/summary pm_timer 0 glbl_lock0 power_btn0 sleep_btn0 rtc 0 gpe000 ... gpe1F0 gpe_hi0 gpe_total

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Bjorn Helgaas
On Tuesday 05 February 2008 04:12:09 pm Len Brown wrote: is there a version of cat that prints the file name before the contents of each file? I use grep . * for this sort of thing. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 19:44, Bjorn Helgaas wrote: On Tuesday 05 February 2008 04:12:09 pm Len Brown wrote: is there a version of cat that prints the file name before the contents of each file? I use grep . * for this sort of thing. good tip, bjorn, thanks!

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
On Tuesday 05 February 2008 18:18, Greg KH wrote: On Tue, Feb 05, 2008 at 06:12:09PM -0500, Len Brown wrote: On Tuesday 05 February 2008 17:18, Greg KH wrote: On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: # cat /sys/firmware/acpi/interrupts/summary pm_timer 0

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Tue, Feb 05, 2008 at 08:58:50PM -0500, Len Brown wrote: On Tuesday 05 February 2008 18:18, Greg KH wrote: On Tue, Feb 05, 2008 at 06:12:09PM -0500, Len Brown wrote: On Tuesday 05 February 2008 17:18, Greg KH wrote: On Tue, Feb 05, 2008 at 02:30:10AM -0500, Len Brown wrote: # cat

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Len Brown
Thanks for the reply, Greg. If these counters are not always available by default, then I've lost most of their value for supporting systems in the field. Plus, I think I can live with just the individual sysfs files, given Bjorn's grep . * tip. So if I follow the rules, do you think it is okay

Re: [PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-05 Thread Greg KH
On Wed, Feb 06, 2008 at 01:33:25AM -0500, Len Brown wrote: Thanks for the reply, Greg. If these counters are not always available by default, then I've lost most of their value for supporting systems in the field. Plus, I think I can live with just the individual sysfs files, given

[PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-04 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Here is the ACPI GPE statistics patch, forward ported to grok 2.6.25's kobject changes. (Greg, let me know if I was able to unleash the inner beauty of the kobj interface) (yes, I know you don't like sysfs files with more than 1 value, but I violate that

[PATCH for review] ACPI: Create /sys/firmware/acpi/interrupts/ counters

2008-02-04 Thread Len Brown
From: Len Brown [EMAIL PROTECTED] Here is the ACPI GPE statistics patch, forward ported to grok 2.6.25's kobject changes. (Greg, let me know if I was able to unleash the inner beauty of the kobj interface) (yes, I know you don't like sysfs files with more than 1 value, but I violate that rule