Skip to content

Commit e2a7c34

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents 7d3f0cd + 6470812 commit e2a7c34

File tree

199 files changed

+1218
-655
lines changed

Some content is hidden

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

199 files changed

+1218
-655
lines changed

Documentation/networking/switchdev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Learning on the device port should be enabled, as well as learning_sync:
228228
bridge link set dev DEV learning on self
229229
bridge link set dev DEV learning_sync on self
230230

231-
Learning_sync attribute enables syncing of the learned/forgotton FDB entry to
231+
Learning_sync attribute enables syncing of the learned/forgotten FDB entry to
232232
the bridge's FDB. It's possible, but not optimal, to enable learning on the
233233
device port and on the bridge port, and disable learning_sync.
234234

@@ -245,7 +245,7 @@ the responsibility of the port driver/device to age out these entries. If the
245245
port device supports ageing, when the FDB entry expires, it will notify the
246246
driver which in turn will notify the bridge with SWITCHDEV_FDB_DEL. If the
247247
device does not support ageing, the driver can simulate ageing using a
248-
garbage collection timer to monitor FBD entries. Expired entries will be
248+
garbage collection timer to monitor FDB entries. Expired entries will be
249249
notified to the bridge using SWITCHDEV_FDB_DEL. See rocker driver for
250250
example of driver running ageing timer.
251251

Documentation/printk-formats.txt

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,23 @@ Symbols/Function Pointers
5858
%ps versatile_init
5959
%pB prev_fn_of_versatile_init+0x88/0x88
6060

61-
For printing symbols and function pointers. The ``S`` and ``s`` specifiers
62-
result in the symbol name with (``S``) or without (``s``) offsets. Where
63-
this is used on a kernel without KALLSYMS - the symbol address is
64-
printed instead.
61+
The ``F`` and ``f`` specifiers are for printing function pointers,
62+
for example, f->func, &gettimeofday. They have the same result as
63+
``S`` and ``s`` specifiers. But they do an extra conversion on
64+
ia64, ppc64 and parisc64 architectures where the function pointers
65+
are actually function descriptors.
66+
67+
The ``S`` and ``s`` specifiers can be used for printing symbols
68+
from direct addresses, for example, __builtin_return_address(0),
69+
(void *)regs->ip. They result in the symbol name with (``S``) or
70+
without (``s``) offsets. If KALLSYMS are disabled then the symbol
71+
address is printed instead.
6572

6673
The ``B`` specifier results in the symbol name with offsets and should be
6774
used when printing stack backtraces. The specifier takes into
6875
consideration the effect of compiler optimisations which may occur
6976
when tail-call``s are used and marked with the noreturn GCC attribute.
7077

71-
On ia64, ppc64 and parisc64 architectures function pointers are
72-
actually function descriptors which must first be resolved. The ``F`` and
73-
``f`` specifiers perform this resolution and then provide the same
74-
functionality as the ``S`` and ``s`` specifiers.
7578

7679
Kernel Pointers
7780
===============

Documentation/sysctl/net.txt

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,34 @@ Table : Subdirectories in /proc/sys/net
3535
bpf_jit_enable
3636
--------------
3737

38-
This enables Berkeley Packet Filter Just in Time compiler.
39-
Currently supported on x86_64 architecture, bpf_jit provides a framework
40-
to speed packet filtering, the one used by tcpdump/libpcap for example.
38+
This enables the BPF Just in Time (JIT) compiler. BPF is a flexible
39+
and efficient infrastructure allowing to execute bytecode at various
40+
hook points. It is used in a number of Linux kernel subsystems such
41+
as networking (e.g. XDP, tc), tracing (e.g. kprobes, uprobes, tracepoints)
42+
and security (e.g. seccomp). LLVM has a BPF back end that can compile
43+
restricted C into a sequence of BPF instructions. After program load
44+
through bpf(2) and passing a verifier in the kernel, a JIT will then
45+
translate these BPF proglets into native CPU instructions. There are
46+
two flavors of JITs, the newer eBPF JIT currently supported on:
47+
- x86_64
48+
- arm64
49+
- ppc64
50+
- sparc64
51+
- mips64
52+
- s390x
53+
54+
And the older cBPF JIT supported on the following archs:
55+
- arm
56+
- mips
57+
- ppc
58+
- sparc
59+
60+
eBPF JITs are a superset of cBPF JITs, meaning the kernel will
61+
migrate cBPF instructions into eBPF instructions and then JIT
62+
compile them transparently. Older cBPF JITs can only translate
63+
tcpdump filters, seccomp rules, etc, but not mentioned eBPF
64+
programs loaded through bpf(2).
65+
4166
Values :
4267
0 - disable the JIT (default value)
4368
1 - enable the JIT
@@ -46,9 +71,9 @@ Values :
4671
bpf_jit_harden
4772
--------------
4873

49-
This enables hardening for the Berkeley Packet Filter Just in Time compiler.
50-
Supported are eBPF JIT backends. Enabling hardening trades off performance,
51-
but can mitigate JIT spraying.
74+
This enables hardening for the BPF JIT compiler. Supported are eBPF
75+
JIT backends. Enabling hardening trades off performance, but can
76+
mitigate JIT spraying.
5277
Values :
5378
0 - disable JIT hardening (default value)
5479
1 - enable JIT hardening for unprivileged users only
@@ -57,11 +82,11 @@ Values :
5782
bpf_jit_kallsyms
5883
----------------
5984

60-
When Berkeley Packet Filter Just in Time compiler is enabled, then compiled
61-
images are unknown addresses to the kernel, meaning they neither show up in
62-
traces nor in /proc/kallsyms. This enables export of these addresses, which
63-
can be used for debugging/tracing. If bpf_jit_harden is enabled, this feature
64-
is disabled.
85+
When BPF JIT compiler is enabled, then compiled images are unknown
86+
addresses to the kernel, meaning they neither show up in traces nor
87+
in /proc/kallsyms. This enables export of these addresses, which can
88+
be used for debugging/tracing. If bpf_jit_harden is enabled, this
89+
feature is disabled.
6590
Values :
6691
0 - disable JIT kallsyms export (default value)
6792
1 - enable JIT kallsyms export for privileged users only

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7120,7 +7120,6 @@ M: Marc Zyngier <[email protected]>
71207120
71217121
S: Maintained
71227122
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
7123-
T: git git://git.infradead.org/users/jcooper/linux.git irqchip/core
71247123
F: Documentation/devicetree/bindings/interrupt-controller/
71257124
F: drivers/irqchip/
71267125

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 13
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc5
4+
EXTRAVERSION = -rc6
55
NAME = Fearless Coyote
66

77
# *DOCUMENTATION*

arch/arc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ menu "ARC Architecture Configuration"
9696

9797
menu "ARC Platform/SoC/Board"
9898

99-
source "arch/arc/plat-sim/Kconfig"
10099
source "arch/arc/plat-tb10x/Kconfig"
101100
source "arch/arc/plat-axs10x/Kconfig"
102101
#New platform adds here

arch/arc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ core-y += arch/arc/
107107
# w/o this dtb won't embed into kernel binary
108108
core-y += arch/arc/boot/dts/
109109

110-
core-$(CONFIG_ARC_PLAT_SIM) += arch/arc/plat-sim/
110+
core-y += arch/arc/plat-sim/
111111
core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/
112112
core-$(CONFIG_ARC_PLAT_AXS10X) += arch/arc/plat-axs10x/
113113
core-$(CONFIG_ARC_PLAT_EZNPS) += arch/arc/plat-eznps/

arch/arc/boot/dts/axc001.dtsi

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
/ {
1717
compatible = "snps,arc";
18-
#address-cells = <1>;
19-
#size-cells = <1>;
18+
#address-cells = <2>;
19+
#size-cells = <2>;
2020

2121
cpu_card {
2222
compatible = "simple-bus";
2323
#address-cells = <1>;
2424
#size-cells = <1>;
2525

26-
ranges = <0x00000000 0xf0000000 0x10000000>;
26+
ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
2727

2828
core_clk: core_clk {
2929
#clock-cells = <0>;
@@ -91,23 +91,21 @@
9191
mb_intc: dw-apb-ictl@0xe0012000 {
9292
#interrupt-cells = <1>;
9393
compatible = "snps,dw-apb-ictl";
94-
reg = < 0xe0012000 0x200 >;
94+
reg = < 0x0 0xe0012000 0x0 0x200 >;
9595
interrupt-controller;
9696
interrupt-parent = <&core_intc>;
9797
interrupts = < 7 >;
9898
};
9999

100100
memory {
101-
#address-cells = <1>;
102-
#size-cells = <1>;
103-
ranges = <0x00000000 0x80000000 0x20000000>;
104101
device_type = "memory";
105-
reg = <0x80000000 0x1b000000>; /* (512 - 32) MiB */
102+
/* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
103+
reg = <0x0 0x80000000 0x0 0x1b000000>; /* (512 - 32) MiB */
106104
};
107105

108106
reserved-memory {
109-
#address-cells = <1>;
110-
#size-cells = <1>;
107+
#address-cells = <2>;
108+
#size-cells = <2>;
111109
ranges;
112110
/*
113111
* We just move frame buffer area to the very end of
@@ -118,7 +116,7 @@
118116
*/
119117
frame_buffer: frame_buffer@9e000000 {
120118
compatible = "shared-dma-pool";
121-
reg = <0x9e000000 0x2000000>;
119+
reg = <0x0 0x9e000000 0x0 0x2000000>;
122120
no-map;
123121
};
124122
};

arch/arc/boot/dts/axc003.dtsi

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
/ {
1616
compatible = "snps,arc";
17-
#address-cells = <1>;
18-
#size-cells = <1>;
17+
#address-cells = <2>;
18+
#size-cells = <2>;
1919

2020
cpu_card {
2121
compatible = "simple-bus";
2222
#address-cells = <1>;
2323
#size-cells = <1>;
2424

25-
ranges = <0x00000000 0xf0000000 0x10000000>;
25+
ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
2626

2727
core_clk: core_clk {
2828
#clock-cells = <0>;
@@ -94,30 +94,29 @@
9494
mb_intc: dw-apb-ictl@0xe0012000 {
9595
#interrupt-cells = <1>;
9696
compatible = "snps,dw-apb-ictl";
97-
reg = < 0xe0012000 0x200 >;
97+
reg = < 0x0 0xe0012000 0x0 0x200 >;
9898
interrupt-controller;
9999
interrupt-parent = <&core_intc>;
100100
interrupts = < 24 >;
101101
};
102102

103103
memory {
104-
#address-cells = <1>;
105-
#size-cells = <1>;
106-
ranges = <0x00000000 0x80000000 0x40000000>;
107104
device_type = "memory";
108-
reg = <0x80000000 0x20000000>; /* 512MiB */
105+
/* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
106+
reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MiB low mem */
107+
0x1 0xc0000000 0x0 0x40000000>; /* 1 GiB highmem */
109108
};
110109

111110
reserved-memory {
112-
#address-cells = <1>;
113-
#size-cells = <1>;
111+
#address-cells = <2>;
112+
#size-cells = <2>;
114113
ranges;
115114
/*
116115
* Move frame buffer out of IOC aperture (0x8z-0xAz).
117116
*/
118117
frame_buffer: frame_buffer@be000000 {
119118
compatible = "shared-dma-pool";
120-
reg = <0xbe000000 0x2000000>;
119+
reg = <0x0 0xbe000000 0x0 0x2000000>;
121120
no-map;
122121
};
123122
};

arch/arc/boot/dts/axc003_idu.dtsi

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
/ {
1616
compatible = "snps,arc";
17-
#address-cells = <1>;
18-
#size-cells = <1>;
17+
#address-cells = <2>;
18+
#size-cells = <2>;
1919

2020
cpu_card {
2121
compatible = "simple-bus";
2222
#address-cells = <1>;
2323
#size-cells = <1>;
2424

25-
ranges = <0x00000000 0xf0000000 0x10000000>;
25+
ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
2626

2727
core_clk: core_clk {
2828
#clock-cells = <0>;
@@ -100,30 +100,29 @@
100100
mb_intc: dw-apb-ictl@0xe0012000 {
101101
#interrupt-cells = <1>;
102102
compatible = "snps,dw-apb-ictl";
103-
reg = < 0xe0012000 0x200 >;
103+
reg = < 0x0 0xe0012000 0x0 0x200 >;
104104
interrupt-controller;
105105
interrupt-parent = <&idu_intc>;
106106
interrupts = <0>;
107107
};
108108

109109
memory {
110-
#address-cells = <1>;
111-
#size-cells = <1>;
112-
ranges = <0x00000000 0x80000000 0x40000000>;
113110
device_type = "memory";
114-
reg = <0x80000000 0x20000000>; /* 512MiB */
111+
/* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
112+
reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MiB low mem */
113+
0x1 0xc0000000 0x0 0x40000000>; /* 1 GiB highmem */
115114
};
116115

117116
reserved-memory {
118-
#address-cells = <1>;
119-
#size-cells = <1>;
117+
#address-cells = <2>;
118+
#size-cells = <2>;
120119
ranges;
121120
/*
122121
* Move frame buffer out of IOC aperture (0x8z-0xAz).
123122
*/
124123
frame_buffer: frame_buffer@be000000 {
125124
compatible = "shared-dma-pool";
126-
reg = <0xbe000000 0x2000000>;
125+
reg = <0x0 0xbe000000 0x0 0x2000000>;
127126
no-map;
128127
};
129128
};

arch/arc/boot/dts/axs10x_mb.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
compatible = "simple-bus";
1414
#address-cells = <1>;
1515
#size-cells = <1>;
16-
ranges = <0x00000000 0xe0000000 0x10000000>;
16+
ranges = <0x00000000 0x0 0xe0000000 0x10000000>;
1717
interrupt-parent = <&mb_intc>;
1818

1919
i2sclk: i2sclk@100a0 {

arch/arc/configs/haps_hs_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CONFIG_MODULES=y
2121
# CONFIG_BLK_DEV_BSG is not set
2222
# CONFIG_IOSCHED_DEADLINE is not set
2323
# CONFIG_IOSCHED_CFQ is not set
24-
CONFIG_ARC_PLAT_SIM=y
2524
CONFIG_ISA_ARCV2=y
2625
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs"
2726
CONFIG_PREEMPT=y

arch/arc/configs/haps_hs_smp_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ CONFIG_MODULES=y
2323
# CONFIG_BLK_DEV_BSG is not set
2424
# CONFIG_IOSCHED_DEADLINE is not set
2525
# CONFIG_IOSCHED_CFQ is not set
26-
CONFIG_ARC_PLAT_SIM=y
2726
CONFIG_ISA_ARCV2=y
2827
CONFIG_SMP=y
2928
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs_idu"

arch/arc/configs/nps_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ CONFIG_IP_PNP=y
3939
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
4040
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
4141
# CONFIG_INET_XFRM_MODE_BEET is not set
42-
# CONFIG_INET_LRO is not set
4342
# CONFIG_INET_DIAG is not set
4443
# CONFIG_IPV6 is not set
4544
# CONFIG_WIRELESS is not set

arch/arc/configs/nsim_700_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ CONFIG_MODULES=y
2323
# CONFIG_BLK_DEV_BSG is not set
2424
# CONFIG_IOSCHED_DEADLINE is not set
2525
# CONFIG_IOSCHED_CFQ is not set
26-
CONFIG_ARC_PLAT_SIM=y
2726
CONFIG_ARC_BUILTIN_DTB_NAME="nsim_700"
2827
CONFIG_PREEMPT=y
2928
# CONFIG_COMPACTION is not set

arch/arc/configs/nsim_hs_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ CONFIG_MODULE_FORCE_UNLOAD=y
2626
# CONFIG_BLK_DEV_BSG is not set
2727
# CONFIG_IOSCHED_DEADLINE is not set
2828
# CONFIG_IOSCHED_CFQ is not set
29-
CONFIG_ARC_PLAT_SIM=y
3029
CONFIG_ISA_ARCV2=y
3130
CONFIG_ARC_BUILTIN_DTB_NAME="nsim_hs"
3231
CONFIG_PREEMPT=y

arch/arc/configs/nsim_hs_smp_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ CONFIG_MODULE_FORCE_UNLOAD=y
2424
# CONFIG_BLK_DEV_BSG is not set
2525
# CONFIG_IOSCHED_DEADLINE is not set
2626
# CONFIG_IOSCHED_CFQ is not set
27-
CONFIG_ARC_PLAT_SIM=y
2827
CONFIG_ISA_ARCV2=y
2928
CONFIG_SMP=y
3029
CONFIG_ARC_BUILTIN_DTB_NAME="nsim_hs_idu"

arch/arc/configs/nsimosci_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ CONFIG_MODULES=y
2323
# CONFIG_BLK_DEV_BSG is not set
2424
# CONFIG_IOSCHED_DEADLINE is not set
2525
# CONFIG_IOSCHED_CFQ is not set
26-
CONFIG_ARC_PLAT_SIM=y
2726
CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci"
2827
# CONFIG_COMPACTION is not set
2928
CONFIG_NET=y

arch/arc/configs/nsimosci_hs_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ CONFIG_MODULES=y
2323
# CONFIG_BLK_DEV_BSG is not set
2424
# CONFIG_IOSCHED_DEADLINE is not set
2525
# CONFIG_IOSCHED_CFQ is not set
26-
CONFIG_ARC_PLAT_SIM=y
2726
CONFIG_ISA_ARCV2=y
2827
CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs"
2928
# CONFIG_COMPACTION is not set

0 commit comments

Comments
 (0)