Skip to content

Commit 9a50aae

Browse files
committed
Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley: "This patch set consists of the usual driver updates (megaraid_sas, arcmsr, be2iscsi, lpfc, mpt2sas, mpt3sas, qla2xxx, ufs) plus several assorted fixes and miscellaneous updates (including the pci_msix_enable_range() changes that have been pending for a while)" * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (202 commits) scsi: add a CONFIG_SCSI_MQ_DEFAULT option ufs: definitions for phy interface ufs: tune bkops while power managment events ufs: Add support for clock scaling using devfreq framework ufs: Add freq-table-hz property for UFS device ufs: Add support for clock gating ufs: refactor configuring power mode ufs: add UFS power management support ufs: introduce well known logical unit in ufs ufs: manually add well known logical units ufs: Active Power Mode - configuring bActiveICCLevel ufs: improve init sequence ufs: refactor query descriptor API support ufs: add voting support for host controller power ufs: Add clock initialization support ufs: Add regulator enable support ufs: Allow vendor specific initialization scsi: don't add scsi_device if its already visible scsi: fix the type for well known LUs scsi: fix comment in struct Scsi_Host definition ...
2 parents 1e345ac + 19ac97f commit 9a50aae

142 files changed

Lines changed: 10375 additions & 3031 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,50 @@ Required properties:
88
- interrupts : <interrupt mapping for UFS host controller IRQ>
99
- reg : <registers mapping>
1010

11+
Optional properties:
12+
- vdd-hba-supply : phandle to UFS host controller supply regulator node
13+
- vcc-supply : phandle to VCC supply regulator node
14+
- vccq-supply : phandle to VCCQ supply regulator node
15+
- vccq2-supply : phandle to VCCQ2 supply regulator node
16+
- vcc-supply-1p8 : For embedded UFS devices, valid VCC range is 1.7-1.95V
17+
or 2.7-3.6V. This boolean property when set, specifies
18+
to use low voltage range of 1.7-1.95V. Note for external
19+
UFS cards this property is invalid and valid VCC range is
20+
always 2.7-3.6V.
21+
- vcc-max-microamp : specifies max. load that can be drawn from vcc supply
22+
- vccq-max-microamp : specifies max. load that can be drawn from vccq supply
23+
- vccq2-max-microamp : specifies max. load that can be drawn from vccq2 supply
24+
- <name>-fixed-regulator : boolean property specifying that <name>-supply is a fixed regulator
25+
26+
- clocks : List of phandle and clock specifier pairs
27+
- clock-names : List of clock input name strings sorted in the same
28+
order as the clocks property.
29+
- freq-table-hz : Array of <min max> operating frequencies stored in the same
30+
order as the clocks property. If this property is not
31+
defined or a value in the array is "0" then it is assumed
32+
that the frequency is set by the parent clock or a
33+
fixed rate clock source.
34+
35+
Note: If above properties are not defined it can be assumed that the supply
36+
regulators or clocks are always on.
37+
1138
Example:
1239
ufshc@0xfc598000 {
1340
compatible = "jedec,ufs-1.1";
1441
reg = <0xfc598000 0x800>;
1542
interrupts = <0 28 0>;
43+
44+
vdd-hba-supply = <&xxx_reg0>;
45+
vdd-hba-fixed-regulator;
46+
vcc-supply = <&xxx_reg1>;
47+
vcc-supply-1p8;
48+
vccq-supply = <&xxx_reg2>;
49+
vccq2-supply = <&xxx_reg3>;
50+
vcc-max-microamp = 500000;
51+
vccq-max-microamp = 200000;
52+
vccq2-max-microamp = 200000;
53+
54+
clocks = <&core 0>, <&ref 0>, <&iface 0>;
55+
clock-names = "core_clk", "ref_clk", "iface_clk";
56+
freq-table-hz = <100000000 200000000>, <0 0>, <0 0>;
1657
};

‎Documentation/scsi/ChangeLog.megaraid_sas‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 -
2+
(emaild-id:megaraidlinux@lsi.com)
3+
Adam Radford
4+
Kashyap Desai
5+
Sumit Saxena
6+
Uday Lingala
7+
Current Version : 06.803.02.00-rc1
8+
Old Version : 06.803.01.00-rc1
9+
1. Fix reset_mutex leak in megasas_reset_fusion().
10+
2. Remove unused variables in megasas_instance.
11+
3. Fix LD/VF affiliation parsing.
12+
4. Add missing initial call to megasas_get_ld_vf_affiliation().
13+
5. Version and Changelog update.
14+
-------------------------------------------------------------------------------
115
Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 -
216
(emaild-id:megaraidlinux@lsi.com)
317
Adam Radford

‎drivers/message/fusion/mptbase.c‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,6 @@ mpt_verify_adapter(int iocid, MPT_ADAPTER **iocpp)
14001400
* @vendor: pci vendor id
14011401
* @device: pci device id
14021402
* @revision: pci revision id
1403-
* @prod_name: string returned
14041403
*
14051404
* Returns product string displayed when driver loads,
14061405
* in /proc/mpt/summary and /sysfs/class/scsi_host/host<X>/version_product
@@ -3172,12 +3171,7 @@ GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason)
31723171
facts->FWImageSize = le32_to_cpu(facts->FWImageSize);
31733172
}
31743173

3175-
sz = facts->FWImageSize;
3176-
if ( sz & 0x01 )
3177-
sz += 1;
3178-
if ( sz & 0x02 )
3179-
sz += 2;
3180-
facts->FWImageSize = sz;
3174+
facts->FWImageSize = ALIGN(facts->FWImageSize, 4);
31813175

31823176
if (!facts->RequestFrameSize) {
31833177
/* Something is wrong! */

‎drivers/message/fusion/mptctl.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,12 +1741,7 @@ mptctl_replace_fw (unsigned long arg)
17411741

17421742
/* Allocate memory for the new FW image
17431743
*/
1744-
newFwSize = karg.newImageSize;
1745-
1746-
if (newFwSize & 0x01)
1747-
newFwSize += 1;
1748-
if (newFwSize & 0x02)
1749-
newFwSize += 2;
1744+
newFwSize = ALIGN(karg.newImageSize, 4);
17501745

17511746
mpt_alloc_fw_memory(ioc, newFwSize);
17521747
if (ioc->cached_fw == NULL)

‎drivers/message/fusion/mptspi.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,11 @@ mptspi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
14191419
goto out_mptspi_probe;
14201420
}
14211421

1422+
/* VMWare emulation doesn't properly implement WRITE_SAME
1423+
*/
1424+
if (pdev->subsystem_vendor == 0x15AD)
1425+
sh->no_write_same = 1;
1426+
14221427
spin_lock_irqsave(&ioc->FreeQlock, flags);
14231428

14241429
/* Attach the SCSI Host to the IOC structure

‎drivers/scsi/Kconfig‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ config SCSI_NETLINK
4545
default n
4646
depends on NET
4747

48+
config SCSI_MQ_DEFAULT
49+
bool "SCSI: use blk-mq I/O path by default"
50+
depends on SCSI
51+
---help---
52+
This option enables the new blk-mq based I/O path for SCSI
53+
devices by default. With the option the scsi_mod.use_blk_mq
54+
module/boot option defaults to Y, without it to N, but it can
55+
still be overriden either way.
56+
57+
If unsure say N.
58+
4859
config SCSI_PROC_FS
4960
bool "legacy /proc/scsi/ support"
5061
depends on SCSI && PROC_FS

‎drivers/scsi/aacraid/linit.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,7 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
11521152
shost->irq = pdev->irq;
11531153
shost->unique_id = unique_id;
11541154
shost->max_cmd_len = 16;
1155+
shost->use_cmd_list = 1;
11551156

11561157
aac = (struct aac_dev *)shost->hostdata;
11571158
aac->base_start = pci_resource_start(pdev, 0);

0 commit comments

Comments
 (0)