06 Sep, 2010
7 commits
-
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
For ISP82xx, the check for empty slot in request queue before posting command type 6
request was missing. This could lead to request queue entry corruptions causing
IO timeouts.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Currently, if target sets the SCSI Status (with Check condition)
and there is no FCP residual bit set then driver does not check
for dropped frame. This could lead to data corruption.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
The fw_hung flag should be set ir-respective of if there is a
mbx command pending or not. Also the complete should be called
if there is a mbx waiting.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
The seconds_since_last_heartbeat should be checked for consecutive
heartbeat checks. Currently it could happen that seconds_since_last_heartbeat
gets set to max (2 seconds) for non-consecutive heartbeat checks.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley
11 Aug, 2010
1 commit
-
String constants that are continued on subsequent lines with \ will cause
spurious whitespace in the resulting output.Signed-off-by: Joe Perches
Cc: James E.J. Bottomley
Cc: Giridhar Malavali
Cc: Anirban Chakraborty
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Aug, 2010
1 commit
-
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
Documentation: update broken web addresses.
fix comment typo "choosed" -> "chosen"
hostap:hostap_hw.c Fix typo in comment
Fix spelling contorller -> controller in comments
Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
fs/Kconfig: Fix typo Userpace -> Userspace
Removing dead MACH_U300_BS26
drivers/infiniband: Remove unnecessary casts of private_data
fs/ocfs2: Remove unnecessary casts of private_data
libfc: use ARRAY_SIZE
scsi: bfa: use ARRAY_SIZE
drm: i915: use ARRAY_SIZE
drm: drm_edid: use ARRAY_SIZE
synclink: use ARRAY_SIZE
block: cciss: use ARRAY_SIZE
comment typo fixes: charater => character
fix comment typos concerning "challenge"
arm: plat-spear: fix typo in kerneldoc
reiserfs: typo comment fix
update email address
...
28 Jul, 2010
31 commits
-
Signed-off-by: Andrew Vasquez
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Re-organized and cleaned up the ISP82xx specific code.
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Harish Zunjarrao
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Harish Zunjarrao
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
This function was added to encapsulate freeing the memory for all the fcports
associated with a particular vha. Also added a call to qla2x00_free_fcports()
to qla2x00_free_device() to free the memory for all the fcports associated with
a vha during device removal.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
If BIOS is enabled then drivers init firmware fails since
BIOS has done the init once.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Earlier implementation did not take into account the varying
sizes of data buffers returned from structures sts_entry_t and
sts_entry_24xx. Sense-data after the 20th byte could be
incorrect.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
The default method that qla2xxx uses is the GID_PT nameserver command to
get a list of Nx_Ports. This patch adds a GFF_ID call for each port
returned by GID_PT to get the FC4 type. If the FC4 type is not FCP SCSI
then the qla2xxx driver will not record that port in it's port database.
For switches that do not support the GFF_ID command, the behavior will be
for qla2xxx to store that port anyways.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
…er than minuimum value(4 secs).
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de> -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Driver was not unprotecting correctly, use correct bits
to unprotect the flash on ISP 82xx.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Outstanding mailbox commands, have no way to recover on f/w hung, and we
timeout on waiting for mbx response. This in turn affects the recovery process
as follows:
- We might already be in dpc while waiting for mbx to complete, so recovery for
that pci function will never get invoked. Reset Timeout (10 sec) is far less
than mbx timeout (30 sec).
- Other mbx cmds will get stuck due to serial mbx access.Solution is to identify fw-hung scenario and handle outstanding mbx commands to
have an early-exit instead of waiting for response.
Other mbx commands waiting for access will also do an early-exit if fw-hung is
still applicable.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
After topology change ISP is reset and VPs are re-enabled.
If the topology is not fabric, VPs could falsely get enabled.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Used bootloder address from FLT while loading FW from flash as well.
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
In case of both target and initiator capabilities reported by fc port,
the fc port port capability is made mutualy exclusive with priority given
for target capabilities.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Andrew Vasquez
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
* hold the hardware_lock throughout the duration of ctx-sp
timeout handling -- could result in use-after-free oops.* retry a timed-out login-request.
* done() routines are called with the hardware-lock held, issue
qla2x00_mark_device_lost() with proper 'defer' flag.* FCP2 capabilities are only relevant to target devices.
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Hold a reference to the srb (sp) while aborting an I/O -- as the
I/O can/will complete from within the interrupt-context.Signed-off-by: Andrew Vasquez
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley