xref: /linux/Documentation/scsi/ChangeLog.megaraid_sas (revision 4413e16d9d21673bb5048a2e542f1aaa00015c2e)
1Release Date    : Mon. Mar 19, 2012 17:00:00 PST 2012 -
2			(emaild-id:megaraidlinux@lsi.com)
3			Adam Radford
4Current Version : 00.00.06.15-rc1
5Old Version     : 00.00.06.14-rc1
6    1. Optimize HostMSIxVectors setting.
7    2. Add fpRead/WriteCapable, fpRead/WriteAcrossStripe checks.
8-------------------------------------------------------------------------------
9Release Date    : Fri. Jan 6, 2012 17:00:00 PST 2010 -
10			(emaild-id:megaraidlinux@lsi.com)
11			Adam Radford
12Current Version : 00.00.06.14-rc1
13Old Version     : 00.00.06.12-rc1
14    1. Fix reglockFlags for degraded raid5/6 for MR 9360/9380.
15    2. Mask off flags in ioctl path to prevent memory scribble with older
16       MegaCLI versions.
17    3. Remove poll_mode_io module paramater, sysfs node, and associated code.
18-------------------------------------------------------------------------------
19Release Date    : Wed. Oct 5, 2011 17:00:00 PST 2010 -
20			(emaild-id:megaraidlinux@lsi.com)
21			Adam Radford
22Current Version : 00.00.06.12-rc1
23Old Version     : 00.00.05.40-rc1
24    1. Continue booting immediately if FW in FAULT at driver load time.
25    2. Increase default cmds per lun to 256.
26    3. Fix mismatch in megasas_reset_fusion() mutex lock-unlock.
27    4. Remove some un-necessary code.
28    5. Clear state change interrupts for Fusion/Invader.
29    6. Clear FUSION_IN_RESET before enabling interrupts.
30    7. Add support for MegaRAID 9360/9380 12GB/s controllers.
31    8. Add multiple MSI-X vector/multiple reply queue support.
32    9. Add driver workaround for PERC5/1068 kdump kernel panic.
33-------------------------------------------------------------------------------
34Release Date    : Tue. Jul 26, 2011 17:00:00 PST 2010 -
35			(emaild-id:megaraidlinux@lsi.com)
36			Adam Radford
37Current Version : 00.00.05.40-rc1
38Old Version     : 00.00.05.38-rc1
39    1. Fix FastPath I/O to work with degraded RAID 1.
40    2. Add .change_queue_depth support.
41-------------------------------------------------------------------------------
42Release Date    : Wed. May 11, 2011 17:00:00 PST 2010 -
43			(emaild-id:megaraidlinux@lsi.com)
44			Adam Radford
45Current Version : 00.00.05.38-rc1
46Old Version     : 00.00.05.34-rc1
47    1. Remove MSI-X black list, use MFI_REG_STATE.ready.msiEnable.
48    2. Remove un-used function megasas_return_cmd_for_smid().
49    3. Check MFI_REG_STATE.fault.resetAdapter in megasas_reset_fusion().
50    4. Disable interrupts/free_irq() in megasas_shutdown().
51    5. Fix bug where AENs could be lost in probe() and resume().
52    6. Convert 6,10,12 byte CDB's to 16 byte CDB for large LBA's for FastPath
53       IO.
54    7. Add 1078 OCR support.
55-------------------------------------------------------------------------------
56Release Date    : Thu. Feb 24, 2011 17:00:00 PST 2010 -
57			(emaild-id:megaraidlinux@lsi.com)
58			Adam Radford
59Current Version : 00.00.05.34-rc1
60Old Version     : 00.00.05.29-rc1
61    1. Fix some failure gotos from megasas_probe_one(), etc.
62    2. Add missing check_and_restore_queue_depth() call in
63       complete_cmd_fusion().
64    3. Enable MSI-X before calling megasas_init_fw().
65    4. Call tasklet_schedule() even if outbound_intr_status == 0 for MFI based
66       boards in MSI-X mode.
67    5. Fix megasas_probe_one() to clear PCI_MSIX_FLAGS_ENABLE in msi control
68       register in kdump kernel.
69    6. Fix megasas_get_cmd() to only print "Command pool empty" if
70       megasas_dbg_lvl is set.
71    7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK.
72    8. Fix megasas_build_dcdb_fusion() to use io_request->LUN[1] field.
73    9. Add MR_EVT_CFG_CLEARED to megasas_aen_polling().
74    10. Fix tasklet_init() in megasas_init_fw() to use instancet->tasklet.
75    11. Fix fault state handling in megasas_transition_to_ready().
76    12. Fix max_sectors setting for IEEE SGL's.
77    13. Fix iMR OCR support to work correctly.
78-------------------------------------------------------------------------------
79Release Date    : Tues.  Dec 14, 2010 17:00:00 PST 2010 -
80			(emaild-id:megaraidlinux@lsi.com)
81			Adam Radford
82Current Version : 00.00.05.29-rc1
83Old Version     : 00.00.04.31-rc1
84    1. Rename megaraid_sas.c to megaraid_sas_base.c.
85    2. Update GPL headers.
86    3. Add MSI-X support and 'msix_disable' module parameter.
87    4. Use lowest memory bar (for SR-IOV VF support).
88    5. Add struct megasas_instance_temlate changes, and change all code to use
89       new instance entries:
90
91       irqreturn_t (*service_isr )(int irq, void *devp);
92       void (*tasklet)(unsigned long);
93       u32 (*init_adapter)(struct megasas_instance *);
94       u32 (*build_and_issue_cmd) (struct megasas_instance *,
95       struct scsi_cmnd *);
96       void (*issue_dcmd) (struct megasas_instance *instance,
97                              struct megasas_cmd *cmd);
98
99   6. Add code to support MegaRAID 9265/9285 controllers device id (0x5b).
100-------------------------------------------------------------------------------
1011 Release Date    : Thur.  May 03, 2010 09:12:45 PST 2009 -
102			(emaild-id:megaraidlinux@lsi.com)
103			Bo Yang
104
1052 Current Version : 00.00.04.31-rc1
1063 Older Version   : 00.00.04.17.1-rc1
107
1081.	Add the Online Controller Reset (OCR) to the Driver.
109	OCR is the new feature for megaraid_sas driver which
110	will allow the fw to do the chip reset which will not
111	affact the OS behavious.
112
113	To add the OCR support, driver need to do:
114		a). reset the controller chips -- Xscale and Gen2 which
115		will change the function calls and add the reset function
116		related to this two chips.
117
118		b). during the reset, driver will store the pending cmds
119		which not returned by FW to driver's pending queue.  Driver
120		will re-issue those pending cmds again to FW after the OCR
121		finished.
122
123		c). In driver's timeout routine, driver will report to
124		OS as reset. Also driver's queue routine will block the
125		cmds until the OCR finished.
126
127		d). in Driver's ISR routine, if driver get the FW state as
128		state change, FW in Failure status and FW support online controller
129		reset (OCR), driver will start to do the controller reset.
130
131		e). In driver's IOCTL routine, the application cmds will wait for the
132		OCR to finish, then issue the cmds to FW.
133
134		f). Before driver kill adapter, driver will do last chance of
135		OCR to see if driver can bring back the FW.
136
1372.	Add the support update flag to the driver to tell LSI megaraid_sas
138	application which driver will support the device update.  So application
139	will not need to do the device update after application add/del the device
140	from the system.
1413.	In driver's timeout routine, driver will do three time reset if fw is in
142	failed state.  Driver will kill adapter if can't bring back FW after the
143	this three times reset.
1444.	Add the input parameter max_sectors to 1MB support to our GEN2 controller.
145	customer can use the input paramenter max_sectors to add 1MB support to GEN2
146	controller.
147
1481 Release Date    : Thur.  Oct 29, 2009 09:12:45 PST 2009 -
149			(emaild-id:megaraidlinux@lsi.com)
150			Bo Yang
151
1522 Current Version : 00.00.04.17.1-rc1
1533 Older Version   : 00.00.04.12
154
1551.	Add the pad_0 in mfi frame structure to 0 to fix the
156	context value larger than 32bit value issue.
157
1582.	Add the logic drive list to the driver.  Driver will
159	keep the logic drive list internal after driver load.
160
1613.	driver fixed the device update issue after get the AEN
162	PD delete/ADD, LD add/delete from FW.
163
1641 Release Date    : Tues.  July 28, 2009 10:12:45 PST 2009 -
165			(emaild-id:megaraidlinux@lsi.com)
166			Bo Yang
167
1682 Current Version : 00.00.04.12
1693 Older Version   : 00.00.04.10
170
1711.	Change the AEN sys PD update from scsi_scan to
172	scsi_add_device and scsi_remove_device.
1732.	Takeoff the debug print-out in aen_polling routine.
174
1751 Release Date    : Thur.  July 02, 2009 10:12:45 PST 2009 -
176			(emaild-id:megaraidlinux@lsi.com)
177			Bo Yang
178
1792 Current Version : 00.00.04.10
1803 Older Version   : 00.00.04.08
181
1821.	Add the 3 mins timeout during the controller initialize.
1832.	Add the fix for 64bit sense date errors.
184
1851 Release Date    : Tues. May 05, 2009 10:12:45 PST 2009 -
186			(emaild-id:megaraidlinux@lsi.com)
187			Bo Yang
188
1892 Current Version : 00.00.04.08
1903 Older Version   : 00.00.04.06
191
1921.	Add the fix of pending in FW after deleted the logic drives.
1932.	Add the fix of deallocating memory after get pdlist.
194
1951 Release Date    : Tues. March 26, 2009 10:12:45 PST 2009 -
196			(emaild-id:megaraidlinux@lsi.com)
197			Bo Yang
198
1992 Current Version : 00.00.04.06
2003 Older Version   : 00.00.04.04
201
2021.	Add the fix of the driver cmd empty fix of the driver cmd empty.
2032.	Add the fix of the driver MSM AEN CMD cause the system slow.
204
2051 Release Date    : Tues. March 03, 2009 10:12:45 PST 2009 -
206			(emaild-id:megaraidlinux@lsi.com)
207			Bo Yang
208
2092 Current Version : 00.00.04.04
2103 Older Version   : 00.00.04.01
211
2121.	Add the Tape drive fix to the driver: If the command is for
213	the tape device, set the pthru timeout to the os layer timeout value.
214
2152.	Add Poll_wait mechanism to Gen-2 Linux driv.
216		In the aen handler, driver needs to wakeup poll handler similar to
217		the way it raises SIGIO.
218
2193.	Add new controller new SAS2 support to the driver.
220
2214.	Report the unconfigured PD (system PD) to OS.
222
2235.	Add the IEEE SGL support to the driver
224
2256.	Reasign the Application cmds to SAS2 controller
226
2271 Release Date    : Thur.July. 24 11:41:51 PST 2008 -
228                       (emaild-id:megaraidlinux@lsi.com)
229                       Sumant Patro
230                       Bo Yang
231
2322 Current Version : 00.00.04.01
2333 Older Version   : 00.00.03.22
234
2351. Add the new controller (0078, 0079) support to the driver
236       Those controllers are LSI's next generatation(gen2) SAS controllers.
237
2381 Release Date    : Mon.June. 23 10:12:45 PST 2008 -
239                       (emaild-id:megaraidlinux@lsi.com)
240                       Sumant Patro
241                       Bo Yang
242
2432 Current Version : 00.00.03.22
2443 Older Version   : 00.00.03.20
245
2461. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper.
2472. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue.
248
2491 Release Date    : Mon. March 10 11:02:31 PDT 2008 -
250			(emaild-id:megaraidlinux@lsi.com)
251			Sumant Patro
252			Bo Yang
253
2542 Current Version : 00.00.03.20-RC1
2553 Older Version   : 00.00.03.16
256
2571. Rollback the sense info implementation
258	Sense buffer ptr data type in the ioctl path is reverted back
259	to u32 * as in previous versions of driver.
260
2612. Fixed the driver frame count.
262	When Driver sent wrong frame count to firmware.  As this
263	particular command is sent to drive, FW is seeing continuous
264	chip resets and so the command will timeout.
265
2663. Add the new controller(1078DE) support to the driver
267	and Increase the max_wait to 60 from 10 in the controller
268	operational status.  With this max_wait increase, driver will
269	make sure the FW will 	finish the pending cmd for KDUMP case.
270
2711 Release Date    : Thur. Nov. 07 16:30:43 PST 2007 -
272			(emaild-id:megaraidlinux@lsi.com)
273			Sumant Patro
274			Bo Yang
275
2762 Current Version : 00.00.03.16
2773 Older Version   : 00.00.03.15
278
2791. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
280	a max of 60 seconds to respond to the INIT cmd.
281
2821 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
283			(emaild-id:megaraidlinux@lsi.com)
284			Sumant Patro
285			Bo Yang
286
2872 Current Version : 00.00.03.15
2883 Older Version   : 00.00.03.14
289
2901. Added module parameter "poll_mode_io" to support for "polling"
291	(reduced interrupt operation).  In this mode, IO completion
292	interrupts are delayed. At the end of initiating IOs, the
293	driver schedules for cmd completion if there are pending cmds
294	to be completed.  A timer-based interrupt has also been added
295	to prevent IO completion processing from being delayed
296	indefinitely in the case that no new IOs are initiated.
297
2981 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
299			(emaild-id:megaraidlinux@lsi.com)
300			Sumant Patro
301			Bo Yang
302
3032 Current Version : 00.00.03.14
3043 Older Version   : 00.00.03.13
305
3061. Setting the max_sectors_per_req based on max SGL supported by the
307	FW. Prior versions calculated this value from controller info
308	(max_sectors_1, max_sectors_2). For certain controllers/FW,
309	this was resulting in a value greater than max SGL supported
310	by the FW. Issue was first reported by users running LUKS+XFS
311	with megaraid_sas.  Thanks to RB for providing the logs and
312	duplication steps that helped to get to the root cause of the
313	issue.  2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
314	10. FW may take a max of 60 seconds to respond to the INIT
315	cmd.
316
3171 Release Date    : Fri. June. 15 16:30:43 PST 2007 -
318			(emaild-id:megaraidlinux@lsi.com)
319			Sumant Patro
320			Bo Yang
321
3222 Current Version : 00.00.03.13
3233 Older Version   : 00.00.03.12
324
3251. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
326
327On Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
328It looks like megaraid_sas at least needs this to throttle its commands
329> as they begin to time out.  The code keeps the existing transport
330> template use of eh_timed_out (and allows the transport to override the
331> host if they both have this callback).
332>
333> James
334
3351 Release Date    : Sat May. 12 16:30:43 PST 2007 -
336			(emaild-id:megaraidlinux@lsi.com)
337			Sumant Patro
338			Bo Yang
339
3402 Current Version : 00.00.03.12
3413 Older Version   : 00.00.03.11
342
3431.  When MegaSAS driver receives reset call from OS, driver waits in reset
344routine for max 3 minutes for all pending command completion. Now driver will
345call completion routine every 5 seconds from the reset routine instead of
346waiting for depending on cmd completion from isr path.
347
3481 Release Date    : Mon Apr. 30 10:25:52 PST 2007 -
349			(emaild-id:megaraidlinux@lsi.com)
350			Sumant Patro
351			Bo Yang
352
3532 Current Version : 00.00.03.11
3543 Older Version   : 00.00.03.09
355
356	1. Memory Manager for IOCTL removed for 2.6 kernels.
357	   pci_alloc_consistent replaced by dma_alloc_coherent. With this
358	   change there is no need of memory manager in the driver code
359
360	On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
361	> I suspect all this horror is due to stupidity in the DMA API.
362	>
363	> pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
364	> the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
365	> to use GFP_KERNEL.
366	>
367	> I bet this fixes it
368
369	It does, but the DMA API was expanded to cope with this exact case, so
370	use dma_alloc_coherent() directly in the megaraid code instead.  The dev
371	is just &pci_dev->dev.
372
373	James <James.Bottomley@SteelEye.com>
374
375	3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
376	4. Hibernation support added
377	5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
378
3791 Release Date    : Fri Feb. 09 14:36:28 PST 2007 -
380			(emaild-id:megaraidlinux@lsi.com)
381			Sumant Patro
382			Bo Yang
383
3842 Current Version : 00.00.03.09
3853 Older Version   : 00.00.03.08
386
387i.	Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
388
389	The driver now waits for 10 seconds to elapse instead of 5 (as in
390	previous release) to resume IO.
391
3921 Release Date    : Mon Feb. 05 11:35:24 PST 2007 -
393			(emaild-id:megaraidlinux@lsi.com)
394			Sumant Patro
395			Bo Yang
3962 Current Version : 00.00.03.08
3973 Older Version   : 00.00.03.07
398
399i.	Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
400
401	Fix:	The driver is now throttling IO.
402	Checks added in megasas_queue_command to know if FW is able to
403	process commands within timeout period. If number of retries
404	is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
405	resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
406	from the time cmds were last sent to FW.
407
408ii.	FW enables WCE bit in Mode Sense cmd for drives that are configured
409	as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
410	Disks are exposed with WCE=1. User is advised to enable Write Back
411	mode only when the controller has battery backup. At this time
412	Synhronize cache is not supported by the FW. Driver will short-cycle
413	the cmd and return success without sending down to FW.
414
4151 Release Date    : Sun Jan. 14 11:21:32 PDT 2007 -
416		 Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
4172 Current Version : 00.00.03.07
4183 Older Version   : 00.00.03.06
419
420i.	bios_param entry added in scsi_host_template that returns disk geometry
421	information.
422
4231 Release Date    : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
4242 Current Version : 00.00.03.06
4253 Older Version   : 00.00.03.05
426
4271. 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.
4282. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
429   (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
430
4311 Release Date    : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4322 Current Version : 00.00.03.05
4333 Older Version   : 00.00.03.04
434
435i.	PCI_DEVICE macro used
436
437	Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
438
439		- Henrik Kretzschmar <henne@nachtwindheim.de>
440ii.	All compiler warnings removed
441iii.	megasas_ctrl_info struct reverted to 3.02 release
442iv.	Default value of megasas_dbg_lvl set to 0
443v.	Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
444vi.	In megasas_teardown_frame_pool(), cmd->frame was passed instead of
445	cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
446	Eric Sesterhenn
447
4481 Release Date    : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4492 Current Version : 00.00.03.04
4503 Older Version   : 00.00.03.03
451
452i.	Added Reboot notify
453ii.	Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
454	as Max Cmds FW can support
455
4561 Release Date    : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4572 Current Version : 00.00.03.03
4583 Older Version   : 00.00.03.02
459
460i.	Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
461	New varible added to set dbg level.
462ii.	Disable interrupt made as fn pointer as they are different for 1068 / 1078
463iii.	Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
464	3 SGE for 32 bit SGL
465iv.	Tasklet added for cmd completion
466v.	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.
467vi.	megasas_ctrl_prop structure updated (based on FW struct)
468vii.	Added print : FW now in Ready State during initialization
469
4701 Release Date    : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4712 Current Version : 00.00.03.02
4723 Older Version   : 00.00.03.01
473
474i.	Added FW tranistion state for Hotplug scenario
475
4761 Release Date    : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4772 Current Version : 00.00.03.01
4783 Older Version   : 00.00.02.04
479
480i.	Added support for ZCR controller.
481
482		New device id 0x413 added.
483
484ii.	Bug fix : Disable controller interrupt before firing INIT cmd to FW.
485
486		Interrupt is enabled after required initialization is over.
487		This is done to ensure that driver is ready to handle interrupts when
488		it is generated by the controller.
489
490		-Sumant Patro <Sumant.Patro@lsil.com>
491
4921 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
4932 Current Version : 00.00.02.04
4943 Older Version   : 00.00.02.04
495
496i.	Remove superflous instance_lock
497
498	gets rid of the otherwise superflous instance_lock and avoids an unsave
499	unsynchronized access in the error handler.
500
501		- Christoph Hellwig <hch@lst.de>
502
503
5041 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
5052 Current Version : 00.00.02.04
5063 Older Version   : 00.00.02.04
507
508i.	Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
509	During initialization, depending on the device id, the template members
510	are initialized with function pointers specific to the ppc or
511	xscale controllers.
512
513		-Sumant Patro <Sumant.Patro@lsil.com>
514
5151 Release Date    : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro
516							<Sumant.Patro@lsil.com>
5172 Current Version : 00.00.02.04
5183 Older Version   : 00.00.02.02
519i.	Register 16 byte CDB capability with scsi midlayer
520
521	"This patch properly registers the 16 byte command length capability of the
522	megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas
523	hardware supports 16 byte CDB's."
524
525		-Joshua Giles <joshua_giles@dell.com>
526
5271 Release Date    : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
5282 Current Version : 00.00.02.02
5293 Older Version   : 00.00.02.01
530
531i.	New template defined to represent each family of controllers (identified by processor used).
532	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.
533
534		-Sumant Patro <Sumant.Patro@lsil.com>
535
5361 Release Date    : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
5372 Current Version : 00.00.02.00-rc4
5383 Older Version   : 00.00.02.01
539
540i.	Code reorganized to remove code duplication in megasas_build_cmd.
541
542	"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"
543
544		- Christoph Hellwig <hch@lst.de>
545
546ii.	Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
547
548	"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"
549
550		- Christoph Hellwig <hch@lst.de>
551