ChangeLog.megaraid_sas 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. 1 Release Date : Thur. Nov. 07 16:30:43 PST 2007 -
  2. (emaild-id:megaraidlinux@lsi.com)
  3. Sumant Patro
  4. Bo Yang
  5. 2 Current Version : 00.00.03.16
  6. 3 Older Version : 00.00.03.15
  7. 1. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
  8. a max of 60 seconds to respond to the INIT cmd.
  9. 1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 -
  10. (emaild-id:megaraidlinux@lsi.com)
  11. Sumant Patro
  12. Bo Yang
  13. 2 Current Version : 00.00.03.15
  14. 3 Older Version : 00.00.03.14
  15. 1. Added module parameter "poll_mode_io" to support for "polling"
  16. (reduced interrupt operation). In this mode, IO completion
  17. interrupts are delayed. At the end of initiating IOs, the
  18. driver schedules for cmd completion if there are pending cmds
  19. to be completed. A timer-based interrupt has also been added
  20. to prevent IO completion processing from being delayed
  21. indefinitely in the case that no new IOs are initiated.
  22. 1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 -
  23. (emaild-id:megaraidlinux@lsi.com)
  24. Sumant Patro
  25. Bo Yang
  26. 2 Current Version : 00.00.03.14
  27. 3 Older Version : 00.00.03.13
  28. 1. Setting the max_sectors_per_req based on max SGL supported by the
  29. FW. Prior versions calculated this value from controller info
  30. (max_sectors_1, max_sectors_2). For certain controllers/FW,
  31. this was resulting in a value greater than max SGL supported
  32. by the FW. Issue was first reported by users running LUKS+XFS
  33. with megaraid_sas. Thanks to RB for providing the logs and
  34. duplication steps that helped to get to the root cause of the
  35. issue. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
  36. 10. FW may take a max of 60 seconds to respond to the INIT
  37. cmd.
  38. 1 Release Date : Fri. June. 15 16:30:43 PST 2007 -
  39. (emaild-id:megaraidlinux@lsi.com)
  40. Sumant Patro
  41. Bo Yang
  42. 2 Current Version : 00.00.03.13
  43. 3 Older Version : 00.00.03.12
  44. 1. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
  45. On Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
  46. It looks like megaraid_sas at least needs this to throttle its commands
  47. > as they begin to time out. The code keeps the existing transport
  48. > template use of eh_timed_out (and allows the transport to override the
  49. > host if they both have this callback).
  50. >
  51. > James
  52. 1 Release Date : Sat May. 12 16:30:43 PST 2007 -
  53. (emaild-id:megaraidlinux@lsi.com)
  54. Sumant Patro
  55. Bo Yang
  56. 2 Current Version : 00.00.03.12
  57. 3 Older Version : 00.00.03.11
  58. 1. When MegaSAS driver receives reset call from OS, driver waits in reset
  59. routine for max 3 minutes for all pending command completion. Now driver will
  60. call completion routine every 5 seconds from the reset routine instead of
  61. waiting for depending on cmd completion from isr path.
  62. 1 Release Date : Mon Apr. 30 10:25:52 PST 2007 -
  63. (emaild-id:megaraidlinux@lsi.com)
  64. Sumant Patro
  65. Bo Yang
  66. 2 Current Version : 00.00.03.11
  67. 3 Older Version : 00.00.03.09
  68. 1. Memory Manager for IOCTL removed for 2.6 kernels.
  69. pci_alloc_consistent replaced by dma_alloc_coherent. With this
  70. change there is no need of memory manager in the driver code
  71. On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
  72. > I suspect all this horror is due to stupidity in the DMA API.
  73. >
  74. > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
  75. > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
  76. > to use GFP_KERNEL.
  77. >
  78. > I bet this fixes it
  79. It does, but the DMA API was expanded to cope with this exact case, so
  80. use dma_alloc_coherent() directly in the megaraid code instead. The dev
  81. is just &pci_dev->dev.
  82. James <James.Bottomley@SteelEye.com>
  83. 3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
  84. 4. Hibernation support added
  85. 5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
  86. 1 Release Date : Fri Feb. 09 14:36:28 PST 2007 -
  87. (emaild-id:megaraidlinux@lsi.com)
  88. Sumant Patro
  89. Bo Yang
  90. 2 Current Version : 00.00.03.09
  91. 3 Older Version : 00.00.03.08
  92. i. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
  93. The driver now waits for 10 seconds to elapse instead of 5 (as in
  94. previous release) to resume IO.
  95. 1 Release Date : Mon Feb. 05 11:35:24 PST 2007 -
  96. (emaild-id:megaraidlinux@lsi.com)
  97. Sumant Patro
  98. Bo Yang
  99. 2 Current Version : 00.00.03.08
  100. 3 Older Version : 00.00.03.07
  101. i. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
  102. Fix: The driver is now throttling IO.
  103. Checks added in megasas_queue_command to know if FW is able to
  104. process commands within timeout period. If number of retries
  105. is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
  106. resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
  107. from the time cmds were last sent to FW.
  108. ii. FW enables WCE bit in Mode Sense cmd for drives that are configured
  109. as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
  110. Disks are exposed with WCE=1. User is advised to enable Write Back
  111. mode only when the controller has battery backup. At this time
  112. Synhronize cache is not supported by the FW. Driver will short-cycle
  113. the cmd and return sucess without sending down to FW.
  114. 1 Release Date : Sun Jan. 14 11:21:32 PDT 2007 -
  115. Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
  116. 2 Current Version : 00.00.03.07
  117. 3 Older Version : 00.00.03.06
  118. i. bios_param entry added in scsi_host_template that returns disk geometry
  119. information.
  120. 1 Release Date : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
  121. 2 Current Version : 00.00.03.06
  122. 3 Older Version : 00.00.03.05
  123. 1. Added new memory management module to support the IOCTL memory allocation. For IOCTL we try to allocate from the memory pool created during driver initialization. If mem pool is empty then we allocate at run time.
  124. 2. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
  125. (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
  126. 1 Release Date : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  127. 2 Current Version : 00.00.03.05
  128. 3 Older Version : 00.00.03.04
  129. i. PCI_DEVICE macro used
  130. Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
  131. - Henrik Kretzschmar <henne@nachtwindheim.de>
  132. ii. All compiler warnings removed
  133. iii. megasas_ctrl_info struct reverted to 3.02 release
  134. iv. Default value of megasas_dbg_lvl set to 0
  135. v. Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
  136. vi. In megasas_teardown_frame_pool(), cmd->frame was passed instead of
  137. cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
  138. Eric Sesterhenn
  139. 1 Release Date : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  140. 2 Current Version : 00.00.03.04
  141. 3 Older Version : 00.00.03.03
  142. i. Added Reboot notify
  143. ii. Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
  144. as Max Cmds FW can support
  145. 1 Release Date : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  146. 2 Current Version : 00.00.03.03
  147. 3 Older Version : 00.00.03.02
  148. i. Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
  149. New varible added to set dbg level.
  150. ii. Disable interrupt made as fn pointer as they are different for 1068 / 1078
  151. iii. Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
  152. 3 SGE for 32 bit SGL
  153. iv. Tasklet added for cmd completion
  154. v. If FW in operational state before firing INIT, now we send RESET Flag to FW instead of just READY. This is used to do soft reset.
  155. vi. megasas_ctrl_prop structure updated (based on FW struct)
  156. vii. Added print : FW now in Ready State during initialization
  157. 1 Release Date : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  158. 2 Current Version : 00.00.03.02
  159. 3 Older Version : 00.00.03.01
  160. i. Added FW tranistion state for Hotplug scenario
  161. 1 Release Date : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  162. 2 Current Version : 00.00.03.01
  163. 3 Older Version : 00.00.02.04
  164. i. Added support for ZCR controller.
  165. New device id 0x413 added.
  166. ii. Bug fix : Disable controller interrupt before firing INIT cmd to FW.
  167. Interrupt is enabled after required initialization is over.
  168. This is done to ensure that driver is ready to handle interrupts when
  169. it is generated by the controller.
  170. -Sumant Patro <Sumant.Patro@lsil.com>
  171. 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  172. 2 Current Version : 00.00.02.04
  173. 3 Older Version : 00.00.02.04
  174. i. Remove superflous instance_lock
  175. gets rid of the otherwise superflous instance_lock and avoids an unsave
  176. unsynchronized access in the error handler.
  177. - Christoph Hellwig <hch@lst.de>
  178. 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  179. 2 Current Version : 00.00.02.04
  180. 3 Older Version : 00.00.02.04
  181. i. Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
  182. During initialization, depending on the device id, the template members
  183. are initialized with function pointers specific to the ppc or
  184. xscale controllers.
  185. -Sumant Patro <Sumant.Patro@lsil.com>
  186. 1 Release Date : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro
  187. <Sumant.Patro@lsil.com>
  188. 2 Current Version : 00.00.02.04
  189. 3 Older Version : 00.00.02.02
  190. i. Register 16 byte CDB capability with scsi midlayer
  191. "Ths patch properly registers the 16 byte command length capability of the
  192. megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas
  193. hardware supports 16 byte CDB's."
  194. -Joshua Giles <joshua_giles@dell.com>
  195. 1 Release Date : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  196. 2 Current Version : 00.00.02.02
  197. 3 Older Version : 00.00.02.01
  198. i. New template defined to represent each family of controllers (identified by processor used).
  199. The template will have defintions that will be initialised to appropritae values for a specific family of controllers. The template definition has four function pointers. During driver initialisation the function pointers will be set based on the controller family type. This change is done to support new controllers that has different processors and thus different register set.
  200. -Sumant Patro <Sumant.Patro@lsil.com>
  201. 1 Release Date : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
  202. 2 Current Version : 00.00.02.00-rc4
  203. 3 Older Version : 00.00.02.01
  204. i. Code reorganized to remove code duplication in megasas_build_cmd.
  205. "There's a lot of duplicate code megasas_build_cmd. Move that out of the different codepathes and merge the reminder of megasas_build_cmd into megasas_queue_command"
  206. - Christoph Hellwig <hch@lst.de>
  207. ii. Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
  208. "MEGASAS_IOC_FIRMWARE can't be redefined if CONFIG_COMPAT is set, we need to define a MEGASAS_IOC_FIRMWARE32 define so native binaries continue to work"
  209. - Christoph Hellwig <hch@lst.de>