Skip to content

Commit a8b5d98

Browse files
committed
Merge branch 'stable/linux-4.14.y' into linux-4.14-at91
2 parents b30376d + e740591 commit a8b5d98

486 files changed

Lines changed: 4624 additions & 1688 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/hwmon/ina2xx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Supported chips:
3232
Datasheet: Publicly available at the Texas Instruments website
3333
http://www.ti.com/
3434

35-
Author: Lothar Felten <l-felten@ti.com>
35+
Author: Lothar Felten <lothar.felten@gmail.com>
3636

3737
Description
3838
-----------

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 4
33
PATCHLEVEL = 14
4-
SUBLEVEL = 73
5-
EXTRAVERSION = -linux4sam_6.0
4+
SUBLEVEL = 78
5+
EXTRAVERSION =
66
NAME = Petit Gorille
77

88
# *DOCUMENTATION*

arch/arc/Makefile

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,12 @@
66
# published by the Free Software Foundation.
77
#
88

9-
ifeq ($(CROSS_COMPILE),)
10-
ifndef CONFIG_CPU_BIG_ENDIAN
11-
CROSS_COMPILE := arc-linux-
12-
else
13-
CROSS_COMPILE := arceb-linux-
14-
endif
15-
endif
16-
179
KBUILD_DEFCONFIG := nsim_700_defconfig
1810

1911
cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
2012
cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7
2113
cflags-$(CONFIG_ISA_ARCV2) += -mcpu=archs
2214

23-
is_700 = $(shell $(CC) -dM -E - < /dev/null | grep -q "ARC700" && echo 1 || echo 0)
24-
25-
ifdef CONFIG_ISA_ARCOMPACT
26-
ifeq ($(is_700), 0)
27-
$(error Toolchain not configured for ARCompact builds)
28-
endif
29-
endif
30-
31-
ifdef CONFIG_ISA_ARCV2
32-
ifeq ($(is_700), 1)
33-
$(error Toolchain not configured for ARCv2 builds)
34-
endif
35-
endif
36-
3715
ifdef CONFIG_ARC_CURR_IN_REG
3816
# For a global register defintion, make sure it gets passed to every file
3917
# We had a customer reported bug where some code built in kernel was NOT using
@@ -87,7 +65,7 @@ ldflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB
8765
# --build-id w/o "-marclinux". Default arc-elf32-ld is OK
8866
ldflags-$(upto_gcc44) += -marclinux
8967

90-
LIBGCC := $(shell $(CC) $(cflags-y) --print-libgcc-file-name)
68+
LIBGCC = $(shell $(CC) $(cflags-y) --print-libgcc-file-name)
9169

9270
# Modules with short calls might break for calls into builtin-kernel
9371
KBUILD_CFLAGS_MODULE += -mlong-calls -mno-millicode

arch/arc/include/asm/atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static inline int atomic_fetch_##op(int i, atomic_t *v) \
8484
"1: llock %[orig], [%[ctr]] \n" \
8585
" " #asm_op " %[val], %[orig], %[i] \n" \
8686
" scond %[val], [%[ctr]] \n" \
87-
" \n" \
87+
" bnz 1b \n" \
8888
: [val] "=&r" (val), \
8989
[orig] "=&r" (orig) \
9090
: [ctr] "r" (&v->counter), \

arch/arc/kernel/process.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,26 @@ int copy_thread(unsigned long clone_flags,
241241
task_thread_info(current)->thr_ptr;
242242
}
243243

244+
245+
/*
246+
* setup usermode thread pointer #1:
247+
* when child is picked by scheduler, __switch_to() uses @c_callee to
248+
* populate usermode callee regs: this works (despite being in a kernel
249+
* function) since special return path for child @ret_from_fork()
250+
* ensures those regs are not clobbered all the way to RTIE to usermode
251+
*/
252+
c_callee->r25 = task_thread_info(p)->thr_ptr;
253+
254+
#ifdef CONFIG_ARC_CURR_IN_REG
255+
/*
256+
* setup usermode thread pointer #2:
257+
* however for this special use of r25 in kernel, __switch_to() sets
258+
* r25 for kernel needs and only in the final return path is usermode
259+
* r25 setup, from pt_regs->user_r25. So set that up as well
260+
*/
261+
c_regs->user_r25 = c_callee->r25;
262+
#endif
263+
244264
return 0;
245265
}
246266

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@
18181818
};
18191819
};
18201820

1821-
dcan1: can@481cc000 {
1821+
dcan1: can@4ae3c000 {
18221822
compatible = "ti,dra7-d_can";
18231823
ti,hwmods = "dcan1";
18241824
reg = <0x4ae3c000 0x2000>;
@@ -1828,7 +1828,7 @@
18281828
status = "disabled";
18291829
};
18301830

1831-
dcan2: can@481d0000 {
1831+
dcan2: can@48480000 {
18321832
compatible = "ti,dra7-d_can";
18331833
ti,hwmods = "dcan2";
18341834
reg = <0x48480000 0x2000>;

arch/arm/boot/dts/imx7d.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,14 @@
144144
interrupt-names = "msi";
145145
#interrupt-cells = <1>;
146146
interrupt-map-mask = <0 0 0 0x7>;
147-
interrupt-map = <0 0 0 1 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
148-
<0 0 0 2 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
149-
<0 0 0 3 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
150-
<0 0 0 4 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
147+
/*
148+
* Reference manual lists pci irqs incorrectly
149+
* Real hardware ordering is same as imx6: D+MSI, C, B, A
150+
*/
151+
interrupt-map = <0 0 0 1 &intc GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
152+
<0 0 0 2 &intc GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
153+
<0 0 0 3 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
154+
<0 0 0 4 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
151155
clocks = <&clks IMX7D_PCIE_CTRL_ROOT_CLK>,
152156
<&clks IMX7D_PLL_ENET_MAIN_100M_CLK>,
153157
<&clks IMX7D_PCIE_PHY_ROOT_CLK>;

arch/arm/boot/dts/ls1021a.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
device_type = "cpu";
8585
reg = <0xf01>;
8686
clocks = <&clockgen 1 0>;
87+
#cooling-cells = <2>;
8788
};
8889
};
8990

arch/arm/boot/dts/mt7623.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
compatible = "arm,cortex-a7";
9999
reg = <0x1>;
100100
operating-points-v2 = <&cpu_opp_table>;
101+
#cooling-cells = <2>;
101102
clock-frequency = <1300000000>;
102103
};
103104

@@ -106,6 +107,7 @@
106107
compatible = "arm,cortex-a7";
107108
reg = <0x2>;
108109
operating-points-v2 = <&cpu_opp_table>;
110+
#cooling-cells = <2>;
109111
clock-frequency = <1300000000>;
110112
};
111113

@@ -114,6 +116,7 @@
114116
compatible = "arm,cortex-a7";
115117
reg = <0x3>;
116118
operating-points-v2 = <&cpu_opp_table>;
119+
#cooling-cells = <2>;
117120
clock-frequency = <1300000000>;
118121
};
119122
};

arch/arm/boot/dts/omap4-droid4-xt894.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
&mmc2 {
315315
vmmc-supply = <&vsdio>;
316316
bus-width = <8>;
317-
non-removable;
317+
ti,non-removable;
318318
};
319319

320320
&mmc3 {

0 commit comments

Comments
 (0)