Skip to content

Commit 0efcc66

Browse files
committed
Merge tag 'v4.9.85' into linux-4.9-at91
This is the 4.9.85 stable release
2 parents cf9b802 + c426a71 commit 0efcc66

223 files changed

Lines changed: 1550 additions & 808 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.

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 9
3-
SUBLEVEL = 83
3+
SUBLEVEL = 85
44
EXTRAVERSION = -linux4sam_5.8-rc1
55
NAME = Roaring Lionus
66

@@ -87,10 +87,12 @@ endif
8787
ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
8888
ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
8989
quiet=silent_
90+
tools_silent=s
9091
endif
9192
else # make-3.8x
9293
ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
9394
quiet=silent_
95+
tools_silent=-s
9496
endif
9597
endif
9698

@@ -1614,11 +1616,11 @@ image_name:
16141616
# Clear a bunch of variables before executing the submake
16151617
tools/: FORCE
16161618
$(Q)mkdir -p $(objtree)/tools
1617-
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/
1619+
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/
16181620

16191621
tools/%: FORCE
16201622
$(Q)mkdir -p $(objtree)/tools
1621-
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/ $*
1623+
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/ $*
16221624

16231625
# Single targets
16241626
# ---------------------------------------------------------------------------

arch/arm/boot/dts/am4372.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,8 @@
926926
reg = <0x48038000 0x2000>,
927927
<0x46000000 0x400000>;
928928
reg-names = "mpu", "dat";
929-
interrupts = <80>, <81>;
929+
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
930+
<GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
930931
interrupt-names = "tx", "rx";
931932
status = "disabled";
932933
dmas = <&edma 8 2>,
@@ -940,7 +941,8 @@
940941
reg = <0x4803C000 0x2000>,
941942
<0x46400000 0x400000>;
942943
reg-names = "mpu", "dat";
943-
interrupts = <82>, <83>;
944+
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
945+
<GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
944946
interrupt-names = "tx", "rx";
945947
status = "disabled";
946948
dmas = <&edma 10 2>,

arch/arm/boot/dts/am437x-cm-t43.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@
301301
status = "okay";
302302
pinctrl-names = "default";
303303
pinctrl-0 = <&spi0_pins>;
304-
dmas = <&edma 16
305-
&edma 17>;
304+
dmas = <&edma 16 0
305+
&edma 17 0>;
306306
dma-names = "tx0", "rx0";
307307

308308
flash: w25q64cvzpig@0 {

arch/arm/boot/dts/logicpd-som-lv-37xx-devkit.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
};
7373

7474
&gpmc {
75-
ranges = <1 0 0x08000000 0x1000000>; /* CS1: 16MB for LAN9221 */
75+
ranges = <0 0 0x30000000 0x1000000 /* CS0: 16MB for NAND */
76+
1 0 0x2c000000 0x1000000>; /* CS1: 16MB for LAN9221 */
7677

7778
ethernet@gpmc {
7879
pinctrl-names = "default";

arch/arm/boot/dts/logicpd-som-lv.dtsi

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
};
3838

3939
&gpmc {
40-
ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */
40+
ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
4141

4242
nand@0,0 {
4343
compatible = "ti,omap2-nand";
@@ -121,7 +121,7 @@
121121

122122
&mmc3 {
123123
interrupts-extended = <&intc 94 &omap3_pmx_core2 0x46>;
124-
pinctrl-0 = <&mmc3_pins>;
124+
pinctrl-0 = <&mmc3_pins &wl127x_gpio>;
125125
pinctrl-names = "default";
126126
vmmc-supply = <&wl12xx_vmmc>;
127127
non-removable;
@@ -132,8 +132,8 @@
132132
wlcore: wlcore@2 {
133133
compatible = "ti,wl1273";
134134
reg = <2>;
135-
interrupt-parent = <&gpio5>;
136-
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */
135+
interrupt-parent = <&gpio1>;
136+
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; /* gpio 2 */
137137
ref-clock-frequency = <26000000>;
138138
};
139139
};
@@ -157,8 +157,6 @@
157157
OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */
158158
OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */
159159
OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */
160-
OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */
161-
OMAP3_CORE1_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */
162160
OMAP3_CORE1_IOPAD(0x21d0, PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs1.sdmmc3_cmd */
163161
OMAP3_CORE1_IOPAD(0x21d2, PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs2.sdmmc_clk */
164162
>;
@@ -228,6 +226,12 @@
228226
OMAP3_WKUP_IOPAD(0x2a0e, PIN_OUTPUT | MUX_MODE4) /* sys_boot2.gpio_4 */
229227
>;
230228
};
229+
wl127x_gpio: pinmux_wl127x_gpio_pin {
230+
pinctrl-single,pins = <
231+
OMAP3_WKUP_IOPAD(0x2a0c, PIN_INPUT | MUX_MODE4) /* sys_boot0.gpio_2 */
232+
OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */
233+
>;
234+
};
231235
};
232236

233237
&omap3_pmx_core2 {

arch/arm/boot/dts/omap4.dtsi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
elm: elm@48078000 {
353353
compatible = "ti,am3352-elm";
354354
reg = <0x48078000 0x2000>;
355-
interrupts = <4>;
355+
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
356356
ti,hwmods = "elm";
357357
status = "disabled";
358358
};
@@ -859,14 +859,12 @@
859859
usbhsohci: ohci@4a064800 {
860860
compatible = "ti,ohci-omap3";
861861
reg = <0x4a064800 0x400>;
862-
interrupt-parent = <&gic>;
863862
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
864863
};
865864

866865
usbhsehci: ehci@4a064c00 {
867866
compatible = "ti,ehci-omap";
868867
reg = <0x4a064c00 0x400>;
869-
interrupt-parent = <&gic>;
870868
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
871869
};
872870
};

arch/arm/common/bL_switcher_dummy_if.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ static struct miscdevice bL_switcher_device = {
5757
&bL_switcher_fops
5858
};
5959
module_misc_device(bL_switcher_device);
60+
61+
MODULE_AUTHOR("Nicolas Pitre <nico@linaro.org>");
62+
MODULE_LICENSE("GPL v2");
63+
MODULE_DESCRIPTION("big.LITTLE switcher dummy user interface");

arch/arm/mach-omap2/omap-secure.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,25 @@ phys_addr_t omap_secure_ram_mempool_base(void)
7373
return omap_secure_memblock_base;
7474
}
7575

76+
u32 omap3_save_secure_ram(void __iomem *addr, int size)
77+
{
78+
u32 ret;
79+
u32 param[5];
80+
81+
if (size != OMAP3_SAVE_SECURE_RAM_SZ)
82+
return OMAP3_SAVE_SECURE_RAM_SZ;
83+
84+
param[0] = 4; /* Number of arguments */
85+
param[1] = __pa(addr); /* Physical address for saving */
86+
param[2] = 0;
87+
param[3] = 1;
88+
param[4] = 1;
89+
90+
ret = save_secure_ram_context(__pa(param));
91+
92+
return ret;
93+
}
94+
7695
/**
7796
* rx51_secure_dispatcher: Routine to dispatch secure PPA API calls
7897
* @idx: The PPA API index

arch/arm/mach-omap2/omap-secure.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
/* Maximum Secure memory storage size */
3232
#define OMAP_SECURE_RAM_STORAGE (88 * SZ_1K)
3333

34+
#define OMAP3_SAVE_SECURE_RAM_SZ 0x803F
35+
3436
/* Secure low power HAL API index */
3537
#define OMAP4_HAL_SAVESECURERAM_INDEX 0x1a
3638
#define OMAP4_HAL_SAVEHW_INDEX 0x1b
@@ -65,6 +67,8 @@ extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
6567
extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
6668
extern phys_addr_t omap_secure_ram_mempool_base(void);
6769
extern int omap_secure_ram_reserve_memblock(void);
70+
extern u32 save_secure_ram_context(u32 args_pa);
71+
extern u32 omap3_save_secure_ram(void __iomem *save_regs, int size);
6872

6973
extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
7074
u32 arg1, u32 arg2, u32 arg3, u32 arg4);

arch/arm/mach-omap2/pm.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ extern unsigned int omap3_do_wfi_sz;
8181
/* ... and its pointer from SRAM after copy */
8282
extern void (*omap3_do_wfi_sram)(void);
8383

84-
/* save_secure_ram_context function pointer and size, for copy to SRAM */
85-
extern int save_secure_ram_context(u32 *addr);
86-
extern unsigned int save_secure_ram_context_sz;
87-
8884
extern void omap3_save_scratchpad_contents(void);
8985

9086
#define PM_RTA_ERRATUM_i608 (1 << 0)

0 commit comments

Comments
 (0)