Skip to content

Commit f139b6c

Browse files
committed
Merge tag 'nfs-rdma-for-4.1-1' of git://git.linux-nfs.org/projects/anna/nfs-rdma
NFS: NFSoRDMA Client Changes This patch series creates an operation vector for each of the different memory registration modes. This should make it easier to one day increase credit limit, rsize, and wsize. Signed-off-by: Anna Schumaker <[email protected]>
2 parents 21330b6 + d654788 commit f139b6c

File tree

645 files changed

+7692
-5202
lines changed

Some content is hidden

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

645 files changed

+7692
-5202
lines changed

Documentation/devicetree/bindings/arm/exynos/power_domain.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Optional Properties:
2222
- pclkN, clkN: Pairs of parent of input clock and input clock to the
2323
devices in this power domain. Maximum of 4 pairs (N = 0 to 3)
2424
are supported currently.
25+
- power-domains: phandle pointing to the parent power domain, for more details
26+
see Documentation/devicetree/bindings/power/power_domain.txt
2527

2628
Node of a device using power domains must have a power-domains property
2729
defined with a phandle to respective power domain.

Documentation/devicetree/bindings/arm/sti.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Boards with the ST STiH407 SoC shall have the following properties:
1313
Required root node property:
1414
compatible = "st,stih407";
1515

16+
Boards with the ST STiH410 SoC shall have the following properties:
17+
Required root node property:
18+
compatible = "st,stih410";
19+
1620
Boards with the ST STiH418 SoC shall have the following properties:
1721
Required root node property:
1822
compatible = "st,stih418";

Documentation/devicetree/bindings/net/apm-xgene-enet.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ Ethernet nodes are defined to describe on-chip ethernet interfaces in
44
APM X-Gene SoC.
55

66
Required properties for all the ethernet interfaces:
7-
- compatible: Should be "apm,xgene-enet"
7+
- compatible: Should state binding information from the following list,
8+
- "apm,xgene-enet": RGMII based 1G interface
9+
- "apm,xgene1-sgenet": SGMII based 1G interface
10+
- "apm,xgene1-xgenet": XFI based 10G interface
811
- reg: Address and length of the register set for the device. It contains the
912
information of registers in the same order as described by reg-names
1013
- reg-names: Should contain the register set names

Documentation/devicetree/bindings/power/power_domain.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ Required properties:
1919
providing multiple PM domains (e.g. power controllers), but can be any value
2020
as specified by device tree binding documentation of particular provider.
2121

22+
Optional properties:
23+
- power-domains : A phandle and PM domain specifier as defined by bindings of
24+
the power controller specified by phandle.
25+
Some power domains might be powered from another power domain (or have
26+
other hardware specific dependencies). For representing such dependency
27+
a standard PM domain consumer binding is used. When provided, all domains
28+
created by the given provider should be subdomains of the domain
29+
specified by this binding. More details about power domain specifier are
30+
available in the next section.
31+
2232
Example:
2333

2434
power: power-controller@12340000 {
@@ -30,6 +40,25 @@ Example:
3040
The node above defines a power controller that is a PM domain provider and
3141
expects one cell as its phandle argument.
3242

43+
Example 2:
44+
45+
parent: power-controller@12340000 {
46+
compatible = "foo,power-controller";
47+
reg = <0x12340000 0x1000>;
48+
#power-domain-cells = <1>;
49+
};
50+
51+
child: power-controller@12340000 {
52+
compatible = "foo,power-controller";
53+
reg = <0x12341000 0x1000>;
54+
power-domains = <&parent 0>;
55+
#power-domain-cells = <1>;
56+
};
57+
58+
The nodes above define two power controllers: 'parent' and 'child'.
59+
Domains created by the 'child' power controller are subdomains of '0' power
60+
domain provided by the 'parent' power controller.
61+
3362
==PM domain consumers==
3463

3564
Required properties:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ETRAX FS UART
2+
3+
Required properties:
4+
- compatible : "axis,etraxfs-uart"
5+
- reg: offset and length of the register set for the device.
6+
- interrupts: device interrupt
7+
8+
Optional properties:
9+
- {dtr,dsr,ri,cd}-gpios: specify a GPIO for DTR/DSR/RI/CD
10+
line respectively.
11+
12+
Example:
13+
14+
serial@b00260000 {
15+
compatible = "axis,etraxfs-uart";
16+
reg = <0xb0026000 0x1000>;
17+
interrupts = <68>;
18+
status = "disabled";
19+
};

Documentation/devicetree/bindings/submitting-patches.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ I. For patch submitters
1212

1313
1414

15+
and Cc: the DT maintainers. Use scripts/get_maintainer.pl to identify
16+
all of the DT maintainers.
17+
1518
3) The Documentation/ portion of the patch should come in the series before
1619
the code implementing the binding.
1720

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ amlogic Amlogic, Inc.
2020
ams AMS AG
2121
amstaos AMS-Taos Inc.
2222
apm Applied Micro Circuits Corporation (APM)
23+
arasan Arasan Chip Systems
2324
arm ARM Ltd.
2425
armadeus ARMadeus Systems SARL
2526
asahi-kasei Asahi Kasei Corp.
2627
atmel Atmel Corporation
2728
auo AU Optronics Corporation
2829
avago Avago Technologies
2930
avic Shanghai AVIC Optoelectronics Co., Ltd.
31+
axis Axis Communications AB
3032
bosch Bosch Sensortec GmbH
3133
brcm Broadcom Corporation
3234
buffalo Buffalo, Inc.

Documentation/devicetree/bindings/watchdog/atmel-wdt.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Optional properties:
2626
- atmel,disable : Should be present if you want to disable the watchdog.
2727
- atmel,idle-halt : Should be present if you want to stop the watchdog when
2828
entering idle state.
29+
CAUTION: This property should be used with care, it actually makes the
30+
watchdog not counting when the CPU is in idle state, therefore the
31+
watchdog reset time depends on mean CPU usage and will not reset at all
32+
if the CPU stop working while it is in idle state, which is probably
33+
not what you want.
2934
- atmel,dbg-halt : Should be present if you want to stop the watchdog when
3035
entering debug state.
3136

MAINTAINERS

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,16 @@ F: arch/arm/mach-mxs/
10301030
F: arch/arm/boot/dts/imx*
10311031
F: arch/arm/configs/imx*_defconfig
10321032

1033+
ARM/FREESCALE VYBRID ARM ARCHITECTURE
1034+
M: Shawn Guo <[email protected]>
1035+
M: Sascha Hauer <[email protected]>
1036+
R: Stefan Agner <[email protected]>
1037+
L: [email protected] (moderated for non-subscribers)
1038+
S: Maintained
1039+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
1040+
F: arch/arm/mach-imx/*vf610*
1041+
F: arch/arm/boot/dts/vf*
1042+
10331043
ARM/GLOMATION GESBC9312SX MACHINE SUPPORT
10341044
M: Lennert Buytenhek <[email protected]>
10351045
L: [email protected] (moderated for non-subscribers)
@@ -1176,7 +1186,7 @@ M: Sebastian Hesselbarth <[email protected]>
11761186
L: [email protected] (moderated for non-subscribers)
11771187
S: Maintained
11781188
F: arch/arm/mach-mvebu/
1179-
F: drivers/rtc/armada38x-rtc
1189+
F: drivers/rtc/rtc-armada38x.c
11801190

11811191
ARM/Marvell Berlin SoC support
11821192
M: Sebastian Hesselbarth <[email protected]>
@@ -1188,6 +1198,7 @@ ARM/Marvell Dove/MV78xx0/Orion SOC support
11881198
M: Jason Cooper <[email protected]>
11891199
M: Andrew Lunn <[email protected]>
11901200
M: Sebastian Hesselbarth <[email protected]>
1201+
M: Gregory Clement <[email protected]>
11911202
L: [email protected] (moderated for non-subscribers)
11921203
S: Maintained
11931204
F: arch/arm/mach-dove/
@@ -1351,6 +1362,7 @@ F: drivers/i2c/busses/i2c-rk3x.c
13511362
F: drivers/*/*rockchip*
13521363
F: drivers/*/*/*rockchip*
13531364
F: sound/soc/rockchip/
1365+
N: rockchip
13541366

13551367
ARM/SAMSUNG EXYNOS ARM ARCHITECTURES
13561368
M: Kukjin Kim <[email protected]>
@@ -1664,8 +1676,8 @@ F: drivers/misc/eeprom/at24.c
16641676
F: include/linux/platform_data/at24.h
16651677

16661678
ATA OVER ETHERNET (AOE) DRIVER
1667-
M: "Ed L. Cashin" <[email protected]>
1668-
W: http://support.coraid.com/support/linux
1679+
M: "Ed L. Cashin" <[email protected]>
1680+
W: http://www.openaoe.org/
16691681
S: Supported
16701682
F: Documentation/aoe/
16711683
F: drivers/block/aoe/
@@ -1730,7 +1742,7 @@ S: Maintained
17301742
F: drivers/net/ethernet/atheros/
17311743

17321744
ATM
1733-
M: Chas Williams <[email protected]>
1745+
M: Chas Williams <[email protected]>
17341746
L: [email protected] (moderated for non-subscribers)
17351747
17361748
W: http://linux-atm.sourceforge.net
@@ -2107,7 +2119,6 @@ F: drivers/net/ethernet/broadcom/bnx2x/
21072119

21082120
BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITECTURE
21092121
M: Christian Daudt <[email protected]>
2110-
M: Matt Porter <[email protected]>
21112122
M: Florian Fainelli <[email protected]>
21122123
21132124
T: git git://github.com/broadcom/mach-bcm
@@ -2369,8 +2380,9 @@ F: arch/x86/include/asm/tce.h
23692380

23702381
CAN NETWORK LAYER
23712382
M: Oliver Hartkopp <[email protected]>
2383+
M: Marc Kleine-Budde <[email protected]>
23722384
2373-
W: http://gitorious.org/linux-can
2385+
W: https://github.com/linux-can
23742386
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git
23752387
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
23762388
S: Maintained
@@ -2386,7 +2398,7 @@ CAN NETWORK DRIVERS
23862398
M: Wolfgang Grandegger <[email protected]>
23872399
M: Marc Kleine-Budde <[email protected]>
23882400
2389-
W: http://gitorious.org/linux-can
2401+
W: https://github.com/linux-can
23902402
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git
23912403
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git
23922404
S: Maintained
@@ -3241,6 +3253,13 @@ S: Maintained
32413253
F: Documentation/hwmon/dme1737
32423254
F: drivers/hwmon/dme1737.c
32433255

3256+
DMI/SMBIOS SUPPORT
3257+
M: Jean Delvare <[email protected]>
3258+
S: Maintained
3259+
F: drivers/firmware/dmi-id.c
3260+
F: drivers/firmware/dmi_scan.c
3261+
F: include/linux/dmi.h
3262+
32443263
DOCKING STATION DRIVER
32453264
M: Shaohua Li <[email protected]>
32463265
@@ -10196,6 +10215,13 @@ S: Maintained
1019610215
F: Documentation/usb/ohci.txt
1019710216
F: drivers/usb/host/ohci*
1019810217

10218+
USB OTG FSM (Finite State Machine)
10219+
M: Peter Chen <[email protected]>
10220+
T: git git://github.com/hzpeterchen/linux-usb.git
10221+
10222+
S: Maintained
10223+
F: drivers/usb/common/usb-otg-fsm.c
10224+
1019910225
USB OVER IP DRIVER
1020010226
M: Valentina Manea <[email protected]>
1020110227
M: Shuah Khan <[email protected]>

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 0
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc3
4+
EXTRAVERSION = -rc6
55
NAME = Hurr durr I'ma sheep
66

77
# *DOCUMENTATION*

arch/arc/kernel/signal.c

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs,
6767
sigset_t *set)
6868
{
6969
int err;
70-
err = __copy_to_user(&(sf->uc.uc_mcontext.regs), regs,
70+
err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), regs,
7171
sizeof(sf->uc.uc_mcontext.regs.scratch));
7272
err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(sigset_t));
7373

@@ -83,7 +83,7 @@ static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf)
8383
if (!err)
8484
set_current_blocked(&set);
8585

86-
err |= __copy_from_user(regs, &(sf->uc.uc_mcontext.regs),
86+
err |= __copy_from_user(regs, &(sf->uc.uc_mcontext.regs.scratch),
8787
sizeof(sf->uc.uc_mcontext.regs.scratch));
8888

8989
return err;
@@ -131,6 +131,15 @@ SYSCALL_DEFINE0(rt_sigreturn)
131131
/* Don't restart from sigreturn */
132132
syscall_wont_restart(regs);
133133

134+
/*
135+
* Ensure that sigreturn always returns to user mode (in case the
136+
* regs saved on user stack got fudged between save and sigreturn)
137+
* Otherwise it is easy to panic the kernel with a custom
138+
* signal handler and/or restorer which clobberes the status32/ret
139+
* to return to a bogus location in kernel mode.
140+
*/
141+
regs->status32 |= STATUS_U_MASK;
142+
134143
return regs->r0;
135144

136145
badframe:
@@ -229,8 +238,11 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs)
229238

230239
/*
231240
* handler returns using sigreturn stub provided already by userpsace
241+
* If not, nuke the process right away
232242
*/
233-
BUG_ON(!(ksig->ka.sa.sa_flags & SA_RESTORER));
243+
if(!(ksig->ka.sa.sa_flags & SA_RESTORER))
244+
return 1;
245+
234246
regs->blink = (unsigned long)ksig->ka.sa.sa_restorer;
235247

236248
/* User Stack for signal handler will be above the frame just carved */
@@ -296,12 +308,12 @@ static void
296308
handle_signal(struct ksignal *ksig, struct pt_regs *regs)
297309
{
298310
sigset_t *oldset = sigmask_to_save();
299-
int ret;
311+
int failed;
300312

301313
/* Set up the stack frame */
302-
ret = setup_rt_frame(ksig, oldset, regs);
314+
failed = setup_rt_frame(ksig, oldset, regs);
303315

304-
signal_setup_done(ret, ksig, 0);
316+
signal_setup_done(failed, ksig, 0);
305317
}
306318

307319
void do_signal(struct pt_regs *regs)

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ config ARCH_PXA
619619
select GENERIC_CLOCKEVENTS
620620
select GPIO_PXA
621621
select HAVE_IDE
622+
select IRQ_DOMAIN
622623
select MULTI_IRQ_HANDLER
623624
select PLAT_PXA
624625
select SPARSE_IRQ

arch/arm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ machine-$(CONFIG_ARCH_BERLIN) += berlin
150150
machine-$(CONFIG_ARCH_CLPS711X) += clps711x
151151
machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx
152152
machine-$(CONFIG_ARCH_DAVINCI) += davinci
153+
machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor
153154
machine-$(CONFIG_ARCH_DOVE) += dove
154155
machine-$(CONFIG_ARCH_EBSA110) += ebsa110
155156
machine-$(CONFIG_ARCH_EFM32) += efm32

arch/arm/boot/dts/am335x-bone-common.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,11 @@
301301
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
302302
cd-inverted;
303303
};
304+
305+
&aes {
306+
status = "okay";
307+
};
308+
309+
&sham {
310+
status = "okay";
311+
};

arch/arm/boot/dts/am335x-bone.dts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,3 @@
2424
&mmc1 {
2525
vmmc-supply = <&ldo3_reg>;
2626
};
27-
28-
&sham {
29-
status = "okay";
30-
};
31-
32-
&aes {
33-
status = "okay";
34-
};

arch/arm/boot/dts/am335x-lxm.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@
328328
dual_emac_res_vlan = <3>;
329329
};
330330

331+
&phy_sel {
332+
rmii-clock-ext;
333+
};
334+
331335
&mac {
332336
pinctrl-names = "default", "sleep";
333337
pinctrl-0 = <&cpsw_default>;

0 commit comments

Comments
 (0)