요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver intel-m10-bmc-hwmon
=================================
Supported chips:
* Intel MAX 10 BMC for Intel PAC N3000
Prefix: 'n3000bmc-hwmon'
Author: Xu Yilun <yilun.xu@intel.com>
Description
-----------
This driver adds the temperature, voltage, current and power reading
support for the Intel MAX 10 Board Management Controller (BMC) chip.
The BMC chip is integrated in some Intel Programmable Acceleration
Cards (PAC). It connects to a set of sensor chips to monitor the
sensor data of different components on the board. The BMC firmware is
responsible for sensor data sampling and recording in shared
registers. The host driver reads the sensor data from these shared
registers and exposes them to users as hwmon interfaces.
The BMC chip is implemented using the Intel MAX 10 CPLD. It could be
reprogramed to some variants in order to support different Intel
PACs. The driver is designed to be able to distinguish between the
variants, but now it only supports the BMC for Intel PAC N3000.
Sysfs attributes
----------------
The following attributes are supported:
- Intel MAX 10 BMC for Intel PAC N3000:
======================= =======================================================
tempX_input Temperature of the component (specified by tempX_label)
tempX_max Temperature maximum setpoint of the component
tempX_crit Temperature critical setpoint of the component
tempX_max_hyst Hysteresis for temperature maximum of the component
tempX_crit_hyst Hysteresis for temperature critical of the component
temp1_label "Board Temperature"
temp2_label "FPGA Die Temperature"
temp3_label "QSFP0 Temperature"
temp4_label "QSFP1 Temperature"
temp5_label "Retimer A Temperature"
temp6_label "Retimer A SerDes Temperature"
temp7_label "Retimer B Temperature"
temp8_label "Retimer B SerDes Temperature"
inX_input Measured voltage of the component (specified by
inX_label)
in0_label "QSFP0 Supply Voltage"
in1_label "QSFP1 Supply Voltage"
in2_label "FPGA Core Voltage"
in3_label "12V Backplane Voltage"
in4_label "1.2V Voltage"
in5_label "12V AUX Voltage"
in6_label "1.8V Voltage"
in7_label "3.3V Voltage"
currX_input Measured current of the component (specified by
currX_label)
curr1_label "FPGA Core Current"
curr2_label "12V Backplane Current"
curr3_label "12V AUX Current"
powerX_input Measured power of the component (specified by
powerX_label)
power1_label "Board Power"
======================= =======================================================
All the attributes are read-only.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Intel MAX 10 BMC 센서 데이터 경로
1-31GPL-2.0 라이선스의 `intel-m10-bmc-hwmon` 드라이버는 Intel PAC N3000용 Intel MAX 10 BMC를 지원하며 접두사는 `n3000bmc-hwmon`, 작성자는 Xu Yilun입니다.
드라이버는 Intel MAX 10 Board Management Controller 칩의 온도, 전압, 전류, 전력 읽기를 지원합니다. 일부 Intel Programmable Acceleration Card(PAC)에 통합된 BMC는 보드의 여러 센서 칩과 연결됩니다.
BMC 펌웨어가 센서 데이터를 샘플링해 공유 레지스터에 기록하고, 호스트 드라이버가 이 레지스터에서 데이터를 읽어 hwmon 인터페이스로 사용자에게 제공합니다.
BMC는 Intel MAX 10 CPLD로 구현되며 다른 Intel PAC를 지원하도록 여러 변형으로 재프로그램할 수 있습니다. 드라이버는 변형을 구분하도록 설계됐지만 현재는 Intel PAC N3000용 BMC만 지원합니다.
센서부터 사용자 인터페이스까지의 책임을 구분했습니다.
펌웨어 샘플에서 hwmon 속성까지의 데이터 경로입니다.
.. SPDX-License-Identifier: GPL-2.0
Kernel driver intel-m10-bmc-hwmon
=================================
Supported chips:
* Intel MAX 10 BMC for Intel PAC N3000
Prefix: 'n3000bmc-hwmon'
Author: Xu Yilun <yilun.xu@intel.com>
Description
-----------
This driver adds the temperature, voltage, current and power reading
support for the Intel MAX 10 Board Management Controller (BMC) chip.
The BMC chip is integrated in some Intel Programmable Acceleration
Cards (PAC). It connects to a set of sensor chips to monitor the
sensor data of different components on the board. The BMC firmware is
responsible for sensor data sampling and recording in shared
registers. The host driver reads the sensor data from these shared
registers and exposes them to users as hwmon interfaces.
The BMC chip is implemented using the Intel MAX 10 CPLD. It could be
reprogramed to some variants in order to support different Intel
PACs. The driver is designed to be able to distinguish between the
variants, but now it only supports the BMC for Intel PAC N3000.
N3000 온도 채널과 임계값
32-54N3000 BMC의 온도 속성은 구성요소 온도 `tempX_input`, 최대 설정점 `tempX_max`, critical 설정점 `tempX_crit`, 최대·critical 설정점의 히스테리시스 `tempX_max_hyst`와 `tempX_crit_hyst`입니다.
온도 레이블은 보드, FPGA die, QSFP0, QSFP1, Retimer A, Retimer A SerDes, Retimer B, Retimer B SerDes의 8개 채널을 식별합니다.
원문의 tempX 레이블을 채널별로 보존했습니다.
구성요소 레이블과 최대·critical 히스테리시스를 함께 사용합니다.
Sysfs attributes
----------------
The following attributes are supported:
- Intel MAX 10 BMC for Intel PAC N3000:
======================= =======================================================
tempX_input Temperature of the component (specified by tempX_label)
tempX_max Temperature maximum setpoint of the component
tempX_crit Temperature critical setpoint of the component
tempX_max_hyst Hysteresis for temperature maximum of the component
tempX_crit_hyst Hysteresis for temperature critical of the component
temp1_label "Board Temperature"
temp2_label "FPGA Die Temperature"
temp3_label "QSFP0 Temperature"
temp4_label "QSFP1 Temperature"
temp5_label "Retimer A Temperature"
temp6_label "Retimer A SerDes Temperature"
temp7_label "Retimer B Temperature"
temp8_label "Retimer B SerDes Temperature"
N3000 전압·전류·전력 채널
55-78전압은 `inX_input`과 `inX_label`로 구성됩니다. 레이블은 QSFP0·QSFP1 공급 전압, FPGA core 전압, 12V backplane, 1.2V, 12V AUX, 1.8V, 3.3V 전압의 8개 채널을 식별합니다.
전류는 `currX_input`과 레이블을 제공하며 FPGA core, 12V backplane, 12V AUX의 세 채널입니다. 전력은 `power1_input`과 `Board Power` 레이블을 제공합니다. 이 문서에 나열된 모든 속성은 읽기 전용입니다.
전압·전류·전력 레이블과 접근 권한입니다.
공유 레지스터에서 전기 채널을 읽기 전용으로 게시합니다.
inX_input Measured voltage of the component (specified by
inX_label)
in0_label "QSFP0 Supply Voltage"
in1_label "QSFP1 Supply Voltage"
in2_label "FPGA Core Voltage"
in3_label "12V Backplane Voltage"
in4_label "1.2V Voltage"
in5_label "12V AUX Voltage"
in6_label "1.8V Voltage"
in7_label "3.3V Voltage"
currX_input Measured current of the component (specified by
currX_label)
curr1_label "FPGA Core Current"
curr2_label "12V Backplane Current"
curr3_label "12V AUX Current"
powerX_input Measured power of the component (specified by
powerX_label)
power1_label "Board Power"
======================= =======================================================
All the attributes are read-only.
요약·해설
intel-m10-bmc-hwmon.rst:1-78BMC 펌웨어가 센서 값을 공유 레지스터에 기록하고 호스트가 이를 읽기 전용 hwmon 속성으로 게시합니다.
원문 분량과 핵심 인터페이스입니다.
하드웨어 측정에서 hwmon 게시까지의 핵심 순서입니다.