← Documents Documentation/hwmon/intel-m10-bmc-hwmon.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver intel-m10-bmc-hwmon

Intel PAC N3000 MAX 10 BMC의 공유 레지스터 기반 온도·전압·전류·전력 속성입니다.

Source pathDocumentation/hwmon/intel-m10-bmc-hwmon.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

intel-m10-bmc-hwmon.rst:1-78

BMC 펌웨어가 센서 값을 공유 레지스터에 기록하고 호스트가 이를 읽기 전용 hwmon 속성으로 게시합니다.

문서 개요
항목
SourceDocumentation/hwmon/intel-m10-bmc-hwmon.rst
분량78 source lines
플랫폼Intel PAC N3000
권한Read-only

원문 분량과 핵심 인터페이스입니다.

동작 흐름
BMC 샘플링공유 레지스터 기록호스트 읽기hwmon 게시

하드웨어 측정에서 hwmon 게시까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver intel-m10-bmc-hwmon
4 =================================
5
6 Supported chips:
7
8 * Intel MAX 10 BMC for Intel PAC N3000
9
10 Prefix: 'n3000bmc-hwmon'
11
12 Author: Xu Yilun <[email protected]>
13
14
15 Description
16 -----------
17
18 This driver adds the temperature, voltage, current and power reading
19 support for the Intel MAX 10 Board Management Controller (BMC) chip.
20 The BMC chip is integrated in some Intel Programmable Acceleration
21 Cards (PAC). It connects to a set of sensor chips to monitor the
22 sensor data of different components on the board. The BMC firmware is
23 responsible for sensor data sampling and recording in shared
24 registers. The host driver reads the sensor data from these shared
25 registers and exposes them to users as hwmon interfaces.
26
27 The BMC chip is implemented using the Intel MAX 10 CPLD. It could be
28 reprogramed to some variants in order to support different Intel
29 PACs. The driver is designed to be able to distinguish between the
30 variants, but now it only supports the BMC for Intel PAC N3000.
31
32
33 Sysfs attributes
34 ----------------
35
36 The following attributes are supported:
37
38 - Intel MAX 10 BMC for Intel PAC N3000:
39
40 ======================= =======================================================
41 tempX_input Temperature of the component (specified by tempX_label)
42 tempX_max Temperature maximum setpoint of the component
43 tempX_crit Temperature critical setpoint of the component
44 tempX_max_hyst Hysteresis for temperature maximum of the component
45 tempX_crit_hyst Hysteresis for temperature critical of the component
46 temp1_label "Board Temperature"
47 temp2_label "FPGA Die Temperature"
48 temp3_label "QSFP0 Temperature"
49 temp4_label "QSFP1 Temperature"
50 temp5_label "Retimer A Temperature"
51 temp6_label "Retimer A SerDes Temperature"
52 temp7_label "Retimer B Temperature"
53 temp8_label "Retimer B SerDes Temperature"
54
55 inX_input Measured voltage of the component (specified by
56 inX_label)
57 in0_label "QSFP0 Supply Voltage"
58 in1_label "QSFP1 Supply Voltage"
59 in2_label "FPGA Core Voltage"
60 in3_label "12V Backplane Voltage"
61 in4_label "1.2V Voltage"
62 in5_label "12V AUX Voltage"
63 in6_label "1.8V Voltage"
64 in7_label "3.3V Voltage"
65
66 currX_input Measured current of the component (specified by
67 currX_label)
68 curr1_label "FPGA Core Current"
69 curr2_label "12V Backplane Current"
70 curr3_label "12V AUX Current"
71
72 powerX_input Measured power of the component (specified by
73 powerX_label)
74 power1_label "Board Power"
75
76 ======================= =======================================================
77
78 All the attributes are read-only.
79

3. 한국어 전문 번역

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

Intel MAX 10 BMC 센서 데이터 경로

1-31

GPL-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만 지원합니다.

MAX 10 BMC 구조
구성요소역할
Sensor chips보드 구성요소 온도·전압·전류·전력 측정
BMC firmware센서 샘플링과 공유 레지스터 기록
MAX 10 CPLD재프로그램 가능한 BMC 구현
Host driver공유 레지스터 읽기
hwmon사용자 공간에 속성 게시
현재 지원Intel PAC N3000

센서부터 사용자 인터페이스까지의 책임을 구분했습니다.

BMC 센서 읽기
센서 칩 측정BMC 펌웨어 샘플링공유 레지스터 기록호스트 드라이버 읽기hwmon 인터페이스 게시

펌웨어 샘플에서 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 <[email protected]>


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-54

N3000 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개 채널을 식별합니다.

N3000 온도 채널
채널레이블
temp1Board Temperature
temp2FPGA Die Temperature
temp3QSFP0 Temperature
temp4QSFP1 Temperature
temp5Retimer A Temperature
temp6Retimer A SerDes Temperature
temp7Retimer B Temperature
temp8Retimer B SerDes Temperature
공통tempX_input / tempX_max / tempX_crit / tempX_max_hyst / tempX_crit_hyst

원문의 tempX 레이블을 채널별로 보존했습니다.

온도 임계 감시
tempX_label로 구성요소 식별tempX_input 읽기tempX_max·crit 비교각 히스테리시스 적용온도 상태 판단

구성요소 레이블과 최대·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` 레이블을 제공합니다. 이 문서에 나열된 모든 속성은 읽기 전용입니다.

N3000 전기 채널
종류채널·레이블
전압in0 QSFP0 Supply Voltage; in1 QSFP1 Supply Voltage
전압in2 FPGA Core Voltage; in3 12V Backplane Voltage
전압in4 1.2V Voltage; in5 12V AUX Voltage
전압in6 1.8V Voltage; in7 3.3V Voltage
전류curr1 FPGA Core Current; curr2 12V Backplane Current; curr3 12V AUX Current
전력power1 Board Power
권한모든 속성 read-only

전압·전류·전력 레이블과 접근 권한입니다.

보드 전력 상태 읽기
8개 전압 채널 읽기3개 전류 채널 읽기Board Power 읽기레이블과 측정값 연결읽기 전용 hwmon 속성 제공

공유 레지스터에서 전기 채널을 읽기 전용으로 게시합니다.

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.