요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/fsl-mc/rescan
2
Date: January 2021
3
KernelVersion: 5.12
4
Contact: Ioana Ciornei <[email protected]>
5
Description: Writing a non-zero value to this attribute will
6
force a rescan of fsl-mc bus in the system and
7
synchronize the objects under fsl-mc bus and the
8
Management Complex firmware.
9
Users: Userspace drivers and management tools
11
What: /sys/bus/fsl-mc/autorescan
12
Date: January 2021
13
KernelVersion: 5.12
14
Contact: Ioana Ciornei <[email protected]>
15
Description: Writing a zero value to this attribute will
16
disable the DPRC IRQs on which automatic rescan
17
of the fsl-mc bus is performed. A non-zero value
18
will enable the DPRC IRQs.
19
Users: Userspace drivers and management tools
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
FSL Management Complex rescan
1-19두 attribute는 2021년 1월 kernel 5.12에 도입됐고 담당자는 Ioana Ciornei <[email protected]>다. Userspace driver와 management tool이 사용한다.
| 경로 | 쓰기 동작 |
|---|---|
| /sys/bus/fsl-mc/rescan | 0이 아닌 값을 쓰면 system의 fsl-mc bus를 강제로 다시 scan하고 bus 아래 object를 Management Complex firmware와 동기화한다. |
| /sys/bus/fsl-mc/autorescan | 0을 쓰면 fsl-mc bus 자동 rescan에 쓰는 DPRC IRQ를 비활성화하고, 0이 아닌 값을 쓰면 DPRC IRQ를 활성화한다. |
수동·자동 rescan
sysfs-bus-fsl-mc:1-19Userspace driver와 management tool이 Management Complex firmware의 object 변화를 반영하도록 bus scan을 제어합니다.