powerpc/spufs: Use llseek in all file operations
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / Documentation / scsi / ChangeLog.megaraid_sas
blob30023568805e2a56077fa4cfbd088ee666522ab0
1 1 Release Date    : Thur.  Oct 29, 2009 09:12:45 PST 2009 -
2                         (emaild-id:megaraidlinux@lsi.com)
3                         Bo Yang
5 2 Current Version : 00.00.04.17.1-rc1
6 3 Older Version   : 00.00.04.12
8 1.      Add the pad_0 in mfi frame structure to 0 to fix the
9         context value larger than 32bit value issue.
11 2.      Add the logic drive list to the driver.  Driver will
12         keep the logic drive list internal after driver load.
14 3.      driver fixed the device update issue after get the AEN
15         PD delete/ADD, LD add/delete from FW.
17 1 Release Date    : Tues.  July 28, 2009 10:12:45 PST 2009 -
18                         (emaild-id:megaraidlinux@lsi.com)
19                         Bo Yang
21 2 Current Version : 00.00.04.12
22 3 Older Version   : 00.00.04.10
24 1.      Change the AEN sys PD update from scsi_scan to
25         scsi_add_device and scsi_remove_device.
26 2.      Takeoff the debug print-out in aen_polling routine.
28 1 Release Date    : Thur.  July 02, 2009 10:12:45 PST 2009 -
29                         (emaild-id:megaraidlinux@lsi.com)
30                         Bo Yang
32 2 Current Version : 00.00.04.10
33 3 Older Version   : 00.00.04.08
35 1.      Add the 3 mins timeout during the controller initialize.
36 2.      Add the fix for 64bit sense date errors.
38 1 Release Date    : Tues. May 05, 2009 10:12:45 PST 2009 -
39                         (emaild-id:megaraidlinux@lsi.com)
40                         Bo Yang
42 2 Current Version : 00.00.04.08
43 3 Older Version   : 00.00.04.06
45 1.      Add the fix of pending in FW after deleted the logic drives.
46 2.      Add the fix of deallocating memory after get pdlist.
48 1 Release Date    : Tues. March 26, 2009 10:12:45 PST 2009 -
49                         (emaild-id:megaraidlinux@lsi.com)
50                         Bo Yang
52 2 Current Version : 00.00.04.06
53 3 Older Version   : 00.00.04.04
55 1.      Add the fix of the driver cmd empty fix of the driver cmd empty.
56 2.      Add the fix of the driver MSM AEN CMD cause the system slow.
58 1 Release Date    : Tues. March 03, 2009 10:12:45 PST 2009 -
59                         (emaild-id:megaraidlinux@lsi.com)
60                         Bo Yang
62 2 Current Version : 00.00.04.04
63 3 Older Version   : 00.00.04.01
65 1.      Add the Tape drive fix to the driver: If the command is for
66         the tape device, set the pthru timeout to the os layer timeout value.
68 2.      Add Poll_wait mechanism to Gen-2 Linux driv.
69                 In the aen handler, driver needs to wakeup poll handler similar to
70                 the way it raises SIGIO.
72 3.      Add new controller new SAS2 support to the driver.
74 4.      Report the unconfigured PD (system PD) to OS.
76 5.      Add the IEEE SGL support to the driver
78 6.      Reasign the Application cmds to SAS2 controller
80 1 Release Date    : Thur.July. 24 11:41:51 PST 2008 -
81                        (emaild-id:megaraidlinux@lsi.com)
82                        Sumant Patro
83                        Bo Yang
85 2 Current Version : 00.00.04.01
86 3 Older Version   : 00.00.03.22
88 1. Add the new controller (0078, 0079) support to the driver
89        Those controllers are LSI's next generatation(gen2) SAS controllers.
91 1 Release Date    : Mon.June. 23 10:12:45 PST 2008 -
92                        (emaild-id:megaraidlinux@lsi.com)
93                        Sumant Patro
94                        Bo Yang
96 2 Current Version : 00.00.03.22
97 3 Older Version   : 00.00.03.20
99 1. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper.
100 2. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue.
102 1 Release Date    : Mon. March 10 11:02:31 PDT 2008 -
103                         (emaild-id:megaraidlinux@lsi.com)
104                         Sumant Patro
105                         Bo Yang
107 2 Current Version : 00.00.03.20-RC1
108 3 Older Version   : 00.00.03.16
110 1. Rollback the sense info implementation
111         Sense buffer ptr data type in the ioctl path is reverted back
112         to u32 * as in previous versions of driver.
114 2. Fixed the driver frame count.
115         When Driver sent wrong frame count to firmware.  As this
116         particular command is sent to drive, FW is seeing continuous
117         chip resets and so the command will timeout.
119 3. Add the new controller(1078DE) support to the driver
120         and Increase the max_wait to 60 from 10 in the controller
121         operational status.  With this max_wait increase, driver will
122         make sure the FW will   finish the pending cmd for KDUMP case.
124 1 Release Date    : Thur. Nov. 07 16:30:43 PST 2007 -
125                         (emaild-id:megaraidlinux@lsi.com)
126                         Sumant Patro
127                         Bo Yang
129 2 Current Version : 00.00.03.16
130 3 Older Version   : 00.00.03.15
132 1. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
133         a max of 60 seconds to respond to the INIT cmd.
135 1 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
136                         (emaild-id:megaraidlinux@lsi.com)
137                         Sumant Patro
138                         Bo Yang
140 2 Current Version : 00.00.03.15
141 3 Older Version   : 00.00.03.14
143 1. Added module parameter "poll_mode_io" to support for "polling"
144         (reduced interrupt operation).  In this mode, IO completion
145         interrupts are delayed. At the end of initiating IOs, the
146         driver schedules for cmd completion if there are pending cmds
147         to be completed.  A timer-based interrupt has also been added
148         to prevent IO completion processing from being delayed
149         indefinitely in the case that no new IOs are initiated.
151 1 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
152                         (emaild-id:megaraidlinux@lsi.com)
153                         Sumant Patro
154                         Bo Yang
156 2 Current Version : 00.00.03.14
157 3 Older Version   : 00.00.03.13
159 1. Setting the max_sectors_per_req based on max SGL supported by the
160         FW. Prior versions calculated this value from controller info
161         (max_sectors_1, max_sectors_2). For certain controllers/FW,
162         this was resulting in a value greater than max SGL supported
163         by the FW. Issue was first reported by users running LUKS+XFS
164         with megaraid_sas.  Thanks to RB for providing the logs and
165         duplication steps that helped to get to the root cause of the
166         issue.  2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
167         10. FW may take a max of 60 seconds to respond to the INIT
168         cmd.
170 1 Release Date    : Fri. June. 15 16:30:43 PST 2007 -
171                         (emaild-id:megaraidlinux@lsi.com)
172                         Sumant Patro
173                         Bo Yang
175 2 Current Version : 00.00.03.13
176 3 Older Version   : 00.00.03.12
178 1. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
180 On Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
181 It looks like megaraid_sas at least needs this to throttle its commands
182 > as they begin to time out.  The code keeps the existing transport
183 > template use of eh_timed_out (and allows the transport to override the
184 > host if they both have this callback).
186 > James
188 1 Release Date    : Sat May. 12 16:30:43 PST 2007 -
189                         (emaild-id:megaraidlinux@lsi.com)
190                         Sumant Patro
191                         Bo Yang
193 2 Current Version : 00.00.03.12
194 3 Older Version   : 00.00.03.11
196 1.  When MegaSAS driver receives reset call from OS, driver waits in reset
197 routine for max 3 minutes for all pending command completion. Now driver will
198 call completion routine every 5 seconds from the reset routine instead of
199 waiting for depending on cmd completion from isr path.
201 1 Release Date    : Mon Apr. 30 10:25:52 PST 2007 -
202                         (emaild-id:megaraidlinux@lsi.com)
203                         Sumant Patro
204                         Bo Yang
206 2 Current Version : 00.00.03.11
207 3 Older Version   : 00.00.03.09
209         1. Memory Manager for IOCTL removed for 2.6 kernels.
210            pci_alloc_consistent replaced by dma_alloc_coherent. With this
211            change there is no need of memory manager in the driver code
213         On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
214         > I suspect all this horror is due to stupidity in the DMA API.
215         >
216         > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
217         > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
218         > to use GFP_KERNEL.
219         >
220         > I bet this fixes it
222         It does, but the DMA API was expanded to cope with this exact case, so
223         use dma_alloc_coherent() directly in the megaraid code instead.  The dev
224         is just &pci_dev->dev.
226         James <James.Bottomley@SteelEye.com>
228         3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
229         4. Hibernation support added
230         5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
232 1 Release Date    : Fri Feb. 09 14:36:28 PST 2007 -
233                         (emaild-id:megaraidlinux@lsi.com)
234                         Sumant Patro
235                         Bo Yang
237 2 Current Version : 00.00.03.09
238 3 Older Version   : 00.00.03.08
240 i.      Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
242         The driver now waits for 10 seconds to elapse instead of 5 (as in
243         previous release) to resume IO.
245 1 Release Date    : Mon Feb. 05 11:35:24 PST 2007 -
246                         (emaild-id:megaraidlinux@lsi.com)
247                         Sumant Patro
248                         Bo Yang
249 2 Current Version : 00.00.03.08
250 3 Older Version   : 00.00.03.07
252 i.      Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
254         Fix:    The driver is now throttling IO.
255         Checks added in megasas_queue_command to know if FW is able to
256         process commands within timeout period. If number of retries
257         is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
258         resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
259         from the time cmds were last sent to FW.
261 ii.     FW enables WCE bit in Mode Sense cmd for drives that are configured
262         as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
263         Disks are exposed with WCE=1. User is advised to enable Write Back
264         mode only when the controller has battery backup. At this time
265         Synhronize cache is not supported by the FW. Driver will short-cycle
266         the cmd and return success without sending down to FW.
268 1 Release Date    : Sun Jan. 14 11:21:32 PDT 2007 -
269                  Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
270 2 Current Version : 00.00.03.07
271 3 Older Version   : 00.00.03.06
273 i.      bios_param entry added in scsi_host_template that returns disk geometry
274         information.
276 1 Release Date    : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
277 2 Current Version : 00.00.03.06
278 3 Older Version   : 00.00.03.05
280 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.
281 2. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
282    (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
284 1 Release Date    : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
285 2 Current Version : 00.00.03.05
286 3 Older Version   : 00.00.03.04
288 i.      PCI_DEVICE macro used
290         Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
292                 - Henrik Kretzschmar <henne@nachtwindheim.de>
293 ii.     All compiler warnings removed
294 iii.    megasas_ctrl_info struct reverted to 3.02 release
295 iv.     Default value of megasas_dbg_lvl set to 0
296 v.      Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
297 vi.     In megasas_teardown_frame_pool(), cmd->frame was passed instead of
298         cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
299         Eric Sesterhenn
301 1 Release Date    : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
302 2 Current Version : 00.00.03.04
303 3 Older Version   : 00.00.03.03
305 i.      Added Reboot notify
306 ii.     Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
307         as Max Cmds FW can support
309 1 Release Date    : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
310 2 Current Version : 00.00.03.03
311 3 Older Version   : 00.00.03.02
313 i.      Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
314         New varible added to set dbg level.
315 ii.     Disable interrupt made as fn pointer as they are different for 1068 / 1078
316 iii.    Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
317         3 SGE for 32 bit SGL
318 iv.     Tasklet added for cmd completion
319 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.
320 vi.     megasas_ctrl_prop structure updated (based on FW struct)
321 vii.    Added print : FW now in Ready State during initialization
323 1 Release Date    : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
324 2 Current Version : 00.00.03.02
325 3 Older Version   : 00.00.03.01
327 i.      Added FW tranistion state for Hotplug scenario
329 1 Release Date    : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
330 2 Current Version : 00.00.03.01
331 3 Older Version   : 00.00.02.04
333 i.      Added support for ZCR controller.
335                 New device id 0x413 added.
337 ii.     Bug fix : Disable controller interrupt before firing INIT cmd to FW.
339                 Interrupt is enabled after required initialization is over.
340                 This is done to ensure that driver is ready to handle interrupts when
341                 it is generated by the controller.
343                 -Sumant Patro <Sumant.Patro@lsil.com>
345 1 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
346 2 Current Version : 00.00.02.04
347 3 Older Version   : 00.00.02.04 
349 i.      Remove superflous instance_lock
351         gets rid of the otherwise superflous instance_lock and avoids an unsave 
352         unsynchronized access in the error handler.
354                 - Christoph Hellwig <hch@lst.de>
357 1 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
358 2 Current Version : 00.00.02.04
359 3 Older Version   : 00.00.02.04 
361 i.      Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
362         During initialization, depending on the device id, the template members 
363         are initialized with function pointers specific to the ppc or 
364         xscale controllers.  
366                 -Sumant Patro <Sumant.Patro@lsil.com>
367                 
368 1 Release Date    : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro 
369                                                         <Sumant.Patro@lsil.com>
370 2 Current Version : 00.00.02.04
371 3 Older Version   : 00.00.02.02 
372 i.      Register 16 byte CDB capability with scsi midlayer 
374         "Ths patch properly registers the 16 byte command length capability of the 
375         megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas 
376         hardware supports 16 byte CDB's."
378                 -Joshua Giles <joshua_giles@dell.com> 
380 1 Release Date    : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
381 2 Current Version : 00.00.02.02
382 3 Older Version   : 00.00.02.01 
384 i.      New template defined to represent each family of controllers (identified by processor used). 
385         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.
387                 -Sumant Patro <Sumant.Patro@lsil.com>
389 1 Release Date    : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
390 2 Current Version : 00.00.02.00-rc4 
391 3 Older Version   : 00.00.02.01 
393 i.      Code reorganized to remove code duplication in megasas_build_cmd. 
395         "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"
397                 - Christoph Hellwig <hch@lst.de>
399 ii.     Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
401         "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"
403                 - Christoph Hellwig <hch@lst.de>