Skip to content

Commit a584143

Browse files
author
J. Bruce Fields
committed
Merge branch 'locks-3.20' of git://git.samba.org/jlayton/linux into for-3.20
Christoph's block pnfs patches have some minor dependencies on these lock patches.
2 parents 4c94e13 + 8116bf4 commit a584143

File tree

328 files changed

+3749
-2117
lines changed

Some content is hidden

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

328 files changed

+3749
-2117
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Greg Kroah-Hartman <gregkh@suse.de>
5151
Greg Kroah-Hartman <greg@kroah.com>
5252
Henk Vergonet <Henk.Vergonet@gmail.com>
5353
Henrik Kretzschmar <henne@nachtwindheim.de>
54+
Henrik Rydberg <rydberg@bitmath.org>
5455
Herbert Xu <herbert@gondor.apana.org.au>
5556
Jacob Shin <Jacob.Shin@amd.com>
5657
James Bottomley <jejb@mulgrave.(none)>

Documentation/networking/ip-sysctl.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ fwmark_reflect - BOOLEAN
6666
route/max_size - INTEGER
6767
Maximum number of routes allowed in the kernel. Increase
6868
this when using large numbers of interfaces and/or routes.
69+
From linux kernel 3.6 onwards, this is deprecated for ipv4
70+
as route cache is no longer used.
6971

7072
neigh/default/gc_thresh1 - INTEGER
7173
Minimum number of entries to keep. Garbage collector will not

Documentation/target/tcm_mod_builder.py

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,6 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
389389
buf += " .release_cmd = " + fabric_mod_name + "_release_cmd,\n"
390390
buf += " .shutdown_session = " + fabric_mod_name + "_shutdown_session,\n"
391391
buf += " .close_session = " + fabric_mod_name + "_close_session,\n"
392-
buf += " .stop_session = " + fabric_mod_name + "_stop_session,\n"
393-
buf += " .fall_back_to_erl0 = " + fabric_mod_name + "_reset_nexus,\n"
394-
buf += " .sess_logged_in = " + fabric_mod_name + "_sess_logged_in,\n"
395392
buf += " .sess_get_index = " + fabric_mod_name + "_sess_get_index,\n"
396393
buf += " .sess_get_initiator_sid = NULL,\n"
397394
buf += " .write_pending = " + fabric_mod_name + "_write_pending,\n"
@@ -402,7 +399,7 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
402399
buf += " .queue_data_in = " + fabric_mod_name + "_queue_data_in,\n"
403400
buf += " .queue_status = " + fabric_mod_name + "_queue_status,\n"
404401
buf += " .queue_tm_rsp = " + fabric_mod_name + "_queue_tm_rsp,\n"
405-
buf += " .is_state_remove = " + fabric_mod_name + "_is_state_remove,\n"
402+
buf += " .aborted_task = " + fabric_mod_name + "_aborted_task,\n"
406403
buf += " /*\n"
407404
buf += " * Setup function pointers for generic logic in target_core_fabric_configfs.c\n"
408405
buf += " */\n"
@@ -428,7 +425,7 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name):
428425
buf += " /*\n"
429426
buf += " * Register the top level struct config_item_type with TCM core\n"
430427
buf += " */\n"
431-
buf += " fabric = target_fabric_configfs_init(THIS_MODULE, \"" + fabric_mod_name[4:] + "\");\n"
428+
buf += " fabric = target_fabric_configfs_init(THIS_MODULE, \"" + fabric_mod_name + "\");\n"
432429
buf += " if (IS_ERR(fabric)) {\n"
433430
buf += " printk(KERN_ERR \"target_fabric_configfs_init() failed\\n\");\n"
434431
buf += " return PTR_ERR(fabric);\n"
@@ -595,7 +592,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
595592
if re.search('get_fabric_name', fo):
596593
buf += "char *" + fabric_mod_name + "_get_fabric_name(void)\n"
597594
buf += "{\n"
598-
buf += " return \"" + fabric_mod_name[4:] + "\";\n"
595+
buf += " return \"" + fabric_mod_name + "\";\n"
599596
buf += "}\n\n"
600597
bufi += "char *" + fabric_mod_name + "_get_fabric_name(void);\n"
601598
continue
@@ -820,27 +817,6 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
820817
buf += "}\n\n"
821818
bufi += "void " + fabric_mod_name + "_close_session(struct se_session *);\n"
822819

823-
if re.search('stop_session\)\(', fo):
824-
buf += "void " + fabric_mod_name + "_stop_session(struct se_session *se_sess, int sess_sleep , int conn_sleep)\n"
825-
buf += "{\n"
826-
buf += " return;\n"
827-
buf += "}\n\n"
828-
bufi += "void " + fabric_mod_name + "_stop_session(struct se_session *, int, int);\n"
829-
830-
if re.search('fall_back_to_erl0\)\(', fo):
831-
buf += "void " + fabric_mod_name + "_reset_nexus(struct se_session *se_sess)\n"
832-
buf += "{\n"
833-
buf += " return;\n"
834-
buf += "}\n\n"
835-
bufi += "void " + fabric_mod_name + "_reset_nexus(struct se_session *);\n"
836-
837-
if re.search('sess_logged_in\)\(', fo):
838-
buf += "int " + fabric_mod_name + "_sess_logged_in(struct se_session *se_sess)\n"
839-
buf += "{\n"
840-
buf += " return 0;\n"
841-
buf += "}\n\n"
842-
bufi += "int " + fabric_mod_name + "_sess_logged_in(struct se_session *);\n"
843-
844820
if re.search('sess_get_index\)\(', fo):
845821
buf += "u32 " + fabric_mod_name + "_sess_get_index(struct se_session *se_sess)\n"
846822
buf += "{\n"
@@ -898,19 +874,18 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
898874
bufi += "int " + fabric_mod_name + "_queue_status(struct se_cmd *);\n"
899875

900876
if re.search('queue_tm_rsp\)\(', fo):
901-
buf += "int " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *se_cmd)\n"
877+
buf += "void " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *se_cmd)\n"
902878
buf += "{\n"
903-
buf += " return 0;\n"
879+
buf += " return;\n"
904880
buf += "}\n\n"
905-
bufi += "int " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *);\n"
881+
bufi += "void " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *);\n"
906882

907-
if re.search('is_state_remove\)\(', fo):
908-
buf += "int " + fabric_mod_name + "_is_state_remove(struct se_cmd *se_cmd)\n"
883+
if re.search('aborted_task\)\(', fo):
884+
buf += "void " + fabric_mod_name + "_aborted_task(struct se_cmd *se_cmd)\n"
909885
buf += "{\n"
910-
buf += " return 0;\n"
886+
buf += " return;\n"
911887
buf += "}\n\n"
912-
bufi += "int " + fabric_mod_name + "_is_state_remove(struct se_cmd *);\n"
913-
888+
bufi += "void " + fabric_mod_name + "_aborted_task(struct se_cmd *);\n"
914889

915890
ret = p.write(buf)
916891
if ret:
@@ -1018,11 +993,11 @@ def main(modname, proto_ident):
1018993
tcm_mod_build_kbuild(fabric_mod_dir, fabric_mod_name)
1019994
tcm_mod_build_kconfig(fabric_mod_dir, fabric_mod_name)
1020995

1021-
input = raw_input("Would you like to add " + fabric_mod_name + "to drivers/target/Makefile..? [yes,no]: ")
996+
input = raw_input("Would you like to add " + fabric_mod_name + " to drivers/target/Makefile..? [yes,no]: ")
1022997
if input == "yes" or input == "y":
1023998
tcm_mod_add_kbuild(tcm_dir, fabric_mod_name)
1024999

1025-
input = raw_input("Would you like to add " + fabric_mod_name + "to drivers/target/Kconfig..? [yes,no]: ")
1000+
input = raw_input("Would you like to add " + fabric_mod_name + " to drivers/target/Kconfig..? [yes,no]: ")
10261001
if input == "yes" or input == "y":
10271002
tcm_mod_add_kconfig(tcm_dir, fabric_mod_name)
10281003

Documentation/thermal/cpu-cooling-api.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CPU cooling APIs How To
33

44
Written by Amit Daniel Kachhap <amit.kachhap@linaro.org>
55

6-
Updated: 12 May 2012
6+
Updated: 6 Jan 2015
77

88
Copyright (c) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
99

@@ -25,7 +25,18 @@ the user. The registration APIs returns the cooling device pointer.
2525

2626
clip_cpus: cpumask of cpus where the frequency constraints will happen.
2727

28-
1.1.2 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
28+
1.1.2 struct thermal_cooling_device *of_cpufreq_cooling_register(
29+
struct device_node *np, const struct cpumask *clip_cpus)
30+
31+
This interface function registers the cpufreq cooling device with
32+
the name "thermal-cpufreq-%x" linking it with a device tree node, in
33+
order to bind it via the thermal DT code. This api can support multiple
34+
instances of cpufreq cooling devices.
35+
36+
np: pointer to the cooling device device tree node
37+
clip_cpus: cpumask of cpus where the frequency constraints will happen.
38+
39+
1.1.3 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
2940

3041
This interface function unregisters the "thermal-cpufreq-%x" cooling device.
3142

MAINTAINERS

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -724,15 +724,15 @@ F: include/uapi/linux/apm_bios.h
724724
F: drivers/char/apm-emulation.c
725725

726726
APPLE BCM5974 MULTITOUCH DRIVER
727-
M: Henrik Rydberg <rydberg@euromail.se>
727+
M: Henrik Rydberg <rydberg@bitmath.org>
728728
L: linux-input@vger.kernel.org
729-
S: Maintained
729+
S: Odd fixes
730730
F: drivers/input/mouse/bcm5974.c
731731

732732
APPLE SMC DRIVER
733-
M: Henrik Rydberg <rydberg@euromail.se>
733+
M: Henrik Rydberg <rydberg@bitmath.org>
734734
L: lm-sensors@lm-sensors.org
735-
S: Maintained
735+
S: Odd fixes
736736
F: drivers/hwmon/applesmc.c
737737

738738
APPLETALK NETWORK LAYER
@@ -2259,6 +2259,7 @@ F: drivers/gpio/gpio-bt8xx.c
22592259
BTRFS FILE SYSTEM
22602260
M: Chris Mason <clm@fb.com>
22612261
M: Josef Bacik <jbacik@fb.com>
2262+
M: David Sterba <dsterba@suse.cz>
22622263
L: linux-btrfs@vger.kernel.org
22632264
W: http://btrfs.wiki.kernel.org/
22642265
Q: http://patchwork.kernel.org/project/linux-btrfs/list/
@@ -4748,7 +4749,7 @@ S: Supported
47484749
F: drivers/scsi/ipr.*
47494750

47504751
IBM Power Virtual Ethernet Device Driver
4751-
M: Santiago Leon <santil@linux.vnet.ibm.com>
4752+
M: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
47524753
L: netdev@vger.kernel.org
47534754
S: Supported
47544755
F: drivers/net/ethernet/ibm/ibmveth.*
@@ -4940,10 +4941,10 @@ F: include/uapi/linux/input.h
49404941
F: include/linux/input/
49414942

49424943
INPUT MULTITOUCH (MT) PROTOCOL
4943-
M: Henrik Rydberg <rydberg@euromail.se>
4944+
M: Henrik Rydberg <rydberg@bitmath.org>
49444945
L: linux-input@vger.kernel.org
49454946
T: git git://git.kernel.org/pub/scm/linux/kernel/git/rydberg/input-mt.git
4946-
S: Maintained
4947+
S: Odd fixes
49474948
F: Documentation/input/multi-touch-protocol.txt
49484949
F: drivers/input/input-mt.c
49494950
K: \b(ABS|SYN)_MT_
@@ -5279,6 +5280,15 @@ W: www.open-iscsi.org
52795280
Q: http://patchwork.kernel.org/project/linux-rdma/list/
52805281
F: drivers/infiniband/ulp/iser/
52815282

5283+
ISCSI EXTENSIONS FOR RDMA (ISER) TARGET
5284+
M: Sagi Grimberg <sagig@mellanox.com>
5285+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master
5286+
L: linux-rdma@vger.kernel.org
5287+
L: target-devel@vger.kernel.org
5288+
S: Supported
5289+
W: http://www.linux-iscsi.org
5290+
F: drivers/infiniband/ulp/isert
5291+
52825292
ISDN SUBSYSTEM
52835293
M: Karsten Keil <isdn@linux-pingi.de>
52845294
L: isdn4linux@listserv.isdn4linux.de (subscribers-only)
@@ -9533,7 +9543,8 @@ F: drivers/platform/x86/thinkpad_acpi.c
95339543
TI BANDGAP AND THERMAL DRIVER
95349544
M: Eduardo Valentin <edubezval@gmail.com>
95359545
L: linux-pm@vger.kernel.org
9536-
S: Supported
9546+
L: linux-omap@vger.kernel.org
9547+
S: Maintained
95379548
F: drivers/thermal/ti-soc-thermal/
95389549

95399550
TI CLOCK DRIVER

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 19
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc3
4+
EXTRAVERSION = -rc4
55
NAME = Diseased Newt
66

77
# *DOCUMENTATION*
@@ -391,6 +391,7 @@ USERINCLUDE := \
391391
# Needed to be compatible with the O= option
392392
LINUXINCLUDE := \
393393
-I$(srctree)/arch/$(hdr-arch)/include \
394+
-Iarch/$(hdr-arch)/include/generated/uapi \
394395
-Iarch/$(hdr-arch)/include/generated \
395396
$(if $(KBUILD_SRC), -I$(srctree)/include) \
396397
-Iinclude \

arch/arm/boot/dts/imx6sx-sdb.dts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,28 @@
159159
pinctrl-0 = <&pinctrl_enet1>;
160160
phy-supply = <&reg_enet_3v3>;
161161
phy-mode = "rgmii";
162+
phy-handle = <&ethphy1>;
162163
status = "okay";
164+
165+
mdio {
166+
#address-cells = <1>;
167+
#size-cells = <0>;
168+
169+
ethphy1: ethernet-phy@0 {
170+
reg = <0>;
171+
};
172+
173+
ethphy2: ethernet-phy@1 {
174+
reg = <1>;
175+
};
176+
};
163177
};
164178

165179
&fec2 {
166180
pinctrl-names = "default";
167181
pinctrl-0 = <&pinctrl_enet2>;
168182
phy-mode = "rgmii";
183+
phy-handle = <&ethphy2>;
169184
status = "okay";
170185
};
171186

arch/arm/boot/dts/vf610-twr.dts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,28 @@
129129

130130
&fec0 {
131131
phy-mode = "rmii";
132+
phy-handle = <&ethphy0>;
132133
pinctrl-names = "default";
133134
pinctrl-0 = <&pinctrl_fec0>;
134135
status = "okay";
136+
137+
mdio {
138+
#address-cells = <1>;
139+
#size-cells = <0>;
140+
141+
ethphy0: ethernet-phy@0 {
142+
reg = <0>;
143+
};
144+
145+
ethphy1: ethernet-phy@1 {
146+
reg = <1>;
147+
};
148+
};
135149
};
136150

137151
&fec1 {
138152
phy-mode = "rmii";
153+
phy-handle = <&ethphy1>;
139154
pinctrl-names = "default";
140155
pinctrl-0 = <&pinctrl_fec1>;
141156
status = "okay";

arch/arm/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@
413413
#define __NR_getrandom (__NR_SYSCALL_BASE+384)
414414
#define __NR_memfd_create (__NR_SYSCALL_BASE+385)
415415
#define __NR_bpf (__NR_SYSCALL_BASE+386)
416+
#define __NR_execveat (__NR_SYSCALL_BASE+387)
416417

417418
/*
418419
* The following SWIs are ARM private.

arch/arm/kernel/calls.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@
396396
CALL(sys_getrandom)
397397
/* 385 */ CALL(sys_memfd_create)
398398
CALL(sys_bpf)
399+
CALL(sys_execveat)
399400
#ifndef syscalls_counted
400401
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
401402
#define syscalls_counted

0 commit comments

Comments
 (0)