100 lines · plain
1===================================2Dell Systems Management Base Driver3===================================4 5Overview6========7 8The Dell Systems Management Base Driver provides a sysfs interface for9systems management software such as Dell OpenManage to perform system10management interrupts and host control actions (system power cycle or11power off after OS shutdown) on certain Dell systems.12 13Dell OpenManage requires this driver on the following Dell PowerEdge systems:14300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC,15700, and 750. Other Dell software such as the open source libsmbios project16is expected to make use of this driver, and it may include the use of this17driver on other Dell systems.18 19The Dell libsmbios project aims towards providing access to as much BIOS20information as possible. See http://linux.dell.com/libsmbios/main/ for21more information about the libsmbios project.22 23 24System Management Interrupt25===========================26 27On some Dell systems, systems management software must access certain28management information via a system management interrupt (SMI). The SMI data29buffer must reside in 32-bit address space, and the physical address of the30buffer is required for the SMI. The driver maintains the memory required for31the SMI and provides a way for the application to generate the SMI.32The driver creates the following sysfs entries for systems management33software to perform these system management interrupts::34 35 /sys/devices/platform/dcdbas/smi_data36 /sys/devices/platform/dcdbas/smi_data_buf_phys_addr37 /sys/devices/platform/dcdbas/smi_data_buf_size38 /sys/devices/platform/dcdbas/smi_request39 40Systems management software must perform the following steps to execute41a SMI using this driver:42 431) Lock smi_data.442) Write system management command to smi_data.453) Write "1" to smi_request to generate a calling interface SMI or46 "2" to generate a raw SMI.474) Read system management command response from smi_data.485) Unlock smi_data.49 50 51Host Control Action52===================53 54Dell OpenManage supports a host control feature that allows the administrator55to perform a power cycle or power off of the system after the OS has finished56shutting down. On some Dell systems, this host control feature requires that57a driver perform a SMI after the OS has finished shutting down.58 59The driver creates the following sysfs entries for systems management software60to schedule the driver to perform a power cycle or power off host control61action after the system has finished shutting down:62 63/sys/devices/platform/dcdbas/host_control_action64/sys/devices/platform/dcdbas/host_control_smi_type65/sys/devices/platform/dcdbas/host_control_on_shutdown66 67Dell OpenManage performs the following steps to execute a power cycle or68power off host control action using this driver:69 701) Write host control action to be performed to host_control_action.712) Write type of SMI that driver needs to perform to host_control_smi_type.723) Write "1" to host_control_on_shutdown to enable host control action.734) Initiate OS shutdown.74 (Driver will perform host control SMI when it is notified that the OS75 has finished shutting down.)76 77 78Host Control SMI Type79=====================80 81The following table shows the value to write to host_control_smi_type to82perform a power cycle or power off host control action:83 84=================== =====================85PowerEdge System Host Control SMI Type86=================== =====================87 300 HC_SMITYPE_TYPE188 1300 HC_SMITYPE_TYPE189 1400 HC_SMITYPE_TYPE290 500SC HC_SMITYPE_TYPE291 1500SC HC_SMITYPE_TYPE292 1550 HC_SMITYPE_TYPE293 600SC HC_SMITYPE_TYPE294 1600SC HC_SMITYPE_TYPE295 650 HC_SMITYPE_TYPE296 1655MC HC_SMITYPE_TYPE297 700 HC_SMITYPE_TYPE398 750 HC_SMITYPE_TYPE399=================== =====================100