a49393f2ae13e3a0c61dbdbea77c2ff7614df474 |
|
25-Apr-2012 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Block flash access from application when device is initialized for ISP82xx. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
b7bfbe12dc7223096005338a3099b2eec685bc30 |
|
09-Feb-2012 |
Andrew Vasquez <andrew.vasquez@qlogic.com> |
[SCSI] qla2xxx: Prep zero-length BSG data-transfer requests. During command failure/non-recognition, the upper-layer FC-transport expects the drivers to set job-reply->reply_payload_rcv_len. Do this in a consistent manner to avoid duplication. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
9ba56b95a588906a65664a9299a9f8ac1a0f6a91 |
|
09-Feb-2012 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Consolidation of SRB processing. Rework the structures related to SRB processing to minimize the memory allocations per I/O and manage resources associated with and completions from common routines. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
6246b8a1d26c7cdb77fd2f3f3578d4db025d5c9e |
|
09-Feb-2012 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Enhancements to support ISP83xx. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Nigel Kirkland <nigel.kirkland@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
d051a5aa1c234c8de01fc0a488b1a18d65246150 |
|
09-Feb-2012 |
Andrew Vasquez <andrew.vasquez@qlogic.com> |
[SCSI] qla2xxx: Add an "is reset active" helper. Many locations within the driver would use an inconsistent set of checks to determine ISP-reset state. Consolidate the checks into this inline-helper. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
36e4d267f3a0b2c04ec965eb8f821315e084e8a9 |
|
03-Feb-2012 |
Masanari Iida <standby24x7@gmail.com> |
qla2xxx: fix printk typo in qla_bsg.c Correct spelling "curent" to "current" in drivers/scsi/qla2xxx/qla_bsg.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
5780790ee6836ad64648c0905fcf15e073aad19b |
|
18-Nov-2011 |
Andrew Vasquez <andrew.vasquez@qlogic.com> |
[SCSI] qla2xxx: Ensure there's enough request-queue space for passthru IOCBs. The driver should ensure there's a sufficient number of IOCBs to satisfy the number of scatter-gather entries specified in the command. Add a 'count' to the control structure, srb_ctx, to use in qla2x00_alloc_iocbs(). Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
a00f6296aaf92ebe89c72eb98c440410992a33c4 |
|
18-Nov-2011 |
Saurav Kashyap <saurav.kashyap@qlogic.com> |
[SCSI] qla2xxx: Implement FCP priority tagging for 82xx adapters. This provides a capability to set a priority in the FCP packet. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
cfb0919c12a33132f75fb91971bbd8bdd44ebb90 |
|
18-Nov-2011 |
Chad Dupuis <chad.dupuis@qlogic.com> |
[SCSI] qla2xxx: Update to dynamic logging. This patch contains minor fixes to our new logging infrastructure: - Remove extranous messages. - Re-add 'nexus' and 'hdl' information. - Adjusted the message ids to fill up the holes. - Display FCP_CMND priority on update. - Log only mail box error conditions. - Do not print "Firmware ready **** FAILED ****" if cable is unplugged. - Drop noisy 'fw_state...curr time...' message. - Correct nexus display during abort. - Add a special case error-logging set to '1'. - Catagorize I/O exception display handling. - Correct the bsg msg code printing. - Dont use dynamic logging after host is removed. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
697a4bc69159c3396035b0506ffa55c4b2d0b1f4 |
|
16-Aug-2011 |
Joe Carnuccio <joe.carnuccio@qlogic.com> |
[SCSI] qla2xxx: Provide method for updating I2C attached VPD. Provide bsg interface for updating VPD attached on the I2C serial bus. Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
491118dff9aeb207408bd42aa4897bc2c145747f |
|
16-Aug-2011 |
Saurav Kashyap <saurav.kashyap@qlogic.com> |
[SCSI] qla2xxx: During loopdown perform Diagnostic loopback. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
7c3df1320e5e875478775e78d01a09aee96b8abe |
|
14-Jul-2011 |
Saurav Kashyap <saurav.kashyap@qlogic.com> |
[SCSI] qla2xxx: Code changes to support new dynamic logging infrastructure. The code is changed to support the new dynamic logging infrastructure. Following are the levels added. Default is 0 - no logging. 0x40000000 - Module Init & Probe. 0x20000000 - Mailbox Cmnds. 0x10000000 - Device Discovery. 0x08000000 - IO tracing. 0x04000000 - DPC Thread. 0x02000000 - Async events. 0x01000000 - Timer routines. 0x00800000 - User space. 0x00400000 - Task Management. 0x00200000 - AER/EEH. 0x00100000 - Multi Q. 0x00080000 - P3P Specific. 0x00040000 - Virtual Port. 0x00020000 - Buffer Dump. 0x00010000 - Misc. 0x7fffffff - For enabling all logs, can be too many logs. Setting ql2xextended_error_logging module parameter to any of the above value, will enable the debug for that particular level. Do LOGICAL OR of the value to enable more than one level. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
07e264b76d1db5794614ca3d726fdf1c0399dac0 |
|
30-Mar-2011 |
Andrew Vasquez <andrew.vasquez@qlogic.com> |
[SCSI] qla2xxx: Update copyright banner. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
900a36e3277ac9109fe364a6a1420c71265f9377 |
|
22-Dec-2010 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Fix to avoid recursive lock failure during BSG timeout. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
21090cbe95189d4ce6135fc8fec2f416b3eb227f |
|
22-Dec-2010 |
Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> |
[SCSI] qla2xxx: Update FCP priority information to firmware before sending IOs The FCP priority info was not being updated properly in certain situations. Here are the changes that needs to be done to take care of this issue: 1. No need to check fcport->state for FCS_UNCONFIGURED in qla24xx_update_fcport_fcp_prio(), since an invalid loop id check is already performed which is sufficient. 2. Add the missing qla24xx_update_fcport_fcp_prio() function call within qla2x00_update_fcport() function, so that the priority info is updated on every port addition or change. 3. Perform proper adapter types checking. 4. Other changes, associated with DEBUG/printk's and parameter passing. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
4052bd57234f119cef13b8997fcc852e2b2ce992 |
|
22-Dec-2010 |
Joe Carnuccio <joe.carnuccio@qlogic.com> |
[SCSI] qla2xxx: Fixed zero test on new_config in qla2x00_process_loopback(). Fixed the incorrect zero test on array new_config[]. Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
f19af1636bda8454401fa76ce4ad027412d5d07a |
|
15-Oct-2010 |
Harish Zunjarrao <harish.zunjarrao@qlogic.com> |
[SCSI] qla2xxx: Add flash read/update support using BSG interface Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
c9afb9a24db2e673971e790ee4c1bac55708f333 |
|
04-Sep-2010 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Don't issue set or get port param MBC if port is not online. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
de7c5d059dbd245ad80011725f9c86f560e61fff |
|
23-Jul-2010 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Update copyright banner. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
08f71e090d3f0d8136c3f350e5082f9217fb7d5b |
|
23-Jul-2010 |
Harish Zunjarrao <harish.zunjarrao@qlogic.com> |
[SCSI] qla2xxx: Do not allow ELS Passthru commands for ISP23xx adapters Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
9bc4f4fb44d22e5edc9369c87585a3b492073b8b |
|
23-Jul-2010 |
Harish Zunjarrao <harish.zunjarrao@qlogic.com> |
[SCSI] qla2xxx: Add CT passthru support for ISP23xx adapters Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
9a15eb4b514c526cf3181ce224967ab5d8dafe77 |
|
23-Jul-2010 |
Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> |
[SCSI] qla2xxx: Don't issue set or get port param MBC if remote port is not logged in Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
2f0f3f4f06f7cfadebf58b70bd9e7f71d8fd96e4 |
|
23-Jul-2010 |
Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> |
[SCSI] qla2xxx: Appropriately log FCP priority data messages Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
17cf2c5d76b468ca03e59c7cf60decfcef6c08c4 |
|
23-Jul-2010 |
Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> |
[SCSI] qla2xxx: Don't issue set or get port param MBC if invalid port loop id Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
23f2ebd17a13835c5b34994d2c2e5faacc127947 |
|
29-May-2010 |
Sarang Radke <sarang.radke@qlogic.com> |
[SCSI] qla2xxx: Add internal loopback support for ISP81xx. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
3822263eb1e74821ad1ae886ddd2184ae9395ff7 |
|
05-May-2010 |
Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> |
[SCSI] qla2xxx: Support for asynchronous TM and Marker IOCBs. Currently we can only issue the task management (TM) commands via the mailbox mechanism. This is a limitation, since only one mailbox command can be issued at a time. The purpose of this effort is to provide support for issuing and processing the respose to TM and Marker IOCBs asynchronously. Towards achieving this, the consolidated srb architecture that is currently used for BSG and IOCB/Logio commands has been enhanced and used. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
4916392b56921b4aaaeaca3ef492135f42fbb5f2 |
|
05-May-2010 |
Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> |
[SCSI] qla2xxx: Provide common framework for BSG and IOCB commands. Currently, BSG and IOCB/Logio commands have a different framework (srb structs). The purpose of this effort is to consolidate them into a generalized framework for these as well as other asynchronous operations in the future. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
6c452a45e5d8a93812360a5581e93ac5a8776025 |
|
20-Mar-2010 |
Andrew Vasquez <andrew.vasquez@qlogic.com> |
[SCSI] qla2xxx: General checkpatch corrections. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
d5459083af5b6e01796797edd12555ab586c6092 |
|
20-Mar-2010 |
Harish Zunjarrao <harish.zunjarrao@qlogic.com> |
[SCSI] qla2xxx: Free DMA memory only if it is allocated in vendor specific BSG command The qla84xx_mgmt_cmd function supports multiple subcommands. Some subcommands require DMA memory and some do not. Therefore check before freeing DMA memory whether it is allocated or not. Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
09ff701a177b116c6c15b6e501e58fbfb306b424 |
|
20-Mar-2010 |
Sarang Radke <sarang.radke@qlogic.com> |
[SCSI] qla2xxx: Add APEX support. Allows priority setting for FCP_CMNDs. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
6e98016ca077c5c751167bfdb1a3a2a3bee581cf |
|
20-Mar-2010 |
Giridhar Malavali <giridhar.malavali@qlogic.com> |
[SCSI] qla2xxx: Re-organized BSG interface specific code. 1. Segregate BSG interface specific code to new files. 2. Handle multiple vendor specific commands indepedently. 3. Reorganised support for reset, management and update FCoE firmware commands. 4. Fixed memory leak issue in Loopback. 5. Added new vendor command to support iiDMA using BSG interface. 6. Proper cleanup of dma mapped and dma allocated buffers for BSG request. [jejb: fix up conflict and merge in Jiri Slaby lock imbalance patch] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|