Back to home page

LXR

 
 

    


0001 Overview
0002 
0003 The Dell Systems Management Base Driver provides a sysfs interface for
0004 systems management software such as Dell OpenManage to perform system
0005 management interrupts and host control actions (system power cycle or
0006 power off after OS shutdown) on certain Dell systems.
0007 
0008 Dell OpenManage requires this driver on the following Dell PowerEdge systems:
0009 300, 1300, 1400, 400SC, 500SC, 1500SC, 1550, 600SC, 1600SC, 650, 1655MC,
0010 700, and 750.  Other Dell software such as the open source libsmbios project
0011 is expected to make use of this driver, and it may include the use of this
0012 driver on other Dell systems.
0013 
0014 The Dell libsmbios project aims towards providing access to as much BIOS
0015 information as possible.  See http://linux.dell.com/libsmbios/main/ for
0016 more information about the libsmbios project.
0017 
0018 
0019 System Management Interrupt
0020 
0021 On some Dell systems, systems management software must access certain
0022 management information via a system management interrupt (SMI).  The SMI data
0023 buffer must reside in 32-bit address space, and the physical address of the
0024 buffer is required for the SMI.  The driver maintains the memory required for
0025 the SMI and provides a way for the application to generate the SMI.
0026 The driver creates the following sysfs entries for systems management
0027 software to perform these system management interrupts:
0028 
0029 /sys/devices/platform/dcdbas/smi_data
0030 /sys/devices/platform/dcdbas/smi_data_buf_phys_addr
0031 /sys/devices/platform/dcdbas/smi_data_buf_size
0032 /sys/devices/platform/dcdbas/smi_request
0033 
0034 Systems management software must perform the following steps to execute
0035 a SMI using this driver:
0036 
0037 1) Lock smi_data.
0038 2) Write system management command to smi_data.
0039 3) Write "1" to smi_request to generate a calling interface SMI or
0040    "2" to generate a raw SMI.
0041 4) Read system management command response from smi_data.
0042 5) Unlock smi_data.
0043 
0044 
0045 Host Control Action
0046 
0047 Dell OpenManage supports a host control feature that allows the administrator
0048 to perform a power cycle or power off of the system after the OS has finished
0049 shutting down.  On some Dell systems, this host control feature requires that
0050 a driver perform a SMI after the OS has finished shutting down.
0051 
0052 The driver creates the following sysfs entries for systems management software
0053 to schedule the driver to perform a power cycle or power off host control
0054 action after the system has finished shutting down:
0055 
0056 /sys/devices/platform/dcdbas/host_control_action
0057 /sys/devices/platform/dcdbas/host_control_smi_type
0058 /sys/devices/platform/dcdbas/host_control_on_shutdown
0059 
0060 Dell OpenManage performs the following steps to execute a power cycle or
0061 power off host control action using this driver:
0062 
0063 1) Write host control action to be performed to host_control_action.
0064 2) Write type of SMI that driver needs to perform to host_control_smi_type.
0065 3) Write "1" to host_control_on_shutdown to enable host control action.
0066 4) Initiate OS shutdown.
0067    (Driver will perform host control SMI when it is notified that the OS
0068    has finished shutting down.)
0069 
0070 
0071 Host Control SMI Type
0072 
0073 The following table shows the value to write to host_control_smi_type to
0074 perform a power cycle or power off host control action:
0075 
0076 PowerEdge System    Host Control SMI Type
0077 ----------------    ---------------------
0078       300             HC_SMITYPE_TYPE1
0079      1300             HC_SMITYPE_TYPE1
0080      1400             HC_SMITYPE_TYPE2
0081       500SC           HC_SMITYPE_TYPE2
0082      1500SC           HC_SMITYPE_TYPE2
0083      1550             HC_SMITYPE_TYPE2
0084       600SC           HC_SMITYPE_TYPE2
0085      1600SC           HC_SMITYPE_TYPE2
0086       650             HC_SMITYPE_TYPE2
0087      1655MC           HC_SMITYPE_TYPE2
0088       700             HC_SMITYPE_TYPE3
0089       750             HC_SMITYPE_TYPE3
0090 
0091