ChangeLog.megaraid_sas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 -
  2. (emaild-id:megaraidlinux@lsi.com)
  3. Adam Radford
  4. Kashyap Desai
  5. Sumit Saxena
  6. Uday Lingala
  7. Current Version : 06.803.02.00-rc1
  8. Old Version : 06.803.01.00-rc1
  9. 1. Fix reset_mutex leak in megasas_reset_fusion().
  10. 2. Remove unused variables in megasas_instance.
  11. 3. Fix LD/VF affiliation parsing.
  12. 4. Add missing initial call to megasas_get_ld_vf_affiliation().
  13. 5. Version and Changelog update.
  14. -------------------------------------------------------------------------------
  15. Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 -
  16. (emaild-id:megaraidlinux@lsi.com)
  17. Adam Radford
  18. Kashyap Desai
  19. Sumit Saxena
  20. Current Version : 06.803.01.00-rc1
  21. Old Version : 06.700.06.00-rc1
  22. 1. Load correct raid context timeout value for multipathing & clustering.
  23. 2. Fix megasas_ioc_init_fusion to use local stack variable.
  24. 3. Return leaked MPT frames to MPT command pool.
  25. 4. Add Dell PowerEdge VRTX SR-IOV VF device support.
  26. 5. Version and Changelog update.
  27. -------------------------------------------------------------------------------
  28. Release Date : Sat. Aug 31, 2013 17:00:00 PST 2013 -
  29. (emaild-id:megaraidlinux@lsi.com)
  30. Adam Radford
  31. Kashyap Desai
  32. Sumit Saxena
  33. Current Version : 06.700.06.00-rc1
  34. Old Version : 06.600.18.00-rc1
  35. 1. Add High Availability clustering support using shared Logical Disks.
  36. 2. Version and Changelog update.
  37. -------------------------------------------------------------------------------
  38. Release Date : Wed. May 15, 2013 17:00:00 PST 2013 -
  39. (emaild-id:megaraidlinux@lsi.com)
  40. Adam Radford
  41. Kashyap Desai
  42. Sumit Saxena
  43. Current Version : 06.600.18.00-rc1
  44. Old Version : 06.506.00.00-rc1
  45. 1. Return DID_ERROR for scsi io, when controller is in critical h/w error.
  46. 2. Fix the interrupt mask for Gen2 controller.
  47. 3. Update balance count in driver to be in sync of firmware.
  48. 4. Free event detail memory without device ID check.
  49. 5. Set IO request timeout value provided by OS timeout for Tape devices.
  50. 6. Add support for MegaRAID Fury (device ID-0x005f) 12Gb/s controllers.
  51. 7. Add support to display Customer branding details in syslog.
  52. 8. Set IoFlags to enable Fast Path for JBODs for Invader/Fury(12 Gb/s)
  53. controllers.
  54. 9. Add support for Extended MSI-x vectors for Invader and Fury(12Gb/s
  55. HBA).
  56. 10.Add support for Uneven Span PRL11.
  57. 11.Add support to differentiate between iMR and MR Firmware.
  58. 12.Version and Changelog update.
  59. -------------------------------------------------------------------------------
  60. Release Date : Sat. Feb 9, 2013 17:00:00 PST 2013 -
  61. (emaild-id:megaraidlinux@lsi.com)
  62. Adam Radford
  63. Current Version : 06.506.00.00-rc1
  64. Old Version : 06.504.01.00-rc1
  65. 1. Add 4k FastPath DIF support.
  66. 2. Don't load DevHandle unless FastPath enabled.
  67. 3. Version and Changelog update.
  68. -------------------------------------------------------------------------------
  69. Release Date : Mon. Oct 1, 2012 17:00:00 PST 2012 -
  70. (emaild-id:megaraidlinux@lsi.com)
  71. Adam Radford
  72. Current Version : 06.504.01.00-rc1
  73. Old Version : 00.00.06.18-rc1
  74. 1. Removed un-needed completion_lock spinlock calls.
  75. 2. Add module param for configurable MSI-X vector count.
  76. 3. Load io_request DataLength in bytes.
  77. 4. Add array boundary check for SystemPD.
  78. 5. Add SystemPD FastPath support.
  79. 6. Remove duplicate code.
  80. 7. Version, Changelog, Copyright update.
  81. -------------------------------------------------------------------------------
  82. Release Date : Tue. Jun 17, 2012 17:00:00 PST 2012 -
  83. (emaild-id:megaraidlinux@lsi.com)
  84. Adam Radford/Kashyap Desai
  85. Current Version : 00.00.06.18-rc1
  86. Old Version : 00.00.06.15-rc1
  87. 1. Fix Copyright dates.
  88. 2. Add throttlequeuedepth module parameter.
  89. 3. Add resetwaittime module parameter.
  90. 4. Move poll_aen_lock initializer.
  91. -------------------------------------------------------------------------------
  92. Release Date : Mon. Mar 19, 2012 17:00:00 PST 2012 -
  93. (emaild-id:megaraidlinux@lsi.com)
  94. Adam Radford
  95. Current Version : 00.00.06.15-rc1
  96. Old Version : 00.00.06.14-rc1
  97. 1. Optimize HostMSIxVectors setting.
  98. 2. Add fpRead/WriteCapable, fpRead/WriteAcrossStripe checks.
  99. -------------------------------------------------------------------------------
  100. Release Date : Fri. Jan 6, 2012 17:00:00 PST 2010 -
  101. (emaild-id:megaraidlinux@lsi.com)
  102. Adam Radford
  103. Current Version : 00.00.06.14-rc1
  104. Old Version : 00.00.06.12-rc1
  105. 1. Fix reglockFlags for degraded raid5/6 for MR 9360/9380.
  106. 2. Mask off flags in ioctl path to prevent memory scribble with older
  107. MegaCLI versions.
  108. 3. Remove poll_mode_io module parameter, sysfs node, and associated code.
  109. -------------------------------------------------------------------------------
  110. Release Date : Wed. Oct 5, 2011 17:00:00 PST 2010 -
  111. (emaild-id:megaraidlinux@lsi.com)
  112. Adam Radford
  113. Current Version : 00.00.06.12-rc1
  114. Old Version : 00.00.05.40-rc1
  115. 1. Continue booting immediately if FW in FAULT at driver load time.
  116. 2. Increase default cmds per lun to 256.
  117. 3. Fix mismatch in megasas_reset_fusion() mutex lock-unlock.
  118. 4. Remove some un-necessary code.
  119. 5. Clear state change interrupts for Fusion/Invader.
  120. 6. Clear FUSION_IN_RESET before enabling interrupts.
  121. 7. Add support for MegaRAID 9360/9380 12GB/s controllers.
  122. 8. Add multiple MSI-X vector/multiple reply queue support.
  123. 9. Add driver workaround for PERC5/1068 kdump kernel panic.
  124. -------------------------------------------------------------------------------
  125. Release Date : Tue. Jul 26, 2011 17:00:00 PST 2010 -
  126. (emaild-id:megaraidlinux@lsi.com)
  127. Adam Radford
  128. Current Version : 00.00.05.40-rc1
  129. Old Version : 00.00.05.38-rc1
  130. 1. Fix FastPath I/O to work with degraded RAID 1.
  131. 2. Add .change_queue_depth support.
  132. -------------------------------------------------------------------------------
  133. Release Date : Wed. May 11, 2011 17:00:00 PST 2010 -
  134. (emaild-id:megaraidlinux@lsi.com)
  135. Adam Radford
  136. Current Version : 00.00.05.38-rc1
  137. Old Version : 00.00.05.34-rc1
  138. 1. Remove MSI-X black list, use MFI_REG_STATE.ready.msiEnable.
  139. 2. Remove un-used function megasas_return_cmd_for_smid().
  140. 3. Check MFI_REG_STATE.fault.resetAdapter in megasas_reset_fusion().
  141. 4. Disable interrupts/free_irq() in megasas_shutdown().
  142. 5. Fix bug where AENs could be lost in probe() and resume().
  143. 6. Convert 6,10,12 byte CDB's to 16 byte CDB for large LBA's for FastPath
  144. IO.
  145. 7. Add 1078 OCR support.
  146. -------------------------------------------------------------------------------
  147. Release Date : Thu. Feb 24, 2011 17:00:00 PST 2010 -
  148. (emaild-id:megaraidlinux@lsi.com)
  149. Adam Radford
  150. Current Version : 00.00.05.34-rc1
  151. Old Version : 00.00.05.29-rc1
  152. 1. Fix some failure gotos from megasas_probe_one(), etc.
  153. 2. Add missing check_and_restore_queue_depth() call in
  154. complete_cmd_fusion().
  155. 3. Enable MSI-X before calling megasas_init_fw().
  156. 4. Call tasklet_schedule() even if outbound_intr_status == 0 for MFI based
  157. boards in MSI-X mode.
  158. 5. Fix megasas_probe_one() to clear PCI_MSIX_FLAGS_ENABLE in msi control
  159. register in kdump kernel.
  160. 6. Fix megasas_get_cmd() to only print "Command pool empty" if
  161. megasas_dbg_lvl is set.
  162. 7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK.
  163. 8. Fix megasas_build_dcdb_fusion() to use io_request->LUN[1] field.
  164. 9. Add MR_EVT_CFG_CLEARED to megasas_aen_polling().
  165. 10. Fix tasklet_init() in megasas_init_fw() to use instancet->tasklet.
  166. 11. Fix fault state handling in megasas_transition_to_ready().
  167. 12. Fix max_sectors setting for IEEE SGL's.
  168. 13. Fix iMR OCR support to work correctly.
  169. -------------------------------------------------------------------------------
  170. Release Date : Tues. Dec 14, 2010 17:00:00 PST 2010 -
  171. (emaild-id:megaraidlinux@lsi.com)
  172. Adam Radford
  173. Current Version : 00.00.05.29-rc1
  174. Old Version : 00.00.04.31-rc1
  175. 1. Rename megaraid_sas.c to megaraid_sas_base.c.
  176. 2. Update GPL headers.
  177. 3. Add MSI-X support and 'msix_disable' module parameter.
  178. 4. Use lowest memory bar (for SR-IOV VF support).
  179. 5. Add struct megasas_instance_temlate changes, and change all code to use
  180. new instance entries:
  181. irqreturn_t (*service_isr )(int irq, void *devp);
  182. void (*tasklet)(unsigned long);
  183. u32 (*init_adapter)(struct megasas_instance *);
  184. u32 (*build_and_issue_cmd) (struct megasas_instance *,
  185. struct scsi_cmnd *);
  186. void (*issue_dcmd) (struct megasas_instance *instance,
  187. struct megasas_cmd *cmd);
  188. 6. Add code to support MegaRAID 9265/9285 controllers device id (0x5b).
  189. -------------------------------------------------------------------------------
  190. 1 Release Date : Thur. May 03, 2010 09:12:45 PST 2009 -
  191. (emaild-id:megaraidlinux@lsi.com)
  192. Bo Yang
  193. 2 Current Version : 00.00.04.31-rc1
  194. 3 Older Version : 00.00.04.17.1-rc1
  195. 1. Add the Online Controller Reset (OCR) to the Driver.
  196. OCR is the new feature for megaraid_sas driver which
  197. will allow the fw to do the chip reset which will not
  198. affect the OS behavior.
  199. To add the OCR support, driver need to do:
  200. a). reset the controller chips -- Xscale and Gen2 which
  201. will change the function calls and add the reset function
  202. related to this two chips.
  203. b). during the reset, driver will store the pending cmds
  204. which not returned by FW to driver's pending queue. Driver
  205. will re-issue those pending cmds again to FW after the OCR
  206. finished.
  207. c). In driver's timeout routine, driver will report to
  208. OS as reset. Also driver's queue routine will block the
  209. cmds until the OCR finished.
  210. d). in Driver's ISR routine, if driver get the FW state as
  211. state change, FW in Failure status and FW support online controller
  212. reset (OCR), driver will start to do the controller reset.
  213. e). In driver's IOCTL routine, the application cmds will wait for the
  214. OCR to finish, then issue the cmds to FW.
  215. f). Before driver kill adapter, driver will do last chance of
  216. OCR to see if driver can bring back the FW.
  217. 2. Add the support update flag to the driver to tell LSI megaraid_sas
  218. application which driver will support the device update. So application
  219. will not need to do the device update after application add/del the device
  220. from the system.
  221. 3. In driver's timeout routine, driver will do three time reset if fw is in
  222. failed state. Driver will kill adapter if can't bring back FW after the
  223. this three times reset.
  224. 4. Add the input parameter max_sectors to 1MB support to our GEN2 controller.
  225. customer can use the input parameter max_sectors to add 1MB support to GEN2
  226. controller.
  227. 1 Release Date : Thur. Oct 29, 2009 09:12:45 PST 2009 -
  228. (emaild-id:megaraidlinux@lsi.com)
  229. Bo Yang
  230. 2 Current Version : 00.00.04.17.1-rc1
  231. 3 Older Version : 00.00.04.12
  232. 1. Add the pad_0 in mfi frame structure to 0 to fix the
  233. context value larger than 32bit value issue.
  234. 2. Add the logic drive list to the driver. Driver will
  235. keep the logic drive list internal after driver load.
  236. 3. driver fixed the device update issue after get the AEN
  237. PD delete/ADD, LD add/delete from FW.
  238. 1 Release Date : Tues. July 28, 2009 10:12:45 PST 2009 -
  239. (emaild-id:megaraidlinux@lsi.com)
  240. Bo Yang
  241. 2 Current Version : 00.00.04.12
  242. 3 Older Version : 00.00.04.10
  243. 1. Change the AEN sys PD update from scsi_scan to
  244. scsi_add_device and scsi_remove_device.
  245. 2. Takeoff the debug print-out in aen_polling routine.
  246. 1 Release Date : Thur. July 02, 2009 10:12:45 PST 2009 -
  247. (emaild-id:megaraidlinux@lsi.com)
  248. Bo Yang
  249. 2 Current Version : 00.00.04.10
  250. 3 Older Version : 00.00.04.08
  251. 1. Add the 3 mins timeout during the controller initialize.
  252. 2. Add the fix for 64bit sense date errors.
  253. 1 Release Date : Tues. May 05, 2009 10:12:45 PST 2009 -
  254. (emaild-id:megaraidlinux@lsi.com)
  255. Bo Yang
  256. 2 Current Version : 00.00.04.08
  257. 3 Older Version : 00.00.04.06
  258. 1. Add the fix of pending in FW after deleted the logic drives.
  259. 2. Add the fix of deallocating memory after get pdlist.
  260. 1 Release Date : Tues. March 26, 2009 10:12:45 PST 2009 -
  261. (emaild-id:megaraidlinux@lsi.com)
  262. Bo Yang
  263. 2 Current Version : 00.00.04.06
  264. 3 Older Version : 00.00.04.04
  265. 1. Add the fix of the driver cmd empty fix of the driver cmd empty.
  266. 2. Add the fix of the driver MSM AEN CMD cause the system slow.
  267. 1 Release Date : Tues. March 03, 2009 10:12:45 PST 2009 -
  268. (emaild-id:megaraidlinux@lsi.com)
  269. Bo Yang
  270. 2 Current Version : 00.00.04.04
  271. 3 Older Version : 00.00.04.01
  272. 1. Add the Tape drive fix to the driver: If the command is for
  273. the tape device, set the pthru timeout to the os layer timeout value.
  274. 2. Add Poll_wait mechanism to Gen-2 Linux driv.
  275. In the aen handler, driver needs to wakeup poll handler similar to
  276. the way it raises SIGIO.
  277. 3. Add new controller new SAS2 support to the driver.
  278. 4. Report the unconfigured PD (system PD) to OS.
  279. 5. Add the IEEE SGL support to the driver
  280. 6. Reasign the Application cmds to SAS2 controller
  281. 1 Release Date : Thur.July. 24 11:41:51 PST 2008 -
  282. (emaild-id:megaraidlinux@lsi.com)
  283. Sumant Patro
  284. Bo Yang
  285. 2 Current Version : 00.00.04.01
  286. 3 Older Version : 00.00.03.22
  287. 1. Add the new controller (0078, 0079) support to the driver
  288. Those controllers are LSI's next generatation(gen2) SAS controllers.
  289. 1 Release Date : Mon.June. 23 10:12:45 PST 2008 -
  290. (emaild-id:megaraidlinux@lsi.com)
  291. Sumant Patro
  292. Bo Yang
  293. 2 Current Version : 00.00.03.22
  294. 3 Older Version : 00.00.03.20
  295. 1. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper.
  296. 2. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue.
  297. 1 Release Date : Mon. March 10 11:02:31 PDT 2008 -
  298. (emaild-id:megaraidlinux@lsi.com)
  299. Sumant Patro
  300. Bo Yang
  301. 2 Current Version : 00.00.03.20-RC1
  302. 3 Older Version : 00.00.03.16
  303. 1. Rollback the sense info implementation
  304. Sense buffer ptr data type in the ioctl path is reverted back
  305. to u32 * as in previous versions of driver.
  306. 2. Fixed the driver frame count.
  307. When Driver sent wrong frame count to firmware. As this
  308. particular command is sent to drive, FW is seeing continuous
  309. chip resets and so the command will timeout.
  310. 3. Add the new controller(1078DE) support to the driver
  311. and Increase the max_wait to 60 from 10 in the controller
  312. operational status. With this max_wait increase, driver will
  313. make sure the FW will finish the pending cmd for KDUMP case.
  314. 1 Release Date : Thur. Nov. 07 16:30:43 PST 2007 -
  315. (emaild-id:megaraidlinux@lsi.com)
  316. Sumant Patro
  317. Bo Yang
  318. 2 Current Version : 00.00.03.16
  319. 3 Older Version : 00.00.03.15
  320. 1. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
  321. a max of 60 seconds to respond to the INIT cmd.
  322. 1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 -
  323. (emaild-id:megaraidlinux@lsi.com)
  324. Sumant Patro
  325. Bo Yang
  326. 2 Current Version : 00.00.03.15
  327. 3 Older Version : 00.00.03.14
  328. 1. Added module parameter "poll_mode_io" to support for "polling"
  329. (reduced interrupt operation). In this mode, IO completion
  330. interrupts are delayed. At the end of initiating IOs, the
  331. driver schedules for cmd completion if there are pending cmds
  332. to be completed. A timer-based interrupt has also been added
  333. to prevent IO completion processing from being delayed
  334. indefinitely in the case that no new IOs are initiated.
  335. 1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 -
  336. (emaild-id:megaraidlinux@lsi.com)
  337. Sumant Patro
  338. Bo Yang
  339. 2 Current Version : 00.00.03.14
  340. 3 Older Version : 00.00.03.13
  341. 1. Setting the max_sectors_per_req based on max SGL supported by the
  342. FW. Prior versions calculated this value from controller info
  343. (max_sectors_1, max_sectors_2). For certain controllers/FW,
  344. this was resulting in a value greater than max SGL supported
  345. by the FW. Issue was first reported by users running LUKS+XFS
  346. with megaraid_sas. Thanks to RB for providing the logs and
  347. duplication steps that helped to get to the root cause of the
  348. issue. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
  349. 10. FW may take a max of 60 seconds to respond to the INIT
  350. cmd.
  351. 1 Release Date : Fri. June. 15 16:30:43 PST 2007 -
  352. (emaild-id:megaraidlinux@lsi.com)
  353. Sumant Patro
  354. Bo Yang
  355. 2 Current Version : 00.00.03.13
  356. 3 Older Version : 00.00.03.12
  357. 1. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
  358. On Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
  359. It looks like megaraid_sas at least needs this to throttle its commands
  360. > as they begin to time out. The code keeps the existing transport
  361. > template use of eh_timed_out (and allows the transport to override the
  362. > host if they both have this callback).
  363. >
  364. > James
  365. 1 Release Date : Sat May. 12 16:30:43 PST 2007 -
  366. (emaild-id:megaraidlinux@lsi.com)
  367. Sumant Patro
  368. Bo Yang
  369. 2 Current Version : 00.00.03.12
  370. 3 Older Version : 00.00.03.11
  371. 1. When MegaSAS driver receives reset call from OS, driver waits in reset
  372. routine for max 3 minutes for all pending command completion. Now driver will
  373. call completion routine every 5 seconds from the reset routine instead of
  374. waiting for depending on cmd completion from isr path.
  375. 1 Release Date : Mon Apr. 30 10:25:52 PST 2007 -
  376. (emaild-id:megaraidlinux@lsi.com)
  377. Sumant Patro
  378. Bo Yang
  379. 2 Current Version : 00.00.03.11
  380. 3 Older Version : 00.00.03.09
  381. 1. Memory Manager for IOCTL removed for 2.6 kernels.
  382. pci_alloc_consistent replaced by dma_alloc_coherent. With this
  383. change there is no need of memory manager in the driver code
  384. On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
  385. > I suspect all this horror is due to stupidity in the DMA API.
  386. >
  387. > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
  388. > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
  389. > to use GFP_KERNEL.
  390. >
  391. > I bet this fixes it
  392. It does, but the DMA API was expanded to cope with this exact case, so
  393. use dma_alloc_coherent() directly in the megaraid code instead. The dev
  394. is just &pci_dev->dev.
  395. James <James.Bottomley@SteelEye.com>
  396. 3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
  397. 4. Hibernation support added
  398. 5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
  399. 1 Release Date : Fri Feb. 09 14:36:28 PST 2007 -
  400. (emaild-id:megaraidlinux@lsi.com)
  401. Sumant Patro
  402. Bo Yang
  403. 2 Current Version : 00.00.03.09
  404. 3 Older Version : 00.00.03.08
  405. i. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
  406. The driver now waits for 10 seconds to elapse instead of 5 (as in
  407. previous release) to resume IO.
  408. 1 Release Date : Mon Feb. 05 11:35:24 PST 2007 -
  409. (emaild-id:megaraidlinux@lsi.com)
  410. Sumant Patro
  411. Bo Yang
  412. 2 Current Version : 00.00.03.08
  413. 3 Older Version : 00.00.03.07
  414. i. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
  415. Fix: The driver is now throttling IO.
  416. Checks added in megasas_queue_command to know if FW is able to
  417. process commands within timeout period. If number of retries
  418. is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
  419. resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
  420. from the time cmds were last sent to FW.
  421. ii. FW enables WCE bit in Mode Sense cmd for drives that are configured
  422. as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
  423. Disks are exposed with WCE=1. User is advised to enable Write Back
  424. mode only when the controller has battery backup. At this time
  425. Synhronize cache is not supported by the FW. Driver will short-cycle
  426. the cmd and return success without sending down to FW.
  427. 1 Release Date : Sun Jan. 14 11:21:32 PDT 2007 -
  428. Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
  429. 2 Current Version : 00.00.03.07
  430. 3 Older Version : 00.00.03.06
  431. i. bios_param entry added in scsi_host_template that returns disk geometry
  432. information.
  433. 1 Release Date : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
  434. 2 Current Version : 00.00.03.06
  435. 3 Older Version : 00.00.03.05
  436. 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.
  437. 2. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
  438. (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
  439. 1 Release Date : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  440. 2 Current Version : 00.00.03.05
  441. 3 Older Version : 00.00.03.04
  442. i. PCI_DEVICE macro used
  443. Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
  444. - Henrik Kretzschmar <henne@nachtwindheim.de>
  445. ii. All compiler warnings removed
  446. iii. megasas_ctrl_info struct reverted to 3.02 release
  447. iv. Default value of megasas_dbg_lvl set to 0
  448. v. Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
  449. vi. In megasas_teardown_frame_pool(), cmd->frame was passed instead of
  450. cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
  451. Eric Sesterhenn
  452. 1 Release Date : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  453. 2 Current Version : 00.00.03.04
  454. 3 Older Version : 00.00.03.03
  455. i. Added Reboot notify
  456. ii. Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
  457. as Max Cmds FW can support
  458. 1 Release Date : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  459. 2 Current Version : 00.00.03.03
  460. 3 Older Version : 00.00.03.02
  461. i. Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
  462. New variable added to set dbg level.
  463. ii. Disable interrupt made as fn pointer as they are different for 1068 / 1078
  464. iii. Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
  465. 3 SGE for 32 bit SGL
  466. iv. Tasklet added for cmd completion
  467. 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.
  468. vi. megasas_ctrl_prop structure updated (based on FW struct)
  469. vii. Added print : FW now in Ready State during initialization
  470. 1 Release Date : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  471. 2 Current Version : 00.00.03.02
  472. 3 Older Version : 00.00.03.01
  473. i. Added FW tranistion state for Hotplug scenario
  474. 1 Release Date : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  475. 2 Current Version : 00.00.03.01
  476. 3 Older Version : 00.00.02.04
  477. i. Added support for ZCR controller.
  478. New device id 0x413 added.
  479. ii. Bug fix : Disable controller interrupt before firing INIT cmd to FW.
  480. Interrupt is enabled after required initialization is over.
  481. This is done to ensure that driver is ready to handle interrupts when
  482. it is generated by the controller.
  483. -Sumant Patro <Sumant.Patro@lsil.com>
  484. 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  485. 2 Current Version : 00.00.02.04
  486. 3 Older Version : 00.00.02.04
  487. i. Remove superfluous instance_lock
  488. gets rid of the otherwise superfluous instance_lock and avoids an unsafe
  489. unsynchronized access in the error handler.
  490. - Christoph Hellwig <hch@lst.de>
  491. 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  492. 2 Current Version : 00.00.02.04
  493. 3 Older Version : 00.00.02.04
  494. i. Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
  495. During initialization, depending on the device id, the template members
  496. are initialized with function pointers specific to the ppc or
  497. xscale controllers.
  498. -Sumant Patro <Sumant.Patro@lsil.com>
  499. 1 Release Date : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro
  500. <Sumant.Patro@lsil.com>
  501. 2 Current Version : 00.00.02.04
  502. 3 Older Version : 00.00.02.02
  503. i. Register 16 byte CDB capability with scsi midlayer
  504. "This patch properly registers the 16 byte command length capability of the
  505. megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas
  506. hardware supports 16 byte CDB's."
  507. -Joshua Giles <joshua_giles@dell.com>
  508. 1 Release Date : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
  509. 2 Current Version : 00.00.02.02
  510. 3 Older Version : 00.00.02.01
  511. i. New template defined to represent each family of controllers (identified by processor used).
  512. The template will have definitions that will be initialised to appropriate 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.
  513. -Sumant Patro <Sumant.Patro@lsil.com>
  514. 1 Release Date : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
  515. 2 Current Version : 00.00.02.00-rc4
  516. 3 Older Version : 00.00.02.01
  517. i. Code reorganized to remove code duplication in megasas_build_cmd.
  518. "There's a lot of duplicate code megasas_build_cmd. Move that out of the different codepaths and merge the reminder of megasas_build_cmd into megasas_queue_command"
  519. - Christoph Hellwig <hch@lst.de>
  520. ii. Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
  521. "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"
  522. - Christoph Hellwig <hch@lst.de>