← Documents Documentation/ABI/testing/sysfs-bus-intel_th-devices-gth GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Intel Trace Hub GTH output controls

Intel Trace Hub GTH의 STP master routing, 출력 port 유형, reset 중 데이터 정책, NULL·flush·sync 설정을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-intel_th-devices-gth
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

STP master routing

sysfs-bus-intel_th-devices-gth:1-7

masters/*는 STP master를 출력 port에 연결하며 -1은 해당 master를 비활성화합니다. 원문 설명은 불완전하게 끝납니다.

MSU, CTP, and PTI

sysfs-bus-intel_th-devices-gth:8-20

port 값은 미존재(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
7
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:
13
14 == =========================
15 0 not present,
16 1 MSU (Memory Storage Unit)
17 2 CTP (Common Trace Port)
18 4 PTI (MIPI PTI).
19 == =========================
20
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.
27
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).
33
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.
40
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).
46
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.
53

3. 한국어 전문 번역

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

STP master 출력 port 구성

1-7
항목한국어 전문 번역
What/sys/bus/intel_th/devices/<intel_th_id>-gth/masters/*
Date2015년 6월
KernelVersion4.3
ContactAlexander 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
Date2015년 6월
KernelVersion4.3
ContactAlexander Shishkin <[email protected]>
Description(RO) 출력 port 유형입니다.
출력 port 유형
0존재하지 않음
1MSU (Memory Storage Unit)
2CTP (Common Trace Port)
4PTI (MIPI PTI)

Reset 중 입력 데이터 유지 정책

21-27
항목한국어 전문 번역
What/sys/bus/intel_th/devices/<intel_th_id>-gth/outputs/[0-7]_drop
Date2015년 6월
KernelVersion4.3
ContactAlexander 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
Date2015년 6월
KernelVersion4.3
ContactAlexander 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
Date2015년 6월
KernelVersion4.3
ContactAlexander 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
Date2015년 6월
KernelVersion4.3
ContactAlexander 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
Date2015년 6월
KernelVersion4.3
ContactAlexander Shishkin <[email protected]>
Description(RW) 해당 port의 STP sync packet 주파수입니다. Maintenance packet 사이의 클록 수를 지정합니다.