xref: /linux/Documentation/ABI/testing/sysfs-kernel-irq (revision bba9525520b6028ecbe7486e13216e9ede8636be)
1What:		/sys/kernel/irq
2Date:		September 2016
3KernelVersion:	4.9
4Contact:	Craig Gallek <kraig@google.com>
5Description:	Directory containing information about the system's IRQs.
6		Specifically, data from the associated struct irq_desc.
7		The information here is similar to that in /proc/interrupts
8		but in a more machine-friendly format.  This directory contains
9		one subdirectory for each Linux IRQ number.
10
11What:		/sys/kernel/irq/<irq>/actions
12Date:		September 2016
13KernelVersion:	4.9
14Contact:	Craig Gallek <kraig@google.com>
15Description:	The IRQ action chain.  A comma-separated list of zero or more
16		device names associated with this interrupt.
17
18What:		/sys/kernel/irq/<irq>/chip_name
19Date:		September 2016
20KernelVersion:	4.9
21Contact:	Craig Gallek <kraig@google.com>
22Description:	Human-readable chip name supplied by the associated device
23		driver.
24
25What:		/sys/kernel/irq/<irq>/hwirq
26Date:		September 2016
27KernelVersion:	4.9
28Contact:	Craig Gallek <kraig@google.com>
29Description:	When interrupt translation domains are used, this file contains
30		the underlying hardware IRQ number used for this Linux IRQ.
31
32What:		/sys/kernel/irq/<irq>/name
33Date:		September 2016
34KernelVersion:	4.9
35Contact:	Craig Gallek <kraig@google.com>
36Description:	Human-readable flow handler name as defined by the irq chip
37		driver.
38
39What:		/sys/kernel/irq/<irq>/per_cpu_count
40Date:		September 2016
41KernelVersion:	4.9
42Contact:	Craig Gallek <kraig@google.com>
43Description:	The number of times the interrupt has fired since boot.  This
44		is a comma-separated list of counters; one per CPU in CPU id
45		order.  NOTE: This file consistently shows counters for all
46		CPU ids.  This differs from the behavior of /proc/interrupts
47		which only shows counters for online CPUs.
48
49What:		/sys/kernel/irq/<irq>/type
50Date:		September 2016
51KernelVersion:	4.9
52Contact:	Craig Gallek <kraig@google.com>
53Description:	The type of the interrupt.  Either the string 'level' or 'edge'.
54
55What:		/sys/kernel/irq/<irq>/wakeup
56Date:		March 2018
57KernelVersion:	4.17
58Contact:	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
59Description:	The wakeup state of the interrupt. Either the string
60		'enabled' or 'disabled'.
61