linux/Documentation/scsi/ChangeLog.megaraid_sas
<<
>>
Prefs
   1
   21 Release Date    : Thur.July. 24 11:41:51 PST 2008 -
   3                       (emaild-id:megaraidlinux@lsi.com)
   4                       Sumant Patro
   5                       Bo Yang
   6
   72 Current Version : 00.00.04.01
   83 Older Version   : 00.00.03.22
   9
  101. Add the new controller (0078, 0079) support to the driver
  11       Those controllers are LSI's next generatation(gen2) SAS controllers.
  12
  131 Release Date    : Mon.June. 23 10:12:45 PST 2008 -
  14                       (emaild-id:megaraidlinux@lsi.com)
  15                       Sumant Patro
  16                       Bo Yang
  17
  182 Current Version : 00.00.03.22
  193 Older Version   : 00.00.03.20
  20
  211. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper.
  222. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue.
  23
  241 Release Date    : Mon. March 10 11:02:31 PDT 2008 -
  25                        (emaild-id:megaraidlinux@lsi.com)
  26                        Sumant Patro
  27                        Bo Yang
  28
  292 Current Version : 00.00.03.20-RC1
  303 Older Version   : 00.00.03.16
  31
  321. Rollback the sense info implementation
  33        Sense buffer ptr data type in the ioctl path is reverted back
  34        to u32 * as in previous versions of driver.
  35
  362. Fixed the driver frame count.
  37        When Driver sent wrong frame count to firmware.  As this
  38        particular command is sent to drive, FW is seeing continuous
  39        chip resets and so the command will timeout.
  40
  413. Add the new controller(1078DE) support to the driver
  42        and Increase the max_wait to 60 from 10 in the controller
  43        operational status.  With this max_wait increase, driver will
  44        make sure the FW will   finish the pending cmd for KDUMP case.
  45
  461 Release Date    : Thur. Nov. 07 16:30:43 PST 2007 -
  47                        (emaild-id:megaraidlinux@lsi.com)
  48                        Sumant Patro
  49                        Bo Yang
  50
  512 Current Version : 00.00.03.16
  523 Older Version   : 00.00.03.15
  53
  541. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take
  55        a max of 60 seconds to respond to the INIT cmd.
  56
  571 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
  58                        (emaild-id:megaraidlinux@lsi.com)
  59                        Sumant Patro
  60                        Bo Yang
  61
  622 Current Version : 00.00.03.15
  633 Older Version   : 00.00.03.14
  64
  651. Added module parameter "poll_mode_io" to support for "polling"
  66        (reduced interrupt operation).  In this mode, IO completion
  67        interrupts are delayed. At the end of initiating IOs, the
  68        driver schedules for cmd completion if there are pending cmds
  69        to be completed.  A timer-based interrupt has also been added
  70        to prevent IO completion processing from being delayed
  71        indefinitely in the case that no new IOs are initiated.
  72
  731 Release Date    : Fri. Sep. 07 16:30:43 PST 2007 -
  74                        (emaild-id:megaraidlinux@lsi.com)
  75                        Sumant Patro
  76                        Bo Yang
  77
  782 Current Version : 00.00.03.14
  793 Older Version   : 00.00.03.13
  80
  811. Setting the max_sectors_per_req based on max SGL supported by the
  82        FW. Prior versions calculated this value from controller info
  83        (max_sectors_1, max_sectors_2). For certain controllers/FW,
  84        this was resulting in a value greater than max SGL supported
  85        by the FW. Issue was first reported by users running LUKS+XFS
  86        with megaraid_sas.  Thanks to RB for providing the logs and
  87        duplication steps that helped to get to the root cause of the
  88        issue.  2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from
  89        10. FW may take a max of 60 seconds to respond to the INIT
  90        cmd.
  91
  921 Release Date    : Fri. June. 15 16:30:43 PST 2007 -
  93                        (emaild-id:megaraidlinux@lsi.com)
  94                        Sumant Patro
  95                        Bo Yang
  96
  972 Current Version : 00.00.03.13
  983 Older Version   : 00.00.03.12
  99
 1001. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io.
 101
 102On Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote:
 103It looks like megaraid_sas at least needs this to throttle its commands
 104> as they begin to time out.  The code keeps the existing transport
 105> template use of eh_timed_out (and allows the transport to override the
 106> host if they both have this callback).
 107>
 108> James
 109
 1101 Release Date    : Sat May. 12 16:30:43 PST 2007 -
 111                        (emaild-id:megaraidlinux@lsi.com)
 112                        Sumant Patro
 113                        Bo Yang
 114
 1152 Current Version : 00.00.03.12
 1163 Older Version   : 00.00.03.11
 117
 1181.  When MegaSAS driver receives reset call from OS, driver waits in reset
 119routine for max 3 minutes for all pending command completion. Now driver will
 120call completion routine every 5 seconds from the reset routine instead of
 121waiting for depending on cmd completion from isr path.
 122
 1231 Release Date    : Mon Apr. 30 10:25:52 PST 2007 -
 124                        (emaild-id:megaraidlinux@lsi.com)
 125                        Sumant Patro
 126                        Bo Yang
 127
 1282 Current Version : 00.00.03.11
 1293 Older Version   : 00.00.03.09
 130
 131        1. Memory Manager for IOCTL removed for 2.6 kernels.
 132           pci_alloc_consistent replaced by dma_alloc_coherent. With this
 133           change there is no need of memory manager in the driver code
 134
 135        On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote:
 136        > I suspect all this horror is due to stupidity in the DMA API.
 137        >
 138        > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas
 139        > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy
 140        > to use GFP_KERNEL.
 141        >
 142        > I bet this fixes it
 143
 144        It does, but the DMA API was expanded to cope with this exact case, so
 145        use dma_alloc_coherent() directly in the megaraid code instead.  The dev
 146        is just &pci_dev->dev.
 147
 148        James <James.Bottomley@SteelEye.com>
 149
 150        3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
 151        4. Hibernation support added
 152        5. Performing diskdump while running IO in RHEL 4 was failing. Fixed.
 153
 1541 Release Date    : Fri Feb. 09 14:36:28 PST 2007 -
 155                        (emaild-id:megaraidlinux@lsi.com)
 156                        Sumant Patro
 157                        Bo Yang
 158
 1592 Current Version : 00.00.03.09
 1603 Older Version   : 00.00.03.08
 161
 162i.      Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
 163
 164        The driver now waits for 10 seconds to elapse instead of 5 (as in
 165        previous release) to resume IO.
 166
 1671 Release Date    : Mon Feb. 05 11:35:24 PST 2007 -
 168                        (emaild-id:megaraidlinux@lsi.com)
 169                        Sumant Patro
 170                        Bo Yang
 1712 Current Version : 00.00.03.08
 1723 Older Version   : 00.00.03.07
 173
 174i.      Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors
 175
 176        Fix:    The driver is now throttling IO.
 177        Checks added in megasas_queue_command to know if FW is able to
 178        process commands within timeout period. If number of retries
 179        is 2 or greater,the driver stops sending cmd to FW temporarily. IO is
 180        resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
 181        from the time cmds were last sent to FW.
 182
 183ii.     FW enables WCE bit in Mode Sense cmd for drives that are configured
 184        as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
 185        Disks are exposed with WCE=1. User is advised to enable Write Back
 186        mode only when the controller has battery backup. At this time
 187        Synhronize cache is not supported by the FW. Driver will short-cycle
 188        the cmd and return sucess without sending down to FW.
 189
 1901 Release Date    : Sun Jan. 14 11:21:32 PDT 2007 -
 191                 Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
 1922 Current Version : 00.00.03.07
 1933 Older Version   : 00.00.03.06
 194
 195i.      bios_param entry added in scsi_host_template that returns disk geometry
 196        information.
 197
 1981 Release Date    : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang
 1992 Current Version : 00.00.03.06
 2003 Older Version   : 00.00.03.05
 201
 2021. 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.
 2032. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead
 204   (hw_crit_error=1). If hw_crit_error==1, now we donot accept any processing of pending cmds/accept any cmd from OS
 205
 2061 Release Date    : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2072 Current Version : 00.00.03.05
 2083 Older Version   : 00.00.03.04
 209
 210i.      PCI_DEVICE macro used
 211
 212        Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines.
 213
 214                - Henrik Kretzschmar <henne@nachtwindheim.de>
 215ii.     All compiler warnings removed
 216iii.    megasas_ctrl_info struct reverted to 3.02 release
 217iv.     Default value of megasas_dbg_lvl set to 0
 218v.      Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl
 219vi.     In megasas_teardown_frame_pool(), cmd->frame was passed instead of
 220        cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
 221        Eric Sesterhenn
 222
 2231 Release Date    : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2242 Current Version : 00.00.03.04
 2253 Older Version   : 00.00.03.03
 226
 227i.      Added Reboot notify
 228ii.     Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
 229        as Max Cmds FW can support
 230
 2311 Release Date    : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2322 Current Version : 00.00.03.03
 2333 Older Version   : 00.00.03.02
 234
 235i.      Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
 236        New varible added to set dbg level.
 237ii.     Disable interrupt made as fn pointer as they are different for 1068 / 1078
 238iii.    Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
 239        3 SGE for 32 bit SGL
 240iv.     Tasklet added for cmd completion
 241v.      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.
 242vi.     megasas_ctrl_prop structure updated (based on FW struct)
 243vii.    Added print : FW now in Ready State during initialization
 244
 2451 Release Date    : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2462 Current Version : 00.00.03.02
 2473 Older Version   : 00.00.03.01
 248
 249i.      Added FW tranistion state for Hotplug scenario
 250
 2511 Release Date    : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2522 Current Version : 00.00.03.01
 2533 Older Version   : 00.00.02.04
 254
 255i.      Added support for ZCR controller.
 256
 257                New device id 0x413 added.
 258
 259ii.     Bug fix : Disable controller interrupt before firing INIT cmd to FW.
 260
 261                Interrupt is enabled after required initialization is over.
 262                This is done to ensure that driver is ready to handle interrupts when
 263                it is generated by the controller.
 264
 265                -Sumant Patro <Sumant.Patro@lsil.com>
 266
 2671 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2682 Current Version : 00.00.02.04
 2693 Older Version   : 00.00.02.04 
 270
 271i.      Remove superflous instance_lock
 272
 273        gets rid of the otherwise superflous instance_lock and avoids an unsave 
 274        unsynchronized access in the error handler.
 275
 276                - Christoph Hellwig <hch@lst.de>
 277
 278
 2791 Release Date    : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 2802 Current Version : 00.00.02.04
 2813 Older Version   : 00.00.02.04 
 282
 283i.      Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
 284        During initialization, depending on the device id, the template members 
 285        are initialized with function pointers specific to the ppc or 
 286        xscale controllers.  
 287
 288                -Sumant Patro <Sumant.Patro@lsil.com>
 289                
 2901 Release Date    : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro 
 291                                                        <Sumant.Patro@lsil.com>
 2922 Current Version : 00.00.02.04
 2933 Older Version   : 00.00.02.02 
 294i.      Register 16 byte CDB capability with scsi midlayer 
 295
 296        "Ths patch properly registers the 16 byte command length capability of the 
 297        megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas 
 298        hardware supports 16 byte CDB's."
 299
 300                -Joshua Giles <joshua_giles@dell.com> 
 301
 3021 Release Date    : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
 3032 Current Version : 00.00.02.02
 3043 Older Version   : 00.00.02.01 
 305
 306i.      New template defined to represent each family of controllers (identified by processor used). 
 307        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.
 308
 309                -Sumant Patro <Sumant.Patro@lsil.com>
 310
 3111 Release Date    : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com>
 3122 Current Version : 00.00.02.00-rc4 
 3133 Older Version   : 00.00.02.01 
 314
 315i.      Code reorganized to remove code duplication in megasas_build_cmd. 
 316
 317        "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"
 318
 319                - Christoph Hellwig <hch@lst.de>
 320
 321ii.     Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems.
 322
 323        "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"
 324
 325                - Christoph Hellwig <hch@lst.de>
 326