15e8d9007SAdam RadfordRelease Date : Thu. Jun 19, 2014 17:00:00 PST 2014 - 25e8d9007SAdam Radford (emaild-id:megaraidlinux@lsi.com) 35e8d9007SAdam Radford Adam Radford 45e8d9007SAdam Radford Kashyap Desai 55e8d9007SAdam Radford Sumit Saxena 65e8d9007SAdam Radford Uday Lingala 75e8d9007SAdam RadfordCurrent Version : 06.803.02.00-rc1 85e8d9007SAdam RadfordOld Version : 06.803.01.00-rc1 95e8d9007SAdam Radford 1. Fix reset_mutex leak in megasas_reset_fusion(). 105e8d9007SAdam Radford 2. Remove unused variables in megasas_instance. 115e8d9007SAdam Radford 3. Fix LD/VF affiliation parsing. 125e8d9007SAdam Radford 4. Add missing initial call to megasas_get_ld_vf_affiliation(). 135e8d9007SAdam Radford 5. Version and Changelog update. 145e8d9007SAdam Radford------------------------------------------------------------------------------- 1510b1db86Sadam radfordRelease Date : Mon. Mar 10, 2014 17:00:00 PST 2014 - 1610b1db86Sadam radford (emaild-id:megaraidlinux@lsi.com) 1710b1db86Sadam radford Adam Radford 1810b1db86Sadam radford Kashyap Desai 1910b1db86Sadam radford Sumit Saxena 2010b1db86Sadam radfordCurrent Version : 06.803.01.00-rc1 2110b1db86Sadam radfordOld Version : 06.700.06.00-rc1 2210b1db86Sadam radford 1. Load correct raid context timeout value for multipathing & clustering. 2310b1db86Sadam radford 2. Fix megasas_ioc_init_fusion to use local stack variable. 2410b1db86Sadam radford 3. Return leaked MPT frames to MPT command pool. 2510b1db86Sadam radford 4. Add Dell PowerEdge VRTX SR-IOV VF device support. 2610b1db86Sadam radford 5. Version and Changelog update. 2710b1db86Sadam radford------------------------------------------------------------------------------- 282b4857c3Sadam radfordRelease Date : Sat. Aug 31, 2013 17:00:00 PST 2013 - 292b4857c3Sadam radford (emaild-id:megaraidlinux@lsi.com) 302b4857c3Sadam radford Adam Radford 312b4857c3Sadam radford Kashyap Desai 322b4857c3Sadam radford Sumit Saxena 332b4857c3Sadam radfordCurrent Version : 06.700.06.00-rc1 342b4857c3Sadam radfordOld Version : 06.600.18.00-rc1 352b4857c3Sadam radford 1. Add High Availability clustering support using shared Logical Disks. 362b4857c3Sadam radford 2. Version and Changelog update. 372b4857c3Sadam radford------------------------------------------------------------------------------- 387525be54SSumit.Saxena@lsi.comRelease Date : Wed. May 15, 2013 17:00:00 PST 2013 - 397525be54SSumit.Saxena@lsi.com (emaild-id:megaraidlinux@lsi.com) 407525be54SSumit.Saxena@lsi.com Adam Radford 417525be54SSumit.Saxena@lsi.com Kashyap Desai 427525be54SSumit.Saxena@lsi.com Sumit Saxena 437525be54SSumit.Saxena@lsi.comCurrent Version : 06.600.18.00-rc1 447525be54SSumit.Saxena@lsi.comOld Version : 06.506.00.00-rc1 457525be54SSumit.Saxena@lsi.com 1. Return DID_ERROR for scsi io, when controller is in critical h/w error. 467525be54SSumit.Saxena@lsi.com 2. Fix the interrupt mask for Gen2 controller. 477525be54SSumit.Saxena@lsi.com 3. Update balance count in driver to be in sync of firmware. 487525be54SSumit.Saxena@lsi.com 4. Free event detail memory without device ID check. 497525be54SSumit.Saxena@lsi.com 5. Set IO request timeout value provided by OS timeout for Tape devices. 507525be54SSumit.Saxena@lsi.com 6. Add support for MegaRAID Fury (device ID-0x005f) 12Gb/s controllers. 517525be54SSumit.Saxena@lsi.com 7. Add support to display Customer branding details in syslog. 527525be54SSumit.Saxena@lsi.com 8. Set IoFlags to enable Fast Path for JBODs for Invader/Fury(12 Gb/s) 537525be54SSumit.Saxena@lsi.com controllers. 547525be54SSumit.Saxena@lsi.com 9. Add support for Extended MSI-x vectors for Invader and Fury(12Gb/s 557525be54SSumit.Saxena@lsi.com HBA). 567525be54SSumit.Saxena@lsi.com 10.Add support for Uneven Span PRL11. 577525be54SSumit.Saxena@lsi.com 11.Add support to differentiate between iMR and MR Firmware. 587525be54SSumit.Saxena@lsi.com 12.Version and Changelog update. 597525be54SSumit.Saxena@lsi.com------------------------------------------------------------------------------- 605eca4a67Sadam radfordRelease Date : Sat. Feb 9, 2013 17:00:00 PST 2013 - 615eca4a67Sadam radford (emaild-id:megaraidlinux@lsi.com) 625eca4a67Sadam radford Adam Radford 635eca4a67Sadam radfordCurrent Version : 06.506.00.00-rc1 645eca4a67Sadam radfordOld Version : 06.504.01.00-rc1 655eca4a67Sadam radford 1. Add 4k FastPath DIF support. 661248562bSEric Engestrom 2. Don't load DevHandle unless FastPath enabled. 675eca4a67Sadam radford 3. Version and Changelog update. 685eca4a67Sadam radford------------------------------------------------------------------------------- 69ae59057bSadam radfordRelease Date : Mon. Oct 1, 2012 17:00:00 PST 2012 - 70ae59057bSadam radford (emaild-id:megaraidlinux@lsi.com) 71ae59057bSadam radford Adam Radford 72ae59057bSadam radfordCurrent Version : 06.504.01.00-rc1 73ae59057bSadam radfordOld Version : 00.00.06.18-rc1 74ae59057bSadam radford 1. Removed un-needed completion_lock spinlock calls. 75ae59057bSadam radford 2. Add module param for configurable MSI-X vector count. 76ae59057bSadam radford 3. Load io_request DataLength in bytes. 77ae59057bSadam radford 4. Add array boundary check for SystemPD. 78ae59057bSadam radford 5. Add SystemPD FastPath support. 79ae59057bSadam radford 6. Remove duplicate code. 80ae59057bSadam radford 7. Version, Changelog, Copyright update. 81ae59057bSadam radford------------------------------------------------------------------------------- 82cdd75750Sadam radfordRelease Date : Tue. Jun 17, 2012 17:00:00 PST 2012 - 83cdd75750Sadam radford (emaild-id:megaraidlinux@lsi.com) 84cdd75750Sadam radford Adam Radford/Kashyap Desai 85cdd75750Sadam radfordCurrent Version : 00.00.06.18-rc1 86cdd75750Sadam radfordOld Version : 00.00.06.15-rc1 87cdd75750Sadam radford 1. Fix Copyright dates. 88cdd75750Sadam radford 2. Add throttlequeuedepth module parameter. 89cdd75750Sadam radford 3. Add resetwaittime module parameter. 90cdd75750Sadam radford 4. Move poll_aen_lock initializer. 91cdd75750Sadam radford------------------------------------------------------------------------------- 92e38a813bSadam radfordRelease Date : Mon. Mar 19, 2012 17:00:00 PST 2012 - 93e38a813bSadam radford (emaild-id:megaraidlinux@lsi.com) 94e38a813bSadam radford Adam Radford 95e38a813bSadam radfordCurrent Version : 00.00.06.15-rc1 96e38a813bSadam radfordOld Version : 00.00.06.14-rc1 97e38a813bSadam radford 1. Optimize HostMSIxVectors setting. 98e38a813bSadam radford 2. Add fpRead/WriteCapable, fpRead/WriteAcrossStripe checks. 99e38a813bSadam radford------------------------------------------------------------------------------- 100798edaadSadam radfordRelease Date : Fri. Jan 6, 2012 17:00:00 PST 2010 - 101798edaadSadam radford (emaild-id:megaraidlinux@lsi.com) 102798edaadSadam radford Adam Radford 103798edaadSadam radfordCurrent Version : 00.00.06.14-rc1 104798edaadSadam radfordOld Version : 00.00.06.12-rc1 105798edaadSadam radford 1. Fix reglockFlags for degraded raid5/6 for MR 9360/9380. 106798edaadSadam radford 2. Mask off flags in ioctl path to prevent memory scribble with older 107798edaadSadam radford MegaCLI versions. 1081248562bSEric Engestrom 3. Remove poll_mode_io module parameter, sysfs node, and associated code. 109798edaadSadam radford------------------------------------------------------------------------------- 1108d6f5ceaSadam radfordRelease Date : Wed. Oct 5, 2011 17:00:00 PST 2010 - 1118d6f5ceaSadam radford (emaild-id:megaraidlinux@lsi.com) 1128d6f5ceaSadam radford Adam Radford 1138d6f5ceaSadam radfordCurrent Version : 00.00.06.12-rc1 1148d6f5ceaSadam radfordOld Version : 00.00.05.40-rc1 1158d6f5ceaSadam radford 1. Continue booting immediately if FW in FAULT at driver load time. 1168d6f5ceaSadam radford 2. Increase default cmds per lun to 256. 1178d6f5ceaSadam radford 3. Fix mismatch in megasas_reset_fusion() mutex lock-unlock. 1188d6f5ceaSadam radford 4. Remove some un-necessary code. 1198d6f5ceaSadam radford 5. Clear state change interrupts for Fusion/Invader. 1208d6f5ceaSadam radford 6. Clear FUSION_IN_RESET before enabling interrupts. 1218d6f5ceaSadam radford 7. Add support for MegaRAID 9360/9380 12GB/s controllers. 1228d6f5ceaSadam radford 8. Add multiple MSI-X vector/multiple reply queue support. 1238d6f5ceaSadam radford 9. Add driver workaround for PERC5/1068 kdump kernel panic. 1248d6f5ceaSadam radford------------------------------------------------------------------------------- 125e1703585Sadam radfordRelease Date : Tue. Jul 26, 2011 17:00:00 PST 2010 - 126e1703585Sadam radford (emaild-id:megaraidlinux@lsi.com) 127e1703585Sadam radford Adam Radford 128e1703585Sadam radfordCurrent Version : 00.00.05.40-rc1 129e1703585Sadam radfordOld Version : 00.00.05.38-rc1 130e1703585Sadam radford 1. Fix FastPath I/O to work with degraded RAID 1. 131e1703585Sadam radford 2. Add .change_queue_depth support. 132e1703585Sadam radford------------------------------------------------------------------------------- 1334f788dceSadam radfordRelease Date : Wed. May 11, 2011 17:00:00 PST 2010 - 1344f788dceSadam radford (emaild-id:megaraidlinux@lsi.com) 1354f788dceSadam radford Adam Radford 1364f788dceSadam radfordCurrent Version : 00.00.05.38-rc1 1374f788dceSadam radfordOld Version : 00.00.05.34-rc1 1384f788dceSadam radford 1. Remove MSI-X black list, use MFI_REG_STATE.ready.msiEnable. 1394f788dceSadam radford 2. Remove un-used function megasas_return_cmd_for_smid(). 1404f788dceSadam radford 3. Check MFI_REG_STATE.fault.resetAdapter in megasas_reset_fusion(). 1414f788dceSadam radford 4. Disable interrupts/free_irq() in megasas_shutdown(). 1424f788dceSadam radford 5. Fix bug where AENs could be lost in probe() and resume(). 1434f788dceSadam radford 6. Convert 6,10,12 byte CDB's to 16 byte CDB for large LBA's for FastPath 1444f788dceSadam radford IO. 1454f788dceSadam radford 7. Add 1078 OCR support. 1464f788dceSadam radford------------------------------------------------------------------------------- 14700fa2b19Sadam radfordRelease Date : Thu. Feb 24, 2011 17:00:00 PST 2010 - 14800fa2b19Sadam radford (emaild-id:megaraidlinux@lsi.com) 14900fa2b19Sadam radford Adam Radford 15000fa2b19Sadam radfordCurrent Version : 00.00.05.34-rc1 15100fa2b19Sadam radfordOld Version : 00.00.05.29-rc1 15200fa2b19Sadam radford 1. Fix some failure gotos from megasas_probe_one(), etc. 15300fa2b19Sadam radford 2. Add missing check_and_restore_queue_depth() call in 15400fa2b19Sadam radford complete_cmd_fusion(). 15500fa2b19Sadam radford 3. Enable MSI-X before calling megasas_init_fw(). 15600fa2b19Sadam radford 4. Call tasklet_schedule() even if outbound_intr_status == 0 for MFI based 15700fa2b19Sadam radford boards in MSI-X mode. 15800fa2b19Sadam radford 5. Fix megasas_probe_one() to clear PCI_MSIX_FLAGS_ENABLE in msi control 15900fa2b19Sadam radford register in kdump kernel. 16000fa2b19Sadam radford 6. Fix megasas_get_cmd() to only print "Command pool empty" if 16100fa2b19Sadam radford megasas_dbg_lvl is set. 16200fa2b19Sadam radford 7. Fix megasas_build_dcdb_fusion() to not filter by TYPE_DISK. 16300fa2b19Sadam radford 8. Fix megasas_build_dcdb_fusion() to use io_request->LUN[1] field. 16400fa2b19Sadam radford 9. Add MR_EVT_CFG_CLEARED to megasas_aen_polling(). 16500fa2b19Sadam radford 10. Fix tasklet_init() in megasas_init_fw() to use instancet->tasklet. 16600fa2b19Sadam radford 11. Fix fault state handling in megasas_transition_to_ready(). 16700fa2b19Sadam radford 12. Fix max_sectors setting for IEEE SGL's. 16800fa2b19Sadam radford 13. Fix iMR OCR support to work correctly. 16900fa2b19Sadam radford------------------------------------------------------------------------------- 1705f7bb3a4Sadam radfordRelease Date : Tues. Dec 14, 2010 17:00:00 PST 2010 - 1715f7bb3a4Sadam radford (emaild-id:megaraidlinux@lsi.com) 1725f7bb3a4Sadam radford Adam Radford 1735f7bb3a4Sadam radfordCurrent Version : 00.00.05.29-rc1 1745f7bb3a4Sadam radfordOld Version : 00.00.04.31-rc1 1755f7bb3a4Sadam radford 1. Rename megaraid_sas.c to megaraid_sas_base.c. 1765f7bb3a4Sadam radford 2. Update GPL headers. 1775f7bb3a4Sadam radford 3. Add MSI-X support and 'msix_disable' module parameter. 1785f7bb3a4Sadam radford 4. Use lowest memory bar (for SR-IOV VF support). 1795f7bb3a4Sadam radford 5. Add struct megasas_instance_temlate changes, and change all code to use 1805f7bb3a4Sadam radford new instance entries: 1815f7bb3a4Sadam radford 1825f7bb3a4Sadam radford irqreturn_t (*service_isr )(int irq, void *devp); 1835f7bb3a4Sadam radford void (*tasklet)(unsigned long); 1845f7bb3a4Sadam radford u32 (*init_adapter)(struct megasas_instance *); 1855f7bb3a4Sadam radford u32 (*build_and_issue_cmd) (struct megasas_instance *, 1865f7bb3a4Sadam radford struct scsi_cmnd *); 1875f7bb3a4Sadam radford void (*issue_dcmd) (struct megasas_instance *instance, 1885f7bb3a4Sadam radford struct megasas_cmd *cmd); 1895f7bb3a4Sadam radford 1905f7bb3a4Sadam radford 6. Add code to support MegaRAID 9265/9285 controllers device id (0x5b). 1915f7bb3a4Sadam radford------------------------------------------------------------------------------- 192e340c353SYang, Bo1 Release Date : Thur. May 03, 2010 09:12:45 PST 2009 - 193e340c353SYang, Bo (emaild-id:megaraidlinux@lsi.com) 194e340c353SYang, Bo Bo Yang 195e340c353SYang, Bo 196e340c353SYang, Bo2 Current Version : 00.00.04.31-rc1 197e340c353SYang, Bo3 Older Version : 00.00.04.17.1-rc1 198e340c353SYang, Bo 199e340c353SYang, Bo1. Add the Online Controller Reset (OCR) to the Driver. 200e340c353SYang, Bo OCR is the new feature for megaraid_sas driver which 201e340c353SYang, Bo will allow the fw to do the chip reset which will not 2021248562bSEric Engestrom affect the OS behavior. 203e340c353SYang, Bo 204e340c353SYang, Bo To add the OCR support, driver need to do: 205e340c353SYang, Bo a). reset the controller chips -- Xscale and Gen2 which 206e340c353SYang, Bo will change the function calls and add the reset function 207e340c353SYang, Bo related to this two chips. 208e340c353SYang, Bo 209e340c353SYang, Bo b). during the reset, driver will store the pending cmds 210e340c353SYang, Bo which not returned by FW to driver's pending queue. Driver 211e340c353SYang, Bo will re-issue those pending cmds again to FW after the OCR 212e340c353SYang, Bo finished. 213e340c353SYang, Bo 214e340c353SYang, Bo c). In driver's timeout routine, driver will report to 215e340c353SYang, Bo OS as reset. Also driver's queue routine will block the 216e340c353SYang, Bo cmds until the OCR finished. 217e340c353SYang, Bo 218e340c353SYang, Bo d). in Driver's ISR routine, if driver get the FW state as 219e340c353SYang, Bo state change, FW in Failure status and FW support online controller 220e340c353SYang, Bo reset (OCR), driver will start to do the controller reset. 221e340c353SYang, Bo 222e340c353SYang, Bo e). In driver's IOCTL routine, the application cmds will wait for the 223e340c353SYang, Bo OCR to finish, then issue the cmds to FW. 224e340c353SYang, Bo 225e340c353SYang, Bo f). Before driver kill adapter, driver will do last chance of 226e340c353SYang, Bo OCR to see if driver can bring back the FW. 227e340c353SYang, Bo 228e340c353SYang, Bo2. Add the support update flag to the driver to tell LSI megaraid_sas 229e340c353SYang, Bo application which driver will support the device update. So application 230e340c353SYang, Bo will not need to do the device update after application add/del the device 231e340c353SYang, Bo from the system. 232e340c353SYang, Bo3. In driver's timeout routine, driver will do three time reset if fw is in 233e340c353SYang, Bo failed state. Driver will kill adapter if can't bring back FW after the 234e340c353SYang, Bo this three times reset. 235e340c353SYang, Bo4. Add the input parameter max_sectors to 1MB support to our GEN2 controller. 2361248562bSEric Engestrom customer can use the input parameter max_sectors to add 1MB support to GEN2 237e340c353SYang, Bo controller. 238e340c353SYang, Bo 23963bad45dSYang, Bo1 Release Date : Thur. Oct 29, 2009 09:12:45 PST 2009 - 24063bad45dSYang, Bo (emaild-id:megaraidlinux@lsi.com) 24163bad45dSYang, Bo Bo Yang 24263bad45dSYang, Bo 24363bad45dSYang, Bo2 Current Version : 00.00.04.17.1-rc1 24463bad45dSYang, Bo3 Older Version : 00.00.04.12 24563bad45dSYang, Bo 24663bad45dSYang, Bo1. Add the pad_0 in mfi frame structure to 0 to fix the 24763bad45dSYang, Bo context value larger than 32bit value issue. 24863bad45dSYang, Bo 24963bad45dSYang, Bo2. Add the logic drive list to the driver. Driver will 25063bad45dSYang, Bo keep the logic drive list internal after driver load. 25163bad45dSYang, Bo 25263bad45dSYang, Bo3. driver fixed the device update issue after get the AEN 25363bad45dSYang, Bo PD delete/ADD, LD add/delete from FW. 25463bad45dSYang, Bo 255a0b77368SYang, Bo1 Release Date : Tues. July 28, 2009 10:12:45 PST 2009 - 256a0b77368SYang, Bo (emaild-id:megaraidlinux@lsi.com) 257a0b77368SYang, Bo Bo Yang 258a0b77368SYang, Bo 259a0b77368SYang, Bo2 Current Version : 00.00.04.12 260a0b77368SYang, Bo3 Older Version : 00.00.04.10 261a0b77368SYang, Bo 262a0b77368SYang, Bo1. Change the AEN sys PD update from scsi_scan to 263a0b77368SYang, Bo scsi_add_device and scsi_remove_device. 264a0b77368SYang, Bo2. Takeoff the debug print-out in aen_polling routine. 265a0b77368SYang, Bo 266a0b77368SYang, Bo1 Release Date : Thur. July 02, 2009 10:12:45 PST 2009 - 267a0b77368SYang, Bo (emaild-id:megaraidlinux@lsi.com) 268a0b77368SYang, Bo Bo Yang 269a0b77368SYang, Bo 270a0b77368SYang, Bo2 Current Version : 00.00.04.10 271a0b77368SYang, Bo3 Older Version : 00.00.04.08 272a0b77368SYang, Bo 273a0b77368SYang, Bo1. Add the 3 mins timeout during the controller initialize. 274a0b77368SYang, Bo2. Add the fix for 64bit sense date errors. 275a0b77368SYang, Bo 276a0b77368SYang, Bo1 Release Date : Tues. May 05, 2009 10:12:45 PST 2009 - 277a0b77368SYang, Bo (emaild-id:megaraidlinux@lsi.com) 278a0b77368SYang, Bo Bo Yang 279a0b77368SYang, Bo 280a0b77368SYang, Bo2 Current Version : 00.00.04.08 281a0b77368SYang, Bo3 Older Version : 00.00.04.06 282a0b77368SYang, Bo 283a0b77368SYang, Bo1. Add the fix of pending in FW after deleted the logic drives. 284a0b77368SYang, Bo2. Add the fix of deallocating memory after get pdlist. 285a0b77368SYang, Bo 286a0b77368SYang, Bo1 Release Date : Tues. March 26, 2009 10:12:45 PST 2009 - 287a0b77368SYang, Bo (emaild-id:megaraidlinux@lsi.com) 288a0b77368SYang, Bo Bo Yang 289a0b77368SYang, Bo 290a0b77368SYang, Bo2 Current Version : 00.00.04.06 291a0b77368SYang, Bo3 Older Version : 00.00.04.04 292a0b77368SYang, Bo 293a0b77368SYang, Bo1. Add the fix of the driver cmd empty fix of the driver cmd empty. 294a0b77368SYang, Bo2. Add the fix of the driver MSM AEN CMD cause the system slow. 295a0b77368SYang, Bo 296a0b77368SYang, Bo1 Release Date : Tues. March 03, 2009 10:12:45 PST 2009 - 297a0b77368SYang, Bo (emaild-id:megaraidlinux@lsi.com) 298a0b77368SYang, Bo Bo Yang 299a0b77368SYang, Bo 300a0b77368SYang, Bo2 Current Version : 00.00.04.04 301a0b77368SYang, Bo3 Older Version : 00.00.04.01 302a0b77368SYang, Bo 303a0b77368SYang, Bo1. Add the Tape drive fix to the driver: If the command is for 304a0b77368SYang, Bo the tape device, set the pthru timeout to the os layer timeout value. 305a0b77368SYang, Bo 306a0b77368SYang, Bo2. Add Poll_wait mechanism to Gen-2 Linux driv. 307a0b77368SYang, Bo In the aen handler, driver needs to wakeup poll handler similar to 308a0b77368SYang, Bo the way it raises SIGIO. 309a0b77368SYang, Bo 310a0b77368SYang, Bo3. Add new controller new SAS2 support to the driver. 311a0b77368SYang, Bo 312a0b77368SYang, Bo4. Report the unconfigured PD (system PD) to OS. 313a0b77368SYang, Bo 314a0b77368SYang, Bo5. Add the IEEE SGL support to the driver 315a0b77368SYang, Bo 316a0b77368SYang, Bo6. Reasign the Application cmds to SAS2 controller 31724541f99SYang, Bo 31824541f99SYang, Bo1 Release Date : Thur.July. 24 11:41:51 PST 2008 - 31924541f99SYang, Bo (emaild-id:megaraidlinux@lsi.com) 32024541f99SYang, Bo Sumant Patro 32124541f99SYang, Bo Bo Yang 32224541f99SYang, Bo 32324541f99SYang, Bo2 Current Version : 00.00.04.01 32424541f99SYang, Bo3 Older Version : 00.00.03.22 32524541f99SYang, Bo 32624541f99SYang, Bo1. Add the new controller (0078, 0079) support to the driver 32724541f99SYang, Bo Those controllers are LSI's next generatation(gen2) SAS controllers. 32824541f99SYang, Bo 32924541f99SYang, Bo1 Release Date : Mon.June. 23 10:12:45 PST 2008 - 33024541f99SYang, Bo (emaild-id:megaraidlinux@lsi.com) 33124541f99SYang, Bo Sumant Patro 33224541f99SYang, Bo Bo Yang 33324541f99SYang, Bo 33424541f99SYang, Bo2 Current Version : 00.00.03.22 33524541f99SYang, Bo3 Older Version : 00.00.03.20 33624541f99SYang, Bo 33724541f99SYang, Bo1. Add shutdown DCMD cmd to the shutdown routine to make FW shutdown proper. 33824541f99SYang, Bo2. Unexpected interrupt occurs in HWR Linux driver, add the dumy readl pci flush will fix this issue. 33924541f99SYang, Bo 340127ce971Sbo yang1 Release Date : Mon. March 10 11:02:31 PDT 2008 - 341127ce971Sbo yang (emaild-id:megaraidlinux@lsi.com) 342127ce971Sbo yang Sumant Patro 343127ce971Sbo yang Bo Yang 344127ce971Sbo yang 345127ce971Sbo yang2 Current Version : 00.00.03.20-RC1 346127ce971Sbo yang3 Older Version : 00.00.03.16 347127ce971Sbo yang 348127ce971Sbo yang1. Rollback the sense info implementation 349127ce971Sbo yang Sense buffer ptr data type in the ioctl path is reverted back 350127ce971Sbo yang to u32 * as in previous versions of driver. 351127ce971Sbo yang 352127ce971Sbo yang2. Fixed the driver frame count. 353127ce971Sbo yang When Driver sent wrong frame count to firmware. As this 354127ce971Sbo yang particular command is sent to drive, FW is seeing continuous 355127ce971Sbo yang chip resets and so the command will timeout. 356127ce971Sbo yang 357127ce971Sbo yang3. Add the new controller(1078DE) support to the driver 358127ce971Sbo yang and Increase the max_wait to 60 from 10 in the controller 359127ce971Sbo yang operational status. With this max_wait increase, driver will 360127ce971Sbo yang make sure the FW will finish the pending cmd for KDUMP case. 361127ce971Sbo yang 362f28cd7cfSbo yang1 Release Date : Thur. Nov. 07 16:30:43 PST 2007 - 363f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 364f28cd7cfSbo yang Sumant Patro 365f28cd7cfSbo yang Bo Yang 366f28cd7cfSbo yang 367f28cd7cfSbo yang2 Current Version : 00.00.03.16 368f28cd7cfSbo yang3 Older Version : 00.00.03.15 369f28cd7cfSbo yang 370f28cd7cfSbo yang1. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 10. FW may take 371f28cd7cfSbo yang a max of 60 seconds to respond to the INIT cmd. 372f28cd7cfSbo yang 373f28cd7cfSbo yang1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 - 374f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 375f28cd7cfSbo yang Sumant Patro 376f28cd7cfSbo yang Bo Yang 377f28cd7cfSbo yang 378f28cd7cfSbo yang2 Current Version : 00.00.03.15 379f28cd7cfSbo yang3 Older Version : 00.00.03.14 380f28cd7cfSbo yang 381f28cd7cfSbo yang1. Added module parameter "poll_mode_io" to support for "polling" 382f28cd7cfSbo yang (reduced interrupt operation). In this mode, IO completion 383f28cd7cfSbo yang interrupts are delayed. At the end of initiating IOs, the 384f28cd7cfSbo yang driver schedules for cmd completion if there are pending cmds 385f28cd7cfSbo yang to be completed. A timer-based interrupt has also been added 386f28cd7cfSbo yang to prevent IO completion processing from being delayed 387f28cd7cfSbo yang indefinitely in the case that no new IOs are initiated. 388f28cd7cfSbo yang 389f28cd7cfSbo yang1 Release Date : Fri. Sep. 07 16:30:43 PST 2007 - 390f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 391f28cd7cfSbo yang Sumant Patro 392f28cd7cfSbo yang Bo Yang 393f28cd7cfSbo yang 394f28cd7cfSbo yang2 Current Version : 00.00.03.14 395f28cd7cfSbo yang3 Older Version : 00.00.03.13 396f28cd7cfSbo yang 397f28cd7cfSbo yang1. Setting the max_sectors_per_req based on max SGL supported by the 398f28cd7cfSbo yang FW. Prior versions calculated this value from controller info 399f28cd7cfSbo yang (max_sectors_1, max_sectors_2). For certain controllers/FW, 400f28cd7cfSbo yang this was resulting in a value greater than max SGL supported 401f28cd7cfSbo yang by the FW. Issue was first reported by users running LUKS+XFS 402f28cd7cfSbo yang with megaraid_sas. Thanks to RB for providing the logs and 403f28cd7cfSbo yang duplication steps that helped to get to the root cause of the 404f28cd7cfSbo yang issue. 2. Increased MFI_POLL_TIMEOUT_SECS to 60 seconds from 405f28cd7cfSbo yang 10. FW may take a max of 60 seconds to respond to the INIT 406f28cd7cfSbo yang cmd. 407f28cd7cfSbo yang 408f28cd7cfSbo yang1 Release Date : Fri. June. 15 16:30:43 PST 2007 - 409f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 410f28cd7cfSbo yang Sumant Patro 411f28cd7cfSbo yang Bo Yang 412f28cd7cfSbo yang 413f28cd7cfSbo yang2 Current Version : 00.00.03.13 414f28cd7cfSbo yang3 Older Version : 00.00.03.12 415f28cd7cfSbo yang 416f28cd7cfSbo yang1. Added the megasas_reset_timer routine to intercept cmd timeout and throttle io. 417f28cd7cfSbo yang 418f28cd7cfSbo yangOn Fri, 2007-03-16 at 16:44 -0600, James Bottomley wrote: 419f28cd7cfSbo yangIt looks like megaraid_sas at least needs this to throttle its commands 420f28cd7cfSbo yang> as they begin to time out. The code keeps the existing transport 421f28cd7cfSbo yang> template use of eh_timed_out (and allows the transport to override the 422f28cd7cfSbo yang> host if they both have this callback). 423f28cd7cfSbo yang> 424f28cd7cfSbo yang> James 425f28cd7cfSbo yang 426f28cd7cfSbo yang1 Release Date : Sat May. 12 16:30:43 PST 2007 - 427f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 428f28cd7cfSbo yang Sumant Patro 429f28cd7cfSbo yang Bo Yang 430f28cd7cfSbo yang 431f28cd7cfSbo yang2 Current Version : 00.00.03.12 432f28cd7cfSbo yang3 Older Version : 00.00.03.11 433f28cd7cfSbo yang 434f28cd7cfSbo yang1. When MegaSAS driver receives reset call from OS, driver waits in reset 435f28cd7cfSbo yangroutine for max 3 minutes for all pending command completion. Now driver will 436f28cd7cfSbo yangcall completion routine every 5 seconds from the reset routine instead of 437f28cd7cfSbo yangwaiting for depending on cmd completion from isr path. 438f28cd7cfSbo yang 439f28cd7cfSbo yang1 Release Date : Mon Apr. 30 10:25:52 PST 2007 - 440f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 441f28cd7cfSbo yang Sumant Patro 442f28cd7cfSbo yang Bo Yang 443f28cd7cfSbo yang 444f28cd7cfSbo yang2 Current Version : 00.00.03.11 445f28cd7cfSbo yang3 Older Version : 00.00.03.09 446f28cd7cfSbo yang 447f28cd7cfSbo yang 1. Memory Manager for IOCTL removed for 2.6 kernels. 448f28cd7cfSbo yang pci_alloc_consistent replaced by dma_alloc_coherent. With this 449f28cd7cfSbo yang change there is no need of memory manager in the driver code 450f28cd7cfSbo yang 451f28cd7cfSbo yang On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote: 452f28cd7cfSbo yang > I suspect all this horror is due to stupidity in the DMA API. 453f28cd7cfSbo yang > 454f28cd7cfSbo yang > pci_alloc_consistent() just goes and assumes GFP_ATOMIC, whereas 455f28cd7cfSbo yang > the caller (megasas_mgmt_fw_ioctl) would have been perfectly happy 456f28cd7cfSbo yang > to use GFP_KERNEL. 457f28cd7cfSbo yang > 458f28cd7cfSbo yang > I bet this fixes it 459f28cd7cfSbo yang 460f28cd7cfSbo yang It does, but the DMA API was expanded to cope with this exact case, so 461f28cd7cfSbo yang use dma_alloc_coherent() directly in the megaraid code instead. The dev 462f28cd7cfSbo yang is just &pci_dev->dev. 463f28cd7cfSbo yang 464f28cd7cfSbo yang James <James.Bottomley@SteelEye.com> 465f28cd7cfSbo yang 466f28cd7cfSbo yang 3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver. 467f28cd7cfSbo yang 4. Hibernation support added 468f28cd7cfSbo yang 5. Performing diskdump while running IO in RHEL 4 was failing. Fixed. 469f28cd7cfSbo yang 470f28cd7cfSbo yang1 Release Date : Fri Feb. 09 14:36:28 PST 2007 - 471f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 472f28cd7cfSbo yang Sumant Patro 473f28cd7cfSbo yang Bo Yang 474f28cd7cfSbo yang 475f28cd7cfSbo yang2 Current Version : 00.00.03.09 476f28cd7cfSbo yang3 Older Version : 00.00.03.08 477f28cd7cfSbo yang 478f28cd7cfSbo yangi. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors 479f28cd7cfSbo yang 480f28cd7cfSbo yang The driver now waits for 10 seconds to elapse instead of 5 (as in 481f28cd7cfSbo yang previous release) to resume IO. 482f28cd7cfSbo yang 483f28cd7cfSbo yang1 Release Date : Mon Feb. 05 11:35:24 PST 2007 - 484f28cd7cfSbo yang (emaild-id:megaraidlinux@lsi.com) 485f28cd7cfSbo yang Sumant Patro 486f28cd7cfSbo yang Bo Yang 487f28cd7cfSbo yang2 Current Version : 00.00.03.08 488f28cd7cfSbo yang3 Older Version : 00.00.03.07 489f28cd7cfSbo yang 490f28cd7cfSbo yangi. Under heavy IO mid-layer prints "DRIVER_TIMEOUT" errors 491f28cd7cfSbo yang 492f28cd7cfSbo yang Fix: The driver is now throttling IO. 493f28cd7cfSbo yang Checks added in megasas_queue_command to know if FW is able to 494f28cd7cfSbo yang process commands within timeout period. If number of retries 495f28cd7cfSbo yang is 2 or greater,the driver stops sending cmd to FW temporarily. IO is 496f28cd7cfSbo yang resumed if pending cmd count reduces to 16 or 5 seconds has elapsed 497f28cd7cfSbo yang from the time cmds were last sent to FW. 498f28cd7cfSbo yang 499f28cd7cfSbo yangii. FW enables WCE bit in Mode Sense cmd for drives that are configured 500f28cd7cfSbo yang as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical 501f28cd7cfSbo yang Disks are exposed with WCE=1. User is advised to enable Write Back 502f28cd7cfSbo yang mode only when the controller has battery backup. At this time 503f28cd7cfSbo yang Synhronize cache is not supported by the FW. Driver will short-cycle 504af901ca1SAndré Goddard Rosa the cmd and return success without sending down to FW. 505f28cd7cfSbo yang 506f28cd7cfSbo yang1 Release Date : Sun Jan. 14 11:21:32 PDT 2007 - 507f28cd7cfSbo yang Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang 508f28cd7cfSbo yang2 Current Version : 00.00.03.07 509f28cd7cfSbo yang3 Older Version : 00.00.03.06 510f28cd7cfSbo yang 511f28cd7cfSbo yangi. bios_param entry added in scsi_host_template that returns disk geometry 512f28cd7cfSbo yang information. 513f28cd7cfSbo yang 514f28cd7cfSbo yang1 Release Date : Fri Oct 20 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com>/Bo Yang 515f28cd7cfSbo yang2 Current Version : 00.00.03.06 516f28cd7cfSbo yang3 Older Version : 00.00.03.05 517f28cd7cfSbo yang 518f28cd7cfSbo 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. 519f28cd7cfSbo yang2. Added check in megasas_queue_command and dpc/isr routine to see if we have already declared adapter dead 520f28cd7cfSbo yang (hw_crit_error=1). If hw_crit_error==1, now we do not accept any processing of pending cmds/accept any cmd from OS 521e4a082c7SSumant Patro 5222a3681e5SSumant Patro1 Release Date : Mon Oct 02 11:21:32 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 5232a3681e5SSumant Patro2 Current Version : 00.00.03.05 5242a3681e5SSumant Patro3 Older Version : 00.00.03.04 5252a3681e5SSumant Patro 5262a3681e5SSumant Patroi. PCI_DEVICE macro used 5272a3681e5SSumant Patro 5282a3681e5SSumant Patro Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines. 5292a3681e5SSumant Patro 5302a3681e5SSumant Patro - Henrik Kretzschmar <henne@nachtwindheim.de> 5312a3681e5SSumant Patroii. All compiler warnings removed 5322a3681e5SSumant Patroiii. megasas_ctrl_info struct reverted to 3.02 release 5332a3681e5SSumant Patroiv. Default value of megasas_dbg_lvl set to 0 5342a3681e5SSumant Patrov. Removing in megasas_exit the sysfs entry created for megasas_dbg_lvl 5352a3681e5SSumant Patrovi. In megasas_teardown_frame_pool(), cmd->frame was passed instead of 5362a3681e5SSumant Patro cmd->sense to pci_pool_free. Fixed. Bug was pointed out by 5372a3681e5SSumant Patro Eric Sesterhenn 5382a3681e5SSumant Patro 5392a3681e5SSumant Patro1 Release Date : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 5402a3681e5SSumant Patro2 Current Version : 00.00.03.04 5412a3681e5SSumant Patro3 Older Version : 00.00.03.03 5422a3681e5SSumant Patro 5432a3681e5SSumant Patroi. Added Reboot notify 5442a3681e5SSumant Patroii. Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same 5452a3681e5SSumant Patro as Max Cmds FW can support 5462a3681e5SSumant Patro 5472a3681e5SSumant Patro1 Release Date : Tue Aug 22 16:33:14 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 5482a3681e5SSumant Patro2 Current Version : 00.00.03.03 5492a3681e5SSumant Patro3 Older Version : 00.00.03.02 5502a3681e5SSumant Patro 5512a3681e5SSumant Patroi. Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead. 552b564d62eSMasahiro Yamada New variable added to set dbg level. 5532a3681e5SSumant Patroii. Disable interrupt made as fn pointer as they are different for 1068 / 1078 5542a3681e5SSumant Patroiii. Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and 5552a3681e5SSumant Patro 3 SGE for 32 bit SGL 5562a3681e5SSumant Patroiv. Tasklet added for cmd completion 5572a3681e5SSumant 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. 5582a3681e5SSumant Patrovi. megasas_ctrl_prop structure updated (based on FW struct) 5592a3681e5SSumant Patrovii. Added print : FW now in Ready State during initialization 5602a3681e5SSumant Patro 5612a3681e5SSumant Patro1 Release Date : Sun Aug 06 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 5622a3681e5SSumant Patro2 Current Version : 00.00.03.02 5632a3681e5SSumant Patro3 Older Version : 00.00.03.01 5642a3681e5SSumant Patro 565*685d5ef4SRandy Dunlapi. Added FW transition state for Hotplug scenario 5662a3681e5SSumant Patro 5670e98936cSSumant Patro1 Release Date : Sun May 14 22:49:52 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 5680e98936cSSumant Patro2 Current Version : 00.00.03.01 5690e98936cSSumant Patro3 Older Version : 00.00.02.04 5700e98936cSSumant Patro 5710e98936cSSumant Patroi. Added support for ZCR controller. 5720e98936cSSumant Patro 5730e98936cSSumant Patro New device id 0x413 added. 5740e98936cSSumant Patro 5750e98936cSSumant Patroii. Bug fix : Disable controller interrupt before firing INIT cmd to FW. 5760e98936cSSumant Patro 5770e98936cSSumant Patro Interrupt is enabled after required initialization is over. 5780e98936cSSumant Patro This is done to ensure that driver is ready to handle interrupts when 5790e98936cSSumant Patro it is generated by the controller. 5800e98936cSSumant Patro 5810e98936cSSumant Patro -Sumant Patro <Sumant.Patro@lsil.com> 5820e98936cSSumant Patro 583e4a082c7SSumant Patro1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com> 584e4a082c7SSumant Patro2 Current Version : 00.00.02.04 585e4a082c7SSumant Patro3 Older Version : 00.00.02.04 586e4a082c7SSumant Patro 5871248562bSEric Engestromi. Remove superfluous instance_lock 588e4a082c7SSumant Patro 5891248562bSEric Engestrom gets rid of the otherwise superfluous instance_lock and avoids an unsafe 590e4a082c7SSumant Patro unsynchronized access in the error handler. 591e4a082c7SSumant Patro 592e4a082c7SSumant Patro - Christoph Hellwig <hch@lst.de> 593e4a082c7SSumant Patro 594e4a082c7SSumant Patro 595f9876f0bSSumant Patro1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com> 596f9876f0bSSumant Patro2 Current Version : 00.00.02.04 597f9876f0bSSumant Patro3 Older Version : 00.00.02.04 598f9876f0bSSumant Patro 599f9876f0bSSumant Patroi. Support for 1078 type (ppc IOP) controller, device id : 0x60 added. 600f9876f0bSSumant Patro During initialization, depending on the device id, the template members 601f9876f0bSSumant Patro are initialized with function pointers specific to the ppc or 602f9876f0bSSumant Patro xscale controllers. 603f9876f0bSSumant Patro 604f9876f0bSSumant Patro -Sumant Patro <Sumant.Patro@lsil.com> 605f9876f0bSSumant Patro 606122da302SJoshua Giles1 Release Date : Fri Feb 03 14:16:25 PST 2006 - Sumant Patro 607122da302SJoshua Giles <Sumant.Patro@lsil.com> 608122da302SJoshua Giles2 Current Version : 00.00.02.04 609122da302SJoshua Giles3 Older Version : 00.00.02.02 610122da302SJoshua Gilesi. Register 16 byte CDB capability with scsi midlayer 611122da302SJoshua Giles 61240e47125SMasanari Iida "This patch properly registers the 16 byte command length capability of the 613122da302SJoshua Giles megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas 614122da302SJoshua Giles hardware supports 16 byte CDB's." 615122da302SJoshua Giles 616122da302SJoshua Giles -Joshua Giles <joshua_giles@dell.com> 617122da302SJoshua Giles 6181341c939SSumant Patro1 Release Date : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com> 6191341c939SSumant Patro2 Current Version : 00.00.02.02 6201341c939SSumant Patro3 Older Version : 00.00.02.01 6211341c939SSumant Patro 6221341c939SSumant Patroi. New template defined to represent each family of controllers (identified by processor used). 6231248562bSEric Engestrom 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. 6241341c939SSumant Patro 6251341c939SSumant Patro -Sumant Patro <Sumant.Patro@lsil.com> 6261341c939SSumant Patro 627cb59aa6aSSumant Patro1 Release Date : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <Sumant.Patro@lsil.com> 628cb59aa6aSSumant Patro2 Current Version : 00.00.02.00-rc4 629cb59aa6aSSumant Patro3 Older Version : 00.00.02.01 630cb59aa6aSSumant Patro 631cb59aa6aSSumant Patroi. Code reorganized to remove code duplication in megasas_build_cmd. 632cb59aa6aSSumant Patro 6331248562bSEric Engestrom "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" 634cb59aa6aSSumant Patro 635cb59aa6aSSumant Patro - Christoph Hellwig <hch@lst.de> 636cb59aa6aSSumant Patro 637cb59aa6aSSumant Patroii. Defined MEGASAS_IOC_FIRMWARE32 for code paths that handles 32 bit applications in 64 bit systems. 638cb59aa6aSSumant Patro 639cb59aa6aSSumant 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" 640cb59aa6aSSumant Patro 641cb59aa6aSSumant Patro - Christoph Hellwig <hch@lst.de> 642