← Documents Documentation/ABI/testing/sysfs-kernel-irq GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Kernel IRQ sysfs ABI

Linux IRQ별 action chain, chip·handler name, hardware IRQ, per-CPU count, trigger type와 wakeup state를 machine-friendly 형식으로 제공합니다.

Source pathDocumentation/ABI/testing/sysfs-kernel-irq
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

IRQ identity and handlers

sysfs-kernel-irq:1-38

IRQ number마다 action devices, interrupt chip, hardware IRQ와 flow-handler identity를 machine-friendly files로 제공합니다.

Counts, trigger and wakeup

sysfs-kernel-irq:39-60

모든 CPU ID의 boot-scoped interrupt counts와 level/edge trigger type, enabled/disabled wakeup state를 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/kernel/irq
2 Date: September 2016
3 KernelVersion: 4.9
4 Contact: Craig Gallek <[email protected]>
5 Description: 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
11 What: /sys/kernel/irq/<irq>/actions
12 Date: September 2016
13 KernelVersion: 4.9
14 Contact: Craig Gallek <[email protected]>
15 Description: The IRQ action chain. A comma-separated list of zero or more
16 device names associated with this interrupt.
17
18 What: /sys/kernel/irq/<irq>/chip_name
19 Date: September 2016
20 KernelVersion: 4.9
21 Contact: Craig Gallek <[email protected]>
22 Description: Human-readable chip name supplied by the associated device
23 driver.
24
25 What: /sys/kernel/irq/<irq>/hwirq
26 Date: September 2016
27 KernelVersion: 4.9
28 Contact: Craig Gallek <[email protected]>
29 Description: When interrupt translation domains are used, this file contains
30 the underlying hardware IRQ number used for this Linux IRQ.
31
32 What: /sys/kernel/irq/<irq>/name
33 Date: September 2016
34 KernelVersion: 4.9
35 Contact: Craig Gallek <[email protected]>
36 Description: Human-readable flow handler name as defined by the irq chip
37 driver.
38
39 What: /sys/kernel/irq/<irq>/per_cpu_count
40 Date: September 2016
41 KernelVersion: 4.9
42 Contact: Craig Gallek <[email protected]>
43 Description: 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
49 What: /sys/kernel/irq/<irq>/type
50 Date: September 2016
51 KernelVersion: 4.9
52 Contact: Craig Gallek <[email protected]>
53 Description: The type of the interrupt. Either the string 'level' or 'edge'.
54
55 What: /sys/kernel/irq/<irq>/wakeup
56 Date: March 2018
57 KernelVersion: 4.17
58 Contact: Andy Shevchenko <[email protected]>
59 Description: The wakeup state of the interrupt. Either the string
60 'enabled' or 'disabled'.
61

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Kernel irq

1-10
항목한국어 전문 번역
What/sys/kernel/irq
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionSystem IRQ 정보를 담는 directory입니다. 연관된 `struct irq_desc`의 data를 제공하며 `/proc/interrupts`와 비슷하지만 machine-friendly format입니다. Linux IRQ number마다 하나의 subdirectory가 있습니다.

Kernel actions

11-17
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/actions
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionIRQ action chain입니다. 이 interrupt에 연결된 device names가 0개 이상 포함된 comma-separated list입니다.

Kernel chip name

18-24
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/chip_name
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
Description연관된 device driver가 제공한 사람이 읽을 수 있는 chip name입니다.

Kernel hwirq

25-31
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/hwirq
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionInterrupt translation domains를 사용할 때 이 Linux IRQ의 기반 hardware IRQ number를 포함합니다.

Kernel name

32-38
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/name
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionIRQ chip driver가 정의한 사람이 읽을 수 있는 flow handler name입니다.

Kernel per cpu count

39-48
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/per_cpu_count
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionBoot 이후 interrupt가 발생한 횟수입니다. CPU ID 순서로 CPU마다 하나씩 배치한 comma-separated counters list입니다. 이 file은 항상 모든 CPU IDs의 counters를 표시하며 online CPUs만 표시하는 `/proc/interrupts`와 다릅니다.

Kernel type

49-54
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/type
Date2016년 9월
KernelVersion4.9
ContactCraig Gallek <[email protected]>
DescriptionInterrupt type이며 문자열 `level` 또는 `edge` 중 하나입니다.

Kernel wakeup

55-60
항목한국어 전문 번역
What/sys/kernel/irq/<irq>/wakeup
Date2018년 3월
KernelVersion4.17
ContactAndy Shevchenko <[email protected]>
DescriptionInterrupt wakeup state이며 문자열 `enabled` 또는 `disabled` 중 하나입니다.
Per-IRQ sysfs attributes
AttributeValue or format
actionsComma-separated device names
chip_nameHuman-readable interrupt-chip name
hwirqUnderlying hardware IRQ number
nameHuman-readable flow-handler name
per_cpu_countComma-separated counters for all CPU IDs
typelevel | edge
wakeupenabled | disabled

각 Linux IRQ number directory가 machine-friendly 상태를 제공합니다.