Skip to content

Commit ff24e49

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Three trivial overlapping conflicts. Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 26f146e + ea98667 commit ff24e49

167 files changed

Lines changed: 1373 additions & 725 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.

‎Documentation/driver-api/usb/power-management.rst‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,15 @@ autosuspend the interface's device. When the usage counter is = 0
370370
then the interface is considered to be idle, and the kernel may
371371
autosuspend the device.
372372

373-
Drivers need not be concerned about balancing changes to the usage
374-
counter; the USB core will undo any remaining "get"s when a driver
375-
is unbound from its interface. As a corollary, drivers must not call
376-
any of the ``usb_autopm_*`` functions after their ``disconnect``
377-
routine has returned.
373+
Drivers must be careful to balance their overall changes to the usage
374+
counter. Unbalanced "get"s will remain in effect when a driver is
375+
unbound from its interface, preventing the device from going into
376+
runtime suspend should the interface be bound to a driver again. On
377+
the other hand, drivers are allowed to achieve this balance by calling
378+
the ``usb_autopm_*`` functions even after their ``disconnect`` routine
379+
has returned -- say from within a work-queue routine -- provided they
380+
retain an active reference to the interface (via ``usb_get_intf`` and
381+
``usb_put_intf``).
378382

379383
Drivers using the async routines are responsible for their own
380384
synchronization and mutual exclusion.

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,7 @@ tag - INTEGER
13421342
Default value is 0.
13431343

13441344
xfrm4_gc_thresh - INTEGER
1345+
(Obsolete since linux-4.14)
13451346
The threshold at which we will start garbage collecting for IPv4
13461347
destination cache entries. At twice this value the system will
13471348
refuse new allocations.
@@ -1950,6 +1951,7 @@ echo_ignore_anycast - BOOLEAN
19501951
Default: 0
19511952

19521953
xfrm6_gc_thresh - INTEGER
1954+
(Obsolete since linux-4.14)
19531955
The threshold at which we will start garbage collecting for IPv6
19541956
destination cache entries. At twice this value the system will
19551957
refuse new allocations.

‎Documentation/networking/netdev-FAQ.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ version that should be applied. If there is any doubt, the maintainer
132132
will reply and ask what should be done.
133133

134134
Q: I made changes to only a few patches in a patch series should I resend only those changed?
135-
--------------------------------------------------------------------------------------------
135+
---------------------------------------------------------------------------------------------
136136
A: No, please resend the entire patch series and make sure you do number your
137137
patches such that it is clear this is the latest and greatest set of patches
138138
that can be applied.

‎Documentation/sysctl/vm.txt‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -866,14 +866,14 @@ The intent is that compaction has less work to do in the future and to
866866
increase the success rate of future high-order allocations such as SLUB
867867
allocations, THP and hugetlbfs pages.
868868

869-
To make it sensible with respect to the watermark_scale_factor parameter,
870-
the unit is in fractions of 10,000. The default value of 15,000 means
871-
that up to 150% of the high watermark will be reclaimed in the event of
872-
a pageblock being mixed due to fragmentation. The level of reclaim is
873-
determined by the number of fragmentation events that occurred in the
874-
recent past. If this value is smaller than a pageblock then a pageblocks
875-
worth of pages will be reclaimed (e.g. 2MB on 64-bit x86). A boost factor
876-
of 0 will disable the feature.
869+
To make it sensible with respect to the watermark_scale_factor
870+
parameter, the unit is in fractions of 10,000. The default value of
871+
15,000 on !DISCONTIGMEM configurations means that up to 150% of the high
872+
watermark will be reclaimed in the event of a pageblock being mixed due
873+
to fragmentation. The level of reclaim is determined by the number of
874+
fragmentation events that occurred in the recent past. If this value is
875+
smaller than a pageblock then a pageblocks worth of pages will be reclaimed
876+
(e.g. 2MB on 64-bit x86). A boost factor of 0 will disable the feature.
877877

878878
=============================================================
879879

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 1
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc6
5+
EXTRAVERSION = -rc7
66
NAME = Shy Crocodile
77

88
# *DOCUMENTATION*
@@ -679,6 +679,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
679679
KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
680680
KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
681681
KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
682+
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
682683

683684
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
684685
KBUILD_CFLAGS += -Os
@@ -720,7 +721,6 @@ ifdef CONFIG_CC_IS_CLANG
720721
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
721722
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
722723
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
723-
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
724724
# Quiet clang warning: comparison of unsigned expression < 0 is always false
725725
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
726726
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the

‎arch/arc/boot/dts/hsdk.dts‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
model = "snps,hsdk";
1919
compatible = "snps,hsdk";
2020

21-
#address-cells = <1>;
22-
#size-cells = <1>;
21+
#address-cells = <2>;
22+
#size-cells = <2>;
2323

2424
chosen {
2525
bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
@@ -105,7 +105,7 @@
105105
#size-cells = <1>;
106106
interrupt-parent = <&idu_intc>;
107107

108-
ranges = <0x00000000 0xf0000000 0x10000000>;
108+
ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
109109

110110
cgu_rst: reset-controller@8a0 {
111111
compatible = "snps,hsdk-reset";
@@ -269,9 +269,10 @@
269269
};
270270

271271
memory@80000000 {
272-
#address-cells = <1>;
273-
#size-cells = <1>;
272+
#address-cells = <2>;
273+
#size-cells = <2>;
274274
device_type = "memory";
275-
reg = <0x80000000 0x40000000>; /* 1 GiB */
275+
reg = <0x0 0x80000000 0x0 0x40000000>; /* 1 GB lowmem */
276+
/* 0x1 0x00000000 0x0 0x40000000>; 1 GB highmem */
276277
};
277278
};

‎arch/arc/lib/memset-archs.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131
#else
3232

33-
.macro PREALLOC_INSTR
33+
.macro PREALLOC_INSTR reg, off
3434
.endm
3535

36-
.macro PREFETCHW_INSTR
36+
.macro PREFETCHW_INSTR reg, off
3737
.endm
3838

3939
#endif

‎arch/arc/mm/cache.c‎

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,24 @@ static void read_decode_cache_bcr_arcv2(int cpu)
113113
}
114114

115115
READ_BCR(ARC_REG_CLUSTER_BCR, cbcr);
116-
if (cbcr.c)
116+
if (cbcr.c) {
117117
ioc_exists = 1;
118-
else
118+
119+
/*
120+
* As for today we don't support both IOC and ZONE_HIGHMEM enabled
121+
* simultaneously. This happens because as of today IOC aperture covers
122+
* only ZONE_NORMAL (low mem) and any dma transactions outside this
123+
* region won't be HW coherent.
124+
* If we want to use both IOC and ZONE_HIGHMEM we can use
125+
* bounce_buffer to handle dma transactions to HIGHMEM.
126+
* Also it is possible to modify dma_direct cache ops or increase IOC
127+
* aperture size if we are planning to use HIGHMEM without PAE.
128+
*/
129+
if (IS_ENABLED(CONFIG_HIGHMEM) || is_pae40_enabled())
130+
ioc_enable = 0;
131+
} else {
119132
ioc_enable = 0;
133+
}
120134

121135
/* HS 2.0 didn't have AUX_VOL */
122136
if (cpuinfo_arc700[cpu].core.family > 0x51) {
@@ -1158,19 +1172,6 @@ noinline void __init arc_ioc_setup(void)
11581172
if (!ioc_enable)
11591173
return;
11601174

1161-
/*
1162-
* As for today we don't support both IOC and ZONE_HIGHMEM enabled
1163-
* simultaneously. This happens because as of today IOC aperture covers
1164-
* only ZONE_NORMAL (low mem) and any dma transactions outside this
1165-
* region won't be HW coherent.
1166-
* If we want to use both IOC and ZONE_HIGHMEM we can use
1167-
* bounce_buffer to handle dma transactions to HIGHMEM.
1168-
* Also it is possible to modify dma_direct cache ops or increase IOC
1169-
* aperture size if we are planning to use HIGHMEM without PAE.
1170-
*/
1171-
if (IS_ENABLED(CONFIG_HIGHMEM))
1172-
panic("IOC and HIGHMEM can't be used simultaneously");
1173-
11741175
/* Flush + invalidate + disable L1 dcache */
11751176
__dc_disable();
11761177

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ config ARM
7373
select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
7474
select HAVE_EXIT_THREAD
7575
select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
76-
select HAVE_FUNCTION_GRAPH_TRACER if !THUMB2_KERNEL
76+
select HAVE_FUNCTION_GRAPH_TRACER if !THUMB2_KERNEL && !CC_IS_CLANG
7777
select HAVE_FUNCTION_TRACER if !XIP_KERNEL
7878
select HAVE_GCC_PLUGINS
7979
select HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)

‎arch/arm/Kconfig.debug‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ config DEBUG_WX
4747

4848
choice
4949
prompt "Choose kernel unwinder"
50-
default UNWINDER_ARM if AEABI && !FUNCTION_GRAPH_TRACER
51-
default UNWINDER_FRAME_POINTER if !AEABI || FUNCTION_GRAPH_TRACER
50+
default UNWINDER_ARM if AEABI
51+
default UNWINDER_FRAME_POINTER if !AEABI
5252
help
5353
This determines which method will be used for unwinding kernel stack
5454
traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
@@ -65,7 +65,7 @@ config UNWINDER_FRAME_POINTER
6565

6666
config UNWINDER_ARM
6767
bool "ARM EABI stack unwinder"
68-
depends on AEABI
68+
depends on AEABI && !FUNCTION_GRAPH_TRACER
6969
select ARM_UNWIND
7070
help
7171
This option enables stack unwinding support in the kernel

0 commit comments

Comments
 (0)