Skip to content

Commit bb598c1

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several cases of bug fixes in 'net' overlapping other changes in 'net-next-. Signed-off-by: David S. Miller <[email protected]>
2 parents eb2ca35 + e76d21c commit bb598c1

File tree

580 files changed

+7286
-4003
lines changed

Some content is hidden

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

580 files changed

+7286
-4003
lines changed

Documentation/ABI/testing/sysfs-devices-system-ibm-rtl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
What: state
1+
What: /sys/devices/system/ibm_rtl/state
22
Date: Sep 2010
33
KernelVersion: 2.6.37
44
Contact: Vernon Mauery <[email protected]>
@@ -10,7 +10,7 @@ Description: The state file allows a means by which to change in and
1010
Users: The ibm-prtm userspace daemon uses this interface.
1111

1212

13-
What: version
13+
What: /sys/devices/system/ibm_rtl/version
1414
Date: Sep 2010
1515
KernelVersion: 2.6.37
1616
Contact: Vernon Mauery <[email protected]>

Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ Optional properties:
4343
reset signal present internally in some host controller IC designs.
4444
See Documentation/devicetree/bindings/reset/reset.txt for details.
4545

46+
* reset-names: request name for using "resets" property. Must be "reset".
47+
(It will be used together with "resets" property.)
48+
4649
* clocks: from common clock binding: handle to biu and ciu clocks for the
4750
bus interface unit clock and the card interface unit clock.
4851

@@ -103,6 +106,8 @@ board specific portions as listed below.
103106
interrupts = <0 75 0>;
104107
#address-cells = <1>;
105108
#size-cells = <0>;
109+
resets = <&rst 20>;
110+
reset-names = "reset";
106111
};
107112

108113
[board specific internal DMA resources]

Documentation/devicetree/bindings/pci/rockchip-pcie.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ Required properties:
2626
- "sys"
2727
- "legacy"
2828
- "client"
29-
- resets: Must contain five entries for each entry in reset-names.
29+
- resets: Must contain seven entries for each entry in reset-names.
3030
See ../reset/reset.txt for details.
3131
- reset-names: Must include the following names
3232
- "core"
3333
- "mgmt"
3434
- "mgmt-sticky"
3535
- "pipe"
36+
- "pm"
37+
- "aclk"
38+
- "pclk"
3639
- pinctrl-names : The pin control state names
3740
- pinctrl-0: The "default" pinctrl state
3841
- #interrupt-cells: specifies the number of cells needed to encode an
@@ -86,8 +89,10 @@ pcie0: pcie@f8000000 {
8689
reg = <0x0 0xf8000000 0x0 0x2000000>, <0x0 0xfd000000 0x0 0x1000000>;
8790
reg-names = "axi-base", "apb-base";
8891
resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
89-
<&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>;
90-
reset-names = "core", "mgmt", "mgmt-sticky", "pipe";
92+
<&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE> ,
93+
<&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, <&cru SRST_A_PCIE>;
94+
reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
95+
"pm", "pclk", "aclk";
9196
phys = <&pcie_phy>;
9297
phy-names = "pcie-phy";
9398
pinctrl-names = "default";

Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ Required properies:
1414
- #size-cells : The value of this property must be 1
1515
- ranges : defines mapping between pin controller node (parent) to
1616
gpio-bank node (children).
17-
- interrupt-parent: phandle of the interrupt parent to which the external
18-
GPIO interrupts are forwarded to.
19-
- st,syscfg: Should be phandle/offset pair. The phandle to the syscon node
20-
which includes IRQ mux selection register, and the offset of the IRQ mux
21-
selection register.
2217
- pins-are-numbered: Specify the subnodes are using numbered pinmux to
2318
specify pins.
2419

@@ -37,6 +32,11 @@ Required properties:
3732

3833
Optional properties:
3934
- reset: : Reference to the reset controller
35+
- interrupt-parent: phandle of the interrupt parent to which the external
36+
GPIO interrupts are forwarded to.
37+
- st,syscfg: Should be phandle/offset pair. The phandle to the syscon node
38+
which includes IRQ mux selection register, and the offset of the IRQ mux
39+
selection register.
4040

4141
Example:
4242
#include <dt-bindings/pinctrl/stm32f429-pinfunc.h>

Documentation/filesystems/Locking

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ prototypes:
447447
int (*flush) (struct file *);
448448
int (*release) (struct inode *, struct file *);
449449
int (*fsync) (struct file *, loff_t start, loff_t end, int datasync);
450-
int (*aio_fsync) (struct kiocb *, int datasync);
451450
int (*fasync) (int, struct file *, int);
452451
int (*lock) (struct file *, int, struct file_lock *);
453452
ssize_t (*readv) (struct file *, const struct iovec *, unsigned long,

Documentation/filesystems/vfs.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,6 @@ struct file_operations {
828828
int (*flush) (struct file *, fl_owner_t id);
829829
int (*release) (struct inode *, struct file *);
830830
int (*fsync) (struct file *, loff_t, loff_t, int datasync);
831-
int (*aio_fsync) (struct kiocb *, int datasync);
832831
int (*fasync) (int, struct file *, int);
833832
int (*lock) (struct file *, int, struct file_lock *);
834833
ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);

Documentation/networking/dsa/dsa.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,14 @@ Note that DSA does not currently create network interfaces for the "cpu" and
6767
Switch tagging protocols
6868
------------------------
6969

70-
DSA currently supports 4 different tagging protocols, and a tag-less mode as
70+
DSA currently supports 5 different tagging protocols, and a tag-less mode as
7171
well. The different protocols are implemented in:
7272

7373
net/dsa/tag_trailer.c: Marvell's 4 trailer tag mode (legacy)
7474
net/dsa/tag_dsa.c: Marvell's original DSA tag
7575
net/dsa/tag_edsa.c: Marvell's enhanced DSA tag
7676
net/dsa/tag_brcm.c: Broadcom's 4 bytes tag
77+
net/dsa/tag_qca.c: Qualcomm's 2 bytes tag
7778

7879
The exact format of the tag protocol is vendor specific, but in general, they
7980
all contain something which:

Documentation/virtual/kvm/locking.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ KVM Lock Overview
44
1. Acquisition Orders
55
---------------------
66

7-
(to be written)
7+
The acquisition orders for mutexes are as follows:
8+
9+
- kvm->lock is taken outside vcpu->mutex
10+
11+
- kvm->lock is taken outside kvm->slots_lock and kvm->irq_lock
12+
13+
- kvm->slots_lock is taken outside kvm->irq_lock, though acquiring
14+
them together is quite rare.
15+
16+
For spinlocks, kvm_lock is taken outside kvm->mmu_lock. Everything
17+
else is a leaf: no other lock is taken inside the critical sections.
818

919
2: Exception
1020
------------

MAINTAINERS

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7927,6 +7927,10 @@ F: mm/
79277927
MEMORY TECHNOLOGY DEVICES (MTD)
79287928
M: David Woodhouse <[email protected]>
79297929
M: Brian Norris <[email protected]>
7930+
M: Boris Brezillon <[email protected]>
7931+
M: Marek Vasut <[email protected]>
7932+
M: Richard Weinberger <[email protected]>
7933+
M: Cyrille Pitchen <[email protected]>
79307934
79317935
W: http://www.linux-mtd.infradead.org/
79327936
Q: http://patchwork.ozlabs.org/project/linux-mtd/list/
@@ -8055,6 +8059,7 @@ F: drivers/infiniband/hw/mlx4/
80558059
F: include/linux/mlx4/
80568060

80578061
MELLANOX MLX5 core VPI driver
8062+
M: Saeed Mahameed <[email protected]>
80588063
M: Matan Barak <[email protected]>
80598064
M: Leon Romanovsky <[email protected]>
80608065
@@ -9332,7 +9337,7 @@ PCI DRIVER FOR INTEL VOLUME MANAGEMENT DEVICE (VMD)
93329337
M: Keith Busch <[email protected]>
93339338
93349339
S: Supported
9335-
F: arch/x86/pci/vmd.c
9340+
F: drivers/pci/host/vmd.c
93369341

93379342
PCIE DRIVER FOR ST SPEAR13XX
93389343
M: Pratyush Anand <[email protected]>
@@ -11405,6 +11410,17 @@ W: http://www.st.com/spear
1140511410
S: Maintained
1140611411
F: drivers/clk/spear/
1140711412

11413+
SPI NOR SUBSYSTEM
11414+
M: Cyrille Pitchen <[email protected]>
11415+
M: Marek Vasut <[email protected]>
11416+
11417+
W: http://www.linux-mtd.infradead.org/
11418+
Q: http://patchwork.ozlabs.org/project/linux-mtd/list/
11419+
T: git git://github.com/spi-nor/linux.git
11420+
S: Maintained
11421+
F: drivers/mtd/spi-nor/
11422+
F: include/linux/mtd/spi-nor.h
11423+
1140811424
SPI SUBSYSTEM
1140911425
M: Mark Brown <[email protected]>
1141011426
@@ -12784,6 +12800,7 @@ F: include/uapi/linux/virtio_console.h
1278412800

1278512801
VIRTIO CORE, NET AND BLOCK DRIVERS
1278612802
M: "Michael S. Tsirkin" <[email protected]>
12803+
M: Jason Wang <[email protected]>
1278712804
1278812805
S: Maintained
1278912806
F: Documentation/devicetree/bindings/virtio/
@@ -12814,6 +12831,7 @@ F: include/uapi/linux/virtio_gpu.h
1281412831

1281512832
VIRTIO HOST (VHOST)
1281612833
M: "Michael S. Tsirkin" <[email protected]>
12834+
M: Jason Wang <[email protected]>
1281712835
1281812836
1281912837

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 9
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc3
4+
EXTRAVERSION = -rc5
55
NAME = Psychotic Stoned Sheep
66

77
# *DOCUMENTATION*
@@ -370,7 +370,7 @@ LDFLAGS_MODULE =
370370
CFLAGS_KERNEL =
371371
AFLAGS_KERNEL =
372372
LDFLAGS_vmlinux =
373-
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im
373+
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im -Wno-maybe-uninitialized
374374
CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,)
375375

376376

@@ -620,7 +620,6 @@ ARCH_CFLAGS :=
620620
include arch/$(SRCARCH)/Makefile
621621

622622
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
623-
KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
624623
KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
625624

626625
ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
@@ -629,15 +628,18 @@ KBUILD_CFLAGS += $(call cc-option,-fdata-sections,)
629628
endif
630629

631630
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
632-
KBUILD_CFLAGS += -Os
631+
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
633632
else
634633
ifdef CONFIG_PROFILE_ALL_BRANCHES
635-
KBUILD_CFLAGS += -O2
634+
KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,)
636635
else
637636
KBUILD_CFLAGS += -O2
638637
endif
639638
endif
640639

640+
KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \
641+
$(call cc-disable-warning,maybe-uninitialized,))
642+
641643
# Tell gcc to never replace conditional load with a non-conditional one
642644
KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0)
643645

arch/arc/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ atleast_gcc44 := $(call cc-ifversion, -ge, 0404, y)
5050

5151
cflags-$(atleast_gcc44) += -fsection-anchors
5252

53+
cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
54+
cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
55+
5356
ifdef CONFIG_ISA_ARCV2
5457

5558
ifndef CONFIG_ARC_HAS_LL64
@@ -68,7 +71,9 @@ cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables $(cfi)
6871
ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
6972
# Generic build system uses -O2, we want -O3
7073
# Note: No need to add to cflags-y as that happens anyways
71-
ARCH_CFLAGS += -O3
74+
#
75+
# Disable the false maybe-uninitialized warings gcc spits out at -O3
76+
ARCH_CFLAGS += -O3 $(call cc-disable-warning,maybe-uninitialized,)
7277
endif
7378

7479
# small data is default for elf32 tool-chain. If not usable, disable it

arch/arc/boot/dts/axc001.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
reg-io-width = <4>;
7272
};
7373

74-
arcpmu0: pmu {
74+
arcpct0: pct {
7575
compatible = "snps,arc700-pct";
7676
};
7777
};

arch/arc/boot/dts/nsim_700.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
};
7070
};
7171

72-
arcpmu0: pmu {
72+
arcpct0: pct {
7373
compatible = "snps,arc700-pct";
7474
};
7575
};

arch/arc/boot/dts/nsimosci.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,9 @@
8383
reg = <0xf0003000 0x44>;
8484
interrupts = <7>;
8585
};
86+
87+
arcpct0: pct {
88+
compatible = "snps,arc700-pct";
89+
};
8690
};
8791
};

arch/arc/configs/nsim_700_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsim_hs_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsim_hs_smp_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CONFIG_BLK_DEV_INITRD=y
1212
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
1313
CONFIG_KALLSYMS_ALL=y
1414
CONFIG_EMBEDDED=y
15+
CONFIG_PERF_EVENTS=y
1516
# CONFIG_SLUB_DEBUG is not set
1617
# CONFIG_COMPAT_BRK is not set
1718
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_hs_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_hs_smp_defconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ CONFIG_IKCONFIG_PROC=y
1010
# CONFIG_PID_NS is not set
1111
CONFIG_BLK_DEV_INITRD=y
1212
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
13+
CONFIG_PERF_EVENTS=y
1314
# CONFIG_COMPAT_BRK is not set
1415
CONFIG_KPROBES=y
1516
CONFIG_MODULES=y
@@ -34,7 +35,6 @@ CONFIG_INET=y
3435
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
3536
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
3637
# CONFIG_INET_XFRM_MODE_BEET is not set
37-
# CONFIG_INET_LRO is not set
3838
# CONFIG_IPV6 is not set
3939
# CONFIG_WIRELESS is not set
4040
CONFIG_DEVTMPFS=y
@@ -72,7 +72,6 @@ CONFIG_SERIAL_OF_PLATFORM=y
7272
# CONFIG_HWMON is not set
7373
CONFIG_DRM=y
7474
CONFIG_DRM_ARCPGU=y
75-
CONFIG_FRAMEBUFFER_CONSOLE=y
7675
CONFIG_LOGO=y
7776
# CONFIG_HID is not set
7877
# CONFIG_USB_SUPPORT is not set

arch/arc/include/asm/arcregs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@
4343
#define STATUS_AE_BIT 5 /* Exception active */
4444
#define STATUS_DE_BIT 6 /* PC is in delay slot */
4545
#define STATUS_U_BIT 7 /* User/Kernel mode */
46+
#define STATUS_Z_BIT 11
4647
#define STATUS_L_BIT 12 /* Loop inhibit */
4748

4849
/* These masks correspond to the status word(STATUS_32) bits */
4950
#define STATUS_AE_MASK (1<<STATUS_AE_BIT)
5051
#define STATUS_DE_MASK (1<<STATUS_DE_BIT)
5152
#define STATUS_U_MASK (1<<STATUS_U_BIT)
53+
#define STATUS_Z_MASK (1<<STATUS_Z_BIT)
5254
#define STATUS_L_MASK (1<<STATUS_L_BIT)
5355

5456
/*

arch/arc/include/asm/smp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ extern const char *arc_platform_smp_cpuinfo(void);
3737
* API expected BY platform smp code (FROM arch smp code)
3838
*
3939
* smp_ipi_irq_setup:
40-
* Takes @cpu and @irq to which the arch-common ISR is hooked up
40+
* Takes @cpu and @hwirq to which the arch-common ISR is hooked up
4141
*/
42-
extern int smp_ipi_irq_setup(int cpu, int irq);
42+
extern int smp_ipi_irq_setup(int cpu, irq_hw_number_t hwirq);
4343

4444
/*
4545
* struct plat_smp_ops - SMP callbacks provided by platform to ARC SMP

arch/arc/kernel/devtree.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ static void __init arc_set_early_base_baud(unsigned long dt_root)
3131
arc_base_baud = 166666666; /* Fixed 166.6MHz clk (TB10x) */
3232
else if (of_flat_dt_is_compatible(dt_root, "snps,arc-sdp"))
3333
arc_base_baud = 33333333; /* Fixed 33MHz clk (AXS10x) */
34+
else if (of_flat_dt_is_compatible(dt_root, "ezchip,arc-nps"))
35+
arc_base_baud = 800000000; /* Fixed 800MHz clk (NPS) */
3436
else
3537
arc_base_baud = 50000000; /* Fixed default 50MHz */
3638
}

0 commit comments

Comments
 (0)