13a7bda83SDave JiangWhat: /sys/class/scsi_host/hostX/isci_id 23a7bda83SDave JiangDate: June 2011 33a7bda83SDave JiangContact: Dave Jiang <dave.jiang@intel.com> 43a7bda83SDave JiangDescription: 53a7bda83SDave Jiang This file contains the enumerated host ID for the Intel 63a7bda83SDave Jiang SCU controller. The Intel(R) C600 Series Chipset SATA/SAS 73a7bda83SDave Jiang Storage Control Unit embeds up to two 4-port controllers in 83a7bda83SDave Jiang a single PCI device. The controllers are enumerated in order 93a7bda83SDave Jiang which usually means the lowest number scsi_host corresponds 103a7bda83SDave Jiang with the first controller, but this association is not 113a7bda83SDave Jiang guaranteed. The 'isci_id' attribute unambiguously identifies 123a7bda83SDave Jiang the controller index: '0' for the first controller, 133a7bda83SDave Jiang '1' for the second. 14da0697bdSScott Teel 15da0697bdSScott TeelWhat: /sys/class/scsi_host/hostX/acciopath_status 16da0697bdSScott TeelDate: November 2013 17da0697bdSScott TeelContact: Stephen M. Cameron <scameron@beardog.cce.hp.com> 18da0697bdSScott TeelDescription: This file contains the current status of the "SSD Smart Path" 19da0697bdSScott Teel feature of HP Smart Array RAID controllers using the hpsa 20da0697bdSScott Teel driver. SSD Smart Path, when enabled permits the driver to 21da0697bdSScott Teel send i/o requests directly to physical devices that are part 22da0697bdSScott Teel of a logical drive, bypassing the controllers firmware RAID 23da0697bdSScott Teel stack for a performance advantage when possible. A value of 24da0697bdSScott Teel '1' indicates the feature is enabled, and the controller may 25da0697bdSScott Teel use the direct i/o path to physical devices. A value of zero 26da0697bdSScott Teel means the feature is disabled and the controller may not use 27da0697bdSScott Teel the direct i/o path to physical devices. This setting is 28da0697bdSScott Teel controller wide, affecting all configured logical drives on the 29da0697bdSScott Teel controller. This file is readable and writable. 300a65e125SAishwarya Pant 310a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/link_power_management_policy 320a65e125SAishwarya PantDate: Oct, 2007 330a65e125SAishwarya PantKernelVersion: v2.6.24 340a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 350a65e125SAishwarya PantDescription: 360a65e125SAishwarya Pant (RW) This parameter allows the user to read and set the link 370a65e125SAishwarya Pant (interface) power management. 380a65e125SAishwarya Pant 390a65e125SAishwarya Pant There are four possible options: 400a65e125SAishwarya Pant 410a65e125SAishwarya Pant min_power: Tell the controller to try to make the link use the 420a65e125SAishwarya Pant least possible power when possible. This may sacrifice some 430a65e125SAishwarya Pant performance due to increased latency when coming out of lower 440a65e125SAishwarya Pant power states. 450a65e125SAishwarya Pant 460a65e125SAishwarya Pant max_performance: Generally, this means no power management. 470a65e125SAishwarya Pant Tell the controller to have performance be a priority over power 480a65e125SAishwarya Pant management. 490a65e125SAishwarya Pant 500a65e125SAishwarya Pant medium_power: Tell the controller to enter a lower power state 510a65e125SAishwarya Pant when possible, but do not enter the lowest power state, thus 520a65e125SAishwarya Pant improving latency over min_power setting. 530a65e125SAishwarya Pant 540a65e125SAishwarya Pant med_power_with_dipm: Identical to the existing medium_power 550a65e125SAishwarya Pant setting except that it enables dipm (device initiated power 560a65e125SAishwarya Pant management) on top, which makes it match the Windows IRST (Intel 570a65e125SAishwarya Pant Rapid Storage Technology) driver settings. This setting is also 580a65e125SAishwarya Pant close to min_power, except that: 59*34433332SMauro Carvalho Chehab 600a65e125SAishwarya Pant a) It does not use host-initiated slumber mode, but it does 610a65e125SAishwarya Pant allow device-initiated slumber 620a65e125SAishwarya Pant b) It does not enable low power device sleep mode (DevSlp). 630a65e125SAishwarya Pant 640a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/em_message 650a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/em_message_type 660a65e125SAishwarya PantDate: Jun, 2008 670a65e125SAishwarya PantKernelVersion: v2.6.27 680a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 690a65e125SAishwarya PantDescription: 700a65e125SAishwarya Pant em_message: (RW) Enclosure management support. For the LED 710a65e125SAishwarya Pant protocol, writes and reads correspond to the LED message format 720a65e125SAishwarya Pant as defined in the AHCI spec. 730a65e125SAishwarya Pant 74*34433332SMauro Carvalho Chehab The user must turn sw_activity (under `/sys/block/*/device/`) 75*34433332SMauro Carvalho Chehab OFF it they wish to control the activity LED via the em_message 760a65e125SAishwarya Pant file. 770a65e125SAishwarya Pant 780a65e125SAishwarya Pant em_message_type: (RO) Displays the current enclosure management 790a65e125SAishwarya Pant protocol that is being used by the driver (for eg. LED, SAF-TE, 800a65e125SAishwarya Pant SES-2, SGPIO etc). 810a65e125SAishwarya Pant 820a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/ahci_port_cmd 830a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/ahci_host_caps 840a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/ahci_host_cap2 850a65e125SAishwarya PantDate: Mar, 2010 860a65e125SAishwarya PantKernelVersion: v2.6.35 870a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 880a65e125SAishwarya PantDescription: 890a65e125SAishwarya Pant [to be documented] 900a65e125SAishwarya Pant 910a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/ahci_host_version 920a65e125SAishwarya PantDate: Mar, 2010 930a65e125SAishwarya PantKernelVersion: v2.6.35 940a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 950a65e125SAishwarya PantDescription: 960a65e125SAishwarya Pant (RO) Display the version of the AHCI spec implemented by the 970a65e125SAishwarya Pant host. 980a65e125SAishwarya Pant 990a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/em_buffer 1000a65e125SAishwarya PantDate: Apr, 2010 1010a65e125SAishwarya PantKernelVersion: v2.6.35 1020a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 1030a65e125SAishwarya PantDescription: 1040a65e125SAishwarya Pant (RW) Allows access to AHCI EM (enclosure management) buffer 1050a65e125SAishwarya Pant directly if the host supports EM. 1060a65e125SAishwarya Pant 1070a65e125SAishwarya Pant For eg. the AHCI driver supports SGPIO EM messages but the 1080a65e125SAishwarya Pant SATA/AHCI specs do not define the SGPIO message format of the EM 1090a65e125SAishwarya Pant buffer. Different hardware(HW) vendors may have different 1100a65e125SAishwarya Pant definitions. With the em_buffer attribute, this issue can be 1110a65e125SAishwarya Pant solved by allowing HW vendors to provide userland drivers and 1120a65e125SAishwarya Pant tools for their SGPIO initiators. 1130a65e125SAishwarya Pant 1140a65e125SAishwarya PantWhat: /sys/class/scsi_host/hostX/em_message_supported 1150a65e125SAishwarya PantDate: Oct, 2009 1160a65e125SAishwarya PantKernelVersion: v2.6.39 1170a65e125SAishwarya PantContact: linux-ide@vger.kernel.org 1180a65e125SAishwarya PantDescription: 1190a65e125SAishwarya Pant (RO) Displays supported enclosure management message types. 120