Skip to content

Commit 108dfbd

Browse files
committed
Merge remote-tracking branch 'stable/linux-5.10.y' into rpi-5.10.y
2 parents 1d0cf3e + 65f1995 commit 108dfbd

371 files changed

Lines changed: 3208 additions & 1650 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/devicetree/bindings/net/ethernet-controller.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ properties:
4949
description:
5050
Reference to an nvmem node for the MAC address
5151

52-
nvmem-cells-names:
52+
nvmem-cell-names:
5353
const: mac-address
5454

5555
phy-connection-type:

‎Makefile‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 10
4-
SUBLEVEL = 27
4+
SUBLEVEL = 31
55
EXTRAVERSION =
66
NAME = Dare mighty things
77

@@ -1083,6 +1083,17 @@ ifdef CONFIG_STACK_VALIDATION
10831083
endif
10841084
endif
10851085

1086+
PHONY += resolve_btfids_clean
1087+
1088+
resolve_btfids_O = $(abspath $(objtree))/tools/bpf/resolve_btfids
1089+
1090+
# tools/bpf/resolve_btfids directory might not exist
1091+
# in output directory, skip its clean in that case
1092+
resolve_btfids_clean:
1093+
ifneq ($(wildcard $(resolve_btfids_O)),)
1094+
$(Q)$(MAKE) -sC $(srctree)/tools/bpf/resolve_btfids O=$(resolve_btfids_O) clean
1095+
endif
1096+
10861097
ifdef CONFIG_BPF
10871098
ifdef CONFIG_DEBUG_INFO_BTF
10881099
ifeq ($(has_libelf),1)
@@ -1503,7 +1514,7 @@ vmlinuxclean:
15031514
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
15041515
$(Q)$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) clean)
15051516

1506-
clean: archclean vmlinuxclean
1517+
clean: archclean vmlinuxclean resolve_btfids_clean
15071518

15081519
# mrproper - Delete all generated files, including .config
15091520
#

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
ethernet1 = &cpsw_emac1;
4141
spi0 = &spi0;
4242
spi1 = &spi1;
43+
mmc0 = &mmc1;
44+
mmc1 = &mmc2;
45+
mmc2 = &mmc3;
4346
};
4447

4548
cpus {

‎arch/arm/boot/dts/armada-385-turris-omnia.dts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
status = "okay";
237237
compatible = "ethernet-phy-id0141.0DD1", "ethernet-phy-ieee802.3-c22";
238238
reg = <1>;
239+
marvell,reg-init = <3 18 0 0x4985>;
239240

240241
/* irq is connected to &pcawan pin 7 */
241242
};

‎arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@
432432
pinctrl-0 = <&pinctrl_usdhc2>;
433433
cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
434434
wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
435+
vmmc-supply = <&vdd_sd1_reg>;
435436
status = "disabled";
436437
};
437438

@@ -441,5 +442,6 @@
441442
&pinctrl_usdhc3_cdwp>;
442443
cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
443444
wp-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
445+
vmmc-supply = <&vdd_sd0_reg>;
444446
status = "disabled";
445447
};

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include <linux/arm-smccc.h>
12+
#include <linux/cpu_pm.h>
1213
#include <linux/kernel.h>
1314
#include <linux/init.h>
1415
#include <linux/io.h>
@@ -20,6 +21,7 @@
2021

2122
#include "common.h"
2223
#include "omap-secure.h"
24+
#include "soc.h"
2325

2426
static phys_addr_t omap_secure_memblock_base;
2527

@@ -213,3 +215,40 @@ void __init omap_secure_init(void)
213215
{
214216
omap_optee_init_check();
215217
}
218+
219+
/*
220+
* Dummy dispatcher call after core OSWR and MPU off. Updates the ROM return
221+
* address after MMU has been re-enabled after CPU1 has been woken up again.
222+
* Otherwise the ROM code will attempt to use the earlier physical return
223+
* address that got set with MMU off when waking up CPU1. Only used on secure
224+
* devices.
225+
*/
226+
static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v)
227+
{
228+
switch (cmd) {
229+
case CPU_CLUSTER_PM_EXIT:
230+
omap_secure_dispatcher(OMAP4_PPA_SERVICE_0,
231+
FLAG_START_CRITICAL,
232+
0, 0, 0, 0, 0);
233+
break;
234+
default:
235+
break;
236+
}
237+
238+
return NOTIFY_OK;
239+
}
240+
241+
static struct notifier_block secure_notifier_block = {
242+
.notifier_call = cpu_notifier,
243+
};
244+
245+
static int __init secure_pm_init(void)
246+
{
247+
if (omap_type() == OMAP2_DEVICE_TYPE_GP || !soc_is_omap44xx())
248+
return 0;
249+
250+
cpu_pm_register_notifier(&secure_notifier_block);
251+
252+
return 0;
253+
}
254+
omap_arch_initcall(secure_pm_init);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
#define OMAP5_DRA7_MON_SET_ACR_INDEX 0x107
5151

5252
/* Secure PPA(Primary Protected Application) APIs */
53+
#define OMAP4_PPA_SERVICE_0 0x21
5354
#define OMAP4_PPA_L2_POR_INDEX 0x23
5455
#define OMAP4_PPA_CPU_ACTRL_SMP_INDEX 0x25
5556

‎arch/arm/mach-omap2/pmic-cpcap.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ int __init omap4_cpcap_init(void)
246246
omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu);
247247

248248
if (of_machine_is_compatible("motorola,droid-bionic")) {
249-
voltdm = voltdm_lookup("mpu");
249+
voltdm = voltdm_lookup("core");
250250
omap_voltage_register_pmic(voltdm, &omap_cpcap_core);
251251

252-
voltdm = voltdm_lookup("mpu");
252+
voltdm = voltdm_lookup("iva");
253253
omap_voltage_register_pmic(voltdm, &omap_cpcap_iva);
254254
} else {
255255
voltdm = voltdm_lookup("core");

‎arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
#define MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x0A4 0x30C 0x000 0x0 0x0
125125
#define MX8MM_IOMUXC_SD1_CMD_GPIO2_IO1 0x0A4 0x30C 0x000 0x5 0x0
126126
#define MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x0A8 0x310 0x000 0x0 0x0
127-
#define MX8MM_IOMUXC_SD1_DATA0_GPIO2_IO2 0x0A8 0x31 0x000 0x5 0x0
127+
#define MX8MM_IOMUXC_SD1_DATA0_GPIO2_IO2 0x0A8 0x310 0x000 0x5 0x0
128128
#define MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x0AC 0x314 0x000 0x0 0x0
129129
#define MX8MM_IOMUXC_SD1_DATA1_GPIO2_IO3 0x0AC 0x314 0x000 0x5 0x0
130130
#define MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x0B0 0x318 0x000 0x0 0x0

‎arch/arm64/boot/dts/freescale/imx8mq-pinfunc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
#define MX8MQ_IOMUXC_SD1_CMD_USDHC1_CMD 0x0A4 0x30C 0x000 0x0 0x0
131131
#define MX8MQ_IOMUXC_SD1_CMD_GPIO2_IO1 0x0A4 0x30C 0x000 0x5 0x0
132132
#define MX8MQ_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x0A8 0x310 0x000 0x0 0x0
133-
#define MX8MQ_IOMUXC_SD1_DATA0_GPIO2_IO2 0x0A8 0x31 0x000 0x5 0x0
133+
#define MX8MQ_IOMUXC_SD1_DATA0_GPIO2_IO2 0x0A8 0x310 0x000 0x5 0x0
134134
#define MX8MQ_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x0AC 0x314 0x000 0x0 0x0
135135
#define MX8MQ_IOMUXC_SD1_DATA1_GPIO2_IO3 0x0AC 0x314 0x000 0x5 0x0
136136
#define MX8MQ_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x0B0 0x318 0x000 0x0 0x0

0 commit comments

Comments
 (0)