요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
MSU, CTP, and PTI
sysfs-bus-intel_th-devices-gth:8-20port 값은 미존재(0), MSU(1), CTP(2), PTI(4)를 구분합니다.
Reset and packet handling
sysfs-bus-intel_th-devices-gth:21-52각 출력 port는 reset 중 입력 데이터를 유지하거나 폐기하고, NULL packet 생성·강제 flush·reset 상태·maintenance packet 사이 클록 수를 제어합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/masters/*
2
Date: June 2015
3
KernelVersion: 4.3
4
Contact: Alexander Shishkin <[email protected]>
5
Description: (RW) Configure output ports for STP masters. Writing -1
6
disables a master; any
8
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_port
9
Date: June 2015
10
KernelVersion: 4.3
11
Contact: Alexander Shishkin <[email protected]>
12
Description: (RO) Output port type:
14
== =========================
15
0 not present,
16
1 MSU (Memory Storage Unit)
17
2 CTP (Common Trace Port)
18
4 PTI (MIPI PTI).
19
== =========================
21
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_drop
22
Date: June 2015
23
KernelVersion: 4.3
24
Contact: Alexander Shishkin <[email protected]>
25
Description: (RW) Data retention policy setting: keep (0) or drop (1)
26
incoming data while output port is in reset.
28
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_null
29
Date: June 2015
30
KernelVersion: 4.3
31
Contact: Alexander Shishkin <[email protected]>
32
Description: (RW) STP NULL packet generation: enabled (1) or disabled (0).
34
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_flush
35
Date: June 2015
36
KernelVersion: 4.3
37
Contact: Alexander Shishkin <[email protected]>
38
Description: (RW) Force flush data from byte packing buffer for the output
39
port.
41
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_reset
42
Date: June 2015
43
KernelVersion: 4.3
44
Contact: Alexander Shishkin <[email protected]>
45
Description: (RO) Output port is in reset (1).
47
What: /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_smcfreq
48
Date: June 2015
49
KernelVersion: 4.3
50
Contact: Alexander Shishkin <[email protected]>
51
Description: (RW) STP sync packet frequency for the port. Specifies the
52
number of clocks between mainenance packets.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
STP master 출력 port 구성
1-7| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/masters/* |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) STP master의 출력 port를 구성합니다. -1을 쓰면 master를 비활성화합니다. 원문 설명은 이어지는 "any"에서 끝나며 그 뒤 내용은 제공되지 않습니다. |
GTH 출력 port 유형
8-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_port |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RO) 출력 port 유형입니다. |
| 값 | 출력 port 유형 |
|---|---|
| 0 | 존재하지 않음 |
| 1 | MSU (Memory Storage Unit) |
| 2 | CTP (Common Trace Port) |
| 4 | PTI (MIPI PTI) |
Reset 중 입력 데이터 유지 정책
21-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_drop |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) 출력 port가 reset 상태일 때 들어오는 데이터의 유지 정책을 설정합니다. 0은 유지(keep), 1은 폐기(drop)입니다. |
STP NULL packet 생성
28-33| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_null |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) STP NULL packet 생성을 활성화(1)하거나 비활성화(0)합니다. |
Byte packing buffer 강제 flush
34-40| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_flush |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) 해당 출력 port의 byte packing buffer에서 데이터를 강제로 flush합니다. |
출력 port reset 상태
41-46| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_reset |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RO) 값이 1이면 출력 port가 reset 상태입니다. |
STP 동기화 packet 주기
47-52| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_smcfreq |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) 해당 port의 STP sync packet 주파수입니다. Maintenance packet 사이의 클록 수를 지정합니다. |
STP master routing
sysfs-bus-intel_th-devices-gth:1-7masters/*는 STP master를 출력 port에 연결하며 -1은 해당 master를 비활성화합니다. 원문 설명은 불완전하게 끝납니다.