Skip to content

Commit 909b27f

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The nf_conntrack_core.c fix in 'net' is not relevant in 'net-next' because we no longer have a per-netns conntrack hash. The ip_gre.c conflict as well as the iwlwifi ones were cases of overlapping changes. Conflicts: drivers/net/wireless/intel/iwlwifi/mvm/tx.c net/ipv4/ip_gre.c net/netfilter/nf_conntrack_core.c Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 8fbb89c + 272911b commit 909b27f

144 files changed

Lines changed: 1364 additions & 615 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,29 @@
1-
Device-Tree binding for regmap
2-
3-
The endianness mode of CPU & Device scenarios:
4-
Index Device Endianness properties
5-
---------------------------------------------------
6-
1 BE 'big-endian'
7-
2 LE 'little-endian'
8-
3 Native 'native-endian'
9-
10-
For one device driver, which will run in different scenarios above
11-
on different SoCs using the devicetree, we need one way to simplify
12-
this.
1+
Devicetree binding for regmap
132

143
Optional properties:
15-
- {big,little,native}-endian: these are boolean properties, if absent
16-
then the implementation will choose a default based on the device
17-
being controlled. These properties are for register values and all
18-
the buffers only. Native endian means that the CPU and device have
19-
the same endianness.
204

21-
Examples:
22-
Scenario 1 : CPU in LE mode & device in LE mode.
23-
dev: dev@40031000 {
24-
compatible = "name";
25-
reg = <0x40031000 0x1000>;
26-
...
27-
};
5+
little-endian,
6+
big-endian,
7+
native-endian: See common-properties.txt for a definition
288

29-
Scenario 2 : CPU in LE mode & device in BE mode.
30-
dev: dev@40031000 {
31-
compatible = "name";
32-
reg = <0x40031000 0x1000>;
33-
...
34-
big-endian;
35-
};
9+
Note:
10+
Regmap defaults to little-endian register access on MMIO based
11+
devices, this is by far the most common setting. On CPU
12+
architectures that typically run big-endian operating systems
13+
(e.g. PowerPC), registers can be defined as big-endian and must
14+
be marked that way in the devicetree.
3615

37-
Scenario 3 : CPU in BE mode & device in BE mode.
38-
dev: dev@40031000 {
39-
compatible = "name";
40-
reg = <0x40031000 0x1000>;
41-
...
42-
};
16+
On SoCs that can be operated in both big-endian and little-endian
17+
modes, with a single hardware switch controlling both the endianess
18+
of the CPU and a byteswap for MMIO registers (e.g. many Broadcom MIPS
19+
chips), "native-endian" is used to allow using the same device tree
20+
blob in both cases.
4321

44-
Scenario 4 : CPU in BE mode & device in LE mode.
22+
Examples:
23+
Scenario 1 : a register set in big-endian mode.
4524
dev: dev@40031000 {
46-
compatible = "name";
25+
compatible = "syscon";
4726
reg = <0x40031000 0x1000>;
27+
big-endian;
4828
...
49-
little-endian;
5029
};

‎Documentation/sysctl/kernel.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ allowed to execute.
645645
perf_event_paranoid:
646646

647647
Controls use of the performance events system by unprivileged
648-
users (without CAP_SYS_ADMIN). The default value is 1.
648+
users (without CAP_SYS_ADMIN). The default value is 2.
649649

650650
-1: Allow use of (almost) all events by all users
651651
>=0: Disallow raw tracepoint access by users without CAP_IOC_LOCK

‎MAINTAINERS‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11315,6 +11315,20 @@ F: include/trace/
1131511315
F: kernel/trace/
1131611316
F: tools/testing/selftests/ftrace/
1131711317

11318+
TRACING MMIO ACCESSES (MMIOTRACE)
11319+
M: Steven Rostedt <rostedt@goodmis.org>
11320+
M: Ingo Molnar <mingo@kernel.org>
11321+
R: Karol Herbst <karolherbst@gmail.com>
11322+
R: Pekka Paalanen <ppaalanen@gmail.com>
11323+
S: Maintained
11324+
L: linux-kernel@vger.kernel.org
11325+
L: nouveau@lists.freedesktop.org
11326+
F: kernel/trace/trace_mmiotrace.c
11327+
F: include/linux/mmiotrace.h
11328+
F: arch/x86/mm/kmmio.c
11329+
F: arch/x86/mm/mmio-mod.c
11330+
F: arch/x86/mm/testmmiotrace.c
11331+
1131811332
TRIVIAL PATCHES
1131911333
M: Jiri Kosina <trivial@kernel.org>
1132011334
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git

‎arch/arm/boot/dts/at91sam9x5.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
pmc: pmc@fffffc00 {
108108
compatible = "atmel,at91sam9x5-pmc", "syscon";
109-
reg = <0xfffffc00 0x100>;
109+
reg = <0xfffffc00 0x200>;
110110
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
111111
interrupt-controller;
112112
#address-cells = <1>;

‎arch/arm/boot/dts/sama5d2.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
status = "disabled";
281281

282282
nfc@c0000000 {
283-
compatible = "atmel,sama5d4-nfc";
283+
compatible = "atmel,sama5d3-nfc";
284284
#address-cells = <1>;
285285
#size-cells = <1>;
286286
reg = < /* NFC Command Registers */

‎arch/arm64/Kconfig.platforms‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ menu "Platform selection"
22

33
config ARCH_SUNXI
44
bool "Allwinner sunxi 64-bit SoC Family"
5+
select GENERIC_IRQ_CHIP
56
help
67
This enables support for Allwinner sunxi based SoCs like the A64.
78

‎arch/arm64/net/bpf_jit_comp.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
476476
case BPF_JGE:
477477
jmp_cond = A64_COND_CS;
478478
break;
479+
case BPF_JSET:
479480
case BPF_JNE:
480481
jmp_cond = A64_COND_NE;
481482
break;

‎arch/x86/configs/kvm_guest.config‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ CONFIG_VIRTIO_NET=y
2626
CONFIG_9P_FS=y
2727
CONFIG_NET_9P=y
2828
CONFIG_NET_9P_VIRTIO=y
29+
CONFIG_SCSI_LOWLEVEL=y
30+
CONFIG_SCSI_VIRTIO=y
31+
CONFIG_VIRTIO_INPUT=y

‎arch/x86/events/intel/core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3708,7 +3708,7 @@ __init int intel_pmu_init(void)
37083708
c->idxmsk64 |= (1ULL << x86_pmu.num_counters) - 1;
37093709
}
37103710
c->idxmsk64 &=
3711-
~(~0UL << (INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed));
3711+
~(~0ULL << (INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed));
37123712
c->weight = hweight64(c->idxmsk64);
37133713
}
37143714
}

‎arch/x86/events/intel/pt.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ static int pt_buffer_reset_markers(struct pt_buffer *buf,
709709

710710
/* clear STOP and INT from current entry */
711711
buf->topa_index[buf->stop_pos]->stop = 0;
712+
buf->topa_index[buf->stop_pos]->intr = 0;
712713
buf->topa_index[buf->intr_pos]->intr = 0;
713714

714715
/* how many pages till the STOP marker */
@@ -733,6 +734,7 @@ static int pt_buffer_reset_markers(struct pt_buffer *buf,
733734
buf->intr_pos = idx;
734735

735736
buf->topa_index[buf->stop_pos]->stop = 1;
737+
buf->topa_index[buf->stop_pos]->intr = 1;
736738
buf->topa_index[buf->intr_pos]->intr = 1;
737739

738740
return 0;

0 commit comments

Comments
 (0)