Documentation/devicetree/bindings/powerpc/ibm,vas.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

IBM Virtual Accelerator Switchboard

POWER9 VAS의 accelerator submission window와 paste address register binding입니다.

Source pathDocumentation/devicetree/bindings/powerpc/ibm,vas.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

ibm,vas.txt:1-22

VAS instance ID와 hypervisor·OS/user·paste window register field를 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 * IBM Powerpc Virtual Accelerator Switchboard (VAS)
2
3 VAS is a hardware mechanism that allows kernel subsystems and user processes
4 to directly submit compression and other requests to Nest accelerators (NX)
5 or other coprocessors functions.
6
7 Required properties:
8 - compatible : should be "ibm,vas".
9 - ibm,vas-id : A unique identifier for each instance of VAS in the system
10 - reg : Should contain 4 pairs of 64-bit fields specifying the Hypervisor
11 window context start and length, OS/User window context start and length,
12 "Paste address" start and length, "Paste window id" start bit and number
13 of bits)
14
15 Example:
16
17 vas@6019100000000 {
18 compatible = "ibm,vas", "ibm,power9-vas";
19 reg = <0x6019100000000 0x2000000 0x6019000000000 0x100000000 0x8000000000000 0x100000000 0x20 0x10>;
20 name = "vas";
21 ibm,vas-id = <0x1>;
22 };
23

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

IBM VAS property

1-14

IBM PowerPC Virtual Accelerator Switchboard(VAS)는 kernel subsystem과 user process가 compression 등 요청을 Nest accelerator(NX) 또는 다른 coprocessor function에 직접 제출하게 하는 hardware mechanism입니다.

필수 `compatible`은 `ibm,vas`이고 `ibm,vas-id`는 system의 각 VAS instance를 구분하는 unique identifier입니다.

필수 `reg`는 네 쌍의 64-bit field를 포함합니다. 순서대로 Hypervisor window context start·length, OS/User window context start·length, Paste address start·length, Paste window ID start bit·bit 수입니다.

POWER9 VAS 예제

15-22

예제는 `ibm,vas`, `ibm,power9-vas` compatible과 네 register-field 쌍, 이름 `vas`, instance ID 1을 선언합니다.

vas@6019100000000 {
        compatible = "ibm,vas", "ibm,power9-vas";
        reg = <0x6019100000000 0x2000000 0x6019000000000 0x100000000 0x8000000000000 0x100000000 0x20 0x10>;
        name = "vas";
        ibm,vas-id = <0x1>;
};