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