]> www.infradead.org Git - users/jedix/linux-maple.git/log
users/jedix/linux-maple.git
13 years agodrm/i915: fix integer overflow in i915_gem_do_execbuffer()
Xi Wang [Mon, 23 Apr 2012 08:06:42 +0000 (04:06 -0400)]
drm/i915: fix integer overflow in i915_gem_do_execbuffer()

Orabug: 14107456
This fixes CVE-2012-2384.
Commit 44afb3a04391a74309d16180d1e4f8386fdfa745 upstream.

On 32-bit systems, a large args->num_cliprects from userspace via ioctl
may overflow the allocation size, leading to out-of-bounds access.

This vulnerability was introduced in commit 432e58ed ("drm/i915: Avoid
allocation for execbuffer object list").

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
13 years agodrm/i915: fix integer overflow in i915_gem_execbuffer2()
Xi Wang [Mon, 23 Apr 2012 08:06:41 +0000 (04:06 -0400)]
drm/i915: fix integer overflow in i915_gem_execbuffer2()

Orabug: 14107445
This fixes CVE-2012-2383.
Commit ed8cd3b2cd61004cab85380c52b1817aca1ca49b upstream.

On 32-bit systems, a large args->buffer_count from userspace via ioctl
may overflow the allocation size, leading to out-of-bounds access.

This vulnerability was introduced in commit 8408c282 ("drm/i915:
First try a normal large kmalloc for the temporary exec buffers").

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
13 years agoSPEC: v2.6.39-200.12.0
Maxim Uvarov [Wed, 23 May 2012 21:40:26 +0000 (14:40 -0700)]
SPEC: v2.6.39-200.12.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoMerge branch 'stable-bz14091238' of git://ca-git.us.oracle.com/linux-konrad-public...
Maxim Uvarov [Wed, 23 May 2012 21:37:50 +0000 (14:37 -0700)]
Merge branch 'stable-bz14091238' of git://ca-git.us.oracle.com/linux-konrad-public into uek-2.6.39-200_v2.6.39-200.11.0

13 years agoRevert "x86, efi: Pass a minimal map to SetVirtualAddressMap()"
Maxim Uvarov [Fri, 18 May 2012 21:14:59 +0000 (14:14 -0700)]
Revert "x86, efi: Pass a minimal map to SetVirtualAddressMap()"

Orabug: 14076004
This reverts commit 7cb00b72876ea2451eb79d468da0e8fb9134aa8a.

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoconfig: turn on CONFIG_HVC_XEN_FRONTEND
Maxim Uvarov [Mon, 21 May 2012 18:39:16 +0000 (11:39 -0700)]
config: turn on CONFIG_HVC_XEN_FRONTEND

Orabug: 14064174
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoxen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness.
Konrad Rzeszutek Wilk [Wed, 23 May 2012 16:56:59 +0000 (12:56 -0400)]
xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness.

We need to make sure that those parameters are setup to be correct.
As such the value of 0 is deemed invalid and we find that we
bail out. The hypervisor sets by default all of them to be zero
and when the hypercall is done does a simple:

 a.value = d->arch.hvm_domain.params[a.index];

Which means that if the Xen toolstack forgot to setup the proper
HVM_PARAM_CONSOLE_EVTCHN, we would get the default value of 0
and use that.

CC: stable@kernel.org
Fixes-Oracle-Bug: 14091238
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
13 years agoxen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN
Konrad Rzeszutek Wilk [Wed, 23 May 2012 16:55:38 +0000 (12:55 -0400)]
xen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN

We weren't resetting the parameter to be passed in to a
known default. Nor were we checking the return value of
hvm_get_parameter.

CC: stable@kernel.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
13 years agoxen/hvc: Collapse error logic.
Konrad Rzeszutek Wilk [Wed, 23 May 2012 16:53:11 +0000 (12:53 -0400)]
xen/hvc: Collapse error logic.

All of the error paths are doing the same logic. In which
case we might as well collapse them in one path.

CC: stable@kernel.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
13 years agoSPEC: v2.6.39-200.11.0
Maxim Uvarov [Thu, 17 May 2012 18:24:29 +0000 (11:24 -0700)]
SPEC: v2.6.39-200.11.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years ago[dm] do not forward ioctls from logical volumes to the underlying device
Joe Jin [Fri, 23 Dec 2011 02:00:27 +0000 (10:00 +0800)]
[dm] do not forward ioctls from logical volumes to the underlying device

CVE-2011-4127.

A logical volume can map to just part of underlying physical volume.
In this case, it must be treated like a partition.

Based on a patch from Alasdair G Kergon.

Cc: Alasdair G Kergon <agk@redhat.com>
Cc: Mike Snitzer <msnitzer@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
13 years ago[block] fail SCSI passthrough ioctls on partition devices
Joe Jin [Fri, 23 Dec 2011 01:59:41 +0000 (09:59 +0800)]
[block] fail SCSI passthrough ioctls on partition devices

CVE-2011-4127.

Linux allows executing the SG_IO ioctl on a partition or even on an
LVM volume, and will pass the command to the underlying block device.
This is well-known, but it is also a large security problem when (via
Unix permissions, ACLs, SELinux or a combination thereof) a program or
user needs to be granted access to a particular partition or logical
volume but not to the full device.

This patch limits the ioctls that are forwarded to non-SCSI devices to
a few ones that are harmless.  This restriction includes programs
running with the CAP_SYS_RAWIO.  If for example I let a program access
/dev/sda2 and /dev/sdb, it still should not be able to read/write outside
the boundaries of /dev/sda2 independent of the capabilities.

This patch does not affect the non-libata IDE driver.  That driver however
alreadys test for bd != bd->bd_contains before issuing some ioctl; so,
programs that do not require CAP_SYS_RAWIO are safe.  A workaround is
just to use libata.

Encryption on the host is a mitigating factor, but it does not provide
a full solution.  In particular it doesn't protect against DoS (write
random data), replay attacks (reinstate old ciphertext sectors), or
writes to unencrypted areas including the MBR, the partition table, or
/boot.

Thanks to Daniel Berrange, Milan Broz, Mike Christie, Alasdair Kergon,
Petr Matousek, Jeff Moyer, Mike Snitzer and others for help discussing
this issue.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
13 years ago[block] add and use scsi_blk_cmd_ioctl
Joe Jin [Fri, 23 Dec 2011 01:58:55 +0000 (09:58 +0800)]
[block] add and use scsi_blk_cmd_ioctl

CVE-2011-4127.

Introduce a wrapper around scsi_cmd_ioctl that takes a block device.
The function will then be enhanced to detect partition block devices and,
in that case, subject the ioctls to whitelisting.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
Conflicts:

block/scsi_ioctl.c
drivers/block/ub.c

Orabug: 14056755

Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
13 years agoSPEC: v2.6.39-200.10.0
Maxim Uvarov [Thu, 17 May 2012 00:12:29 +0000 (17:12 -0700)]
SPEC: v2.6.39-200.10.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agonet: ipv4: relax AF_INET check in bind()
Eric Dumazet [Tue, 30 Aug 2011 22:57:00 +0000 (18:57 -0400)]
net: ipv4: relax AF_INET check in bind()

Orabug: 14054411
commit d0733d2e29b65 (Check for mistakenly passed in non-IPv4 address)
added regression on legacy apps that use bind() with AF_UNSPEC family.

Relax the check, but make sure the bind() is done on INADDR_ANY
addresses, as AF_UNSPEC has probably no sane meaning for other
addresses.

Bugzilla reference : https://bugzilla.kernel.org/show_bug.cgi?id=42012

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reported-and-bisected-by: Rene Meier <r_meier@freenet.de>
CC: Marcus Meissner <meissner@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agoxen-netback: fix the number of skb slots calculation.
Adnan Misherfi [Thu, 10 May 2012 14:31:27 +0000 (10:31 -0400)]
xen-netback: fix the number of skb slots calculation.

Signed-off-by: Adnan Misherfi <adnan.misherfi@oracle.com>
13 years agoKVM: Ensure all vcpus are consistent with in-kernel irqchip settings
Avi Kivity [Mon, 5 Mar 2012 12:23:29 +0000 (14:23 +0200)]
KVM: Ensure all vcpus are consistent with in-kernel irqchip settings

Bugdb: 13871
This fixes: CVE-2012-1601
Commit 3e515705a1f46beb1c942bb8043c16f8ac7b1e9e upstream.
If some vcpus are created before KVM_CREATE_IRQCHIP, then
irqchip_in_kernel() and vcpu->arch.apic will be inconsistent, leading
to potential NULL pointer dereferences.

Fix by:
- ensuring that no vcpus are installed when KVM_CREATE_IRQCHIP is called
- ensuring that a vcpu has an apic if it is installed after KVM_CREATE_IRQCHIP

This is somewhat long winded because vcpu->arch.apic is created without
kvm->lock held.

Based on earlier patch by Michael Ellerman.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
13 years agokabi update whitelist for OCFS
Maxim Uvarov [Fri, 11 May 2012 22:44:59 +0000 (15:44 -0700)]
kabi update whitelist for OCFS

Orabug: 14055758
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoSPEC: v2.6.39-200.9.0
Maxim Uvarov [Fri, 11 May 2012 00:11:09 +0000 (17:11 -0700)]
SPEC: v2.6.39-200.9.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years ago[SCSI] scsi_dh_rdac: Fix for unbalanced reference count
Moger, Babu [Thu, 2 Feb 2012 15:21:54 +0000 (15:21 +0000)]
[SCSI] scsi_dh_rdac: Fix for unbalanced reference count

Orabug: 14059970
This patch fixes an unbalanced refcount issue.

Elevating the lock for both kref_put and also for controller node deletion.
Previously, controller deletion was protected but the not the kref_put. This
was causing the other thread to pick up the controller structure which was
already kref'd zero.

This was causing the following WARN_ON and also sometimes panic.

WARNING: at lib/kref.c:43 kref_get+0x2d/0x30() (Not tainted)
Hardware name: IBM System x3655 -[7985AC1]-
Modules linked in: fuse scsi_dh_rdac autofs4 nfs lockd fscache nfs_acl
auth_rpcgss sunrpc 8021q garp stp llc ipv6 ib_srp(U) scsi_transport_srp
scsi_tgt ib_cm(U) ib_sa(U) ib_uverbs(U) ib_umad(U) mlx4_ib(U) mlx4_core(U)
ib_mthca(U) ib_mad(U) ib_core(U) dm_mirror dm_region_hash dm_log dm_round_robin
dm_multipath uinput bnx2 ses enclosure sg ibmpex ibmaem ipmi_msghandler
serio_raw k8temp hwmon amd64_edac_mod edac_core edac_mce_amd shpchp i2c_piix4
ext4 mbcache jbd2 sr_mod cdrom sd_mod crc_t10dif sata_svw pata_acpi ata_generic
pata_serverworks aacraid radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
dm_mod [last unloaded: freq_table]
Pid: 13735, comm: srp_daemon Not tainted 2.6.32-71.el6.x86_64 #1
Call Trace:
[<ffffffff8106b857>] warn_slowpath_common+0x87/0xc0
[<ffffffff8106b8aa>] warn_slowpath_null+0x1a/0x20
[<ffffffff8125c39d>] kref_get+0x2d/0x30
[<ffffffffa01b4029>] rdac_bus_attach+0x459/0x580 [scsi_dh_rdac]
[<ffffffff8135232a>] scsi_dh_handler_attach+0x2a/0x80
[<ffffffff81352c7b>] scsi_dh_notifier+0x9b/0xa0
[<ffffffff814cd7a5>] notifier_call_chain+0x55/0x80
[<ffffffff8109711a>] __blocking_notifier_call_chain+0x5a/0x80
[<ffffffff81097156>] blocking_notifier_call_chain+0x16/0x20
[<ffffffff8132bec5>] device_add+0x515/0x640
[<ffffffff813329e4>] ? attribute_container_device_trigger+0xc4/0xe0
[<ffffffff8134f659>] scsi_sysfs_add_sdev+0x89/0x2c0
[<ffffffff8134d096>] scsi_probe_and_add_lun+0xea6/0xed0
[<ffffffff8134beb2>] ? scsi_alloc_target+0x292/0x2d0
[<ffffffff8134d1e1>] __scsi_scan_target+0x121/0x750
[<ffffffff811df806>] ? sysfs_create_file+0x26/0x30
[<ffffffff8132b759>] ? device_create_file+0x19/0x20
[<ffffffff81332838>] ? attribute_container_add_attrs+0x78/0x90
[<ffffffff814b008c>] ? klist_next+0x4c/0xf0
[<ffffffff81332e30>] ? transport_configure+0x0/0x20
[<ffffffff813329e4>] ? attribute_container_device_trigger+0xc4/0xe0
[<ffffffff8134df40>] scsi_scan_target+0xd0/0xe0
[<ffffffffa02f053a>] srp_create_target+0x75a/0x890 [ib_srp]
[<ffffffff8132a130>] dev_attr_store+0x20/0x30
[<ffffffff811df145>] sysfs_write_file+0xe5/0x170
[<ffffffff8116c818>] vfs_write+0xb8/0x1a0
[<ffffffff810d40a2>] ? audit_syscall_entry+0x272/0x2a0
[<ffffffff8116d251>] sys_write+0x51/0x90
[<ffffffff81013172>] system_call_fastpath+0x16/0x1b

Signed-off-by: Babu Moger <babu.moger@netapp.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago[SCSI] scsi_dh_rdac: Adding couple more vendor product ids
Moger, Babu [Fri, 2 Sep 2011 15:21:17 +0000 (11:21 -0400)]
[SCSI] scsi_dh_rdac: Adding couple more vendor product ids

Orabug: 14059970
This patch adds couple more Vendor/Product IDs for RDAC.. There are no
functional changes.

Signed-off-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago[SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions...
Chandra Seetharaman [Wed, 27 Jul 2011 18:22:56 +0000 (11:22 -0700)]
[SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions in storage

Orabug: 14059970
rdac hardware handler assumes that there is one-to-one relation ship
between the host and the controller w.r.t lun.  IOW, it does not
support "multiple storage partitions" within a storage.

Example:
HBA1 and HBA2 see lun 0 and 1 in storage A (1)
HBA3 and HBA4 see lun 0 and 1 in storage A (2)
HBA5 and HBA6 see lun 0 and 1 in storage A (3)

luns 0 and 1 in (1), (2) and (3) are totally different.

But, rdac handler treats the lun 0s (and lun 1s) as the same when
sending a mode select to the controller, which is wrong.

This patch makes the rdac hardware handler associate HBA and the
storage w.r.t lun (and not the host itself).

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago[SCSI] dh_rdac: Use WWID from C8 page instead of Subsystem id from C4 page to identif...
Chandra Seetharaman [Wed, 20 Jul 2011 21:18:56 +0000 (14:18 -0700)]
[SCSI] dh_rdac: Use WWID from C8 page instead of Subsystem id from C4 page to identify storage

Orabug: 14059970
rdac hardware handler uses "Subsystem Identifier" from C4 inquiry page
to uniquely identify a storage. The problem with that is that if any
any of the bytes are non-ascii, subsys_id will all be spaces (hex
0x20). This creates lot of problems especially when there are multiple
rdac storages are connected to the server.

Use "Storage Array Unique Identifier" from C8 inquiry page, which is the
world wide unique identifier for the storage array, to uniquely identify
the storage.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years agokernel config: turn on sxge and sxgevf drivers
Maxim Uvarov [Thu, 10 May 2012 21:22:58 +0000 (14:22 -0700)]
kernel config: turn on sxge and sxgevf drivers

Signei-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agosxge/sxgevf: add new driver
Maxim Uvarov [Thu, 10 May 2012 20:28:36 +0000 (13:28 -0700)]
sxge/sxgevf: add new driver

Orabug: 13444150
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agobe2iscsi: adding functionality to change network settings using iscsiadm
root [Wed, 2 May 2012 14:36:21 +0000 (20:06 +0530)]
be2iscsi: adding functionality to change network settings using iscsiadm

 This patch allows iscsiadm to set/ delete static IP and enable /disable
 DHCP.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Adding bsg interface for be2iscsi
root [Wed, 2 May 2012 14:34:18 +0000 (20:04 +0530)]
be2iscsi: Adding bsg interface for be2iscsi

 This patch enables bsg interface for the be2iscsi driver

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Get Initiator Name for the iSCSI_Host
root [Wed, 2 May 2012 14:29:13 +0000 (19:59 +0530)]
be2iscsi: Get Initiator Name for the iSCSI_Host

 Implement the ISCSI_HOST_PARAM_INITIATOR_NAME for .get_host_param

Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Return async handle of unknown opcode to free list.
root [Wed, 2 May 2012 14:26:56 +0000 (19:56 +0530)]
be2iscsi: Return async handle of unknown opcode to free list.

 The async handle corresponding to unknown Opcode was not freed
 earlier. This code does the fix for that.

Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Check ASYNC PDU Handle corresponds to HDR/DATA Handle
root [Wed, 2 May 2012 14:25:07 +0000 (19:55 +0530)]
be2iscsi: Check ASYNC PDU Handle corresponds to HDR/DATA Handle

 For each ASYNC PDU received there is an HDR and DATA handle for it.
 There will be only 1 HDR ASYNC Handle, but DATA Handle can be more
 than 1 for each ASYNC PDU received. Checking if the ASYNC Handle
 correspongs to HDR or DATA while returning the Handle to the free list.
 hwi_free_async_msg just return the handles to the free list. No return
 values are needed so changing the return type to void.

Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Bump the driver Version
root [Wed, 2 May 2012 14:21:56 +0000 (19:51 +0530)]
be2iscsi:Bump the driver Version

 This patch bumps the driver version
Signed-off-by: Minh Tran <MinhDuc.Tran@Emulex.Com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Update in Copyright information
root [Wed, 2 May 2012 14:19:51 +0000 (19:49 +0530)]
be2iscsi: Update in Copyright information

 change from Serverengines to Emulex

Signed-off-by: Minh Tran <MinhDuc.Tran@Emulex.Com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Fix the function return values.
root [Wed, 2 May 2012 14:17:43 +0000 (19:47 +0530)]
be2iscsi:Fix the function return values.

 This patch fixes the return value

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Code cleanup, removing the goto statement
root [Wed, 2 May 2012 14:16:38 +0000 (19:46 +0530)]
be2iscsi:Code cleanup, removing the goto statement

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Fix double free of MCCQ info memory.
root [Wed, 2 May 2012 14:14:51 +0000 (19:44 +0530)]
be2iscsi:Fix double free of MCCQ info memory.

 In case of MCC_Q creation failed, the MCCQ info memory is freed
 from be_mcc_queues_destroy and be_mcc_queues_create. This caused
 kernel to panic because of double free.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Set num_cpu = 1 if pci_enable_msix fails
root [Wed, 2 May 2012 14:13:21 +0000 (19:43 +0530)]
be2iscsi:Set num_cpu = 1 if pci_enable_msix fails

 This patch sets the num_cpu to 1 if  msix not supported
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Fix typo function name mismatch
root [Wed, 2 May 2012 14:11:06 +0000 (19:41 +0530)]
be2iscsi:Fix typo function name mismatch

Signed-off-by: Minh Tran <MinhDuc.Tran@Emulex.Com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi:Freeing of WRB and SGL Handle in cleanup task
root [Wed, 2 May 2012 14:09:28 +0000 (19:39 +0530)]
be2iscsi:Freeing of WRB and SGL Handle in cleanup task

 The WRB and SGL Handle allocated for Login task were not freed
 back to the pool after the login process was done. This code
 releases the WRB and SGL Handle after the login process.

 v2:
 - Fix up locking so bh calls are not done when not needed.
 - Make beiscsi_cleanup_task static.

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: WRB Initialization and Failure code path change
root [Wed, 2 May 2012 14:07:17 +0000 (19:37 +0530)]
be2iscsi: WRB Initialization and Failure code path change

 Removing code duplication during the WRB_Handle and WRB
 initialization.
 Added memory allocation failure handling code during WRB
 initialization.

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: Fix in the Asynchronous Code Path
root [Wed, 2 May 2012 14:01:03 +0000 (19:31 +0530)]
be2iscsi: Fix in the Asynchronous Code Path

 Set the ASYNC PDU Handle pBuffer for Data ring with the VA/PA
 of the allocated memory for it.
 To get the correct ASYNC PDY Handle iterate the list and compare
 the PA set during initialization with the passed PHY Address.
 The buffer_size and num_enteries are common for HDR and Data ring

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: root <root@localhost.(none)>
13 years agobe2iscsi: cleanup a min_t() call
root [Wed, 2 May 2012 13:58:04 +0000 (19:28 +0530)]
be2iscsi: cleanup a min_t() call

 "sense_len" was declared as int type but actually it only stores a
 u16 value that comes from hardware.  The cast to u16 in min_t()
 confuses static analysis because it truncates the int to u16 so I've
 fixed the declaration to reflect that "sense_len" is just a u16.

 Also there was a call to cpu_to_be16() which I've changed to
 be16_to_cpu().  The functions are equivalent, but obviously the
 hardware is big endian and we're doing the min_t() comparison on CPU
 endian values.

 This whole patch is just a cleanup and doesn't affect how the code
 works.

 upstream commit id : 4053a4be525d3441cad6cd1ae207177f03eb9ce7
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: root <root@localhost.(none)>
13 years agoqlge: driver update to v1.0.0.30
Maxim Uvarov [Thu, 10 May 2012 00:48:52 +0000 (17:48 -0700)]
qlge: driver update to v1.0.0.30

Orabug: 14045380
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agonetxen: driver update to v4.0.78
Maxim Uvarov [Thu, 10 May 2012 00:41:15 +0000 (17:41 -0700)]
netxen: driver update to v4.0.78

Orabug: 14045367
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoqlcnic: driver update to v5.0.28.1
Maxim Uvarov [Thu, 10 May 2012 00:37:24 +0000 (17:37 -0700)]
qlcnic: driver update to v5.0.28.1

Orabug: 14055720
Update qlcnic driver to v5.0.28.1
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoSPEC: v2.6.39-200.8.0
Maxim Uvarov [Wed, 9 May 2012 22:27:45 +0000 (15:27 -0700)]
SPEC: v2.6.39-200.8.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoMerge branch 'uek2-merge' of git://ca-git.us.oracle.com/linux-konrad-public into...
Maxim Uvarov [Wed, 9 May 2012 18:49:36 +0000 (11:49 -0700)]
Merge branch 'uek2-merge' of git://ca-git.us.oracle.com/linux-konrad-public into uek-2.6.39-200

13 years agoSPEC: v2.6.39-200.7.0
Maxim Uvarov [Wed, 9 May 2012 18:11:10 +0000 (11:11 -0700)]
SPEC: v2.6.39-200.7.0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
13 years agoRevert "x86/ioapic: Add register level checks to detect bogus io-apic entries"
Maxim Uvarov [Wed, 9 May 2012 17:51:48 +0000 (10:51 -0700)]
Revert "x86/ioapic: Add register level checks to detect bogus io-apic entries"

This reverts commit 42af242e5687c0522154800c3bbd6d0a73a35d2a.

13 years agoqla2xxx: Updated the driver version to 8.04.00.03.39.0-k.
Giridhar Malavali [Thu, 3 May 2012 07:53:34 +0000 (13:23 +0530)]
qla2xxx: Updated the driver version to 8.04.00.03.39.0-k.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Don't attach driver with function.
Giridhar Malavali [Thu, 3 May 2012 07:51:50 +0000 (13:21 +0530)]
qla2xxx: Don't attach driver with function.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Proper detection of firmware abort error code for ISP82xx.
Giridhar Malavali [Wed, 11 Apr 2012 07:02:51 +0000 (12:32 +0530)]
qla2xxx: Proper detection of firmware abort error code for ISP82xx.

JIRA Key: V2632FC-160

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Fix typo in bus-reset handler.
Andrew Vasquez [Wed, 11 Apr 2012 06:59:09 +0000 (12:29 +0530)]
qla2xxx: Fix typo in bus-reset handler.

Both the target-id and LUN are munged in the original printk().

JIRA Key: V2632FC-161

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Correct link-reset regressions introduced during 83xx porting.
Andrew Vasquez [Mon, 30 Jan 2012 19:12:40 +0000 (11:12 -0800)]
qla2xxx: Correct link-reset regressions introduced during 83xx porting.

- flags.enable_lip_reset should not be set for 24xx/81xx (in
  corresponding nvram_config() functions).

- ISP2031 is *not* a CNA, remove comparison check against that
  ISP in qla2x00_lip_reset().

JIRA Key: V2632FC-159

13 years agoqla2xxx: Handle device mapping changes due to device logout.
Arun Easi [Wed, 11 Apr 2012 06:55:38 +0000 (12:25 +0530)]
qla2xxx: Handle device mapping changes due to device logout.

A device logout sent in the delete path of a fcport would clear the
port handle binding inside the firmware. This could lead to queued
work items for the fcport, if any, getting incorrect results. This
patch fixes the issue by checking for device name changes after a
call to get port database.

JIRA Key: V2632FC-131

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Avoid invalid request queue dereference for bad response packets.
Arun Easi [Wed, 11 Apr 2012 06:38:48 +0000 (12:08 +0530)]
qla2xxx: Avoid invalid request queue dereference for bad response packets.

JIRA Key: V2632FC-144

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Stop iteration after first failure in *_id functions.
Arun Easi [Thu, 19 Jan 2012 20:59:41 +0000 (12:59 -0800)]
qla2xxx: Stop iteration after first failure in *_id functions.

JIRA Key: V2632FC-153

13 years agoqla2xxx: Fix incorrect register access in qla2x00_start_iocbs().
Arun Easi [Sat, 14 Jan 2012 00:21:43 +0000 (05:51 +0530)]
qla2xxx: Fix incorrect register access in qla2x00_start_iocbs().

JIRA Key: V2632FC-147

13 years agoqla2xxx: Fix to update proper command completion upon command retries.
Andrew Vasquez [Mon, 16 Jan 2012 19:52:25 +0000 (11:52 -0800)]
qla2xxx: Fix to update proper command completion upon command retries.

Pass right completion om processing continuation status IOCB.

JIRA Key: V2632FC-149

13 years agoqla2xxx: Hard code the number of loop entries at 128.
Chad Dupuis [Fri, 13 Jan 2012 15:08:35 +0000 (09:08 -0600)]
qla2xxx: Hard code the number of loop entries at 128.

Do not use ha->max_fibre_devices in loop topology since the maximum number of
entries will always be 128 and so we don't have to worry about changing
ha->max_fibre_devices back.

JIRA Key: V2632FC-146

13 years agoRevert "qla2xxx: Return N-port id to firmware on logout."
Giridhar Malavali [Wed, 11 Apr 2012 06:14:16 +0000 (11:44 +0530)]
Revert "qla2xxx: Return N-port id to firmware on logout."

This reverts commit b6c09482a0c1f7aaa3f84fb83908f131ae7a3736.

13 years agoqla2xxx: Reference proper scsi_qla_host structure for processing non-scsi SRB commands.
Giridhar Malavali [Sat, 24 Dec 2011 06:44:16 +0000 (22:44 -0800)]
qla2xxx: Reference proper scsi_qla_host structure for processing non-scsi SRB commands.

JIRA Key: V2632FC-137

13 years agoqla2xxx: Fix wrong decrement, null sp access.
Arun Easi [Tue, 20 Dec 2011 17:48:04 +0000 (09:48 -0800)]
qla2xxx: Fix wrong decrement, null sp access.

JIRA Key: V2632FC-135

13 years agoqla2xxx: Further consolidation of SRB related code changes.
Giridhar Malavali [Wed, 11 Apr 2012 06:03:27 +0000 (11:33 +0530)]
qla2xxx: Further consolidation of SRB related code changes.

JIRA Key: V2632FC-134

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Complete mailbox command timedout to avoid initialization failures during...
Giridhar Malavali [Wed, 14 Dec 2011 01:17:47 +0000 (17:17 -0800)]
qla2xxx: Complete mailbox command timedout to avoid initialization failures during next reset cycle.

Complete the mailbox command timed out before initiating another abort cycle
to recover so that mailbox commands issued during next reset cycle don't fail
due to pending mailbox access timeout.

JIRA Key: V2632FC-122

13 years agoqla2xxx: Add ha->max_fibre_devices to keep track of the maximum number of targets.
Chad Dupuis [Tue, 10 Apr 2012 11:54:05 +0000 (17:24 +0530)]
qla2xxx: Add ha->max_fibre_devices to keep track of the maximum number of targets.

Add a field to the qla_hw_data struct to allow us to set the maximum number of
fabric devices on a per adapter basis based on ISP type.

JIRA Key: V2632FC-125

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Cache swl during fabric discovery.
Andrew Vasquez [Tue, 10 Apr 2012 11:52:14 +0000 (17:22 +0530)]
qla2xxx: Cache swl during fabric discovery.

Rather than continuously allocating and freeing swl within the discovery
process, simply pre-allocate it the first time that it's needed, cache it
through the rest of the lifecycle of the driver and free it at module unload.

JIRA Key: V2632FC-124

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Remove EDC sysfs interface.
Joe Carnuccio [Tue, 10 Apr 2012 11:50:36 +0000 (17:20 +0530)]
qla2xxx: Remove EDC sysfs interface.

Since the new firmware periodically resets the EDC, the EDC is now
not able to be flashed while the firmware is running, so the user
applications must be prevented from flashing the EDC, and this is
achieved by removing the EDC sysfs interface.

JIRA Key: V2632FC-112

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Perform firmware dump procedure on mailbox command timeout.
Chad Dupuis [Wed, 7 Dec 2011 21:51:34 +0000 (15:51 -0600)]
qla2xxx: Perform firmware dump procedure on mailbox command timeout.

JIRA Key: V2632FC-39

13 years agoqla2xxx: Change the log message when previous dump is available to retrieve for ISP82xx.
Giridhar Malavali [Thu, 1 Dec 2011 18:31:01 +0000 (12:31 -0600)]
qla2xxx: Change the log message when previous dump is available to retrieve for ISP82xx.

JIRA Key: V2632FC-103

13 years agoqla2xxx: Log messages to use correct vha.
Arun Easi [Tue, 10 Apr 2012 11:46:39 +0000 (17:16 +0530)]
qla2xxx: Log messages to use correct vha.

JIRA Key: V2632FC-99

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Add new message when a new loopid is assigned.
Chad Dupuis [Tue, 10 Apr 2012 11:42:19 +0000 (17:12 +0530)]
qla2xxx: Add new message when a new loopid is assigned.

JIRA Key: V2632FC-98

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Fix ql_dbg arguments.
Arun Easi [Wed, 2 Nov 2011 02:03:13 +0000 (19:03 -0700)]
qla2xxx: Fix ql_dbg arguments.

JIRA Key: V2632FC-96

13 years agoqla2xxx: Use ql_log* #define's in ql_log() and ql_log_pci().
Chad Dupuis [Tue, 10 Apr 2012 11:40:10 +0000 (17:10 +0530)]
qla2xxx: Use ql_log* #define's in ql_log() and ql_log_pci().

JIRA Key: V2632FC-127

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Convert remaining printk's to ql_log format.
Chad Dupuis [Tue, 10 Apr 2012 11:35:01 +0000 (17:05 +0530)]
qla2xxx: Convert remaining printk's to ql_log format.

JIRA Key: V2632FC-126

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Print mailbox command opcode and return code when a command times out.
Chad Dupuis [Tue, 10 Apr 2012 11:27:25 +0000 (16:57 +0530)]
qla2xxx: Print mailbox command opcode and return code when a command times out.

JIRA Key: V2632FC-102

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Remove check for null fcport from host reset handler.
Michael Christie [Tue, 10 Apr 2012 11:20:23 +0000 (16:50 +0530)]
qla2xxx: Remove check for null fcport from host reset handler.

Remove the check for a NULL fcport so that the host reset will run
unconditionally to unwedge any commands before the device is offlined and to
prevent a quick runthrough of the SCSI error handling.

JIRA Key: V2632FC-89

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Correct out of bounds read of ISP2200 mailbox registers.
Andrew Vasquez [Fri, 28 Oct 2011 21:40:44 +0000 (14:40 -0700)]
qla2xxx: Correct out of bounds read of ISP2200 mailbox registers.

From Olatunji:

A tool that I m building for finding memory faults in
Linux drivers is reporting that the following loop, in
qla2x00_mbx_completion(), reads outside the allocated io memory
while reading ISP2200 mailbox registers.  I would appreciate your
help in confirming this bug.

...
  wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 1);
 for (cnt = 1; cnt < ha->mbx_count; cnt++) {
    if (IS_QLA2200(ha) && cnt == 8)
wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 8);
    if (cnt == 4 || cnt == 5)
ha->mailbox_out[cnt] = qla2x00_debounce_register(wptr);
    else
       ha->mailbox_out[cnt] = RD_REG_WORD(wptr);
     wptr++;
  }
...

During isp2200 initialization (qla2x00_probe_one), ha->mbx_count
is set to 32, even though isp2200 has 24 mailbox registers
(mailbox0 ... mailbox23).  Therefore the loop runs for
cnt=[1..31], wptr walks off the allocated mailbox register region
at cnt==24, and results in out-of-bounds reads.

Although I observed this problem in linux2.6.17.1, I
confirmed that it also exists in 2.6.37 and 3.1-rc4.

Fortunately, the reads outside the 24 mailbox registers are
benign.  For correctness, limit the driver's read to 24.

JIRA Key: V2632FC-95

13 years agoqla2xxx: Remove errant clearing of MBX_INTERRUPT flag during CT-IOCB processing.
Andrew Vasquez [Thu, 20 Oct 2011 23:29:49 +0000 (16:29 -0700)]
qla2xxx: Remove errant clearing of MBX_INTERRUPT flag during CT-IOCB processing.

This can cause instability in mailbox command state machine handling.

JIRA Key: V2632FC-94

13 years agoqla2xxx: Reduce mbx-command timeout for Login/Logout requests.
Andrew Vasquez [Thu, 20 Oct 2011 22:49:13 +0000 (15:49 -0700)]
qla2xxx: Reduce mbx-command timeout for Login/Logout requests.

Don't use default 30 second mailbox-command timeout for these
serial requests, instead, limit the TMO to the standard 2*RATOV
plus some fudge-factor.

JIRA Key: V2632FC-93

13 years agoqla2xxx: Clear options-flags while issuing stop-firmware mbx command.
Andrew Vasquez [Thu, 20 Oct 2011 17:14:16 +0000 (10:14 -0700)]
qla2xxx: Clear options-flags while issuing stop-firmware mbx command.

Not clearing the options flags in mbx1 could lead the firmware
into interpreting old data in mbx1 through mbx8.  This could
lead to inadvertent DMA read/write operations to stale memory.

JIRA Key: V2632FC-92

13 years agoqla2xxx: Prep zero-length BSG data-transfer requests.
Andrew Vasquez [Tue, 10 Apr 2012 11:09:30 +0000 (16:39 +0530)]
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.

JIRA Key: V2632FC-90

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Perform implicit logout during rport tear-down.
Andrew Vasquez [Fri, 4 Nov 2011 14:31:51 +0000 (09:31 -0500)]
qla2xxx: Perform implicit logout during rport tear-down.

During rport tear-down, make sure we do an implicit LOGO of the fcport in our
firmware to try to clear any residual commands associated with that fcport.

JIRA Key: V2632FC-88

13 years agoqla2xxx: Return N-port id to firmware on logout.
Joe Carnuccio [Tue, 11 Oct 2011 23:47:36 +0000 (16:47 -0700)]
qla2xxx: Return N-port id to firmware on logout.

When logging out a port, return the N-port id to the firmware for
recycling to avoid running out of N-port id's.

JIRA Key: V2632FC-83

13 years agoqla2xxx: Handle failure cases during fabric_login
Chad Dupuis [Tue, 10 Apr 2012 11:00:12 +0000 (16:30 +0530)]
qla2xxx: Handle failure cases during fabric_login

Make sure that all calls to ha->isp_ops->fabric_login() check the
return value for failure.

JIRA Key: V2632FC-84

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Increase speed of flash access in ISP82xx adapters to improve firmware load...
Chad Dupuis [Tue, 10 Apr 2012 10:55:28 +0000 (16:25 +0530)]
qla2xxx: Increase speed of flash access in ISP82xx adapters to improve firmware load speed.

JIRA Key: V2632FC-78

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Handle change notifications based on switch scan results.
Arun Easi [Mon, 8 Aug 2011 07:06:36 +0000 (00:06 -0700)]
qla2xxx: Handle change notifications based on switch scan results.

Instead of processing each RSCN individually, use only the name server results
from the switch to tell the existance of a given fcport.

JIRA Key: V2632FC-41

13 years agoqla2xxx: Correct print format for edc ql_log() calls.
Joe Carnuccio [Thu, 13 Oct 2011 18:25:12 +0000 (13:25 -0500)]
qla2xxx: Correct print format for edc ql_log() calls.

JIRA Key: V2632FC-77

13 years agoqla2xxx: Use consistent DL mask for ELS/CT passthru requests.
Andrew Vasquez [Fri, 23 Sep 2011 22:00:21 +0000 (15:00 -0700)]
qla2xxx: Use consistent DL mask for ELS/CT passthru requests.

Driver is logging a slew of 'good' status requests:

[ 9178.507535] qla2xxx [0000:19:00.1]-503f:15: ELS-CT pass-through-ct pass-through error hdl=379 comp_status-status=0x15 error subcode 1=0x1820 error subcode 2=0x81c8 total_byte = 0x10.
[ 9178.525950] qla2xxx [0000:19:00.1]-503f:15: ELS-CT pass-through-ct pass-through error hdl=37c comp_status-status=0x15 error subcode 1=0x1820 error subcode 2=0x81c8 total_byte = 0x10.
[ 9178.543461] qla2xxx [0000:19:00.1]-503f:15: ELS-CT pass-through-ct pass-through error hdl=37f comp_status-status=0x15 error subcode 1=0x1820 error subcode 2=0x81c8 total_byte = 0x10.
[ 9178.555836] qla2xxx [0000:19:00.1]-503f:15: ELS-CT pass-through-ct pass-through error hdl=382 comp_status-status=0x15 error subcode 1=0x1820 error subcode 2=0x81c8 total_byte = 0x10.

Change from

* ql_log() -> ql_dbg()
* ql_log_info -> ql_dbg_user

Chad/Saurav, does this require a renumbering?

JIRA Key: V2632FC-76

13 years agoqla2xxx: Consolidation of SRB processing.
Giridhar Malavali [Tue, 10 Apr 2012 10:51:33 +0000 (16:21 +0530)]
qla2xxx: Consolidation of SRB processing.

Rework the structures related to SRB processing to minimize the memor
allocations per I/O and manage resources associated with and completions
from common routines.

JIRA Key: V2632FC-132

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Use proper VPD/NVRAM regions with ISP8031 parts.
Andrew Vasquez [Fri, 23 Dec 2011 20:09:55 +0000 (12:09 -0800)]
qla2xxx: Use proper VPD/NVRAM regions with ISP8031 parts.

JIRA key: V2632FC-142.

13 years agoqla2xxx: Remove ql2xfwloadbin assignment to 0.
Chad Dupuis [Wed, 14 Dec 2011 16:39:15 +0000 (08:39 -0800)]
qla2xxx: Remove ql2xfwloadbin assignment to 0.

JIRA Key: V2632FC-123

13 years agoqla2xxx: Call MPI reset for 81xx adapters only.
Andrew Vaquez [Wed, 14 Dec 2011 14:21:53 +0000 (08:21 -0600)]
qla2xxx: Call MPI reset for 81xx adapters only.

JIRA Key: V2632FC-129

13 years agoqla2xxx: Driver need to do HotReset instead of FundamentalReset for ISP83XX
Andrew Vasquez [Tue, 10 Apr 2012 09:42:21 +0000 (15:12 +0530)]
qla2xxx: Driver need to do HotReset instead of FundamentalReset for ISP83XX

JIRA Key: V2632FC-115.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Use default semantic for firmware load.
Saurav Kashyap [Thu, 8 Dec 2011 15:16:46 +0000 (07:16 -0800)]
qla2xxx: Use default semantic for firmware load.

JIRA Key: V2632FC-123

13 years agoqla2xxx: Enhancements to support ISP83xx.
Giridhar Malavali [Tue, 10 Apr 2012 09:36:06 +0000 (15:06 +0530)]
qla2xxx: Enhancements to support ISP83xx.

JIRA Key: V2632FC-100

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Enhanced the dump routines to capture multiple request and response queues.
Giridhar Malavali [Thu, 13 Oct 2011 18:37:35 +0000 (13:37 -0500)]
qla2xxx: Enhanced the dump routines to capture multiple request and response queues.

JIRA Key: V2632FC-30

13 years agoqla2xxx: Update the driver version to 8.03.07.13.39.0-k.
Saurav Kashyap [Wed, 7 Mar 2012 04:57:03 +0000 (10:27 +0530)]
qla2xxx: Update the driver version to 8.03.07.13.39.0-k.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Fixed typos and misc issues.
Saurav Kashyap [Mon, 27 Feb 2012 11:32:11 +0000 (17:02 +0530)]
qla2xxx: Fixed typos and misc issues.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Fix byte swapping in IPE print statement.
Chad Dupuis [Mon, 27 Feb 2012 07:03:56 +0000 (12:33 +0530)]
qla2xxx: Fix byte swapping in IPE print statement.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
13 years agoqla2xxx: Add an "is reset active" helper.
Andrew Vasquez [Mon, 27 Feb 2012 06:58:22 +0000 (12:28 +0530)]
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: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>