← Documents Documentation/userspace-api/dcdbas.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API

Dell Systems Management Base Driver

Dell dcdbas의 SMI data buffer와 shutdown 후 host-control action용 sysfs 절차를 설명합니다.

Source pathDocumentation/userspace-api/dcdbas.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

dcdbas.rst:1-99

Dell dcdbas의 SMI data buffer와 shutdown 후 host-control action용 sysfs 절차를 설명합니다.

원문 ABI name, ioctl, sysfs path, 수치, code symbol과 줄 좌표를 유지해 모든 절을 한국어로 옮겼습니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 ===================================
2 Dell Systems Management Base Driver
3 ===================================
4
5 Overview
6 ========
7
8 The Dell Systems Management Base Driver provides a sysfs interface for
9 systems management software such as Dell OpenManage to perform system
10 management interrupts and host control actions (system power cycle or
11 power off after OS shutdown) on certain Dell systems.
12
13 Dell OpenManage requires this driver on the following Dell PowerEdge systems:
14 300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC,
15 700, and 750. Other Dell software such as the open source libsmbios project
16 is expected to make use of this driver, and it may include the use of this
17 driver on other Dell systems.
18
19 The Dell libsmbios project aims towards providing access to as much BIOS
20 information as possible. See http://linux.dell.com/libsmbios/main/ for
21 more information about the libsmbios project.
22
23
24 System Management Interrupt
25 ===========================
26
27 On some Dell systems, systems management software must access certain
28 management information via a system management interrupt (SMI). The SMI data
29 buffer must reside in 32-bit address space, and the physical address of the
30 buffer is required for the SMI. The driver maintains the memory required for
31 the SMI and provides a way for the application to generate the SMI.
32 The driver creates the following sysfs entries for systems management
33 software to perform these system management interrupts::
34
35 /sys/devices/platform/dcdbas/smi_data
36 /sys/devices/platform/dcdbas/smi_data_buf_phys_addr
37 /sys/devices/platform/dcdbas/smi_data_buf_size
38 /sys/devices/platform/dcdbas/smi_request
39
40 Systems management software must perform the following steps to execute
41 a SMI using this driver:
42
43 1) Lock smi_data.
44 2) Write system management command to smi_data.
45 3) Write "1" to smi_request to generate a calling interface SMI or
46 "2" to generate a raw SMI.
47 4) Read system management command response from smi_data.
48 5) Unlock smi_data.
49
50
51 Host Control Action
52 ===================
53
54 Dell OpenManage supports a host control feature that allows the administrator
55 to perform a power cycle or power off of the system after the OS has finished
56 shutting down. On some Dell systems, this host control feature requires that
57 a driver perform a SMI after the OS has finished shutting down.
58
59 The driver creates the following sysfs entries for systems management software
60 to schedule the driver to perform a power cycle or power off host control
61 action after the system has finished shutting down:
62
63 /sys/devices/platform/dcdbas/host_control_action
64 /sys/devices/platform/dcdbas/host_control_smi_type
65 /sys/devices/platform/dcdbas/host_control_on_shutdown
66
67 Dell OpenManage performs the following steps to execute a power cycle or
68 power off host control action using this driver:
69
70 1) Write host control action to be performed to host_control_action.
71 2) Write type of SMI that driver needs to perform to host_control_smi_type.
72 3) Write "1" to host_control_on_shutdown to enable host control action.
73 4) Initiate OS shutdown.
74 (Driver will perform host control SMI when it is notified that the OS
75 has finished shutting down.)
76
77
78 Host Control SMI Type
79 =====================
80
81 The following table shows the value to write to host_control_smi_type to
82 perform a power cycle or power off host control action:
83
84 =================== =====================
85 PowerEdge System Host Control SMI Type
86 =================== =====================
87 300 HC_SMITYPE_TYPE1
88 1300 HC_SMITYPE_TYPE1
89 1400 HC_SMITYPE_TYPE2
90 500SC HC_SMITYPE_TYPE2
91 1500SC HC_SMITYPE_TYPE2
92 1550 HC_SMITYPE_TYPE2
93 600SC HC_SMITYPE_TYPE2
94 1600SC HC_SMITYPE_TYPE2
95 650 HC_SMITYPE_TYPE2
96 1655MC HC_SMITYPE_TYPE2
97 700 HC_SMITYPE_TYPE3
98 750 HC_SMITYPE_TYPE3
99 =================== =====================
100

3. 한국어 전문 번역

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

개요

1-23

Dell Systems Management Base Driver는 Dell OpenManage 같은 system management software가 일부 Dell system에서 system management interrupt와 host control action을 수행하도록 sysfs interface를 제공합니다. host control은 OS shutdown 뒤 system power cycle 또는 power off를 수행합니다.

Dell OpenManage가 이 driver를 필요로 하는 PowerEdge model은 300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC, 700, 750입니다.

open-source `libsmbios` 같은 다른 Dell software도 이 driver를 사용할 것으로 예상되며 다른 Dell system에서도 사용할 수 있습니다.

Dell libsmbios project는 가능한 한 많은 BIOS 정보에 접근하는 것을 목표로 합니다. 자세한 내용은 `http://linux.dell.com/libsmbios/main/`입니다.

dcdbas 대상
항목설명
Type 1 group300, 1300
Type 2 group1400, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC
Type 3 group700, 750
추가 사용libsmbios 및 다른 Dell systems

원문이 명시한 OpenManage 필수 PowerEdge model입니다.

===================================
Dell Systems Management Base Driver
===================================

Overview
========

The Dell Systems Management Base Driver provides a sysfs interface for
systems management software such as Dell OpenManage to perform system
management interrupts and host control actions (system power cycle or
power off after OS shutdown) on certain Dell systems.

Dell OpenManage requires this driver on the following Dell PowerEdge systems:
300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC,
700, and 750.  Other Dell software such as the open source libsmbios project
is expected to make use of this driver, and it may include the use of this
driver on other Dell systems.

The Dell libsmbios project aims towards providing access to as much BIOS
information as possible.  See http://linux.dell.com/libsmbios/main/ for
more information about the libsmbios project.

System Management Interrupt

24-50

일부 Dell system에서는 management software가 SMI(System Management Interrupt)를 통해 특정 management information에 접근해야 합니다.

SMI data buffer는 32-bit address space에 있어야 하고 SMI에는 buffer physical address가 필요합니다. driver가 필요한 memory를 유지하고 application이 SMI를 발생시키는 방법을 제공합니다.

sysfs entry는 `/sys/devices/platform/dcdbas/smi_data`, `/sys/devices/platform/dcdbas/smi_data_buf_phys_addr`, `/sys/devices/platform/dcdbas/smi_data_buf_size`, `/sys/devices/platform/dcdbas/smi_request`입니다.

SMI를 실행하려면 `smi_data`를 lock하고 system management command를 기록합니다. `smi_request`에 `1`을 쓰면 calling-interface SMI, `2`를 쓰면 raw SMI가 발생합니다. 이후 `smi_data`에서 response를 읽고 unlock합니다.

dcdbas SMI 실행
smi_data locksystem management command 기록smi_request에 1 또는 2 기록smi_data에서 response 읽기smi_data unlock

application이 공유 buffer를 보호하며 request와 response를 교환합니다.

SMI sysfs
항목설명
smi_datacommand/response buffer
smi_data_buf_phys_addrSMI용 physical address
smi_data_buf_sizebuffer size
smi_request1=calling interface SMI, 2=raw SMI

SMI buffer와 request interface입니다.

System Management Interrupt
===========================

On some Dell systems, systems management software must access certain
management information via a system management interrupt (SMI).  The SMI data
buffer must reside in 32-bit address space, and the physical address of the
buffer is required for the SMI.  The driver maintains the memory required for
the SMI and provides a way for the application to generate the SMI.
The driver creates the following sysfs entries for systems management
software to perform these system management interrupts::

	/sys/devices/platform/dcdbas/smi_data
	/sys/devices/platform/dcdbas/smi_data_buf_phys_addr
	/sys/devices/platform/dcdbas/smi_data_buf_size
	/sys/devices/platform/dcdbas/smi_request

Systems management software must perform the following steps to execute
a SMI using this driver:

1) Lock smi_data.
2) Write system management command to smi_data.
3) Write "1" to smi_request to generate a calling interface SMI or
   "2" to generate a raw SMI.
4) Read system management command response from smi_data.
5) Unlock smi_data.

Host Control Action

51-77

Dell OpenManage host control은 administrator가 OS shutdown 완료 후 system을 power cycle하거나 power off하게 합니다. 일부 Dell system에서는 shutdown이 끝난 뒤 driver가 SMI를 수행해야 합니다.

예약에 사용하는 sysfs entry는 `/sys/devices/platform/dcdbas/host_control_action`, `host_control_smi_type`, `host_control_on_shutdown`입니다.

OpenManage는 수행할 action을 `host_control_action`에, driver가 실행할 SMI type을 `host_control_smi_type`에 기록합니다. `host_control_on_shutdown`에 `1`을 써서 action을 활성화한 뒤 OS shutdown을 시작합니다.

OS shutdown 완료 notification을 받으면 driver가 host-control SMI를 수행합니다.

Shutdown 후 host control
host_control_action 설정host_control_smi_type 설정host_control_on_shutdown=1OS shutdown 시작Driver가 shutdown 완료 notification 수신Host-control SMI 수행

OpenManage가 action을 예약하고 driver가 shutdown 완료 시 실행합니다.

Host Control Action
===================

Dell OpenManage supports a host control feature that allows the administrator
to perform a power cycle or power off of the system after the OS has finished
shutting down.  On some Dell systems, this host control feature requires that
a driver perform a SMI after the OS has finished shutting down.

The driver creates the following sysfs entries for systems management software
to schedule the driver to perform a power cycle or power off host control
action after the system has finished shutting down:

/sys/devices/platform/dcdbas/host_control_action
/sys/devices/platform/dcdbas/host_control_smi_type
/sys/devices/platform/dcdbas/host_control_on_shutdown

Dell OpenManage performs the following steps to execute a power cycle or
power off host control action using this driver:

1) Write host control action to be performed to host_control_action.
2) Write type of SMI that driver needs to perform to host_control_smi_type.
3) Write "1" to host_control_on_shutdown to enable host control action.
4) Initiate OS shutdown.
   (Driver will perform host control SMI when it is notified that the OS
   has finished shutting down.)

Host Control SMI Type

78-99

power cycle 또는 power off host-control action에 사용할 `host_control_smi_type` 값은 PowerEdge model에 따라 다릅니다.

PowerEdge별 Host Control SMI Type
PowerEdge SystemHost Control SMI Type
300HC_SMITYPE_TYPE1
1300HC_SMITYPE_TYPE1
1400HC_SMITYPE_TYPE2
500SCHC_SMITYPE_TYPE2
1500SCHC_SMITYPE_TYPE2
1550HC_SMITYPE_TYPE2
600SCHC_SMITYPE_TYPE2
1600SCHC_SMITYPE_TYPE2
650HC_SMITYPE_TYPE2
1655MCHC_SMITYPE_TYPE2
700HC_SMITYPE_TYPE3
750HC_SMITYPE_TYPE3

원문의 model-to-type table을 그대로 구조화했습니다.

Host Control SMI Type
=====================

The following table shows the value to write to host_control_smi_type to
perform a power cycle or power off host control action:

=================== =====================
PowerEdge System    Host Control SMI Type
=================== =====================
      300             HC_SMITYPE_TYPE1
     1300             HC_SMITYPE_TYPE1
     1400             HC_SMITYPE_TYPE2
      500SC           HC_SMITYPE_TYPE2
     1500SC           HC_SMITYPE_TYPE2
     1550             HC_SMITYPE_TYPE2
      600SC           HC_SMITYPE_TYPE2
     1600SC           HC_SMITYPE_TYPE2
      650             HC_SMITYPE_TYPE2
     1655MC           HC_SMITYPE_TYPE2
      700             HC_SMITYPE_TYPE3
      750             HC_SMITYPE_TYPE3
=================== =====================