Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Browse files Browse the repository at this point in the history
Conflicts:
	drivers/net/vxlan.c
	drivers/vhost/net.c
	include/linux/if_vlan.h
	net/core/dev.c

The net/core/dev.c conflict was the overlap of one commit marking an
existing function static whilst another was adding a new function.

In the include/linux/if_vlan.h case, the type used for a local
variable was changed in 'net', whereas the function got rewritten
to fix a stacked vlan bug in 'net-next'.

In drivers/vhost/net.c, Al Viro's iov_iter conversions in 'net-next'
overlapped with an endainness fix for VHOST 1.0 in 'net'.

In drivers/net/vxlan.c, vxlan_find_vni() added a 'flags' parameter
in 'net-next' whereas in 'net' there was a bug fix to pass in the
correct network namespace pointer in calls to this function.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Feb 5, 2015
2 parents db79a62 + 9d82f5e commit 6e03f89
Show file tree
Hide file tree
Showing 280 changed files with 2,574 additions and 1,653 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/i2c/i2c-st.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ i2c0: i2c@fed40000 {
compatible = "st,comms-ssc4-i2c";
reg = <0xfed40000 0x110>;
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&CLK_S_ICN_REG_0>;
clocks = <&clk_s_a0_ls CLK_ICN_REG>;
clock-names = "ssc";
clock-frequency = <400000>;
pinctrl-names = "default";
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/i2c/trivial-devices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dallas,ds3232 Extremely Accurate I²C RTC with Integrated Crystal and SRAM
dallas,ds4510 CPU Supervisor with Nonvolatile Memory and Programmable I/O
dallas,ds75 Digital Thermometer and Thermostat
dlg,da9053 DA9053: flexible system level PMIC with multicore support
dlg,da9063 DA9063: system PMIC for quad-core application processors
epson,rx8025 High-Stability. I2C-Bus INTERFACE REAL TIME CLOCK MODULE
epson,rx8581 I2C-BUS INTERFACE REAL TIME CLOCK MODULE
fsl,mag3110 MAG3110: Xtrinsic High Accuracy, 3D Magnetometer
Expand Down
13 changes: 3 additions & 10 deletions Documentation/networking/netlink_mmap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,9 @@ frame header.
TX limitations
--------------

Kernel processing usually involves validation of the message received by
user-space, then processing its contents. The kernel must assure that
userspace is not able to modify the message contents after they have been
validated. In order to do so, the message is copied from the ring frame
to an allocated buffer if either of these conditions is false:

- only a single mapping of the ring exists
- the file descriptor is not shared between processes

This means that for threaded programs, the kernel will fall back to copying.
As of Jan 2015 the message is always copied from the ring frame to an
allocated buffer due to unresolved security concerns.
See commit 4682a0358639b29cf ("netlink: Always copy on mmap TX.").

Example
-------
Expand Down
11 changes: 11 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,16 @@ X: drivers/iio/*/adjd*
F: drivers/staging/iio/*/ad*
F: staging/iio/trigger/iio-trig-bfin-timer.c

ANDROID DRIVERS
M: Greg Kroah-Hartman <[email protected]>
M: Arve Hj�nnev�g <[email protected]>
M: Riley Andrews <[email protected]>
T: git git://git.kernel.org/pub/scm/linux/kernel/gregkh/staging.git
L: [email protected]
S: Supported
F: drivers/android/
F: drivers/staging/android/

AOA (Apple Onboard Audio) ALSA DRIVER
M: Johannes Berg <[email protected]>
L: [email protected]
Expand Down Expand Up @@ -10181,6 +10191,7 @@ USERSPACE I/O (UIO)
M: "Hans J. Koch" <[email protected]>
M: Greg Kroah-Hartman <[email protected]>
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
F: Documentation/DocBook/uio-howto.tmpl
F: drivers/uio/
F: include/linux/uio*.h
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 3
PATCHLEVEL = 19
SUBLEVEL = 0
EXTRAVERSION = -rc6
EXTRAVERSION = -rc7
NAME = Diseased Newt

# *DOCUMENTATION*
Expand Down
2 changes: 2 additions & 0 deletions arch/alpha/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();
Expand Down
2 changes: 2 additions & 0 deletions arch/arc/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ void do_page_fault(unsigned long address, struct pt_regs *regs)

if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGSEGV)
goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;

Expand Down
39 changes: 30 additions & 9 deletions arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,37 @@ restart: adr r0, LC0
* OK... Let's do some funky business here.
* If we do have a DTB appended to zImage, and we do have
* an ATAG list around, we want the later to be translated
* and folded into the former here. To be on the safe side,
* let's temporarily move the stack away into the malloc
* area. No GOT fixup has occurred yet, but none of the
* code we're about to call uses any global variable.
* and folded into the former here. No GOT fixup has occurred
* yet, but none of the code we're about to call uses any
* global variable.
*/
add sp, sp, #0x10000

/* Get the initial DTB size */
ldr r5, [r6, #4]
#ifndef __ARMEB__
/* convert to little endian */
eor r1, r5, r5, ror #16
bic r1, r1, #0x00ff0000
mov r5, r5, ror #8
eor r5, r5, r1, lsr #8
#endif
/* 50% DTB growth should be good enough */
add r5, r5, r5, lsr #1
/* preserve 64-bit alignment */
add r5, r5, #7
bic r5, r5, #7
/* clamp to 32KB min and 1MB max */
cmp r5, #(1 << 15)
movlo r5, #(1 << 15)
cmp r5, #(1 << 20)
movhi r5, #(1 << 20)
/* temporarily relocate the stack past the DTB work space */
add sp, sp, r5

stmfd sp!, {r0-r3, ip, lr}
mov r0, r8
mov r1, r6
sub r2, sp, r6
mov r2, r5
bl atags_to_fdt

/*
Expand All @@ -285,11 +306,11 @@ restart: adr r0, LC0
bic r0, r0, #1
add r0, r0, #0x100
mov r1, r6
sub r2, sp, r6
mov r2, r5
bleq atags_to_fdt

ldmfd sp!, {r0-r3, ip, lr}
sub sp, sp, #0x10000
sub sp, sp, r5
#endif

mov r8, r6 @ use the appended device tree
Expand All @@ -306,7 +327,7 @@ restart: adr r0, LC0
subs r1, r5, r1
addhi r9, r9, r1

/* Get the dtb's size */
/* Get the current DTB size */
ldr r5, [r6, #4]
#ifndef __ARMEB__
/* convert r5 (dtb size) to little endian */
Expand Down
20 changes: 10 additions & 10 deletions arch/arm/boot/dts/sun4i-a10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@

aliases {
ethernet0 = &emac;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
serial6 = &uart6;
serial7 = &uart7;
};

chosen {
Expand All @@ -39,6 +31,14 @@
<&ahb_gates 44>;
status = "disabled";
};

framebuffer@1 {
compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
<&ahb_gates 44>, <&ahb_gates 46>;
status = "disabled";
};
};

cpus {
Expand Down Expand Up @@ -438,8 +438,8 @@
reg-names = "phy_ctrl", "pmu1", "pmu2";
clocks = <&usb_clk 8>;
clock-names = "usb_phy";
resets = <&usb_clk 1>, <&usb_clk 2>;
reset-names = "usb1_reset", "usb2_reset";
resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
status = "disabled";
};

Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
model = "Olimex A10s-Olinuxino Micro";
compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";

aliases {
serial0 = &uart0;
serial1 = &uart2;
serial2 = &uart3;
};

soc@01c00000 {
emac: ethernet@01c0b000 {
pinctrl-names = "default";
Expand Down
8 changes: 2 additions & 6 deletions arch/arm/boot/dts/sun5i-a10s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@

aliases {
ethernet0 = &emac;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
};

chosen {
Expand Down Expand Up @@ -390,8 +386,8 @@
reg-names = "phy_ctrl", "pmu1";
clocks = <&usb_clk 8>;
clock-names = "usb_phy";
resets = <&usb_clk 1>;
reset-names = "usb1_reset";
resets = <&usb_clk 0>, <&usb_clk 1>;
reset-names = "usb0_reset", "usb1_reset";
status = "disabled";
};

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/sun5i-a13-hsg-h702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
model = "HSG H702";
compatible = "hsg,h702", "allwinner,sun5i-a13";

aliases {
serial0 = &uart1;
};

soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
model = "Olimex A13-Olinuxino Micro";
compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";

aliases {
serial0 = &uart1;
};

soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/sun5i-a13-olinuxino.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
model = "Olimex A13-Olinuxino";
compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";

aliases {
serial0 = &uart1;
};

soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";
Expand Down
9 changes: 2 additions & 7 deletions arch/arm/boot/dts/sun5i-a13.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
/ {
interrupt-parent = <&intc>;

aliases {
serial0 = &uart1;
serial1 = &uart3;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -349,8 +344,8 @@
reg-names = "phy_ctrl", "pmu1";
clocks = <&usb_clk 8>;
clock-names = "usb_phy";
resets = <&usb_clk 1>;
reset-names = "usb1_reset";
resets = <&usb_clk 0>, <&usb_clk 1>;
reset-names = "usb0_reset", "usb1_reset";
status = "disabled";
};

Expand Down
6 changes: 0 additions & 6 deletions arch/arm/boot/dts/sun6i-a31.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@
interrupt-parent = <&gic>;

aliases {
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
ethernet0 = &gmac;
};

Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-bananapi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
model = "LeMaker Banana Pi";
compatible = "lemaker,bananapi", "allwinner,sun7i-a20";

aliases {
serial0 = &uart0;
serial1 = &uart3;
serial2 = &uart7;
};

soc@01c00000 {
spi0: spi@01c05000 {
pinctrl-names = "default";
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-hummingbird.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
model = "Merrii A20 Hummingbird";
compatible = "merrii,a20-hummingbird", "allwinner,sun7i-a20";

aliases {
serial0 = &uart0;
serial1 = &uart2;
serial2 = &uart3;
serial3 = &uart4;
serial4 = &uart5;
};

soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";

aliases {
serial0 = &uart0;
serial1 = &uart6;
serial2 = &uart7;
spi0 = &spi1;
spi1 = &spi2;
};
Expand Down
8 changes: 0 additions & 8 deletions arch/arm/boot/dts/sun7i-a20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@

aliases {
ethernet0 = &gmac;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &uart5;
serial6 = &uart6;
serial7 = &uart7;
};

chosen {
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
model = "Ippo Q8H Dual Core Tablet (v5)";
compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";

aliases {
serial0 = &r_uart;
};

chosen {
bootargs = "earlyprintk console=ttyS0,115200";
};
Expand Down
9 changes: 0 additions & 9 deletions arch/arm/boot/dts/sun8i-a23.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@
/ {
interrupt-parent = <&gic>;

aliases {
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
serial3 = &uart3;
serial4 = &uart4;
serial5 = &r_uart;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/sun9i-a80-optimus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
model = "Merrii A80 Optimus Board";
compatible = "merrii,a80-optimus", "allwinner,sun9i-a80";

aliases {
serial0 = &uart0;
serial1 = &uart4;
};

chosen {
bootargs = "earlyprintk console=ttyS0,115200";
};
Expand Down
Loading

0 comments on commit 6e03f89

Please sign in to comment.