Back to home page

OSCL-LXR

 
 

    


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