James Smart
06918ac566
[SCSI] lpfc 8.3.45: Fixed crash during driver unload.
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
James Smart
e10b2022f9
[SCSI] lpfc 8.3.45: Fixed driver error messages after firmware download
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
James Smart
76fd07a632
[SCSI] lpfc 8.3.45: Fix sysfs buffer overrun in read of lpfc_fcp_cpu_map for 128 CPUs.
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
James Smart
1ba981fd3a
[SCSI] lpfc 8.3.45: Incorporated support of a low-latency io path
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
James Smart
cff261f6bd
[SCSI] lpfc 8.3.44: Fix kernel panics from corrupted ndlp list
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
Jon Mason
453193e042
[SCSI] lpfc: remove unnecessary read of PCI_CAP_ID_EXP
...
The PCIE capability offset is saved during PCI bus walking. It will
remove an unnecessary search in the PCI configuration space if this
value is referenced instead of reacquiring it. Also, pci_is_pcie is a
better way of determining if the device is PCIE or not (as it uses the
same saved PCIE capability offset).
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
11 years ago
Jingoo Han
08b7e10716
SCSI: remove unnecessary pci_set_drvdata()
...
Since commit 0998d06310
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: James Bottomley <JBottomley@parallels.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
11 years ago
James Smart
164cecd1b9
[SCSI] lpfc 8.3.42: Fixed inconsistent spin lock usage.
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
acbd86160a
[SCSI] lpfc 8.3.42: Fix WARN_ON when driver unloads
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
f5ca6f2e77
[SCSI] lpfc 8.3.42: Avoided making pci bar ioremap call during dual-chute WQ/RQ pci bar selection
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
ec2087a725
[SCSI] lpfc 8.3.42: Fix crash on driver load due to cpu affinity logic
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
716d3bc503
[SCSI] lpfc 8.3.42: Fixed not able to log informational messages at early stage of driver init time
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
f8813d260e
[SCSI] lpfc: Removed obsolete fcp_eq_count and fcp_wq_count driver attributes
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
0c651878ba
[SCSI] lpfc 8.3.41: Fixed support for 128 byte WQEs
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
572709e206
[SCSI] lpfc 8.3.41: Fixed max value of lpfc_lun_queue_depth
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
92c13f291e
[SCSI] lpfc 8.3.40: Update Copyrights to 2013 for 8.3.38, 8.3.39, and 8.3.40 modifications
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
c2b9712edd
[SCSI] lpfc 8.3.40: Fixed a race condition between SLI host and port failed FCF rediscovery
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
b246de1743
[SCSI] lpfc 8.3.40: Fix lpfc_used_cpu to be more dynamic
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
7bb03bbf1e
[SCSI] lpfc 8.3.39: Fixed driver vector mapping to CPU affinity
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
ea714f3dab
[SCSI] lpfc 8.3.39: Fixed system panic during EEH recovery due to midlayer acting on outstanding I/O
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
a88dbb6a96
[SCSI] lpfc 8.3.39: Fixed not returning FAILED status when SCSI invoking host reset handler failed
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
a40fc5f0d0
[SCSI] lpfc 8.3.39: Reduced spinlock contention on SCSI buffer list
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
229adb0ece
[SCSI] lpfc 8.3.39: Fix driver issues with SCSI Host reset
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
96f7077f67
[SCSI] lpfc 8.3.39: Fix driver issues with large s/g lists for BlockGuard
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
09294d4623
[SCSI] lpfc 8.3.39: Fix driver issues with large lpfc_sg_seg_cnt values
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
256ec0d05f
[SCSI] lpfc 8.3.39: Remove driver dependency on HZ
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
16a3a20842
[SCSI] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
Al Viro
858feacd2b
lpfc: fix races for miscdevice open vs. rmmod
...
mind you, I'm not sure WTF would anybody _need_ that miscdevice
at all - no IO is possible for it, opening it only pins the module
down and is seriously racy, at that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 years ago
James Smart
38c2067366
[SCSI] lpfc 8.3.38: Fixed circular locking dependency and inconsistent lock state issues
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
25aee4070a
[SCSI] lpfc 8.3.38: Fixed async FCF modified event to in-use FCF failure to trigger recovery
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
0e9bb8d79c
[SCSI] lpfc 8.3.38: Fixed NMI watch dog panic's when resetting the hba.
...
Fixed NMI watch dog panic's when resetting the hba.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
Tejun Heo
ab51603672
scsi/lpfc: convert to idr_alloc()
...
Convert to the much saner new idr interface.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: James Smart <james.smart@emulex.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 years ago
James Smart
962bc51b04
[SCSI] lpfc 8.3.37: Provide support for FCoE protocol dual-chute (ULP) operation
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
7b15db32d3
[SCSI] lpfc 8.3.37: Removed use of NOP mailboxes for interrupt verification
...
Removed use of NOP mailboxes for interrupt verification in pci_probe_one_s4
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
Greg Kroah-Hartman
6f03979051
Drivers: scsi: remove __dev* attributes.
...
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Adam Radford <linuxraid@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years ago
James Smart
8c1312e1b9
[SCSI] lpfc 8.3.36: Correct buffer length overrun
...
Reported via: https://bugzilla.kernel.org/show_bug.cgi?id=48871
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
c71ab8616d
[SCSI] lpfc 8.3.36: Fixed boot from san failure
...
Fixed boot from san failure when SLI4 FC device presented on the same PCI bus
The request_firmware interface can induce delays while looking
for firmware files, even if no fw file is present. In some situations
the delays exceeded scan_wait timeouts, resulting in situations in which
the boot device had not been discovered in time. Boot Device does not
need to be on a lpfc device.
Change request_firmware use to be module paramater driven. Default is to
not attempt firmware download on boot. Add sysfs parameter to invoke
firmware update.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
12 years ago
James Smart
8b68cd5258
[SCSI] lpfc 8.3.35: Fixed not reporting logical link speed to SCSI midlayer when QoS not on
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
4169d868be
[SCSI] lpfc 8.3.35: Fixed SCSI host create showing wrong link speed on SLI3 HBA ports
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
292098beb5
[SCSI] lpfc 8.3.35: Fixed messages for misconfigured port errors
...
Fixed messages for misconfigured port errors to be consistent for
all OS platforms.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
ce3962829d
[SCSI] lpfc 8.3.35: Correct request_firmware use that was increasing boot times
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
5402a31581
[SCSI] lpfc 8.3.35: Fixed Linux generic firmware download on SLI4 devices with longer module names
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
82c3e9bafa
[SCSI] lpfc 8.3.35: Expand I/O channel support for large systems
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
1c13bf6648
[SCSI] lpfc 8.3.34: Adjust IO Channels to 1 when INTx
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
90695ee0e9
[SCSI] lpfc 8.3.34: Fix number of IO channels to match CPUs
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
8aa134a836
[SCSI] lpfc 8.3.34: Add SLI-4 V1 Capacity and Resource Descriptor support
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
ba20c8536f
[SCSI] lpfc 8.3.33: Add lpfc_fcp_look_ahead module parameter
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
4305f183c0
[SCSI] lpfc 8.3.33: Change Naming convention for SLI4 Interrupt vector
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
bf8dae83fe
[SCSI] lpfc 8.3.33: Allow per-hba interrupt rate tuning
...
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago
James Smart
67d1273385
[SCSI] lpfc 8.3.33: Tie parallel I/O queues into separate MSIX vectors
...
Add fcp_io_channel module attribute to control amount of parallel I/O queues
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
13 years ago