Skip to content

Commit

Permalink
Merge branch 'my/v5.10.65' into lts2020/yocto
Browse files Browse the repository at this point in the history
# By Ranjan Dutta (30) and others
* my/v5.10.65: (627 commits)
  Revert "drm/amd/display: Remove invalid assert for ODM + MPC case"
  Revert "drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work"
  Revert "drm/amdgpu: don't enable baco on boco platforms in runpm"
  Revert "drm/meson: fix colour distortion from HDR set during vendor u-boot"
  Revert "drm/i915: Only access SFC_DONE when media domain is not fused off"
  Revert "drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir."
  Revert "drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X"
  Revert "drm/amd/display: workaround for hard hang on HPD on native DP"
  Revert "soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h"
  Revert "drm/mediatek: Fix aal size config"
  Revert "drm/mediatek: Add AAL output size configuration"
  Revert "drm/amdgpu: Cancel delayed work when GFXOFF is disabled"
  Revert "drm/i915: Fix syncmap memory leak"
  Revert "Revert "drm/amd/pm: fix workload mismatch on vega10""
  Revert "drm/amd/pm: change the workload type for some cards"
  Revert "drm: Copy drm_wait_vblank to user before returning"
  Revert "drm/nouveau/disp: power down unused DP links during init"
  Revert "drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences"
  Revert "drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()"
  Revert "drm/gma500: Fix end of loop tests for list_for_each_entry"
  ...

# Conflicts:
#	drivers/edac/i10nm_base.c
#	drivers/net/ethernet/intel/igc/igc_main.c
#	drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
  • Loading branch information
ranjan-dutta committed Sep 28, 2021
2 parents 1295e3a + acd80e1 commit 172b4cf
Show file tree
Hide file tree
Showing 594 changed files with 5,183 additions and 2,844 deletions.
6 changes: 3 additions & 3 deletions Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
Expand Up @@ -24,9 +24,9 @@ allOf:
select:
properties:
compatible:
items:
- enum:
- sifive,fu540-c000-ccache
contains:
enum:
- sifive,fu540-c000-ccache

required:
- compatible
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fault-injection/provoke-crashes.rst
Expand Up @@ -29,7 +29,7 @@ recur_count
cpoint_name
Where in the kernel to trigger the action. It can be
one of INT_HARDWARE_ENTRY, INT_HW_IRQ_EN, INT_TASKLET_ENTRY,
FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_DISPATCH_CMD,
FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ,
IDE_CORE_CP, or DIRECT

cpoint_type
Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 10
SUBLEVEL = 59
SUBLEVEL = 65
EXTRAVERSION =
NAME = Dare mighty things

Expand Down
9 changes: 6 additions & 3 deletions arch/arc/kernel/fpu.c
Expand Up @@ -57,23 +57,26 @@ void fpu_save_restore(struct task_struct *prev, struct task_struct *next)

void fpu_init_task(struct pt_regs *regs)
{
const unsigned int fwe = 0x80000000;

/* default rounding mode */
write_aux_reg(ARC_REG_FPU_CTRL, 0x100);

/* set "Write enable" to allow explicit write to exception flags */
write_aux_reg(ARC_REG_FPU_STATUS, 0x80000000);
/* Initialize to zero: setting requires FWE be set */
write_aux_reg(ARC_REG_FPU_STATUS, fwe);
}

void fpu_save_restore(struct task_struct *prev, struct task_struct *next)
{
struct arc_fpu *save = &prev->thread.fpu;
struct arc_fpu *restore = &next->thread.fpu;
const unsigned int fwe = 0x80000000;

save->ctrl = read_aux_reg(ARC_REG_FPU_CTRL);
save->status = read_aux_reg(ARC_REG_FPU_STATUS);

write_aux_reg(ARC_REG_FPU_CTRL, restore->ctrl);
write_aux_reg(ARC_REG_FPU_STATUS, restore->status);
write_aux_reg(ARC_REG_FPU_STATUS, (fwe | restore->status));
}

#endif
2 changes: 2 additions & 0 deletions arch/arc/kernel/vmlinux.lds.S
Expand Up @@ -88,6 +88,8 @@ SECTIONS
CPUIDLE_TEXT
LOCK_TEXT
KPROBES_TEXT
IRQENTRY_TEXT
SOFTIRQENTRY_TEXT
*(.fixup)
*(.gnu.warning)
}
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/am43x-epos-evm.dts
Expand Up @@ -582,7 +582,7 @@
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
clock-frequency = <400000>;
clock-frequency = <100000>;

tps65218: tps65218@24 {
reg = <0x24>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi
Expand Up @@ -208,12 +208,12 @@
};

pinctrl_hvi3c3_default: hvi3c3_default {
function = "HVI3C3";
function = "I3C3";
groups = "HVI3C3";
};

pinctrl_hvi3c4_default: hvi3c4_default {
function = "HVI3C4";
function = "I3C4";
groups = "HVI3C4";
};

Expand Down
16 changes: 15 additions & 1 deletion arch/arm/boot/dts/at91-sam9x60ek.dts
Expand Up @@ -92,6 +92,8 @@

leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>;
status = "okay"; /* Conflict with pwm0. */

red {
Expand Down Expand Up @@ -537,6 +539,10 @@
AT91_PIOA 19 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA19 DAT2 periph A with pullup */
AT91_PIOA 20 AT91_PERIPH_A (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA20 DAT3 periph A with pullup */
};
pinctrl_sdmmc0_cd: sdmmc0_cd {
atmel,pins =
<AT91_PIOA 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};

sdmmc1 {
Expand Down Expand Up @@ -569,6 +575,14 @@
AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};

leds {
pinctrl_gpio_leds: gpio_leds {
atmel,pins = <AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOB 12 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};
}; /* pinctrl */

&pwm0 {
Expand All @@ -580,7 +594,7 @@
&sdmmc0 {
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sdmmc0_default>;
pinctrl-0 = <&pinctrl_sdmmc0_default &pinctrl_sdmmc0_cd>;
status = "okay";
cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
disable-wp;
Expand Down
29 changes: 29 additions & 0 deletions arch/arm/boot/dts/at91-sama5d3_xplained.dts
Expand Up @@ -57,6 +57,8 @@
};

spi0: spi@f0004000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0_cs>;
cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
status = "okay";
};
Expand Down Expand Up @@ -169,6 +171,8 @@
};

spi1: spi@f8008000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1_cs>;
cs-gpios = <&pioC 25 0>;
status = "okay";
};
Expand Down Expand Up @@ -248,6 +252,26 @@
<AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};

pinctrl_gpio_leds: gpio_leds_default {
atmel,pins =
<AT91_PIOE 23 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};

pinctrl_spi0_cs: spi0_cs_default {
atmel,pins =
<AT91_PIOD 13 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};

pinctrl_spi1_cs: spi1_cs_default {
atmel,pins = <AT91_PIOC 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};

pinctrl_vcc_mmc0_reg_gpio: vcc_mmc0_reg_gpio_default {
atmel,pins = <AT91_PIOE 2 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};
};
};
Expand Down Expand Up @@ -339,6 +363,8 @@

vcc_mmc0_reg: fixedregulator_mmc0 {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_vcc_mmc0_reg_gpio>;
gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
regulator-name = "mmc0-card-supply";
regulator-min-microvolt = <3300000>;
Expand All @@ -362,6 +388,9 @@

leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>;
status = "okay";

d2 {
label = "d2";
Expand Down
19 changes: 19 additions & 0 deletions arch/arm/boot/dts/at91-sama5d4_xplained.dts
Expand Up @@ -90,6 +90,8 @@
};

spi1: spi@fc018000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0_cs>;
cs-gpios = <&pioB 21 0>;
status = "okay";
};
Expand Down Expand Up @@ -147,6 +149,19 @@
atmel,pins =
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
pinctrl_spi0_cs: spi0_cs_default {
atmel,pins =
<AT91_PIOB 21 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
pinctrl_gpio_leds: gpio_leds_default {
atmel,pins =
<AT91_PIOD 30 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
AT91_PIOE 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
pinctrl_vcc_mmc1_reg: vcc_mmc1_reg {
atmel,pins =
<AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};
};
};
Expand Down Expand Up @@ -252,6 +267,8 @@

leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>;
status = "okay";

d8 {
Expand All @@ -278,6 +295,8 @@

vcc_mmc1_reg: fixedregulator_mmc1 {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_vcc_mmc1_reg>;
gpio = <&pioE 4 GPIO_ACTIVE_LOW>;
regulator-name = "VDD MCI1";
regulator-min-microvolt = <3300000>;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/meson8.dtsi
Expand Up @@ -251,8 +251,13 @@
"pp2", "ppmmu2", "pp4", "ppmmu4",
"pp5", "ppmmu5", "pp6", "ppmmu6";
resets = <&reset RESET_MALI>;

clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
clock-names = "bus", "core";

assigned-clocks = <&clkc CLKID_MALI>;
assigned-clock-rates = <318750000>;

operating-points-v2 = <&gpu_opp_table>;
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/meson8b-ec100.dts
Expand Up @@ -153,7 +153,7 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&vcc_5v>;
pwm-supply = <&vcc_5v>;

pwms = <&pwm_cd 0 1148 0>;
pwm-dutycycle-range = <100 0>;
Expand Down Expand Up @@ -237,7 +237,7 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&vcc_5v>;
pwm-supply = <&vcc_5v>;

pwms = <&pwm_cd 1 1148 0>;
pwm-dutycycle-range = <100 0>;
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/meson8b-mxq.dts
Expand Up @@ -39,6 +39,8 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

pwm-supply = <&vcc_5v>;

pwms = <&pwm_cd 0 1148 0>;
pwm-dutycycle-range = <100 0>;

Expand Down Expand Up @@ -84,7 +86,7 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&vcc_5v>;
pwm-supply = <&vcc_5v>;

pwms = <&pwm_cd 1 1148 0>;
pwm-dutycycle-range = <100 0>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/meson8b-odroidc1.dts
Expand Up @@ -136,7 +136,7 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&p5v0>;
pwm-supply = <&p5v0>;

pwms = <&pwm_cd 0 12218 0>;
pwm-dutycycle-range = <91 0>;
Expand Down Expand Up @@ -168,7 +168,7 @@
regulator-min-microvolt = <860000>;
regulator-max-microvolt = <1140000>;

vin-supply = <&p5v0>;
pwm-supply = <&p5v0>;

pwms = <&pwm_cd 1 12218 0>;
pwm-dutycycle-range = <91 0>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/ste-nomadik-stn8815.dtsi
Expand Up @@ -755,14 +755,14 @@
status = "disabled";
};

vica: intc@10140000 {
vica: interrupt-controller@10140000 {
compatible = "arm,versatile-vic";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0x10140000 0x20>;
};

vicb: intc@10140020 {
vicb: interrupt-controller@10140020 {
compatible = "arm,versatile-vic";
interrupt-controller;
#interrupt-cells = <1>;
Expand Down
14 changes: 0 additions & 14 deletions arch/arm/mach-omap1/board-ams-delta.c
Expand Up @@ -458,20 +458,6 @@ static struct gpiod_lookup_table leds_gpio_table = {

#ifdef CONFIG_LEDS_TRIGGERS
DEFINE_LED_TRIGGER(ams_delta_camera_led_trigger);

static int ams_delta_camera_power(struct device *dev, int power)
{
/*
* turn on camera LED
*/
if (power)
led_trigger_event(ams_delta_camera_led_trigger, LED_FULL);
else
led_trigger_event(ams_delta_camera_led_trigger, LED_OFF);
return 0;
}
#else
#define ams_delta_camera_power NULL
#endif

static struct platform_device ams_delta_audio_device = {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/exynos/exynos7.dtsi
Expand Up @@ -102,7 +102,7 @@
#address-cells = <0>;
interrupt-controller;
reg = <0x11001000 0x1000>,
<0x11002000 0x1000>,
<0x11002000 0x2000>,
<0x11004000 0x2000>,
<0x11006000 0x2000>;
};
Expand Down
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
Expand Up @@ -134,6 +134,23 @@
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
status = "okay";
reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
/*
* U-Boot port for Turris Mox has a bug which always expects that "ranges" DT property
* contains exactly 2 ranges with 3 (child) address cells, 2 (parent) address cells and
* 2 size cells and also expects that the second range starts at 16 MB offset. If these
* conditions are not met then U-Boot crashes during loading kernel DTB file. PCIe address
* space is 128 MB long, so the best split between MEM and IO is to use fixed 16 MB window
* for IO and the rest 112 MB (64+32+16) for MEM, despite that maximal IO size is just 64 kB.
* This bug is not present in U-Boot ports for other Armada 3700 devices and is fixed in
* U-Boot version 2021.07. See relevant U-Boot commits (the last one contains fix):
* https://source.denx.de/u-boot/u-boot/-/commit/cb2ddb291ee6fcbddd6d8f4ff49089dfe580f5d7
* https://source.denx.de/u-boot/u-boot/-/commit/c64ac3b3185aeb3846297ad7391fc6df8ecd73bf
* https://source.denx.de/u-boot/u-boot/-/commit/4a82fca8e330157081fc132a591ebd99ba02ee33
*/
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0xe8000000 0 0xe8000000 0 0x01000000 /* Port 0 IO */
0x82000000 0 0xe9000000 0 0xe9000000 0 0x07000000>; /* Port 0 MEM */

/* enabled by U-Boot if PCIe module is present */
status = "disabled";
Expand Down

0 comments on commit 172b4cf

Please sign in to comment.