Skip to content

Commit

Permalink
Linux 5.10.144
Browse files Browse the repository at this point in the history
58abefb Input: goodix - add compatible string for GT1158
b7e759a soc: fsl: select FSL_GUTS driver for DPIO
5fdd016 x86/ftrace: Use alternative RET encoding
54cda8c x86/ibt,ftrace: Make function-graph play nice
faaf870 Revert "x86/ftrace: Use alternative RET encoding"
03ac2f1 mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
7896182 usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
067f148 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
f5a87de perf/arm_pmu_platform: fix tests for platform_get_irq() failure
e2e0c08 drm/amd/amdgpu: skip ucode loading if ucode_size == 0
c5b769d nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
a8d2b30 Input: iforce - add support for Boeder Force Feedback Wheel
76c9c98 ieee802154: cc2520: add rc code in cc2520_tx()
d73c219 gpio: mockup: remove gpio debugfs when remove device
1692c7f tg3: Disable tg3 device on system reboot to avoid triggering AER
03305b3 hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
2ec9521 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
49f1998 drm/msm/rd: Fix FIFO-full deadlock
5b8074a Input: goodix - add support for GT1158
b738abe tracefs: Only clobber mode/uid/gid on remount if asked
6a39aa1 iommu/vt-d: Correctly calculate sagaw value of IOMMU
7c6a772 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
1c068fa ARM: dts: imx: align SPI NOR node name with dtschema
  • Loading branch information
jgudec committed Feb 22, 2023
1 parent acf7682 commit efbc3bc
Show file tree
Hide file tree
Showing 53 changed files with 18,517 additions and 92 deletions.
1 change: 1 addition & 0 deletions Documentation/input/joydev/joystick.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ All I-Force devices are supported by the iforce module. This includes:
* AVB Mag Turbo Force
* AVB Top Shot Pegasus
* AVB Top Shot Force Feedback Racing Wheel
* Boeder Force Feedback Wheel
* Logitech WingMan Force
* Logitech WingMan Force Wheel
* Guillemot Race Leader Force Feedback
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 10
SUBLEVEL = 143
SUBLEVEL = 144
EXTRAVERSION =
NAME = Dare mighty things

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx28-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
pinctrl-0 = <&spi2_pins_a>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "sst,sst25vf016b", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx28-m28evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
pinctrl-0 = <&spi2_pins_a>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx28-sps1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
pinctrl-0 = <&spi2_pins_a>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "everspin,mr25h256", "mr25h256";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6dl-rex-basic.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
};

&ecspi3 {
flash: m25p80@0 {
flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-ba16.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: n25q032@0 {
flash: flash@0 {
compatible = "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-bx50v3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
pinctrl-0 = <&pinctrl_ecspi5>;
status = "okay";

m25_eeprom: m25p80@0 {
m25_eeprom: flash@0 {
compatible = "atmel,at25";
spi-max-frequency = <10000000>;
size = <0x8000>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-cm-fx6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

m25p80@0 {
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "m25p80", "jedec,spi-nor";
spi-max-frequency = <40000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-dms-ba16.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
pinctrl-0 = <&pinctrl_ecspi5>;
status = "okay";

m25_eeprom: m25p80@0 {
m25_eeprom: flash@0 {
compatible = "atmel,at25256B", "atmel,at25";
spi-max-frequency = <20000000>;
size = <0x8000>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-gw5400-a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "sst,w25q256", "jedec,spi-nor";
spi-max-frequency = <30000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-marsboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
status = "okay";

m25p80@0 {
flash@0 {
compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6q-rex-pro.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
};

&ecspi3 {
flash: m25p80@0 {
flash: flash@0 {
compatible = "sst,sst25vf032b", "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-aristainetos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,n25q128a11", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
pinctrl-0 = <&pinctrl_ecspi4>;
status = "okay";

flash: m25p80@1 {
flash: flash@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,n25q128a11", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
pinctrl-0 = <&pinctrl_ecspi3>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "sst,sst25vf040b", "jedec,spi-nor";
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@
status = "okay";

/* default boot source: workaround #1 for errata ERR006282 */
smarc_flash: spi-flash@0 {
compatible = "winbond,w25q16dw", "jedec,spi-nor";
smarc_flash: flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
status = "disabled"; /* pin conflict with WEIM NOR */

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "sst,sst25vf016b", "jedec,spi-nor";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-sabresd.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6sl-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p32", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6sx-nitrogen6sx.dts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

flash: m25p80@0 {
flash: flash@0 {
compatible = "microchip,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6sx-sdb-reva.dts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
pinctrl-0 = <&pinctrl_qspi2>;
status = "okay";

flash0: s25fl128s@0 {
flash0: flash@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
Expand All @@ -133,7 +133,7 @@
spi-tx-bus-width = <4>;
};

flash1: s25fl128s@2 {
flash1: flash@2 {
reg = <2>;
#address-cells = <1>;
#size-cells = <1>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6sx-sdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
pinctrl-0 = <&pinctrl_qspi2>;
status = "okay";

flash0: n25q256a@0 {
flash0: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor";
Expand All @@ -118,7 +118,7 @@
reg = <0>;
};

flash1: n25q256a@2 {
flash1: flash@2 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
pinctrl-0 = <&pinctrl_qspi>;
status = "okay";

flash0: n25q256a@0 {
flash0: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6ul-kontron-n6310-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
};

&qspi {
spi-flash@0 {
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spi-nand";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6ul-kontron-n6311-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
};

&qspi {
spi-flash@0 {
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spi-nand";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay";

spi-flash@0 {
flash@0 {
compatible = "mxicy,mx25v8035f", "jedec,spi-nor";
spi-max-frequency = <50000000>;
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6ull-kontron-n6411-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
};

&qspi {
spi-flash@0 {
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spi-nand";
Expand Down
7 changes: 2 additions & 5 deletions arch/x86/kernel/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,12 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
unsigned long offset;
unsigned long npages;
unsigned long size;
unsigned long retq;
unsigned long *ptr;
void *trampoline;
void *ip;
/* 48 8b 15 <offset> is movq <offset>(%rip), %rdx */
unsigned const char op_ref[] = { 0x48, 0x8b, 0x15 };
unsigned const char retq[] = { RET_INSN_OPCODE, INT3_INSN_OPCODE };
union ftrace_op_code_union op_ptr;
int ret;

Expand Down Expand Up @@ -367,13 +367,10 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
ip = trampoline + size;

/* The trampoline ends with ret(q) */
retq = (unsigned long)ftrace_stub;
if (cpu_feature_enabled(X86_FEATURE_RETHUNK))
memcpy(ip, text_gen_insn(JMP32_INSN_OPCODE, ip, &__x86_return_thunk), JMP32_INSN_SIZE);
else
ret = copy_from_kernel_nofault(ip, (void *)retq, RET_SIZE);
if (WARN_ON(ret < 0))
goto fail;
memcpy(ip, retq, sizeof(retq));

/* No need to test direct calls on created trampolines */
if (ops->flags & FTRACE_OPS_FL_SAVE_REGS) {
Expand Down
19 changes: 15 additions & 4 deletions arch/x86/kernel/ftrace_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ SYM_INNER_LABEL(ftrace_graph_call, SYM_L_GLOBAL)

/*
* This is weak to keep gas from relaxing the jumps.
* It is also used to copy the RET for trampolines.
*/
SYM_INNER_LABEL_ALIGN(ftrace_stub, SYM_L_WEAK)
UNWIND_HINT_FUNC
Expand Down Expand Up @@ -325,7 +324,7 @@ SYM_FUNC_END(ftrace_graph_caller)

SYM_CODE_START(return_to_handler)
UNWIND_HINT_EMPTY
subq $24, %rsp
subq $16, %rsp

/* Save the return values */
movq %rax, (%rsp)
Expand All @@ -337,7 +336,19 @@ SYM_CODE_START(return_to_handler)
movq %rax, %rdi
movq 8(%rsp), %rdx
movq (%rsp), %rax
addq $24, %rsp
JMP_NOSPEC rdi

addq $16, %rsp
/*
* Jump back to the old return address. This cannot be JMP_NOSPEC rdi
* since IBT would demand that contain ENDBR, which simply isn't so for
* return addresses. Use a retpoline here to keep the RSB balanced.
*/
ANNOTATE_INTRA_FUNCTION_CALL
call .Ldo_rop
int3
.Ldo_rop:
mov %rdi, (%rsp)
UNWIND_HINT_FUNC
RET
SYM_CODE_END(return_to_handler)
#endif
Loading

0 comments on commit efbc3bc

Please sign in to comment.