← Documents Documentation/PCI/endpoint/function/binding/pci-test.rst GitHub 원문 ↗

Linux 6.18.37 · PCI

PCI test endpoint function

DRA74x·DRA72x test EPF의 PCI ID, interrupt pin과 MSI/MSI-X 시험 범위를 정의합니다.

Source pathDocumentation/PCI/endpoint/function/binding/pci-test.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

pci-test.rst:1-26

`pci_epf_test` binding에 필요한 device ID와 class, legacy·MSI·MSI-X interrupt 값을 지정합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ==========================
4 PCI Test Endpoint Function
5 ==========================
6
7 name: Should be "pci_epf_test" to bind to the pci_epf_test driver.
8
9 Configurable Fields:
10
11 ================ ===========================================================
12 vendorid should be 0x104c
13 deviceid should be 0xb500 for DRA74x and 0xb501 for DRA72x
14 revid don't care
15 progif_code don't care
16 subclass_code don't care
17 baseclass_code should be 0xff
18 cache_line_size don't care
19 subsys_vendor_id don't care
20 subsys_id don't care
21 interrupt_pin Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD
22 msi_interrupts Should be 1 to 32 depending on the number of MSI interrupts
23 to test
24 msix_interrupts Should be 1 to 2048 depending on the number of MSI-X
25 interrupts to test
26 ================ ===========================================================
27

3. 한국어 전문 번역

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

Test EPF binding field

1-26

`pci_epf_test` driver에 bind하려면 function name을 `pci_epf_test`로 지정합니다.

PCI test EPF fields
Field
vendorid0x104c
deviceidDRA74x: 0xb500, DRA72x: 0xb501
revid / progif_code / subclass_code무관
baseclass_code0xff
cache_line_size / subsys_vendor_id / subsys_id무관
interrupt_pin1=INTA, 2=INTB, 3=INTC, 4=INTD
msi_interrupts시험할 MSI 수에 따라 1~32
msix_interrupts시험할 MSI-X 수에 따라 1~2048

DRA74x·DRA72x test function의 configuration 값입니다.

.. SPDX-License-Identifier: GPL-2.0

==========================
PCI Test Endpoint Function
==========================

name: Should be "pci_epf_test" to bind to the pci_epf_test driver.

Configurable Fields:

================   ===========================================================
vendorid           should be 0x104c
deviceid           should be 0xb500 for DRA74x and 0xb501 for DRA72x
revid                   don't care
progif_code           don't care
subclass_code           don't care
baseclass_code           should be 0xff
cache_line_size           don't care
subsys_vendor_id   don't care
subsys_id           don't care
interrupt_pin           Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD
msi_interrupts           Should be 1 to 32 depending on the number of MSI interrupts
                   to test
msix_interrupts           Should be 1 to 2048 depending on the number of MSI-X
                   interrupts to test
================   ===========================================================