14f788dceSadam radfordRelease Date    : Wed. May 11, 2011 17:00:00 PST 2010 -
24f788dceSadam radford			(emaild-id:megaraidlinux@lsi.com)
34f788dceSadam radford			Adam Radford
44f788dceSadam radfordCurrent Version : 00.00.05.38-rc1
54f788dceSadam radfordOld Version     : 00.00.05.34-rc1
64f788dceSadam radford    1. Remove MSI-X black list, use MFI_REG_STATE.ready.msiEnable.
74f788dceSadam radford    2. Remove un-used function megasas_return_cmd_for_smid().
84f788dceSadam radford    3. Check MFI_REG_STATE.fault.resetAdapter in megasas_reset_fusion().
94f788dceSadam radford    4. Disable interrupts/free_irq() in megasas_shutdown().
104f788dceSadam radford    5. Fix bug where AENs could be lost in probe() and resume().
114f788dceSadam radford    6. Convert 6,10,12 byte CDB's to 16 byte CDB for large LBA's for FastPath
124f788dceSadam radford       IO.
134f788dceSadam radford    7. Add 1078 OCR support.
144f788dceSadam radford-------------------------------------------------------------------------------
1500fa2b19Sadam radfordRelease Date    : Thu. Feb 24, 2011 17:00:00 PST 2010 -
1600fa2b19Sadam radford			(emaild-id:megaraidlinux@lsi.com)
1700fa2b19Sadam radford			Adam Radford
1800fa2b19Sadam radfordCurrent Version : 00.00.05.34-rc1
1900fa2b19Sadam radfordOld Version     : 00.00.05.29-rc1
2000fa2b19Sadam radford    1. Fix some failure gotos from megasas_probe_one(), etc.
2100fa2b19Sadam radford    2. Add missing check_and_restore_queue_depth() call in
2200fa2b19Sadam radford       complete_cmd_fusion().
2300fa2b19Sadam radford    3. Enable MSI-X before calling megasas_init_fw().
2400fa2b19Sadam radford    4. Call tasklet_schedule() even if outbound_intr_status == 0 for MFI based
2500fa2b19Sadam radford       boards in MSI-X mode.
2600fa2b19Sadam radford    5. Fix megasas_probe_one() to clear PCI_MSIX_FLAGS_ENABLE in msi control
2700fa2b19Sadam radford       register in kdump kernel.
2800fa2b19Sadam radford    6. Fix megasas_get_cmd() to only print "Command pool empty" if
2900fa2b19Sadam radford       megasas_dbg_lvl is set.
3000fa2b19Sadam radford    7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK.
3100fa2b19Sadam radford    8. Fix megasas_build_dcdb_fusion() to use io_request->LUN[1] field.
3200fa2b19Sadam radford    9. Add MR_EVT_CFG_CLEARED to megasas_aen_polling().
3300fa2b19Sadam radford    10. Fix tasklet_init() in megasas_init_fw() to use instancet->tasklet.
3400fa2b19Sadam radford    11. Fix fault state handling in megasas_transition_to_ready().
3500fa2b19Sadam radford    12. Fix max_sectors setting for IEEE SGL's.
3600fa2b19Sadam radford    13. Fix iMR OCR support to work correctly.
3700fa2b19Sadam radford-------------------------------------------------------------------------------
385f7bb3a4Sadam radfordRelease Date    : Tues.  Dec 14, 2010 17:00:00 PST 2010 -
395f7bb3a4Sadam radford			(emaild-id:megaraidlinux@lsi.com)
405f7bb3a4Sadam radford			Adam Radford
415f7bb3a4Sadam radfordCurrent Version : 00.00.05.29-rc1
425f7bb3a4Sadam radfordOld Version     : 00.00.04.31-rc1
435f7bb3a4Sadam radford    1. Rename megaraid_sas.c to megaraid_sas_base.c.
445f7bb3a4Sadam radford    2. Update GPL headers.
455f7bb3a4Sadam radford    3. Add MSI-X support and 'msix_disable' module parameter.
465f7bb3a4Sadam radford    4. Use lowest memory bar (for SR-IOV VF support).
475f7bb3a4Sadam radford    5. Add struct megasas_instance_temlate changes, and change all code to use
485f7bb3a4Sadam radford       new instance entries:
495f7bb3a4Sadam radford
505f7bb3a4Sadam radford       irqreturn_t (*service_isr )(int irq, void *devp);
515f7bb3a4Sadam radford       void (*tasklet)(unsigned long);
525f7bb3a4Sadam radford       u32 (*init_adapter)(struct megasas_instance *);
535f7bb3a4Sadam radford       u32 (*build_and_issue_cmd) (struct megasas_instance *,
545f7bb3a4Sadam radford       struct scsi_cmnd *);
555f7bb3a4Sadam radford       void (*issue_dcmd) (struct megasas_instance *instance,
565f7bb3a4Sadam radford                              struct megasas_cmd *cmd);
575f7bb3a4Sadam radford
585f7bb3a4Sadam radford   6. Add code to support MegaRAID 9265/9285 controllers device id (0x5b).
595f7bb3a4Sadam radford-------------------------------------------------------------------------------
60e340c353SYang, Bo1 Release Date    : Thur.  May 03, 2010 09:12:45 PST 2009 -
61e340c353SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
62e340c353SYang, Bo			Bo Yang
63e340c353SYang, Bo
64e340c353SYang, Bo2 Current Version : 00.00.04.31-rc1
65e340c353SYang, Bo3 Older Version   : 00.00.04.17.1-rc1
66e340c353SYang, Bo
67e340c353SYang, Bo1.	Add the Online Controller Reset (OCR) to the Driver.
68e340c353SYang, Bo	OCR is the new feature for megaraid_sas driver which
69e340c353SYang, Bo	will allow the fw to do the chip reset which will not
70e340c353SYang, Bo	affact the OS behavious.
71e340c353SYang, Bo
72e340c353SYang, Bo	To add the OCR support, driver need to do:
73e340c353SYang, Bo		a). reset the controller chips -- Xscale and Gen2 which
74e340c353SYang, Bo		will change the function calls and add the reset function
75e340c353SYang, Bo		related to this two chips.
76e340c353SYang, Bo
77e340c353SYang, Bo		b). during the reset, driver will store the pending cmds
78e340c353SYang, Bo		which not returned by FW to driver's pending queue.  Driver
79e340c353SYang, Bo		will re-issue those pending cmds again to FW after the OCR
80e340c353SYang, Bo		finished.
81e340c353SYang, Bo
82e340c353SYang, Bo		c). In driver's timeout routine, driver will report to
83e340c353SYang, Bo		OS as reset. Also driver's queue routine will block the
84e340c353SYang, Bo		cmds until the OCR finished.
85e340c353SYang, Bo
86e340c353SYang, Bo		d). in Driver's ISR routine, if driver get the FW state as
87e340c353SYang, Bo		state change, FW in Failure status and FW support online controller
88e340c353SYang, Bo		reset (OCR), driver will start to do the controller reset.
89e340c353SYang, Bo
90e340c353SYang, Bo		e). In driver's IOCTL routine, the application cmds will wait for the
91e340c353SYang, Bo		OCR to finish, then issue the cmds to FW.
92e340c353SYang, Bo
93e340c353SYang, Bo		f). Before driver kill adapter, driver will do last chance of
94e340c353SYang, Bo		OCR to see if driver can bring back the FW.
95e340c353SYang, Bo
96e340c353SYang, Bo2.	Add the support update flag to the driver to tell LSI megaraid_sas
97e340c353SYang, Bo	application which driver will support the device update.  So application
98e340c353SYang, Bo	will not need to do the device update after application add/del the device
99e340c353SYang, Bo	from the system.
100e340c353SYang, Bo3.	In driver's timeout routine, driver will do three time reset if fw is in
101e340c353SYang, Bo	failed state.  Driver will kill adapter if can't bring back FW after the
102e340c353SYang, Bo	this three times reset.
103e340c353SYang, Bo4.	Add the input parameter max_sectors to 1MB support to our GEN2 controller.
104e340c353SYang, Bo	customer can use the input paramenter max_sectors to add 1MB support to GEN2
105e340c353SYang, Bo	controller.
106e340c353SYang, Bo
10763bad45dSYang, Bo1 Release Date    : Thur.  Oct 29, 2009 09:12:45 PST 2009 -
10863bad45dSYang, Bo			(emaild-id:megaraidlinux@lsi.com)
10963bad45dSYang, Bo			Bo Yang
11063bad45dSYang, Bo
11163bad45dSYang, Bo2 Current Version : 00.00.04.17.1-rc1
11263bad45dSYang, Bo3 Older Version   : 00.00.04.12
11363bad45dSYang, Bo
11463bad45dSYang, Bo1.	Add the pad_0 in mfi frame structure to 0 to fix the
11563bad45dSYang, Bo	context value larger than 32bit value issue.
11663bad45dSYang, Bo
11763bad45dSYang, Bo2.	Add the logic drive list to the driver.  Driver will
11863bad45dSYang, Bo	keep the logic drive list internal after driver load.
11963bad45dSYang, Bo
12063bad45dSYang, Bo3.	driver fixed the device update issue after get the AEN
12163bad45dSYang, Bo	PD delete/ADD, LD add/delete from FW.
12263bad45dSYang, Bo
123a0b77368SYang, Bo1 Release Date    : Tues.  July 28, 2009 10:12:45 PST 2009 -
124a0b77368SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
125a0b77368SYang, Bo			Bo Yang
126a0b77368SYang, Bo
127a0b77368SYang, Bo2 Current Version : 00.00.04.12
128a0b77368SYang, Bo3 Older Version   : 00.00.04.10
129a0b77368SYang, Bo
130a0b77368SYang, Bo1.	Change the AEN sys PD update from scsi_scan to
131a0b77368SYang, Bo	scsi_add_device and scsi_remove_device.
132a0b77368SYang, Bo2.	Takeoff the debug print-out in aen_polling routine.
133a0b77368SYang, Bo
134a0b77368SYang, Bo1 Release Date    : Thur.  July 02, 2009 10:12:45 PST 2009 -
135a0b77368SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
136a0b77368SYang, Bo			Bo Yang
137a0b77368SYang, Bo
138a0b77368SYang, Bo2 Current Version : 00.00.04.10
139a0b77368SYang, Bo3 Older Version   : 00.00.04.08
140a0b77368SYang, Bo
141a0b77368SYang, Bo1.	Add the 3 mins timeout during the controller initialize.
142a0b77368SYang, Bo2.	Add the fix for 64bit sense date errors.
143a0b77368SYang, Bo
144a0b77368SYang, Bo1 Release Date    : Tues. May 05, 2009 10:12:45 PST 2009 -
145a0b77368SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
146a0b77368SYang, Bo			Bo Yang
147a0b77368SYang, Bo
148a0b77368SYang, Bo2 Current Version : 00.00.04.08
149a0b77368SYang, Bo3 Older Version   : 00.00.04.06
150a0b77368SYang, Bo
151a0b77368SYang, Bo1.	Add the fix of pending in FW after deleted the logic drives.
152a0b77368SYang, Bo2.	Add the fix of deallocating memory after get pdlist.
153a0b77368SYang, Bo
154a0b77368SYang, Bo1 Release Date    : Tues. March 26, 2009 10:12:45 PST 2009 -
155a0b77368SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
156a0b77368SYang, Bo			Bo Yang
157a0b77368SYang, Bo
158a0b77368SYang, Bo2 Current Version : 00.00.04.06
159a0b77368SYang, Bo3 Older Version   : 00.00.04.04
160a0b77368SYang, Bo
161a0b77368SYang, Bo1.	Add the fix of the driver cmd empty fix of the driver cmd empty.
162a0b77368SYang, Bo2.	Add the fix of the driver MSM AEN CMD cause the system slow.
163a0b77368SYang, Bo
164a0b77368SYang, Bo1 Release Date    : Tues. March 03, 2009 10:12:45 PST 2009 -
165a0b77368SYang, Bo			(emaild-id:megaraidlinux@lsi.com)
166a0b77368SYang, Bo			Bo Yang
167a0b77368SYang, Bo
168a0b77368SYang, Bo2 Current Version : 00.00.04.04
169a0b77368SYang, Bo3 Older Version   : 00.00.04.01
170a0b77368SYang, Bo
171a0b77368SYang, Bo1.	Add the Tape drive fix to the driver: If the command is for
172a0b77368SYang, Bo	the tape device, set the pthru timeout to the os layer timeout value.
173a0b77368SYang, Bo
174a0b77368SYang, Bo2.	Add Poll_wait mechanism to Gen-2 Linux driv.
175a0b77368SYang, Bo		In the aen handler, driver needs to wakeup poll handler similar to
176a0b77368SYang, Bo		the way it raises SIGIO.
177a0b77368SYang, Bo
178a0b77368SYang, Bo3.	Add new controller new SAS2 support to the driver.
179a0b77368SYang, Bo
180a0b77368SYang, Bo4.	Report the unconfigured PD (system PD) to OS.
181a0b77368SYang, Bo
182a0b77368SYang, Bo5.	Add the IEEE SGL support to the driver
183a0b77368SYang, Bo
184a0b77368SYang, Bo6.	Reasign the Application cmds to SAS2 controller
18524541f99SYang, Bo
18624541f99SYang, Bo1 Release Date    : Thur.July. 24 11:41:51 PST 2008 -
18724541f99SYang, Bo                       (emaild-id:megaraidlinux@lsi.com)
18824541f99SYang, Bo                       Sumant Patro
18924541f99SYang, Bo                       Bo Yang
19024541f99SYang, Bo
19124541f99SYang, Bo2 Current Version : 00.00.04.01
19224541f99SYang, Bo3 Older Version   : 00.00.03.22
19324541f99SYang, Bo
19424541f99SYang, Bo1. Add the new controller (0078, 0079) support to the driver
19524541f99SYang, Bo       Those controllers are LSI's next generatation(gen2) SAS controllers.
19624541f99SYang, Bo
19724541f99SYang, Bo1 Release Date    : Mon.June. 23 10:12:45 PST 2008 -
19824541f99SYang, Bo                       (emaild-id:megaraidlinux@lsi.com)
19924541f99SYang, Bo                       Sumant Patro
20024541f99SYang, Bo                       Bo Yang
20124541f99SYang, Bo
20224541f99SYang, Bo2 Current Version : 00.00.03.22
20324541f99SYang, Bo3 Older Version   : 00.00.03.20
20424541f99SYang, Bo
20524541f99SYang, Bo1. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper.
20624541f99SYang, Bo2. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue.
20724541f99SYang, Bo
208127ce971Sbo yang1 Release Date    : Mon. March 10 11:02:31 PDT 2008 -
209127ce971Sbo yang			(emaild-id:megaraidlinux@lsi.com)
210127ce971Sbo yang			Sumant Patro
211127ce971Sbo yang			Bo Yang
212127ce971Sbo yang
213127ce971Sbo yang2 Current Version : 00.00.03.20-RC1
214127ce971Sbo yang3 Older Version   : 00.00.03.16
215127ce971Sbo yang
216127ce971Sbo yang1. Rollback the sense info implementation
217127ce971Sbo yang	Sense buffer ptr data type in the ioctl path is reverted back
218127ce971Sbo yang	to u32 * as in previous versions of driver.
219127ce971Sbo yang
220127ce971Sbo yang2. Fixed the driver frame count.
221127ce971Sbo yang	When Driver sent wrong frame count to firmware.  As this
222127ce971Sbo yang	particular command is sent to drive, FW is seeing continuous
223127ce971Sbo yang	chip resets and so the command will timeout.
224127ce971Sbo yang
225127ce971Sbo yang3. Add the new controller(1078DE) support to the driver
226127ce971Sbo yang	and Increase the max_wait to 60 from 10 in the controller
227127ce971Sbo yang	operational status.  With this max_wait increase, driver will
228127ce971Sbo yang	make sure the FW will 	finish the pending cmd for KDUMP case.
229127ce971Sbo yang
230f28cd7cfSbo yang1 Release Date    : Thur. Nov. 07 16:30:43 PST 2007 -
231f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
232f28cd7cfSbo yang			Sumant Patro
233f28cd7cfSbo yang			Bo Yang
234f28cd7cfSbo yang
235f28cd7cfSbo yang2 Current Version : 00.00.03.16
236f28cd7cfSbo yang3 Older Version   : 00.00.03.15
237f28cd7cfSbo yang
238f28cd7cfSbo yang1. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
239f28cd7cfSbo yang	a max of 60 seconds to respond to the INIT cmd.
240f28cd7cfSbo yang
241f28cd7cfSbo yang1 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
242f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
243f28cd7cfSbo yang			Sumant Patro
244f28cd7cfSbo yang			Bo Yang
245f28cd7cfSbo yang
246f28cd7cfSbo yang2 Current Version : 00.00.03.15
247f28cd7cfSbo yang3 Older Version   : 00.00.03.14
248f28cd7cfSbo yang
249f28cd7cfSbo yang1. Added module parameter "poll_mode_io" to support for "polling"
250f28cd7cfSbo yang	(reduced interrupt operation).  In this mode, IO completion
251f28cd7cfSbo yang	interrupts are delayed. At the end of initiating IOs, the
252f28cd7cfSbo yang	driver schedules for cmd completion if there are pending cmds
253f28cd7cfSbo yang	to be completed.  A timer-based interrupt has also been added
254f28cd7cfSbo yang	to prevent IO completion processing from being delayed
255f28cd7cfSbo yang	indefinitely in the case that no new IOs are initiated.
256f28cd7cfSbo yang
257f28cd7cfSbo yang1 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
258f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
259f28cd7cfSbo yang			Sumant Patro
260f28cd7cfSbo yang			Bo Yang
261f28cd7cfSbo yang
262f28cd7cfSbo yang2 Current Version : 00.00.03.14
263f28cd7cfSbo yang3 Older Version   : 00.00.03.13
264f28cd7cfSbo yang
265f28cd7cfSbo yang1. Setting the max_sectors_per_req based on max SGL supported by the
266f28cd7cfSbo yang	FW. Prior versions calculated this value from controller info
267f28cd7cfSbo yang	(max_sectors_1, max_sectors_2). For certain controllers/FW,
268f28cd7cfSbo yang	this was resulting in a value greater than max SGL supported
269f28cd7cfSbo yang	by the FW. Issue was first reported by users running LUKS+XFS
270f28cd7cfSbo yang	with megaraid_sas.  Thanks to RB for providing the logs and
271f28cd7cfSbo yang	duplication steps that helped to get to the root cause of the
272f28cd7cfSbo yang	issue.  2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
273f28cd7cfSbo yang	10. FW may take a max of 60 seconds to respond to the INIT
274f28cd7cfSbo yang	cmd.
275f28cd7cfSbo yang
276f28cd7cfSbo yang1 Release Date    : Fri. June. 15 16:30:43 PST 2007 -
277f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
278f28cd7cfSbo yang			Sumant Patro
279f28cd7cfSbo yang			Bo Yang
280f28cd7cfSbo yang
281f28cd7cfSbo yang2 Current Version : 00.00.03.13
282f28cd7cfSbo yang3 Older Version   : 00.00.03.12
283f28cd7cfSbo yang
284f28cd7cfSbo yang1. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
285f28cd7cfSbo yang
286f28cd7cfSbo yangOn Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
287f28cd7cfSbo yangIt looks like megaraid_sas at least needs this to throttle its commands
288f28cd7cfSbo yang> as they begin to time out.  The code keeps the existing transport
289f28cd7cfSbo yang> template use of eh_timed_out (and allows the transport to override the
290f28cd7cfSbo yang> host if they both have this callback).
291f28cd7cfSbo yang>
292f28cd7cfSbo yang> James
293f28cd7cfSbo yang
294f28cd7cfSbo yang1 Release Date    : Sat May. 12 16:30:43 PST 2007 -
295f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
296f28cd7cfSbo yang			Sumant Patro
297f28cd7cfSbo yang			Bo Yang
298f28cd7cfSbo yang
299f28cd7cfSbo yang2 Current Version : 00.00.03.12
300f28cd7cfSbo yang3 Older Version   : 00.00.03.11
301f28cd7cfSbo yang
302f28cd7cfSbo yang1.  When MegaSAS driver receives reset call from OS, driver waits in reset
303f28cd7cfSbo yangroutine for max 3 minutes for all pending command completion. Now driver will
304f28cd7cfSbo yangcall completion routine every 5 seconds from the reset routine instead of
305f28cd7cfSbo yangwaiting for depending on cmd completion from isr path.
306f28cd7cfSbo yang
307f28cd7cfSbo yang1 Release Date    : Mon Apr. 30 10:25:52 PST 2007 -
308f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
309f28cd7cfSbo yang			Sumant Patro
310f28cd7cfSbo yang			Bo Yang
311f28cd7cfSbo yang
312f28cd7cfSbo yang2 Current Version : 00.00.03.11
313f28cd7cfSbo yang3 Older Version   : 00.00.03.09
314f28cd7cfSbo yang
315f28cd7cfSbo yang	1. Memory Manager for IOCTL removed for 2.6 kernels.
316f28cd7cfSbo yang	   pci_alloc_consistent replaced by dma_alloc_coherent. With this
317f28cd7cfSbo yang	   change there is no need of memory manager in the driver code
318f28cd7cfSbo yang
319f28cd7cfSbo yang	On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
320f28cd7cfSbo yang	> I suspect all this horror is due to stupidity in the DMA API.
321f28cd7cfSbo yang	>
322f28cd7cfSbo yang	> pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
323f28cd7cfSbo yang	> the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
324f28cd7cfSbo yang	> to use GFP_KERNEL.
325f28cd7cfSbo yang	>
326f28cd7cfSbo yang	> I bet this fixes it
327f28cd7cfSbo yang
328f28cd7cfSbo yang	It does, but the DMA API was expanded to cope with this exact case, so
329f28cd7cfSbo yang	use dma_alloc_coherent() directly in the megaraid code instead.  The dev
330f28cd7cfSbo yang	is just &pci_dev->dev.
331f28cd7cfSbo yang
332f28cd7cfSbo yang	James <James.Bottomley@SteelEye.com>
333f28cd7cfSbo yang
334f28cd7cfSbo yang	3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
335f28cd7cfSbo yang	4. Hibernation support added
336f28cd7cfSbo yang	5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
337f28cd7cfSbo yang
338f28cd7cfSbo yang1 Release Date    : Fri Feb. 09 14:36:28 PST 2007 -
339f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
340f28cd7cfSbo yang			Sumant Patro
341f28cd7cfSbo yang			Bo Yang
342f28cd7cfSbo yang
343f28cd7cfSbo yang2 Current Version : 00.00.03.09
344f28cd7cfSbo yang3 Older Version   : 00.00.03.08
345f28cd7cfSbo yang
346f28cd7cfSbo yangi.	Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
347f28cd7cfSbo yang
348f28cd7cfSbo yang	The driver now waits for 10 seconds to elapse instead of 5 (as in
349f28cd7cfSbo yang	previous release) to resume IO.
350f28cd7cfSbo yang
351f28cd7cfSbo yang1 Release Date    : Mon Feb. 05 11:35:24 PST 2007 -
352f28cd7cfSbo yang			(emaild-id:megaraidlinux@lsi.com)
353f28cd7cfSbo yang			Sumant Patro
354f28cd7cfSbo yang			Bo Yang
355f28cd7cfSbo yang2 Current Version : 00.00.03.08
356f28cd7cfSbo yang3 Older Version   : 00.00.03.07
357f28cd7cfSbo yang
358f28cd7cfSbo yangi.	Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
359f28cd7cfSbo yang
360f28cd7cfSbo yang	Fix:	The driver is now throttling IO.
361f28cd7cfSbo yang	Checks added in megasas_queue_command to know if FW is able to
362f28cd7cfSbo yang	process commands within timeout period. If number of retries
363f28cd7cfSbo yang	is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
364f28cd7cfSbo yang	resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
365f28cd7cfSbo yang	from the time cmds were last sent to FW.
366f28cd7cfSbo yang
367f28cd7cfSbo yangii.	FW enables WCE bit in Mode Sense cmd for drives that are configured
368f28cd7cfSbo yang	as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
369f28cd7cfSbo yang	Disks are exposed with WCE=1. User is advised to enable Write Back
370f28cd7cfSbo yang	mode only when the controller has battery backup. At this time
371f28cd7cfSbo yang	Synhronize cache is not supported by the FW. Driver will short-cycle
372af901ca1SAndré Goddard Rosa	the cmd and return success without sending down to FW.
373f28cd7cfSbo yang
374f28cd7cfSbo yang1 Release Date    : Sun Jan. 14 11:21:32 PDT 2007 -
375f28cd7cfSbo yang		 Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
376f28cd7cfSbo yang2 Current Version : 00.00.03.07
377f28cd7cfSbo yang3 Older Version   : 00.00.03.06
378f28cd7cfSbo yang
379f28cd7cfSbo yangi.	bios_param entry added in scsi_host_template that returns disk geometry
380f28cd7cfSbo yang	information.
381f28cd7cfSbo yang
382f28cd7cfSbo yang1 Release Date    : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
383f28cd7cfSbo yang2 Current Version : 00.00.03.06
384f28cd7cfSbo yang3 Older Version   : 00.00.03.05
385f28cd7cfSbo yang
386f28cd7cfSbo yang1. 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.
387f28cd7cfSbo yang2. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
388f28cd7cfSbo yang   (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
389e4a082c7SSumant Patro
3902a3681e5SSumant Patro1 Release Date    : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
3912a3681e5SSumant Patro2 Current Version : 00.00.03.05
3922a3681e5SSumant Patro3 Older Version   : 00.00.03.04
3932a3681e5SSumant Patro
3942a3681e5SSumant Patroi.	PCI_DEVICE macro used
3952a3681e5SSumant Patro
3962a3681e5SSumant Patro	Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
3972a3681e5SSumant Patro
3982a3681e5SSumant Patro		- Henrik Kretzschmar <henne@nachtwindheim.de>
3992a3681e5SSumant Patroii.	All compiler warnings removed
4002a3681e5SSumant Patroiii.	megasas_ctrl_info struct reverted to 3.02 release
4012a3681e5SSumant Patroiv.	Default value of megasas_dbg_lvl set to 0
4022a3681e5SSumant Patrov.	Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
4032a3681e5SSumant Patrovi.	In megasas_teardown_frame_pool(), cmd->frame was passed instead of
4042a3681e5SSumant Patro	cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
4052a3681e5SSumant Patro	Eric Sesterhenn
4062a3681e5SSumant Patro
4072a3681e5SSumant Patro1 Release Date    : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4082a3681e5SSumant Patro2 Current Version : 00.00.03.04
4092a3681e5SSumant Patro3 Older Version   : 00.00.03.03
4102a3681e5SSumant Patro
4112a3681e5SSumant Patroi.	Added Reboot notify
4122a3681e5SSumant Patroii.	Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
4132a3681e5SSumant Patro	as Max Cmds FW can support
4142a3681e5SSumant Patro
4152a3681e5SSumant Patro1 Release Date    : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4162a3681e5SSumant Patro2 Current Version : 00.00.03.03
4172a3681e5SSumant Patro3 Older Version   : 00.00.03.02
4182a3681e5SSumant Patro
4192a3681e5SSumant Patroi.	Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
4202a3681e5SSumant Patro	New varible added to set dbg level.
4212a3681e5SSumant Patroii.	Disable interrupt made as fn pointer as they are different for 1068 / 1078
4222a3681e5SSumant Patroiii.	Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
4232a3681e5SSumant Patro	3 SGE for 32 bit SGL
4242a3681e5SSumant Patroiv.	Tasklet added for cmd completion
4252a3681e5SSumant Patrov.	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.
4262a3681e5SSumant Patrovi.	megasas_ctrl_prop structure updated (based on FW struct)
4272a3681e5SSumant Patrovii.	Added print : FW now in Ready State during initialization
4282a3681e5SSumant Patro
4292a3681e5SSumant Patro1 Release Date    : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4302a3681e5SSumant Patro2 Current Version : 00.00.03.02
4312a3681e5SSumant Patro3 Older Version   : 00.00.03.01
4322a3681e5SSumant Patro
4332a3681e5SSumant Patroi.	Added FW tranistion state for Hotplug scenario
4342a3681e5SSumant Patro
4350e98936cSSumant Patro1 Release Date    : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4360e98936cSSumant Patro2 Current Version : 00.00.03.01
4370e98936cSSumant Patro3 Older Version   : 00.00.02.04
4380e98936cSSumant Patro
4390e98936cSSumant Patroi.	Added support for ZCR controller.
4400e98936cSSumant Patro
4410e98936cSSumant Patro		New device id 0x413 added.
4420e98936cSSumant Patro
4430e98936cSSumant Patroii.	Bug fix : Disable controller interrupt before firing INIT cmd to FW.
4440e98936cSSumant Patro
4450e98936cSSumant Patro		Interrupt is enabled after required initialization is over.
4460e98936cSSumant Patro		This is done to ensure that driver is ready to handle interrupts when
4470e98936cSSumant Patro		it is generated by the controller.
4480e98936cSSumant Patro
4490e98936cSSumant Patro		-Sumant Patro <Sumant.Patro@lsil.com>
4500e98936cSSumant Patro
451e4a082c7SSumant Patro1 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
452e4a082c7SSumant Patro2 Current Version : 00.00.02.04
453e4a082c7SSumant Patro3 Older Version   : 00.00.02.04
454e4a082c7SSumant Patro
455e4a082c7SSumant Patroi.	Remove superflous instance_lock
456e4a082c7SSumant Patro
457e4a082c7SSumant Patro	gets rid of the otherwise superflous instance_lock and avoids an unsave
458e4a082c7SSumant Patro	unsynchronized access in the error handler.
459e4a082c7SSumant Patro
460e4a082c7SSumant Patro		- Christoph Hellwig <hch@lst.de>
461e4a082c7SSumant Patro
462e4a082c7SSumant Patro
463f9876f0bSSumant Patro1 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
464f9876f0bSSumant Patro2 Current Version : 00.00.02.04
465f9876f0bSSumant Patro3 Older Version   : 00.00.02.04
466f9876f0bSSumant Patro
467f9876f0bSSumant Patroi.	Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
468f9876f0bSSumant Patro	During initialization, depending on the device id, the template members
469f9876f0bSSumant Patro	are initialized with function pointers specific to the ppc or
470f9876f0bSSumant Patro	xscale controllers.
471f9876f0bSSumant Patro
472f9876f0bSSumant Patro		-Sumant Patro <Sumant.Patro@lsil.com>
473f9876f0bSSumant Patro
474122da302SJoshua Giles1 Release Date    : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro
475122da302SJoshua Giles							<Sumant.Patro@lsil.com>
476122da302SJoshua Giles2 Current Version : 00.00.02.04
477122da302SJoshua Giles3 Older Version   : 00.00.02.02
478122da302SJoshua Gilesi.	Register 16 byte CDB capability with scsi midlayer
479122da302SJoshua Giles
480122da302SJoshua Giles	"Ths patch properly registers the 16 byte command length capability of the
481122da302SJoshua Giles	megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas
482122da302SJoshua Giles	hardware supports 16 byte CDB's."
483122da302SJoshua Giles
484122da302SJoshua Giles		-Joshua Giles <joshua_giles@dell.com>
485122da302SJoshua Giles
4861341c939SSumant Patro1 Release Date    : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4871341c939SSumant Patro2 Current Version : 00.00.02.02
4881341c939SSumant Patro3 Older Version   : 00.00.02.01
4891341c939SSumant Patro
4901341c939SSumant Patroi.	New template defined to represent each family of controllers (identified by processor used).
4911341c939SSumant Patro	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.
4921341c939SSumant Patro
4931341c939SSumant Patro		-Sumant Patro <Sumant.Patro@lsil.com>
4941341c939SSumant Patro
495cb59aa6aSSumant Patro1 Release Date    : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
496cb59aa6aSSumant Patro2 Current Version : 00.00.02.00-rc4
497cb59aa6aSSumant Patro3 Older Version   : 00.00.02.01
498cb59aa6aSSumant Patro
499cb59aa6aSSumant Patroi.	Code reorganized to remove code duplication in megasas_build_cmd.
500cb59aa6aSSumant Patro
501cb59aa6aSSumant Patro	"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"
502cb59aa6aSSumant Patro
503cb59aa6aSSumant Patro		- Christoph Hellwig <hch@lst.de>
504cb59aa6aSSumant Patro
505cb59aa6aSSumant Patroii.	Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
506cb59aa6aSSumant Patro
507cb59aa6aSSumant Patro	"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"
508cb59aa6aSSumant Patro
509cb59aa6aSSumant Patro		- Christoph Hellwig <hch@lst.de>
510