Linux 6.16.4
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml +44 -12
@@ -64,10 +64,10 @@ properties: - description: Pixel clock for video port 0. - description: Pixel clock for video port 1. - description: Pixel clock for video port 2. - - description: Pixel clock for video port 3. - - description: Peripheral(vop grf/dsi) clock. - - description: Alternative pixel clock provided by HDMI0 PHY PLL. - - description: Alternative pixel clock provided by HDMI1 PHY PLL. + - {} + - {} + - {} + - {} clock-names: minItems: 5
@@ -77,10 +77,10 @@ properties: - const: dclk_vp0 - const: dclk_vp1 - const: dclk_vp2 - - const: dclk_vp3 - - const: pclk_vop - - const: pll_hdmiphy0 - - const: pll_hdmiphy1 + - {} + - {} + - {} + - {} rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle
@@ -175,10 +175,24 @@ allOf: then: properties: clocks: - maxItems: 5 + minItems: 5 + items: + - {} + - {} + - {} + - {} + - {} + - description: Alternative pixel clock provided by HDMI PHY PLL. clock-names: - maxItems: 5 + minItems: 5 + items: + - {} + - {} + - {} + - {} + - {} + - const: pll_hdmiphy0 interrupts: minItems: 4
@@ -208,11 +222,29 @@ allOf: properties: clocks: minItems: 7 - maxItems: 9 + items: + - {} + - {} + - {} + - {} + - {} + - description: Pixel clock for video port 3. + - description: Peripheral(vop grf/dsi) clock. + - description: Alternative pixel clock provided by HDMI0 PHY PLL. + - description: Alternative pixel clock provided by HDMI1 PHY PLL. clock-names: minItems: 7 - maxItems: 9 + items: + - {} + - {} + - {} + - {} + - {} + - const: dclk_vp3 + - const: pclk_vop + - const: pll_hdmiphy0 + - const: pll_hdmiphy1 interrupts: maxItems: 1
Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml +1 -1
@@ -25,7 +25,7 @@ properties: maxItems: 1 clocks: - minItems: 2 + maxItems: 2 clock-names: items:
Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml +1 -1
@@ -20,7 +20,7 @@ properties: maxItems: 2 clocks: - minItems: 1 + maxItems: 1 clock-names: items:
Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +4 -0
@@ -33,6 +33,10 @@ properties: vcc-supply: true + mediatek,ufs-disable-mcq: + $ref: /schemas/types.yaml#/definitions/flag + description: The mask to disable MCQ (Multi-Circular Queue) for UFS host. + required: - compatible - clocks
Documentation/networking/mptcp-sysctl.rst +2 -0
@@ -12,6 +12,8 @@ add_addr_timeout - INTEGER (seconds) resent to an MPTCP peer that has not acknowledged a previous ADD_ADDR message. + Do not retransmit if set to 0. + The default value matches TCP_RTO_MAX. This is a per-namespace sysctl.
Makefile +2 -2
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 16 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Baby Opossum Posse
@@ -1134,7 +1134,7 @@ KBUILD_USERCFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)) # userspace programs are linked via the compiler, use the correct linker -ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_LD_IS_LLD),yy) +ifdef CONFIG_CC_IS_CLANG KBUILD_USERLDFLAGS += --ld-path=$(LD) endif
arch/arm/lib/crypto/poly1305-glue.c +2 -1
@@ -7,6 +7,7 @@#include <asm/hwcap.h> #include <asm/neon.h> +#include <asm/simd.h> #include <crypto/internal/poly1305.h> #include <linux/cpufeature.h> #include <linux/jump_label.h>
@@ -39,7 +40,7 @@ void poly1305_blocks_arch(struct poly1305_block_state *state, const u8 *src, { len =round_down (len,POLY1305_BLOCK_SIZE );if (IS_ENABLED (CONFIG_KERNEL_MODE_NEON ) && -static_branch_likely (&have_neon)) { +static_branch_likely (&have_neon) &&likely (may_use_simd ())) { do { unsigned int todo = min_t(unsigned int, len, SZ_4K);
arch/arm64/boot/dts/apple/t8012-j132.dts +1 -0
@@ -7,6 +7,7 @@ /dts-v1/; #include "t8012-jxxx.dtsi" +#include "t8012-touchbar.dtsi" / { model = "Apple T2 MacBookPro15,2 (j132)";
arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts +1 -1
@@ -89,7 +89,7 @@ key-volup { memory@40000000 { device_type = "memory"; reg = <0x0 0x40000000 0x3d800000>, - <0x0 0x80000000 0x7d800000>; + <0x0 0x80000000 0x40000000>; }; pwrseq_mmc1: pwrseq-mmc1 {
arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts +1 -1
@@ -78,7 +78,7 @@ key-volup { memory@40000000 { device_type = "memory"; reg = <0x0 0x40000000 0x3e400000>, - <0x0 0x80000000 0xbe400000>; + <0x0 0x80000000 0x80000000>; }; pwrseq_mmc1: pwrseq-mmc1 {
arch/arm64/boot/dts/exynos/exynos7870.dtsi +1 -0
@@ -327,6 +327,7 @@ usb@0 { phys = <&usbdrd_phy 0>; usb-role-switch; + snps,usb2-gadget-lpm-disable; }; };
arch/arm64/boot/dts/exynos/google/gs101.dtsi +1 -0
@@ -1371,6 +1371,7 @@ ufs_0: ufs@14700000 { <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>; clock-names = "core_clk", "sclk_unipro_main", "fmp", "aclk", "pclk", "sysreg"; + dma-coherent; freq-table-hz = <0 0>, <0 0>, <0 0>, <0 0>, <0 0>, <0 0>; pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>; pinctrl-names = "default";
arch/arm64/boot/dts/rockchip/rk3576.dtsi +5 -2
@@ -1155,12 +1155,14 @@ vop: vop@27d00000 { <&cru HCLK_VOP>, <&cru DCLK_VP0>, <&cru DCLK_VP1>, - <&cru DCLK_VP2>; + <&cru DCLK_VP2>, + <&hdptxphy>; clock-names = "aclk", "hclk", "dclk_vp0", "dclk_vp1", - "dclk_vp2"; + "dclk_vp2", + "pll_hdmiphy0"; iommus = <&vop_mmu>; power-domains = <&power RK3576_PD_VOP>; rockchip,grf = <&sys_grf>;
@@ -2391,6 +2393,7 @@ hdptxphy: hdmiphy@2b000000 { reg = <0x0 0x2b000000 0x0 0x2000>; clocks = <&cru CLK_PHY_REF_SRC>, <&cru PCLK_HDPTX_APB>; clock-names = "ref", "apb"; + #clock-cells = <0>; resets = <&cru SRST_P_HDPTX_APB>, <&cru SRST_HDPTX_INIT>, <&cru SRST_HDPTX_CMN>, <&cru SRST_HDPTX_LANE>; reset-names = "apb", "init", "cmn", "lane";
arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi +0 -11
@@ -398,17 +398,6 @@ rk806_dvs3_null: dvs3-null-pins { regulators { vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { - /* - * RK3588's GPU power domain cannot be enabled - * without this regulator active, but it - * doesn't have to be on when the GPU PD is - * disabled. Because the PD binding does not - * currently allow us to express this - * relationship, we have no choice but to do - * this instead: - */ - regulator-always-on; - regulator-boot-on; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>;
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts +24 -0
@@ -74,6 +74,22 @@ vddshv_sdio: regulator-4 { }; &main_pmx0 { + main_mmc0_pins_default: main-mmc0-default-pins { + bootph-all; + pinctrl-single,pins = < + AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (V3) MMC0_CMD */ + AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (Y1) MMC0_CLK */ + AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (V2) MMC0_DAT0 */ + AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (V1) MMC0_DAT1 */ + AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (W2) MMC0_DAT2 */ + AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (W1) MMC0_DAT3 */ + AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (Y2) MMC0_DAT4 */ + AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (W3) MMC0_DAT5 */ + AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (W4) MMC0_DAT6 */ + AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (V4) MMC0_DAT7 */ + >; + }; + vddshv_sdio_pins_default: vddshv-sdio-default-pins { pinctrl-single,pins = < AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */
@@ -144,6 +160,14 @@ exp2: gpio@23 { }; }; +&sdhci0 { + bootph-all; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + status = "okay"; +}; + &sdhci1 { vmmc-supply = <&vdd_mmc1>; vqmmc-supply = <&vddshv_sdio>;
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +0 -1
@@ -553,7 +553,6 @@ sdhci0: mmc@fa10000 { clocks = <&k3_clks 57 5>, <&k3_clks 57 6>; clock-names = "clk_ahb", "clk_xin"; bus-width = <8>; - mmc-ddr-1_8v; mmc-hs200-1_8v; ti,clkbuf-sel = <0x7>; ti,otap-del-sel-legacy = <0x0>;
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi +6 -6
@@ -507,16 +507,16 @@ AM62X_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ /* SODIMM 12 */ /* Verdin I2C_2_DSI */ pinctrl_i2c2: main-i2c2-default-pins { pinctrl-single,pins = < - AM62X_IOPAD(0x00b0, PIN_INPUT, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ /* SODIMM 55 */ - AM62X_IOPAD(0x00b4, PIN_INPUT, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ /* SODIMM 53 */ + AM62X_IOPAD(0x00b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ /* SODIMM 55 */ + AM62X_IOPAD(0x00b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ /* SODIMM 53 */ >; }; /* Verdin I2C_4_CSI */ pinctrl_i2c3: main-i2c3-default-pins { pinctrl-single,pins = < - AM62X_IOPAD(0x01d0, PIN_INPUT, 2) /* (A15) UART0_CTSn.I2C3_SCL */ /* SODIMM 95 */ - AM62X_IOPAD(0x01d4, PIN_INPUT, 2) /* (B15) UART0_RTSn.I2C3_SDA */ /* SODIMM 93 */ + AM62X_IOPAD(0x01d0, PIN_INPUT_PULLUP, 2) /* (A15) UART0_CTSn.I2C3_SCL */ /* SODIMM 95 */ + AM62X_IOPAD(0x01d4, PIN_INPUT_PULLUP, 2) /* (B15) UART0_RTSn.I2C3_SDA */ /* SODIMM 93 */ >; };
@@ -786,8 +786,8 @@ AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7) /* (C9) MCU_SPI0_D1.MCU_GPIO0_4 */ /* SODI /* Verdin I2C_3_HDMI */ pinctrl_mcu_i2c0: mcu-i2c0-default-pins { pinctrl-single,pins = < - AM62X_MCU_IOPAD(0x0044, PIN_INPUT, 0) /* (A8) MCU_I2C0_SCL */ /* SODIMM 59 */ - AM62X_MCU_IOPAD(0x0048, PIN_INPUT, 0) /* (D10) MCU_I2C0_SDA */ /* SODIMM 57 */ + AM62X_MCU_IOPAD(0x0044, PIN_INPUT_PULLUP, 0) /* (A8) MCU_I2C0_SCL */ /* SODIMM 59 */ + AM62X_MCU_IOPAD(0x0048, PIN_INPUT_PULLUP, 0) /* (D10) MCU_I2C0_SDA */ /* SODIMM 57 */ >; };
arch/arm64/boot/dts/ti/k3-am625-sk.dts +24 -0
@@ -106,6 +106,22 @@ vcc_1v8: regulator-5 { }; &main_pmx0 { + main_mmc0_pins_default: main-mmc0-default-pins { + bootph-all; + pinctrl-single,pins = < + AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ + AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ + AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ + AM62X_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ + AM62X_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ + AM62X_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ + AM62X_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ + AM62X_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ + AM62X_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ + AM62X_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ + >; + }; + main_rgmii2_pins_default: main-rgmii2-default-pins { bootph-all; pinctrl-single,pins = <
@@ -195,6 +211,14 @@ exp1: gpio@22 { }; }; +&sdhci0 { + bootph-all; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc0_pins_default>; + status = "okay"; +}; + &sdhci1 { vmmc-supply = <&vdd_mmc1>; vqmmc-supply = <&vdd_sd_dv>;
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +2 -2
@@ -301,8 +301,8 @@ AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */ main_uart1_pins_default: main-uart1-default-pins { pinctrl-single,pins = < - AM62AX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C17) I2C1_SCL.UART1_RXD */ - AM62AX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (E17) I2C1_SDA.UART1_TXD */ + AM62AX_IOPAD(0x01ac, PIN_INPUT, 2) /* (B21) MCASP0_AFSR.UART1_RXD */ + AM62AX_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (A21) MCASP0_ACLKR.UART1_TXD */ AM62AX_IOPAD(0x0194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ AM62AX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ >;
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +0 -24
@@ -203,22 +203,6 @@ AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24/H19) GPMC0_CSn3.I2C2_SDA */ >; }; - main_mmc0_pins_default: main-mmc0-default-pins { - bootph-all; - pinctrl-single,pins = < - AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3/V3) MMC0_CMD */ - AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1/Y1) MMC0_CLK */ - AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2/V2) MMC0_DAT0 */ - AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1/V1) MMC0_DAT1 */ - AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3/W2) MMC0_DAT2 */ - AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4/W1) MMC0_DAT3 */ - AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2/Y2) MMC0_DAT4 */ - AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1/W3) MMC0_DAT5 */ - AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2/W4) MMC0_DAT6 */ - AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2/V4) MMC0_DAT7 */ - >; - }; - main_mmc1_pins_default: main-mmc1-default-pins { bootph-all; pinctrl-single,pins = <
@@ -457,14 +441,6 @@ &main_i2c2 { clock-frequency = <400000>; }; -&sdhci0 { - bootph-all; - status = "okay"; - non-removable; - pinctrl-names = "default"; - pinctrl-0 = <&main_mmc0_pins_default>; -}; - &sdhci1 { /* SD/MMC */ bootph-all;
arch/arm64/boot/dts/ti/k3-pinctrl.h +12 -3
@@ -8,6 +8,7 @@#ifndef DTS_ARM64_TI_K3_PINCTRL_H #define DTS_ARM64_TI_K3_PINCTRL_H +#define ST_EN_SHIFT (14)#define PULLUDEN_SHIFT (16)#define PULLTYPESEL_SHIFT (17)#define RXACTIVE_SHIFT (18)
@@ -19,6 +20,10 @@#define DS_PULLUD_EN_SHIFT (27)#define DS_PULLTYPE_SEL_SHIFT (28) +/* Schmitt trigger configuration */ +#define ST_DISABLE (0 << ST_EN_SHIFT) +#define ST_ENABLE (1 << ST_EN_SHIFT) +#define PULL_DISABLE (1 << PULLUDEN_SHIFT)#define PULL_ENABLE (0 << PULLUDEN_SHIFT)
@@ -32,9 +37,13 @@#define PIN_OUTPUT (INPUT_DISABLE | PULL_DISABLE)#define PIN_OUTPUT_PULLUP (INPUT_DISABLE | PULL_UP)#define PIN_OUTPUT_PULLDOWN (INPUT_DISABLE | PULL_DOWN) -#define PIN_INPUT (INPUT_EN | PULL_DISABLE) -#define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP) -#define PIN_INPUT_PULLDOWN (INPUT_EN | PULL_DOWN) +#define PIN_INPUT (INPUT_EN | ST_ENABLE | PULL_DISABLE) +#define PIN_INPUT_PULLUP (INPUT_EN | ST_ENABLE | PULL_UP) +#define PIN_INPUT_PULLDOWN (INPUT_EN | ST_ENABLE | PULL_DOWN) +/* Input configurations with Schmitt Trigger disabled */ +#define PIN_INPUT_NOST (INPUT_EN | PULL_DISABLE) +#define PIN_INPUT_PULLUP_NOST (INPUT_EN | PULL_UP) +#define PIN_INPUT_PULLDOWN_NOST (INPUT_EN | PULL_DOWN)#define PIN_DEBOUNCE_DISABLE (0 << DEBOUNCE_SHIFT)#define PIN_DEBOUNCE_CONF1 (1 << DEBOUNCE_SHIFT)
arch/arm64/lib/crypto/poly1305-glue.c +2 -1
@@ -7,6 +7,7 @@#include <asm/hwcap.h> #include <asm/neon.h> +#include <asm/simd.h> #include <crypto/internal/poly1305.h> #include <linux/cpufeature.h> #include <linux/jump_label.h>
@@ -33,7 +34,7 @@ void poly1305_blocks_arch(struct poly1305_block_state *state, const u8 *src, unsigned int len, u32 padbit) { len =round_down (len,POLY1305_BLOCK_SIZE ); -if (static_branch_likely (&have_neon)) { +if (static_branch_likely (&have_neon) &&likely (may_use_simd ())) { do { unsigned int todo = min_t(unsigned int, len, SZ_4K);
arch/loongarch/Makefile +6 -0
@@ -102,7 +102,13 @@ KBUILD_CFLAGS += $(call cc-option,-mthin-add-sub) $(call cc-option,-Wa$(comma) ifdef CONFIG_OBJTOOL ifdef CONFIG_CC_HAS_ANNOTATE_TABLEJUMP +# The annotate-tablejump option can not be passed to LLVM backend when LTO is enabled. +# Ensure it is aware of linker with LTO, '--loongarch-annotate-tablejump' also needs to +# be passed via '-mllvm' to ld.lld. KBUILD_CFLAGS += -mannotate-tablejump +ifdef CONFIG_LTO_CLANG +KBUILD_LDFLAGS += -mllvm --loongarch-annotate-tablejump +endif else KBUILD_CFLAGS += -fno-jump-tables # keep compatibility with older compilers endif
arch/loongarch/kernel/module-sections.c +18 -18
@@ -8,6 +8,7 @@#include <linux/module.h> #include <linux/moduleloader.h> #include <linux/ftrace.h> +#include <linux/sort.h> Elf_Addr module_emit_got_entry (struct module *mod,Elf_Shdr *sechdrs,Elf_Addr val) {
@@ -61,39 +62,38 @@ Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr vreturn (Elf_Addr)&plt[nr]; } -static int is_rela_equal (const Elf_Rela *x,const Elf_Rela *y) -{ -return x->r_info == y->r_info && x->r_addend == y->r_addend; -} +#define cmp_3way (a, b) ((a) < (b) ? -1 : (a) > (b)) -static bool duplicate_rela (const Elf_Rela *rela,int idx) +static int compare_rela (const void *x,const void *y) { -int i; +int ret; +const Elf_Rela *rela_x = x, *rela_y = y; -for (i =0 ; i < idx; i++) { -if (is_rela_equal (&rela[i], &rela[idx])) -return true; - } + ret =cmp_3way (rela_x->r_info, rela_y->r_info); +if (ret ==0 ) + ret =cmp_3way (rela_x->r_addend, rela_y->r_addend); -return false; +return ret; }static void count_max_entries (Elf_Rela *relas,int num,unsigned int *plts,unsigned int *gots) { -unsigned int i, type; +unsigned int i; + +sort (relas, num,sizeof (Elf_Rela), compare_rela,NULL );for (i =0 ; i < num; i++) { - type =ELF_R_TYPE (relas[i].r_info); -switch (type) { +if (i && !compare_rela (&relas[i-1 ], &relas[i])) +continue ; + +switch (ELF_R_TYPE (relas[i].r_info)) {case R_LARCH_SOP_PUSH_PLT_PCREL :case R_LARCH_B26 : -if (!duplicate_rela (relas, i)) - (*plts)++; + (*plts)++;break ;case R_LARCH_GOT_PC_HI20 : -if (!duplicate_rela (relas, i)) - (*gots)++; + (*gots)++;break ;default :break ;/* Do nothing. */
arch/loongarch/kvm/intc/eiointc.c +16 -16
@@ -9,7 +9,7 @@static void eiointc_set_sw_coreisr (struct loongarch_eiointc *s) { -int ipnum, cpu, cpuid, irq_index, irq_mask, irq; +int ipnum, cpu, cpuid, irq;struct kvm_vcpu *vcpu;for (irq =0 ; irq <EIOINTC_IRQS ; irq++) {
@@ -18,8 +18,6 @@ static void eiointc_set_sw_coreisr(struct loongarch_eiointc *s) ipnum =count_trailing_zeros (ipnum); ipnum = (ipnum >=0 && ipnum <4 ) ? ipnum :0 ; } - irq_index = irq /32 ; - irq_mask =BIT (irq &0x1f ); cpuid = s->coremap.reg_u8[irq]; vcpu =kvm_get_vcpu_by_cpuid (s->kvm, cpuid);
@@ -27,16 +25,16 @@ static void eiointc_set_sw_coreisr(struct loongarch_eiointc *s)continue ; cpu = vcpu->vcpu_id; -if (!!(s->coreisr.reg_u32[cpu][irq_index] & irq_mask)) -set_bit (irq, s->sw_coreisr[cpu][ipnum]); +if (test_bit (irq, (unsigned long *)s->coreisr.reg_u32[cpu])) +__set_bit (irq, s->sw_coreisr[cpu][ipnum]);else -clear_bit (irq, s->sw_coreisr[cpu][ipnum]); +__clear_bit (irq, s->sw_coreisr[cpu][ipnum]); } }static void eiointc_update_irq (struct loongarch_eiointc *s,int irq,int level) { -int ipnum, cpu, found, irq_index, irq_mask; +int ipnum, cpu, found;struct kvm_vcpu *vcpu;struct kvm_interrupt vcpu_irq;
@@ -47,20 +45,22 @@ static void eiointc_update_irq(struct loongarch_eiointc *s, int irq, int level) } cpu = s->sw_coremap[irq]; - vcpu =kvm_get_vcpu (s->kvm, cpu); - irq_index = irq /32 ; - irq_mask =BIT (irq &0x1f ); + vcpu =kvm_get_vcpu_by_id (s->kvm, cpu); +if (unlikely (vcpu ==NULL )) { +kvm_err ("%s: invalid target cpu: %d\n" , __func__, cpu); +return ; + }if (level) {/* if not enable return false */ -if (((s->enable.reg_u32[irq_index]) & irq_mask) ==0 ) +if (!test_bit (irq, (unsigned long *)s->enable.reg_u32))return ; - s->coreisr.reg_u32[cpu][irq_index] |= irq_mask; +__set_bit (irq, (unsigned long *)s->coreisr.reg_u32[cpu]); found =find_first_bit (s->sw_coreisr[cpu][ipnum],EIOINTC_IRQS ); -set_bit (irq, s->sw_coreisr[cpu][ipnum]); +__set_bit (irq, s->sw_coreisr[cpu][ipnum]); }else { - s->coreisr.reg_u32[cpu][irq_index] &= ~irq_mask; -clear_bit (irq, s->sw_coreisr[cpu][ipnum]); +__clear_bit (irq, (unsigned long *)s->coreisr.reg_u32[cpu]); +__clear_bit (irq, s->sw_coreisr[cpu][ipnum]); found =find_first_bit (s->sw_coreisr[cpu][ipnum],EIOINTC_IRQS ); }
@@ -110,8 +110,8 @@ void eiointc_set_irq(struct loongarch_eiointc *s, int irq, int level)unsigned long flags;unsigned long *isr = (unsigned long *)s->isr.reg_u8; - level ?set_bit (irq, isr) :clear_bit (irq, isr);spin_lock_irqsave (&s->lock, flags); + level ?__set_bit (irq, isr) :__clear_bit (irq, isr);eiointc_update_irq (s, irq, level);spin_unlock_irqrestore (&s->lock, flags); }
arch/loongarch/kvm/intc/ipi.c +4 -4
@@ -99,7 +99,7 @@ static void write_mailbox(struct kvm_vcpu *vcpu, int offset, uint64_t data, intstatic int send_ipi_data (struct kvm_vcpu *vcpu,gpa_t addr,uint64_t data) {int i, idx, ret; -uint32_t val =0 , mask =0 ; +uint64_t val =0 , mask =0 ;/* * Bit 27-30 is mask for byte writing.
@@ -108,7 +108,7 @@ static int send_ipi_data(struct kvm_vcpu *vcpu, gpa_t addr, uint64_t data)if ((data >>27 ) &0xf ) {/* Read the old val */ idx =srcu_read_lock (&vcpu->kvm->srcu); - ret =kvm_io_bus_read (vcpu,KVM_IOCSR_BUS , addr,sizeof (val), &val); + ret =kvm_io_bus_read (vcpu,KVM_IOCSR_BUS , addr,4 , &val);srcu_read_unlock (&vcpu->kvm->srcu, idx);if (unlikely (ret)) {kvm_err ("%s: : read data from addr %llx failed\n" , __func__, addr);
@@ -124,7 +124,7 @@ static int send_ipi_data(struct kvm_vcpu *vcpu, gpa_t addr, uint64_t data) } val |= ((uint32_t )(data >>32 ) & ~mask); idx =srcu_read_lock (&vcpu->kvm->srcu); - ret =kvm_io_bus_write (vcpu,KVM_IOCSR_BUS , addr,sizeof (val), &val); + ret =kvm_io_bus_write (vcpu,KVM_IOCSR_BUS , addr,4 , &val);srcu_read_unlock (&vcpu->kvm->srcu, idx);if (unlikely (ret))kvm_err ("%s: : write data to addr %llx failed\n" , __func__, addr);
@@ -318,7 +318,7 @@ static int kvm_ipi_regs_access(struct kvm_device *dev, cpu = (attr->attr >>16 ) &0x3ff ; addr = attr->attr &0xff ; - vcpu =kvm_get_vcpu (dev->kvm, cpu); + vcpu =kvm_get_vcpu_by_id (dev->kvm, cpu);if (unlikely (vcpu ==NULL )) {kvm_err ("%s: invalid target cpu: %d\n" , __func__, cpu);return -EINVAL ;
arch/loongarch/kvm/intc/pch_pic.c +10 -0
@@ -195,6 +195,11 @@ static int kvm_pch_pic_read(struct kvm_vcpu *vcpu,return -EINVAL ; } +if (addr & (len -1 )) { +kvm_err ("%s: pch pic not aligned addr %llx len %d\n" , __func__, addr, len); +return -EINVAL ; + } +/* statistics of pch pic reading */ vcpu->kvm->stat.pch_pic_read_exits++; ret =loongarch_pch_pic_read (s, addr, len, val);
@@ -302,6 +307,11 @@ static int kvm_pch_pic_write(struct kvm_vcpu *vcpu,return -EINVAL ; } +if (addr & (len -1 )) { +kvm_err ("%s: pch pic not aligned addr %llx len %d\n" , __func__, addr, len); +return -EINVAL ; + } +/* statistics of pch pic writing */ vcpu->kvm->stat.pch_pic_write_exits++; ret =loongarch_pch_pic_write (s, addr, len, val);
arch/loongarch/kvm/vcpu.c +5 -3
@@ -1277,9 +1277,11 @@ int kvm_own_lbt(struct kvm_vcpu *vcpu)return -EINVAL ;preempt_disable (); -set_csr_euen (CSR_EUEN_LBTEN ); -_restore_lbt (&vcpu->arch.lbt); - vcpu->arch.aux_inuse |=KVM_LARCH_LBT ; +if (!(vcpu->arch.aux_inuse &KVM_LARCH_LBT )) { +set_csr_euen (CSR_EUEN_LBTEN ); +_restore_lbt (&vcpu->arch.lbt); + vcpu->arch.aux_inuse |=KVM_LARCH_LBT ; + }preempt_enable ();return 0 ;
arch/m68k/kernel/head.S +21 -10
@@ -3400,6 +3400,7 @@ L(console_clear_loop): movel %d4,%d1 /* screen height in pixels */ divul %a0@(FONT_DESC_HEIGHT),%d1 /* d1 = max num rows */ + subql #1,%d1 /* row range is 0 to num - 1 */ movel %d0,%a2@(Lconsole_struct_num_columns) movel %d1,%a2@(Lconsole_struct_num_rows)
@@ -3546,15 +3547,14 @@ func_start console_putc,%a0/%a1/%d0-%d7 cmpib #10,%d7 jne L(console_not_lf) movel %a0@(Lconsole_struct_cur_row),%d0 - addil #1,%d0 - movel %d0,%a0@(Lconsole_struct_cur_row) movel %a0@(Lconsole_struct_num_rows),%d1 cmpl %d1,%d0 jcs 1f - subil #1,%d0 - movel %d0,%a0@(Lconsole_struct_cur_row) console_scroll + jra L(console_exit) 1: + addql #1,%d0 + movel %d0,%a0@(Lconsole_struct_cur_row) jra L(console_exit) L(console_not_lf):
@@ -3581,12 +3581,6 @@ L(console_not_cr): */ L(console_not_home): movel %a0@(Lconsole_struct_cur_column),%d0 - addql #1,%a0@(Lconsole_struct_cur_column) - movel %a0@(Lconsole_struct_num_columns),%d1 - cmpl %d1,%d0 - jcs 1f - console_putc #'\n' /* recursion is OK! */ -1: movel %a0@(Lconsole_struct_cur_row),%d1 /*
@@ -3633,6 +3627,23 @@ L(console_do_font_scanline): addq #1,%d1 dbra %d7,L(console_read_char_scanline) + /* + * Register usage in the code below: + * a0 = pointer to console globals + * d0 = cursor column + * d1 = cursor column limit + */ + + lea %pc@(L(console_globals)),%a0 + + movel %a0@(Lconsole_struct_cur_column),%d0 + addql #1,%d0 + movel %d0,%a0@(Lconsole_struct_cur_column) /* Update cursor pos */ + movel %a0@(Lconsole_struct_num_columns),%d1 + cmpl %d1,%d0 + jcs L(console_exit) + console_putc #'\n' /* Line wrap using tail recursion */ + L(console_exit): func_return console_putc
arch/mips/lib/crypto/chacha-core.S +7 -13
@@ -55,17 +55,13 @@ #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ #define MSB 0 #define LSB 3 -#define ROTx rotl -#define ROTR(n) rotr n, 24 #define CPU_TO_LE32(n) \ - wsbh n; \ + wsbh n, n; \ rotr n, 16; #else #define MSB 3 #define LSB 0 -#define ROTx rotr #define CPU_TO_LE32(n) -#define ROTR(n) #endif #define FOR_EACH_WORD(x) \
@@ -192,10 +188,10 @@ CONCAT3(.Lchacha_mips_xor_aligned_, PLUS_ONE(x), _b: ;) \ xor X(W), X(B); \ xor X(Y), X(C); \ xor X(Z), X(D); \ - rotl X(V), S; \ - rotl X(W), S; \ - rotl X(Y), S; \ - rotl X(Z), S; + rotr X(V), 32 - S; \ + rotr X(W), 32 - S; \ + rotr X(Y), 32 - S; \ + rotr X(Z), 32 - S; .text .set reorder
@@ -372,21 +368,19 @@ chacha_crypt_arch: /* First byte */ lbu T1, 0(IN) addiu $at, BYTES, 1 - CPU_TO_LE32(SAVED_X) - ROTR(SAVED_X) xor T1, SAVED_X sb T1, 0(OUT) beqz $at, .Lchacha_mips_xor_done /* Second byte */ lbu T1, 1(IN) addiu $at, BYTES, 2 - ROTx SAVED_X, 8 + rotr SAVED_X, 8 xor T1, SAVED_X sb T1, 1(OUT) beqz $at, .Lchacha_mips_xor_done /* Third byte */ lbu T1, 2(IN) - ROTx SAVED_X, 8 + rotr SAVED_X, 8 xor T1, SAVED_X sb T1, 2(OUT) b .Lchacha_mips_xor_done
arch/parisc/Makefile +3 -1
@@ -39,7 +39,9 @@ endif export LD_BFD -# Set default 32 bits cross compilers for vdso +# Set default 32 bits cross compilers for vdso. +# This means that for 64BIT, both the 64-bit tools and the 32-bit tools +# need to be in the path. CC_ARCHES_32 = hppa hppa2.0 hppa1.1 CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux CROSS32_COMPILE := $(call cc-cross-prefix, \
arch/parisc/include/asm/pgtable.h +4 -3
@@ -276,7 +276,7 @@ extern unsigned long *empty_zero_page;#define pte_none (x) (pte_val(x) == 0)#define pte_present (x) (pte_val(x) & _PAGE_PRESENT)#define pte_user (x) (pte_val(x) & _PAGE_USER) -#define pte_clear (mm, addr, xp) set_pte(xp, __pte(0)) +#define pte_clear (mm, addr, xp) set_pte_at((mm), (addr), (xp), __pte(0))#define pmd_flag (x) (pmd_val(x) & PxD_FLAG_MASK)#define pmd_address (x) ((unsigned long)(pmd_val(x) &~ PxD_FLAG_MASK) << PxD_VALUE_SHIFT)
@@ -392,6 +392,7 @@ static inline void set_ptes(struct mm_struct *mm, unsigned long addr, } }#define set_ptes set_ptes +#define set_pte_at (mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1)/* Used for deferring calls to flush_dcache_page() */
@@ -456,7 +457,7 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, unsignedif (!pte_young (pte)) {return 0 ; } -set_pte (ptep,pte_mkold (pte)); +set_pte_at (vma->vm_mm, addr, ptep,pte_mkold (pte));return 1 ; }
@@ -466,7 +467,7 @@ pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long addr, pte_t *ptstruct mm_struct ;static inline void ptep_set_wrprotect (struct mm_struct *mm,unsigned long addr,pte_t *ptep) { -set_pte (ptep,pte_wrprotect (*ptep)); +set_pte_at (mm, addr, ptep,pte_wrprotect (*ptep)); }#define pte_same (A ,B ) (pte_val(A) == pte_val(B))
arch/parisc/include/asm/special_insns.h +28 -0
@@ -32,6 +32,34 @@ pa; \ }) +/** +* prober_user() - Probe user read access +* @sr: Space regster. +* @va: Virtual address. +* +* Return: Non-zero if address is accessible. +* +* Due to the way _PAGE_READ is handled in TLB entries, we need +* a special check to determine whether a user address is accessible. +* The ldb instruction does the initial access check. If it is +* successful, the probe instruction checks user access rights. +*/ +#define prober_user (sr, va) ({ \ + unsigned long read_allowed; \ + __asm__ __volatile__( \ + "copy %%r0,%0\n" \ + "8:\tldb 0(%%sr%1,%2),%%r0\n" \ + "\tproberi (%%sr%1,%2),%3,%0\n" \ + "9:\n" \ + ASM_EXCEPTIONTABLE_ENTRY(8b, 9b, \ + "or %%r0,%%r0,%%r0") \ + : "=&r" (read_allowed) \ + : "i" (sr), "r" (va), "i" (PRIV_USER) \ + : "memory" \ + ); \ + read_allowed; \ +}) +#define CR_EIEM 15/* External Interrupt Enable Mask */ #define CR_CR16 16/* CR16 Interval Timer */ #define CR_EIRR 23/* External Interrupt Request Register */
arch/parisc/include/asm/uaccess.h +18 -3
@@ -42,9 +42,24 @@ __gu_err; \ }) -#define __get_user (val, ptr) \ -({ \ - __get_user_internal(SR_USER, val, ptr); \ +#define __probe_user_internal (sr, error, ptr) \ +({ \ + __asm__("\tproberi (%%sr%1,%2),%3,%0\n" \ + "\tcmpiclr,= 1,%0,%0\n" \ + "\tldi %4,%0\n" \ + : "=r"(error) \ + : "i"(sr), "r"(ptr), "i"(PRIV_USER), \ + "i"(-EFAULT)); \ +}) + +#define __get_user (val, ptr) \ +({ \ + register long __gu_err; \ + \ + __gu_err = __get_user_internal(SR_USER, val, ptr); \ + if (likely(!__gu_err)) \ + __probe_user_internal(SR_USER, __gu_err, ptr); \ + __gu_err; \ })#define __get_user_asm (sr, val, ldx, ptr) \
arch/parisc/kernel/cache.c +3 -3
@@ -429,7 +429,7 @@ static inline pte_t *get_ptep(struct mm_struct *mm, unsigned long addr)return ptep; } -static inline bool pte_needs_flush (pte_t pte) +static inline bool pte_needs_cache_flush (pte_t pte) {return (pte_val (pte) & (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_NO_CACHE)) == (_PAGE_PRESENT | _PAGE_ACCESSED);
@@ -630,7 +630,7 @@ static void flush_cache_page_if_present(struct vm_area_struct *vma, ptep =get_ptep (vma->vm_mm, vmaddr);if (ptep) { pte =ptep_get (ptep); - needs_flush =pte_needs_flush (pte); + needs_flush =pte_needs_cache_flush (pte);pte_unmap (ptep); }if (needs_flush)
@@ -841,7 +841,7 @@ void flush_cache_vmap(unsigned long start, unsigned long end) } vm =find_vm_area ((void *)start); -if (WARN_ON_ONCE (!vm)) { +if (!vm) {flush_cache_all ();return ; }
arch/parisc/kernel/entry.S +12 -5
@@ -499,6 +499,12 @@ * this happens is quite subtle, read below */ .macro make_insert_tlb spc,pte,prot,tmp space_to_prot \spc \prot /* create prot id from space */ + +#if _PAGE_SPECIAL_BIT == _PAGE_DMB_BIT + /* need to drop DMB bit, as it's used as SPECIAL flag */ + depi 0,_PAGE_SPECIAL_BIT,1,\pte +#endif + /* The following is the real subtlety. This is depositing * T <-> _PAGE_REFTRAP * D <-> _PAGE_DIRTY
@@ -511,17 +517,18 @@ * Finally, _PAGE_READ goes in the top bit of PL1 (so we * trigger an access rights trap in user space if the user * tries to read an unreadable page */ -#if _PAGE_SPECIAL_BIT == _PAGE_DMB_BIT - /* need to drop DMB bit, as it's used as SPECIAL flag */ - depi 0,_PAGE_SPECIAL_BIT,1,\pte -#endif depd \pte,8,7,\prot /* PAGE_USER indicates the page can be read with user privileges, * so deposit X1|11 to PL1|PL2 (remember the upper bit of PL1 - * contains _PAGE_READ) */ + * contains _PAGE_READ). While the kernel can't directly write + * user pages which have _PAGE_WRITE zero, it can read pages + * which have _PAGE_READ zero (PL <= PL1). Thus, the kernel + * exception fault handler doesn't trigger when reading pages + * that aren't user read accessible */ extrd,u,*= \pte,_PAGE_USER_BIT+32,1,%r0 depdi 7,11,3,\prot + /* If we're a gateway page, drop PL2 back to zero for promotion * to kernel privilege (so we can execute the page as kernel). * Any privilege promotion page always denys read and write */
arch/parisc/kernel/syscall.S +21 -9
@@ -613,6 +613,9 @@ lws_compare_and_swap32: lws_compare_and_swap: /* Trigger memory reference interruptions without writing to memory */ 1: ldw 0(%r26), %r28 + proberi (%r26), PRIV_USER, %r28 + comb,=,n %r28, %r0, lws_fault /* backwards, likely not taken */ + nop 2: stbys,e %r0, 0(%r26) /* Calculate 8-bit hash index from virtual address */
@@ -767,6 +770,9 @@ cas2_lock_start: copy %r26, %r28 depi_safe 0, 31, 2, %r28 10: ldw 0(%r28), %r1 + proberi (%r28), PRIV_USER, %r1 + comb,=,n %r1, %r0, lws_fault /* backwards, likely not taken */ + nop 11: stbys,e %r0, 0(%r28) /* Calculate 8-bit hash index from virtual address */
@@ -951,41 +957,47 @@ atomic_xchg_begin: /* 8-bit exchange */ 1: ldb 0(%r24), %r20 + proberi (%r24), PRIV_USER, %r20 + comb,=,n %r20, %r0, lws_fault /* backwards, likely not taken */ + nop copy %r23, %r20 depi_safe 0, 31, 2, %r20 b atomic_xchg_start 2: stbys,e %r0, 0(%r20) - nop - nop - nop /* 16-bit exchange */ 3: ldh 0(%r24), %r20 + proberi (%r24), PRIV_USER, %r20 + comb,=,n %r20, %r0, lws_fault /* backwards, likely not taken */ + nop copy %r23, %r20 depi_safe 0, 31, 2, %r20 b atomic_xchg_start 4: stbys,e %r0, 0(%r20) - nop - nop - nop /* 32-bit exchange */ 5: ldw 0(%r24), %r20 + proberi (%r24), PRIV_USER, %r20 + comb,=,n %r20, %r0, lws_fault /* backwards, likely not taken */ + nop b atomic_xchg_start 6: stbys,e %r0, 0(%r23) nop nop - nop - nop - nop /* 64-bit exchange */ #ifdef CONFIG_64BIT 7: ldd 0(%r24), %r20 + proberi (%r24), PRIV_USER, %r20 + comb,=,n %r20, %r0, lws_fault /* backwards, likely not taken */ + nop 8: stdby,e %r0, 0(%r23) #else 7: ldw 0(%r24), %r20 8: ldw 4(%r24), %r20 + proberi (%r24), PRIV_USER, %r20 + comb,=,n %r20, %r0, lws_fault /* backwards, likely not taken */ + nop copy %r23, %r20 depi_safe 0, 31, 2, %r20 9: stbys,e %r0, 0(%r20)
arch/parisc/lib/memcpy.c +18 -1
@@ -12,6 +12,7 @@#include <linux/module.h> #include <linux/compiler.h> #include <linux/uaccess.h> +#include <linux/mm.h> #define get_user_space () mfsp(SR_USER)#define get_kernel_space () SR_KERNEL
@@ -32,9 +33,25 @@ EXPORT_SYMBOL(raw_copy_to_user);unsigned long raw_copy_from_user (void *dst,const void __user *src,unsigned long len) { +unsigned long start = (unsigned long ) src; +unsigned long end = start + len; +unsigned long newlen = len; +mtsp (get_user_space (),SR_TEMP1 );mtsp (get_kernel_space (),SR_TEMP2 ); -return pa_memcpy (dst, (void __force *)src, len); + +/* Check region is user accessible */ +if (start) +while (start < end) { +if (!prober_user (SR_TEMP1 , start)) { + newlen = (start - (unsigned long ) src); +break ; + } + start +=PAGE_SIZE ; +/* align to page boundry which may have different permission */ + start =PAGE_ALIGN_DOWN (start); + } +return len - newlen +pa_memcpy (dst, (void __force *)src, newlen); }EXPORT_SYMBOL (raw_copy_from_user);
arch/parisc/mm/fault.c +4 -0
@@ -363,6 +363,10 @@ void do_page_fault(struct pt_regs *regs, unsigned long code,mmap_read_unlock (mm); bad_area_nosemaphore: +if (!user_mode (regs) &&fixup_exception (regs)) { +return ; + } +if (user_mode (regs)) {int signo, si_code;
arch/s390/boot/vmem.c +3 -0
@@ -530,6 +530,9 @@ void setup_vmem(unsigned long kernel_start, unsigned long kernel_end, unsigned l lowcore_address +sizeof (struct lowcore ), POPULATE_LOWCORE);for_each_physmem_usable_range (i, &start, &end) { +/* Do not map lowcore with identity mapping */ +if (!start) + start =sizeof (struct lowcore );pgtable_populate ((unsigned long )__identity_va (start), (unsigned long )__identity_va (end),POPULATE_IDENTITY );
arch/s390/hypfs/hypfs_dbfs.c +12 -7
@@ -6,6 +6,7 @@* Author(s): Michael Holzheu <[email protected]> */ +#include <linux/security.h> #include <linux/slab.h> #include "hypfs.h"
@@ -66,23 +67,27 @@ static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)long rc;mutex_lock (&df->lock); -if (df->unlocked_ioctl) - rc = df->unlocked_ioctl (file, cmd, arg); -else - rc = -ENOTTY ; + rc = df->unlocked_ioctl (file, cmd, arg);mutex_unlock (&df->lock);return rc; } -static const struct file_operations dbfs_ops = { +static const struct file_operations dbfs_ops_ioctl = { .read = dbfs_read, .unlocked_ioctl = dbfs_ioctl, }; +static const struct file_operations dbfs_ops = { + .read = dbfs_read, +}; +void hypfs_dbfs_create_file (struct hypfs_dbfs_file *df) { - df->dentry =debugfs_create_file (df->name,0400 , dbfs_dir, df, - &dbfs_ops); +const struct file_operations *fops = &dbfs_ops; + +if (df->unlocked_ioctl && !security_locked_down (LOCKDOWN_DEBUGFS )) + fops = &dbfs_ops_ioctl; + df->dentry =debugfs_create_file (df->name,0400 , dbfs_dir, df, fops);mutex_init (&df->lock); }
arch/x86/crypto/aegis128-aesni-glue.c +29 -11
@@ -104,10 +104,12 @@ static void crypto_aegis128_aesni_process_ad( } } -static __always_inline void +static __always_inline intcrypto_aegis128_aesni_process_crypt (struct aegis_state *state,struct skcipher_walk *walk,bool enc) { +int err =0 ; +while (walk->nbytes >=AEGIS128_BLOCK_SIZE ) {if (enc) aegis128_aesni_enc(state, walk->src.virt.addr,
@@ -119,7 +121,10 @@ crypto_aegis128_aesni_process_crypt(struct aegis_state *state, walk->dst.virt.addr,round_down (walk->nbytes, AEGIS128_BLOCK_SIZE)); -skcipher_walk_done (walk, walk->nbytes %AEGIS128_BLOCK_SIZE ); +kernel_fpu_end (); + err =skcipher_walk_done (walk, + walk->nbytes %AEGIS128_BLOCK_SIZE ); +kernel_fpu_begin (); }if (walk->nbytes) {
@@ -131,8 +136,11 @@ crypto_aegis128_aesni_process_crypt(struct aegis_state *state,aegis128_aesni_dec_tail (state, walk->src.virt.addr, walk->dst.virt.addr, walk->nbytes); -skcipher_walk_done (walk,0 ); +kernel_fpu_end (); + err =skcipher_walk_done (walk,0 ); +kernel_fpu_begin (); } +return err; }static struct aegis_ctx *crypto_aegis128_aesni_ctx (struct crypto_aead *aead)
@@ -165,7 +173,7 @@ static int crypto_aegis128_aesni_setauthsize(struct crypto_aead *tfm,return 0 ; } -static __always_inline void +static __always_inline intcrypto_aegis128_aesni_crypt (struct aead_request *req,struct aegis_block *tag_xor,unsigned int cryptlen,bool enc)
@@ -174,20 +182,24 @@ crypto_aegis128_aesni_crypt(struct aead_request *req,struct aegis_ctx *ctx =crypto_aegis128_aesni_ctx (tfm);struct skcipher_walk walk;struct aegis_state state; +int err;if (enc) -skcipher_walk_aead_encrypt (&walk, req, true); + err =skcipher_walk_aead_encrypt (&walk, req, false);else -skcipher_walk_aead_decrypt (&walk, req, true); + err =skcipher_walk_aead_decrypt (&walk, req, false); +if (err) +return err;kernel_fpu_begin ();aegis128_aesni_init (&state, &ctx->key, req->iv);crypto_aegis128_aesni_process_ad (&state, req->src, req->assoclen); -crypto_aegis128_aesni_process_crypt (&state, &walk, enc); -aegis128_aesni_final (&state, tag_xor, req->assoclen, cryptlen); - + err =crypto_aegis128_aesni_process_crypt (&state, &walk, enc); +if (err ==0 ) +aegis128_aesni_final (&state, tag_xor, req->assoclen, cryptlen);kernel_fpu_end (); +return err; }static int crypto_aegis128_aesni_encrypt (struct aead_request *req)
@@ -196,8 +208,11 @@ static int crypto_aegis128_aesni_encrypt(struct aead_request *req)struct aegis_block tag = {};unsigned int authsize =crypto_aead_authsize (tfm);unsigned int cryptlen = req->cryptlen; +int err; -crypto_aegis128_aesni_crypt (req, &tag, cryptlen, true); + err =crypto_aegis128_aesni_crypt (req, &tag, cryptlen, true); +if (err) +return err;scatterwalk_map_and_copy (tag.bytes, req->dst, req->assoclen + cryptlen, authsize,1 );
@@ -212,11 +227,14 @@ static int crypto_aegis128_aesni_decrypt(struct aead_request *req)struct aegis_block tag;unsigned int authsize =crypto_aead_authsize (tfm);unsigned int cryptlen = req->cryptlen - authsize; +int err;scatterwalk_map_and_copy (tag.bytes, req->src, req->assoclen + cryptlen, authsize,0 ); -crypto_aegis128_aesni_crypt (req, &tag, cryptlen, false); + err =crypto_aegis128_aesni_crypt (req, &tag, cryptlen, false); +if (err) +return err;return crypto_memneq (tag.bytes, zeros.bytes, authsize) ? -EBADMSG :0 ; }
arch/x86/include/asm/xen/hypercall.h +3 -2
@@ -94,12 +94,13 @@ DECLARE_STATIC_CALL(xen_hypercall, xen_hypercall_func);#ifdef MODULE #define __ADDRESSABLE_xen_hypercall#else -#define __ADDRESSABLE_xen_hypercall __ADDRESSABLE_ASM_STR(__SCK__xen_hypercall) +#define __ADDRESSABLE_xen_hypercall \ + __stringify(.global STATIC_CALL_KEY(xen_hypercall);)#endif #define __HYPERCALL \ __ADDRESSABLE_xen_hypercall \ - "call __SCT__xen_hypercall" + __stringify(call STATIC_CALL_TRAMP(xen_hypercall))#define __HYPERCALL_ENTRY (x) "a" (x)
arch/x86/kernel/cpu/amd.c +6 -2
@@ -1324,8 +1324,8 @@ static const char * const s5_reset_reason_txt[] = {static __init int print_s5_reset_status_mmio (void ) { -unsigned long value;void __iomem *addr; +u32 value;int i;if (!cpu_feature_enabled (X86_FEATURE_ZEN ))
@@ -1338,12 +1338,16 @@ static __init int print_s5_reset_status_mmio(void) value =ioread32 (addr);iounmap (addr); +/* Value with "all bits set" is an error response and should be ignored. */ +if (value ==U32_MAX ) +return 0 ; +for (i =0 ; i <ARRAY_SIZE (s5_reset_reason_txt); i++) {if (!(value &BIT (i)))continue ;if (s5_reset_reason_txt[i]) { -pr_info ("x86/amd: Previous system reset reason [0x%08lx]: %s\n" , +pr_info ("x86/amd: Previous system reset reason [0x%08x]: %s\n" , value, s5_reset_reason_txt[i]); } }
arch/x86/kernel/cpu/hygon.c +3 -0
@@ -16,6 +16,7 @@#include <asm/spec-ctrl.h> #include <asm/delay.h> #include <asm/msr.h> +#include <asm/resctrl.h> #include "cpu.h"
@@ -117,6 +118,8 @@ static void bsp_init_hygon(struct cpuinfo_x86 *c) x86_amd_ls_cfg_ssbd_mask =1ULL <<10 ; } } + +resctrl_cpu_detect (c); }static void early_init_hygon (struct cpuinfo_x86 *c)
block/bfq-iosched.c +3 -10
@@ -7229,22 +7229,16 @@ static void bfq_init_root_group(struct bfq_group *root_group, root_group->sched_data.bfq_class_idle_last_service = jiffies; } -static int bfq_init_queue (struct request_queue *q,struct elevator_type *e) +static int bfq_init_queue (struct request_queue *q,struct elevator_queue *eq) {struct bfq_data *bfqd; -struct elevator_queue *eq;unsigned int i;struct blk_independent_access_ranges *ia_ranges = q->disk->ia_ranges; - eq =elevator_alloc (q, e); -if (!eq) -return -ENOMEM ; - bfqd =kzalloc_node (sizeof (*bfqd),GFP_KERNEL , q->node); -if (!bfqd) { -kobject_put (&eq->kobj); +if (!bfqd)return -ENOMEM ; - } + eq->elevator_data = bfqd;spin_lock_irq (&q->queue_lock);
@@ -7402,7 +7396,6 @@ static int bfq_init_queue(struct request_queue *q, struct elevator_type *e) out_free:kfree (bfqd); -kobject_put (&eq->kobj);return -ENOMEM ; }
block/blk-mq-debugfs.c +1 -0
@@ -95,6 +95,7 @@ static const char *const blk_queue_flag_name[] = {QUEUE_FLAG_NAME (SQ_SCHED ),QUEUE_FLAG_NAME (DISABLE_WBT_DEF ),QUEUE_FLAG_NAME (NO_ELV_SWITCH ), + QUEUE_FLAG_NAME(QOS_ENABLED), };#undef QUEUE_FLAG_NAME
block/blk-mq-sched.c +152 -71
270 lines not on this page · raw message
block/blk-mq-sched.h +11 -1
@@ -18,10 +18,20 @@ void __blk_mq_sched_restart(struct blk_mq_hw_ctx *hctx);void blk_mq_sched_dispatch_requests (struct blk_mq_hw_ctx *hctx); -int blk_mq_init_sched (struct request_queue *q,struct elevator_type *e); +int blk_mq_init_sched (struct request_queue *q,struct elevator_type *e, +struct elevator_tags *et);void blk_mq_exit_sched (struct request_queue *q,struct elevator_queue *e);void blk_mq_sched_free_rqs (struct request_queue *q); +struct elevator_tags *blk_mq_alloc_sched_tags (struct blk_mq_tag_set *set, +unsigned int nr_hw_queues); +int blk_mq_alloc_sched_tags_batch (struct xarray *et_table, +struct blk_mq_tag_set *set,unsigned int nr_hw_queues); +void blk_mq_free_sched_tags (struct elevator_tags *et, +struct blk_mq_tag_set *set); +void blk_mq_free_sched_tags_batch (struct xarray *et_table, +struct blk_mq_tag_set *set); +static inline void blk_mq_sched_restart (struct blk_mq_hw_ctx *hctx) {if (test_bit (BLK_MQ_S_SCHED_RESTART , &hctx->state))
block/blk-mq.c +20 -9
@@ -4972,12 +4972,13 @@ int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr)* Switch back to the elevator type stored in the xarray. */ static void blk_mq_elv_switch_back (struct request_queue *q, -struct xarray *elv_tbl) +struct xarray *elv_tbl,struct xarray *et_tbl) {struct elevator_type *e =xa_load (elv_tbl, q->id); +struct elevator_tags *t =xa_load (et_tbl, q->id);/* The elv_update_nr_hw_queues unfreezes the queue. */ -elv_update_nr_hw_queues (q, e); +elv_update_nr_hw_queues (q, e, t);/* Drop the reference acquired in blk_mq_elv_switch_none. */ if (e)
@@ -5029,7 +5030,8 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,int prev_nr_hw_queues = set->nr_hw_queues;unsigned int memflags;int i; -struct xarray elv_tbl; +struct xarray elv_tbl, et_tbl; +bool queues_frozen = false;lockdep_assert_held (&set->tag_list_lock);
@@ -5042,6 +5044,10 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, memflags =memalloc_noio_save (); +xa_init (&et_tbl); +if (blk_mq_alloc_sched_tags_batch (&et_tbl, set, nr_hw_queues) <0 ) + goto out_memalloc_restore; +xa_init (&elv_tbl);list_for_each_entry (q, &set->tag_list, tag_set_list) {
@@ -5049,9 +5055,6 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,blk_mq_sysfs_unregister_hctxs (q); } -list_for_each_entry (q, &set->tag_list, tag_set_list) -blk_mq_freeze_queue_nomemsave (q); -/* * Switch IO scheduler to 'none', cleaning up the data associated * with the previous scheduler. We will switch back once we are done
@@ -5061,6 +5064,9 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set,if (blk_mq_elv_switch_none (q, &elv_tbl)) goto switch_back; +list_for_each_entry (q, &set->tag_list, tag_set_list) +blk_mq_freeze_queue_nomemsave (q); + queues_frozen = true;if (blk_mq_realloc_tag_set_tags (set, nr_hw_queues) <0 ) goto switch_back;
@@ -5084,8 +5090,12 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, } switch_back:/* The blk_mq_elv_switch_back unfreezes queue for us. */ -list_for_each_entry (q, &set->tag_list, tag_set_list) -blk_mq_elv_switch_back (q, &elv_tbl); +list_for_each_entry (q, &set->tag_list, tag_set_list) { +/* switch_back expects queue to be frozen */ +if (!queues_frozen) +blk_mq_freeze_queue_nomemsave (q); +blk_mq_elv_switch_back (q, &elv_tbl, &et_tbl); + }list_for_each_entry (q, &set->tag_list, tag_set_list) {blk_mq_sysfs_register_hctxs (q);
@@ -5096,7 +5106,8 @@ static void __blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, }xa_destroy (&elv_tbl); - +xa_destroy (&et_tbl); +out_memalloc_restore:memalloc_noio_restore (memflags);/* Free the excess tags when nr_hw_queues shrink. */
block/blk-rq-qos.c +4 -4
@@ -2,8 +2,6 @@#include "blk-rq-qos.h" -__read_mostly DEFINE_STATIC_KEY_FALSE (block_rq_qos); -/* * Increment 'v', if 'v' is below 'below'. Returns true if we succeeded, * false if 'v' + 1 would be bigger than 'below'.
@@ -319,8 +317,8 @@ void rq_qos_exit(struct request_queue *q)struct rq_qos *rqos = q->rq_qos; q->rq_qos = rqos->next; rqos->ops->exit (rqos); -static_branch_dec (&block_rq_qos); } +blk_queue_flag_clear (QUEUE_FLAG_QOS_ENABLED , q);mutex_unlock (&q->rq_qos_mutex); }
@@ -346,7 +344,7 @@ int rq_qos_add(struct rq_qos *rqos, struct gendisk *disk, enum rq_qos_id id, goto ebusy; rqos->next = q->rq_qos; q->rq_qos = rqos; -static_branch_inc (&block_rq_qos); +blk_queue_flag_set (QUEUE_FLAG_QOS_ENABLED , q);blk_mq_unfreeze_queue (q, memflags);
@@ -377,6 +375,8 @@ void rq_qos_del(struct rq_qos *rqos)break ; } } +if (!q->rq_qos) +blk_queue_flag_clear (QUEUE_FLAG_QOS_ENABLED , q);blk_mq_unfreeze_queue (q, memflags);mutex_lock (&q->debugfs_mutex);
block/blk-rq-qos.h +31 -17
102 lines not on this page · raw message
block/blk-sysfs.c +1 -1
@@ -876,9 +876,9 @@ int blk_register_queue(struct gendisk *disk)if (queue_is_mq (q))elevator_set_default (q); -wbt_enable_default (disk);blk_queue_flag_set (QUEUE_FLAG_REGISTERED , q); +wbt_enable_default (disk);/* Now everything is ready and send out KOBJ_ADD uevent */ kobject_uevent (&disk->queue_kobj,KOBJ_ADD );
block/blk.h +3 -1
@@ -12,6 +12,7 @@#include "blk-crypto-internal.h" struct elevator_type ; +struct elevator_tags ;#define BLK_DEV_MAX_SECTORS (LLONG_MAX >> 9)#define BLK_MIN_SEGMENT_SIZE 4096
@@ -322,7 +323,8 @@ bool blk_bio_list_merge(struct request_queue *q, struct list_head *list,bool blk_insert_flush (struct request *rq); -void elv_update_nr_hw_queues (struct request_queue *q,struct elevator_type *e); +void elv_update_nr_hw_queues (struct request_queue *q,struct elevator_type *e, +struct elevator_tags *t);void elevator_set_default (struct request_queue *q);void elevator_set_none (struct request_queue *q);
block/elevator.c +31 -7
@@ -54,6 +54,8 @@ struct elv_change_ctx {struct elevator_queue *old;/* for registering new elevator */ struct elevator_queue *new; +/* holds sched tags data */ +struct elevator_tags *et; };static DEFINE_SPINLOCK (elv_list_lock);
@@ -132,7 +134,7 @@ static struct elevator_type *elevator_find_get(const char *name)static const struct kobj_type elv_ktype;struct elevator_queue *elevator_alloc (struct request_queue *q, -struct elevator_type *e) +struct elevator_type *e,struct elevator_tags *et) {struct elevator_queue *eq;
@@ -145,10 +147,10 @@ struct elevator_queue *elevator_alloc(struct request_queue *q,kobject_init (&eq->kobj, &elv_ktype);mutex_init (&eq->sysfs_lock);hash_init (eq->hash); + eq->et = et;return eq; } -EXPORT_SYMBOL (elevator_alloc);static void elevator_release (struct kobject *kobj) {
@@ -166,7 +168,6 @@ static void elevator_exit(struct request_queue *q)lockdep_assert_held (&q->elevator_lock);ioc_clear_queue (q); -blk_mq_sched_free_rqs (q);mutex_lock (&e->sysfs_lock);blk_mq_exit_sched (q, e);
@@ -592,7 +593,7 @@ static int elevator_switch(struct request_queue *q, struct elv_change_ctx *ctx) }if (new_e) { - ret =blk_mq_init_sched (q, new_e); + ret =blk_mq_init_sched (q, new_e, ctx->et);if (ret) goto out_unfreeze; ctx->new = q->elevator;
@@ -627,8 +628,10 @@ static void elv_exit_and_release(struct request_queue *q)elevator_exit (q);mutex_unlock (&q->elevator_lock);blk_mq_unfreeze_queue (q, memflags); -if (e) +if (e) { +blk_mq_free_sched_tags (e->et, q->tag_set);kobject_put (&e->kobj); + } } static int elevator_change_done(struct request_queue *q,
@@ -641,6 +644,7 @@ static int elevator_change_done(struct request_queue *q, &ctx->old->flags);elv_unregister_queue (q, ctx->old); +blk_mq_free_sched_tags (ctx->old->et, q->tag_set);kobject_put (&ctx->old->kobj);if (enable_wbt)wbt_enable_default (q->disk);
@@ -659,9 +663,16 @@ static int elevator_change_done(struct request_queue *q,static int elevator_change (struct request_queue *q,struct elv_change_ctx *ctx) {unsigned int memflags; +struct blk_mq_tag_set *set = q->tag_set;int ret =0 ; -lockdep_assert_held (&q->tag_set->update_nr_hwq_lock); +lockdep_assert_held (&set->update_nr_hwq_lock); + +if (strncmp (ctx->name,"none" ,4 )) { + ctx->et =blk_mq_alloc_sched_tags (set, set->nr_hw_queues); +if (!ctx->et) +return -ENOMEM ; + } memflags =blk_mq_freeze_queue (q);/*
@@ -681,6 +692,11 @@ static int elevator_change(struct request_queue *q, struct elv_change_ctx *ctx)blk_mq_unfreeze_queue (q, memflags);if (!ret) ret =elevator_change_done (q, ctx); +/* +* Free sched tags if it's allocated but we couldn't switch elevator. +*/ +if (ctx->et && !ctx->new) +blk_mq_free_sched_tags (ctx->et, set);return ret; }
@@ -689,8 +705,10 @@ static int elevator_change(struct request_queue *q, struct elv_change_ctx *ctx)* The I/O scheduler depends on the number of hardware queues, this forces a * reattachment when nr_hw_queues changes. */ -void elv_update_nr_hw_queues (struct request_queue *q,struct elevator_type *e) +void elv_update_nr_hw_queues (struct request_queue *q,struct elevator_type *e, +struct elevator_tags *t) { +struct blk_mq_tag_set *set = q->tag_set;struct elv_change_ctx ctx = {};int ret = -ENODEV ;
@@ -698,6 +716,7 @@ void elv_update_nr_hw_queues(struct request_queue *q, struct elevator_type *e)if (e && !blk_queue_dying (q) &&blk_queue_registered (q)) { ctx.name = e->elevator_name; + ctx.et = t;mutex_lock (&q->elevator_lock);/* force to reattach elevator after nr_hw_queue is updated */
@@ -707,6 +726,11 @@ void elv_update_nr_hw_queues(struct request_queue *q, struct elevator_type *e)blk_mq_unfreeze_queue_nomemrestore (q);if (!ret)WARN_ON_ONCE (elevator_change_done (q, &ctx)); +/* +* Free sched tags if it's allocated but we couldn't switch elevator. +*/ +if (t && !ctx.new) +blk_mq_free_sched_tags (t, set); }/*
block/elevator.h +13 -3
@@ -23,8 +23,17 @@ enum elv_merge {struct blk_mq_alloc_data ;struct blk_mq_hw_ctx ; +struct elevator_tags { +/* num. of hardware queues for which tags are allocated */ +unsigned int nr_hw_queues; +/* depth used while allocating tags */ +unsigned int nr_requests; +/* shared tag is stored at index 0 */ +struct blk_mq_tags *tags[]; +}; +struct elevator_mq_ops { -int (*init_sched)(struct request_queue *,struct elevator_type *); +int (*init_sched)(struct request_queue *,struct elevator_queue *);void (*exit_sched)(struct elevator_queue *);int (*init_hctx)(struct blk_mq_hw_ctx *,unsigned int );void (*exit_hctx)(struct blk_mq_hw_ctx *,unsigned int );
@@ -113,6 +122,7 @@ struct request *elv_rqhash_find(struct request_queue *q, sector_t offset);struct elevator_queue {struct elevator_type *type; +struct elevator_tags *et;void *elevator_data;struct kobject kobj;struct mutex sysfs_lock;
@@ -152,8 +162,8 @@ ssize_t elv_iosched_show(struct gendisk *disk, char *page);ssize_t elv_iosched_store (struct gendisk *disk,const char *page,size_t count);extern bool elv_bio_merge_ok (struct request *,struct bio *); -extern struct elevator_queue *elevator_alloc (struct request_queue *, -struct elevator_type *); +struct elevator_queue *elevator_alloc (struct request_queue *, +struct elevator_type *,struct elevator_tags *);/* * Helper functions.
block/kyber-iosched.c +2 -9
@@ -399,20 +399,13 @@ static struct kyber_queue_data *kyber_queue_data_alloc(struct request_queue *q)return ERR_PTR (ret); } -static int kyber_init_sched (struct request_queue *q,struct elevator_type *e) +static int kyber_init_sched (struct request_queue *q,struct elevator_queue *eq) {struct kyber_queue_data *kqd; -struct elevator_queue *eq; - - eq =elevator_alloc (q, e); -if (!eq) -return -ENOMEM ; kqd =kyber_queue_data_alloc (q); -if (IS_ERR (kqd)) { -kobject_put (&eq->kobj); +if (IS_ERR (kqd))return PTR_ERR (kqd); - }blk_stat_enable_accounting (q);
block/mq-deadline.c +2 -12
@@ -554,20 +554,14 @@ static void dd_exit_sched(struct elevator_queue *e)/* * initialize elevator private data (deadline_data). */ -static int dd_init_sched (struct request_queue *q,struct elevator_type *e) +static int dd_init_sched (struct request_queue *q,struct elevator_queue *eq) {struct deadline_data *dd; -struct elevator_queue *eq;enum dd_prio prio; -int ret = -ENOMEM ; - - eq =elevator_alloc (q, e); -if (!eq) -return ret; dd =kzalloc_node (sizeof (*dd),GFP_KERNEL , q->node);if (!dd) - goto put_eq; +return -ENOMEM ; eq->elevator_data = dd;
@@ -594,10 +588,6 @@ static int dd_init_sched(struct request_queue *q, struct elevator_type *e) q->elevator = eq;return 0 ; - -put_eq: -kobject_put (&eq->kobj); -return ret; }/*
crypto/deflate.c +6 -1
@@ -48,9 +48,14 @@ static void *deflate_alloc_stream(void)return ctx; } +static void deflate_free_stream (void *ctx) +{ +kvfree (ctx); +} +static struct crypto_acomp_streams deflate_streams = { .alloc_ctx = deflate_alloc_stream, - .cfree_ctx = kvfree, + .free_ctx = deflate_free_stream, }; static int deflate_compress_one(struct acomp_req *req,
drivers/accel/habanalabs/gaudi2/gaudi2.c +1 -1
@@ -10437,7 +10437,7 @@ static int gaudi2_memset_device_memory(struct hl_device *hdev, u64 addr, u64 siz (u64 *)(lin_dma_pkts_arr), DEBUGFS_WRITE64);WREG32 (sob_addr,0 ); -kfree (lin_dma_pkts_arr); +kvfree (lin_dma_pkts_arr);return rc; }
drivers/acpi/apei/einj-core.c +3 -9
@@ -842,7 +842,7 @@ static int __init einj_probe(struct faux_device *fdev)return rc; } -static void __exit einj_remove(struct faux_device *fdev) +static void einj_remove (struct faux_device *fdev) {struct apei_exec_context ctx;
@@ -864,15 +864,9 @@ static void __exit einj_remove(struct faux_device *fdev) }static struct faux_device *einj_dev; -/* -* einj_remove() lives in .exit.text. For drivers registered via -* platform_driver_probe() this is ok because they cannot get unbound at -* runtime. So mark the driver struct with __refdata to prevent modpost -* triggering a section mismatch warning. -*/ -static struct faux_device_ops einj_device_ops__refdata = { +static struct faux_device_ops einj_device_ops = { .probe = einj_probe, - .remove =__exit_p (einj_remove), + .remove = einj_remove, };static int __init einj_init (void )
drivers/acpi/pfr_update.c +1 -1
@@ -310,7 +310,7 @@ static bool applicable_image(const void *data, struct pfru_update_cap_info *cap,if (type ==PFRU_CODE_INJECT_TYPE )return payload_hdr->rt_ver >= cap->code_rt_version; -return payload_hdr->rt_ver >= cap->drv_rt_version; +return payload_hdr->svn_ver >= cap->drv_svn; } static void print_update_debug_info(struct pfru_updated_result *result,
drivers/ata/Kconfig +26 -10
@@ -117,23 +117,39 @@ config SATA_AHCI config SATA_MOBILE_LPM_POLICY int "Default SATA Link Power Management policy" - range 0 4 + range 0 5 default 3 depends on SATA_AHCI help Select the Default SATA Link Power Management (LPM) policy to use for chipsets / "South Bridges" supporting low-power modes. Such chipsets are ubiquitous across laptops, desktops and servers. - - The value set has the following meanings: + Each policy combines power saving states and features: + - Partial: The Phy logic is powered but is in a reduced power + state. The exit latency from this state is no longer than + 10us). + - Slumber: The Phy logic is powered but is in an even lower power + state. The exit latency from this state is potentially + longer, but no longer than 10ms. + - DevSleep: The Phy logic may be powered down. The exit latency from + this state is no longer than 20 ms, unless otherwise + specified by DETO in the device Identify Device Data log. + - HIPM: Host Initiated Power Management (host automatically + transitions to partial and slumber). + - DIPM: Device Initiated Power Management (device automatically + transitions to partial and slumber). + + The possible values for the default SATA link power management + policies are: 0 => Keep firmware settings - 1 => Maximum performance - 2 => Medium power - 3 => Medium power with Device Initiated PM enabled - 4 => Minimum power - - Note "Minimum power" is known to cause issues, including disk - corruption, with some disks and should not be used. + 1 => No power savings (maximum performance) + 2 => HIPM (Partial) + 3 => HIPM (Partial) and DIPM (Partial and Slumber) + 4 => HIPM (Partial and DevSleep) and DIPM (Partial and Slumber) + 5 => HIPM (Slumber and DevSleep) and DIPM (Partial and Slumber) + + Excluding the value 0, higher values represent policies with higher + power savings. config SATA_AHCI_PLATFORM tristate "Platform AHCI SATA support"
drivers/ata/libata-scsi.c +22 -27
88 lines not on this page · raw message
drivers/base/power/runtime.c +18 -9
@@ -1191,10 +1191,12 @@ EXPORT_SYMBOL_GPL(__pm_runtime_resume);* * Return -EINVAL if runtime PM is disabled for @dev. * -* Otherwise, if the runtime PM status of @dev is %RPM_ACTIVE and either -* @ign_usage_count is %true or the runtime PM usage counter of @dev is not -* zero, increment the usage counter of @dev and return 1. Otherwise, return 0 -* without changing the usage counter. +* Otherwise, if its runtime PM status is %RPM_ACTIVE and (1) @ign_usage_count +* is set, or (2) @dev is not ignoring children and its active child count is +* nonero, or (3) the runtime PM usage counter of @dev is not zero, increment +* the usage counter of @dev and return 1. +* +* Otherwise, return 0 without changing the usage counter. * * If @ign_usage_count is %true, this function can be used to prevent suspending * the device when its runtime PM status is %RPM_ACTIVE.
@@ -1216,7 +1218,8 @@ static int pm_runtime_get_conditional(struct device *dev, bool ign_usage_count) retval = -EINVAL ; }else if (dev->power.runtime_status !=RPM_ACTIVE ) { retval =0 ; - }else if (ign_usage_count) { + }else if (ign_usage_count || (!dev->power.ignore_children && +atomic_read (&dev->power.child_count) >0 )) { retval =1 ;atomic_inc (&dev->power.usage_count); }else {
@@ -1249,10 +1252,16 @@ EXPORT_SYMBOL_GPL(pm_runtime_get_if_active);* @dev: Target device. * * Increment the runtime PM usage counter of @dev if its runtime PM status is -* %RPM_ACTIVE and its runtime PM usage counter is greater than 0, in which case -* it returns 1. If the device is in a different state or its usage_count is 0, -* 0 is returned. -EINVAL is returned if runtime PM is disabled for the device, -* in which case also the usage_count will remain unmodified. +* %RPM_ACTIVE and its runtime PM usage counter is greater than 0 or it is not +* ignoring children and its active child count is nonzero. 1 is returned in +* this case. +* +* If @dev is in a different state or it is not in use (that is, its usage +* counter is 0, or it is ignoring children, or its active child count is 0), +* 0 is returned. +* +* -EINVAL is returned if runtime PM is disabled for the device, in which case +* also the usage counter of @dev is not updated. */ int pm_runtime_get_if_in_use (struct device *dev) {
drivers/bluetooth/btmtk.c +1 -6
@@ -642,12 +642,7 @@ static int btmtk_usb_hci_wmt_sync(struct hci_dev *hdev,* WMT command. */ err =wait_on_bit_timeout (&data->flags,BTMTK_TX_WAIT_VND_EVT , -TASK_INTERRUPTIBLE ,HCI_INIT_TIMEOUT ); -if (err == -EINTR ) { -bt_dev_err (hdev,"Execution of wmt command interrupted" ); -clear_bit (BTMTK_TX_WAIT_VND_EVT , &data->flags); - goto err_free_wc; - } +TASK_UNINTERRUPTIBLE ,HCI_INIT_TIMEOUT );if (err) {bt_dev_err (hdev,"Execution of wmt command timed out" );
drivers/bus/mhi/host/boot.c +4 -4
@@ -31,8 +31,8 @@ int mhi_rddm_prepare(struct mhi_controller *mhi_cntrl,int ret;for (i =0 ; i < img_info->entries -1 ; i++, mhi_buf++, bhi_vec++) { - bhi_vec->dma_addr = mhi_buf->dma_addr; - bhi_vec->size = mhi_buf->len; + bhi_vec->dma_addr =cpu_to_le64 (mhi_buf->dma_addr); + bhi_vec->size =cpu_to_le64 (mhi_buf->len); }dev_dbg (dev,"BHIe programming for RDDM\n" );
@@ -431,8 +431,8 @@ static void mhi_firmware_copy_bhie(struct mhi_controller *mhi_cntrl,while (remainder) { to_cpy =min (remainder, mhi_buf->len);memcpy (mhi_buf->buf, buf, to_cpy); - bhi_vec->dma_addr = mhi_buf->dma_addr; - bhi_vec->size = to_cpy; + bhi_vec->dma_addr =cpu_to_le64 (mhi_buf->dma_addr); + bhi_vec->size =cpu_to_le64 (to_cpy); buf += to_cpy; remainder -= to_cpy;
drivers/bus/mhi/host/internal.h +2 -2
@@ -25,8 +25,8 @@ struct mhi_ctxt { };struct bhi_vec_entry { -u64 dma_addr; -u64 size; +__le64 dma_addr; +__le64 size; };enum mhi_fw_load_type {
drivers/bus/mhi/host/main.c +11 -1
@@ -602,7 +602,7 @@ static int parse_xfer_event(struct mhi_controller *mhi_cntrl, {dma_addr_t ptr =MHI_TRE_GET_EV_PTR (event);struct mhi_ring_element *local_rp, *ev_tre; -void *dev_rp; +void *dev_rp, *next_rp;struct mhi_buf_info *buf_info;u16 xfer_len;
@@ -621,6 +621,16 @@ static int parse_xfer_event(struct mhi_controller *mhi_cntrl, result.dir = mhi_chan->dir; local_rp = tre_ring->rp; + + next_rp = local_rp +1 ; +if (next_rp >= tre_ring->base + tre_ring->len) + next_rp = tre_ring->base; +if (dev_rp != next_rp && !MHI_TRE_DATA_GET_CHAIN (local_rp)) { +dev_err (&mhi_cntrl->mhi_dev->dev, +"Event element points to an unexpected TRE\n" ); +break ; + } +while (local_rp != dev_rp) { buf_info = buf_ring->rp;/* If it's the last TRE, get length from the event */
drivers/cdx/controller/cdx_rpmsg.c +1 -2
@@ -129,8 +129,7 @@ static int cdx_rpmsg_probe(struct rpmsg_device *rpdev) chinfo.src =RPMSG_ADDR_ANY ; chinfo.dst = rpdev->dst; -strscpy (chinfo.name, cdx_rpmsg_id_table[0 ].name, -strlen (cdx_rpmsg_id_table[0 ].name)); +strscpy (chinfo.name, cdx_rpmsg_id_table[0 ].name,sizeof (chinfo.name)); cdx_mcdi->ept =rpmsg_create_ept (rpdev, cdx_rpmsg_cb,NULL , chinfo);if (!cdx_mcdi->ept) {
drivers/comedi/comedi_fops.c +5 -0
@@ -1587,6 +1587,9 @@ static int do_insnlist_ioctl(struct comedi_device *dev,memset (&data[n],0 , (MIN_SAMPLES - n) *sizeof (unsigned int )); } + }else { + memset(data, 0, max_t(unsigned int, n, MIN_SAMPLES) * +sizeof (unsigned int )); } ret =parse_insn (dev, insns + i, data, file);if (ret <0 )
@@ -1670,6 +1673,8 @@ static int do_insn_ioctl(struct comedi_device *dev,memset (&data[insn->n],0 , (MIN_SAMPLES - insn->n) *sizeof (unsigned int )); } + }else { +memset (data,0 , n_data *sizeof (unsigned int )); } ret =parse_insn (dev, insn, data, file);if (ret <0 )
drivers/comedi/drivers.c +12 -11
@@ -620,11 +620,9 @@ static int insn_rw_emulate_bits(struct comedi_device *dev,unsigned int chan =CR_CHAN (insn->chanspec);unsigned int base_chan = (chan <32 ) ?0 : chan;unsigned int _data[2 ]; +unsigned int i;int ret; -if (insn->n ==0 ) -return 0 ; -memset (_data,0 ,sizeof (_data));memset (&_insn,0 ,sizeof (_insn)); _insn.insn =INSN_BITS ;
@@ -635,18 +633,21 @@ static int insn_rw_emulate_bits(struct comedi_device *dev,if (insn->insn ==INSN_WRITE ) {if (!(s->subdev_flags &SDF_WRITABLE ))return -EINVAL ; - _data[0 ] =1U << (chan - base_chan);/* mask */ - _data[1 ] = data[0 ] ? (1U << (chan - base_chan)) :0 ;/* bits */ + _data[0 ] =1U << (chan - base_chan);/* mask */ } +for (i =0 ; i < insn->n; i++) { +if (insn->insn ==INSN_WRITE ) + _data[1 ] = data[i] ? _data[0 ] :0 ;/* bits */ - ret = s->insn_bits (dev, s, &_insn, _data); -if (ret <0 ) -return ret; + ret = s->insn_bits (dev, s, &_insn, _data); +if (ret <0 ) +return ret; -if (insn->insn ==INSN_READ ) - data[0 ] = (_data[1 ] >> (chan - base_chan)) &1 ; +if (insn->insn ==INSN_READ ) + data[i] = (_data[1 ] >> (chan - base_chan)) &1 ; + } -return 1 ; +return insn->n; } static int __comedi_device_postconfig_async(struct comedi_device *dev,
drivers/comedi/drivers/pcl726.c +2 -1
@@ -328,7 +328,8 @@ static int pcl726_attach(struct comedi_device *dev,* Hook up the external trigger source interrupt only if the * user config option is valid and the board supports interrupts. */ -if (it->options[1 ] && (board->irq_mask & (1 << it->options[1 ]))) { +if (it->options[1 ] >0 && it->options[1 ] <16 && + (board->irq_mask & (1U << it->options[1 ]))) { ret =request_irq (it->options[1 ], pcl726_interrupt,0 , dev->board_name, dev);if (ret ==0 ) {
drivers/cpufreq/armada-8k-cpufreq.c +1 -1
@@ -103,7 +103,7 @@ static void armada_8k_cpufreq_free_table(struct freq_table *freq_tables) {int opps_index, nb_cpus =num_possible_cpus (); -for (opps_index =0 ; opps_index <= nb_cpus; opps_index++) { +for (opps_index =0 ; opps_index < nb_cpus; opps_index++) {int i;/* If cpu_dev is NULL then we reached the end of the array */
drivers/cpuidle/governors/menu.c +12 -17
@@ -287,20 +287,15 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,return 0 ; } -if (tick_nohz_tick_stopped ()) { -/* -* If the tick is already stopped, the cost of possible short -* idle duration misprediction is much higher, because the CPU -* may be stuck in a shallow idle state for a long time as a -* result of it. In that case say we might mispredict and use -* the known time till the closest timer event for the idle -* state selection. -*/ -if (predicted_ns <TICK_NSEC ) - predicted_ns = data->next_timer_ns; - }else if (latency_req > predicted_ns) { - latency_req = predicted_ns; - } +/* +* If the tick is already stopped, the cost of possible short idle +* duration misprediction is much higher, because the CPU may be stuck +* in a shallow idle state for a long time as a result of it. In that +* case, say we might mispredict and use the known time till the closest +* timer event for the idle state selection. +*/ +if (tick_nohz_tick_stopped () && predicted_ns <TICK_NSEC ) + predicted_ns = data->next_timer_ns;/* * Find the idle state with the lowest power while satisfying
@@ -316,13 +311,15 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,if (idx ==-1 ) idx = i;/* first enabled state */ +if (s->exit_latency_ns > latency_req) +break ; +if (s->target_residency_ns > predicted_ns) {/* * Use a physical idle state, not busy polling, unless * a timer is going to trigger soon enough. */ if ((drv->states[idx].flags &CPUIDLE_FLAG_POLLING ) && - s->exit_latency_ns <= latency_req && s->target_residency_ns <= data->next_timer_ns) { predicted_ns = s->target_residency_ns; idx = i;
@@ -354,8 +351,6 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,return idx; } -if (s->exit_latency_ns > latency_req) -break ; idx = i; }
drivers/crypto/caam/ctrl.c +3 -2
@@ -831,7 +831,7 @@ static int caam_ctrl_suspend(struct device *dev) {const struct caam_drv_private *ctrlpriv =dev_get_drvdata (dev); -if (ctrlpriv->caam_off_during_pm && !ctrlpriv->optee_en) +if (ctrlpriv->caam_off_during_pm && !ctrlpriv->no_page0)caam_state_save (dev);return 0 ;
@@ -842,7 +842,7 @@ static int caam_ctrl_resume(struct device *dev)struct caam_drv_private *ctrlpriv =dev_get_drvdata (dev);int ret =0 ; -if (ctrlpriv->caam_off_during_pm && !ctrlpriv->optee_en) { +if (ctrlpriv->caam_off_during_pm && !ctrlpriv->no_page0) {caam_state_restore (dev);/* HW and rng will be reset so deinstantiation can be removed */
@@ -908,6 +908,7 @@ static int caam_probe(struct platform_device *pdev) imx_soc_data = imx_soc_match->data; reg_access = reg_access && imx_soc_data->page0_access; + ctrlpriv->no_page0 = !reg_access;/* * CAAM clocks cannot be controlled from kernel. */
drivers/crypto/caam/intern.h +1 -0
@@ -115,6 +115,7 @@ struct caam_drv_private {u8 blob_present;/* Nonzero if BLOB support present in device */ u8 mc_en;/* Nonzero if MC f/w is active */ u8 optee_en;/* Nonzero if OP-TEE f/w is active */ +u8 no_page0;/* Nonzero if register page 0 is not controlled by Linux */ bool pr_support;/* RNG prediction resistance available */ int secvio_irq;/* Security violation interrupt number */ int virt_en;/* Virtualization enabled in CAAM */
drivers/crypto/ccp/sev-dev.c +8 -2
@@ -1787,8 +1787,14 @@ static int __sev_snp_shutdown_locked(int *error, bool panic) sev->snp_initialized = false;dev_dbg (sev->dev,"SEV-SNP firmware shutdown\n" ); -atomic_notifier_chain_unregister (&panic_notifier_list, - &snp_panic_notifier); +/* +* __sev_snp_shutdown_locked() deadlocks when it tries to unregister +* itself during panic as the panic notifier is called with RCU read +* lock held and notifier unregistration does RCU synchronization. +*/ +if (!panic) +atomic_notifier_chain_unregister (&panic_notifier_list, + &snp_panic_notifier);/* Reset TMR size back to default */ sev_es_tmr_size =SEV_TMR_SIZE ;
drivers/crypto/intel/qat/qat_common/adf_common_drv.h +1 -0
@@ -189,6 +189,7 @@ void adf_exit_misc_wq(void);bool adf_misc_wq_queue_work (struct work_struct *work);bool adf_misc_wq_queue_delayed_work (struct delayed_work *work,unsigned long delay); +void adf_misc_wq_flush (void );#if defined(CONFIG_PCI_IOV )int adf_sriov_configure (struct pci_dev *pdev,int numvfs);void adf_disable_sriov (struct adf_accel_dev *accel_dev);
drivers/crypto/intel/qat/qat_common/adf_init.c +1 -0
@@ -404,6 +404,7 @@ static void adf_dev_shutdown(struct adf_accel_dev *accel_dev) hw_data->exit_admin_comms (accel_dev);adf_cleanup_etr_data (accel_dev); +adf_misc_wq_flush ();adf_dev_restore (accel_dev); }
drivers/crypto/intel/qat/qat_common/adf_isr.c +5 -0
@@ -407,3 +407,8 @@ bool adf_misc_wq_queue_delayed_work(struct delayed_work *work, {return queue_delayed_work (adf_misc_wq, work, delay); } + +void adf_misc_wq_flush (void ) +{ +flush_workqueue (adf_misc_wq); +}
drivers/crypto/intel/qat/qat_common/qat_algs.c +6 -6
@@ -1277,7 +1277,7 @@ static struct aead_alg qat_aeads[] = { { .base = { .cra_name = "authenc(hmac(sha1),cbc(aes))", .cra_driver_name = "qat_aes_cbc_hmac_sha1", - .cra_priority = 4001, + .cra_priority = 100, .cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY, .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct qat_alg_aead_ctx),
@@ -1294,7 +1294,7 @@ static struct aead_alg qat_aeads[] = { { .base = { .cra_name = "authenc(hmac(sha256),cbc(aes))", .cra_driver_name = "qat_aes_cbc_hmac_sha256", - .cra_priority = 4001, + .cra_priority = 100, .cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY, .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct qat_alg_aead_ctx),
@@ -1311,7 +1311,7 @@ static struct aead_alg qat_aeads[] = { { .base = { .cra_name = "authenc(hmac(sha512),cbc(aes))", .cra_driver_name = "qat_aes_cbc_hmac_sha512", - .cra_priority = 4001, + .cra_priority = 100, .cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY, .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct qat_alg_aead_ctx),
@@ -1329,7 +1329,7 @@ static struct aead_alg qat_aeads[] = { {static struct skcipher_alg qat_skciphers[] = { { .base.cra_name ="cbc(aes)" , .base.cra_driver_name ="qat_aes_cbc" , - .base.cra_priority =4001 , + .base.cra_priority =100 , .base.cra_flags =CRYPTO_ALG_ASYNC |CRYPTO_ALG_ALLOCATES_MEMORY , .base.cra_blocksize =AES_BLOCK_SIZE , .base.cra_ctxsize =sizeof (struct qat_alg_skcipher_ctx ),
@@ -1347,7 +1347,7 @@ static struct skcipher_alg qat_skciphers[] = { { }, { .base.cra_name = "ctr(aes)", .base.cra_driver_name = "qat_aes_ctr", - .base.cra_priority = 4001, + .base.cra_priority = 100, .base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY, .base.cra_blocksize = 1, .base.cra_ctxsize = sizeof(struct qat_alg_skcipher_ctx),
@@ -1365,7 +1365,7 @@ static struct skcipher_alg qat_skciphers[] = { { }, { .base.cra_name = "xts(aes)", .base.cra_driver_name = "qat_aes_xts", - .base.cra_priority = 4001, + .base.cra_priority = 100, .base.cra_flags =CRYPTO_ALG_ASYNC |CRYPTO_ALG_NEED_FALLBACK | CRYPTO_ALG_ALLOCATES_MEMORY, .base.cra_blocksize = AES_BLOCK_SIZE,
drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h +95 -30
192 lines not on this page · raw message
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c +21 -14
@@ -1491,12 +1491,13 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf)union otx2_cpt_opcode opcode;union otx2_cpt_res_s *result;union otx2_cpt_inst_s inst; +dma_addr_t result_baddr;dma_addr_t rptr_baddr;struct pci_dev *pdev; -u32 len, compl_rlen;int timeout =10000 ; +void *base, *rptr;int ret, etype; -void *rptr; +u32 len;/* * We don't get capabilities if it was already done
@@ -1519,22 +1520,28 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf)if (ret) goto delete_grps; - compl_rlen =ALIGN (sizeof (union otx2_cpt_res_s ),OTX2_CPT_DMA_MINALIGN ); - len = compl_rlen +LOADFVC_RLEN ; +/* Allocate extra memory for "rptr" and "result" pointer alignment */ + len =LOADFVC_RLEN +ARCH_DMA_MINALIGN + +sizeof (union otx2_cpt_res_s ) +OTX2_CPT_RES_ADDR_ALIGN ; - result =kzalloc (len,GFP_KERNEL ); -if (!result) { + base =kzalloc (len,GFP_KERNEL ); +if (!base) { ret = -ENOMEM ; goto lf_cleanup; } - rptr_baddr =dma_map_single (&pdev->dev, (void *)result, len, -DMA_BIDIRECTIONAL ); + + rptr =PTR_ALIGN (base,ARCH_DMA_MINALIGN ); + rptr_baddr =dma_map_single (&pdev->dev, rptr, len,DMA_BIDIRECTIONAL );if (dma_mapping_error (&pdev->dev, rptr_baddr)) {dev_err (&pdev->dev,"DMA mapping failed\n" ); ret = -EFAULT ; - goto free_result; + goto free_rptr; } - rptr = (u8 *)result + compl_rlen; + + result = (union otx2_cpt_res_s *)PTR_ALIGN (rptr +LOADFVC_RLEN , +OTX2_CPT_RES_ADDR_ALIGN ); + result_baddr =ALIGN (rptr_baddr +LOADFVC_RLEN , +OTX2_CPT_RES_ADDR_ALIGN );/* Fill in the command */ opcode.s.major =LOADFVC_MAJOR_OP ;
@@ -1546,14 +1553,14 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf)/* 64-bit swap for microcode data reads, not needed for addresses */ cpu_to_be64s (&iq_cmd.cmd.u); iq_cmd.dptr =0 ; - iq_cmd.rptr = rptr_baddr + compl_rlen; + iq_cmd.rptr = rptr_baddr; iq_cmd.cptr.u =0 ;for (etype =1 ; etype <OTX2_CPT_MAX_ENG_TYPES ; etype++) { result->s.compcode =OTX2_CPT_COMPLETION_CODE_INIT ; iq_cmd.cptr.s.grp =otx2_cpt_get_eng_grp (&cptpf->eng_grps, etype); -otx2_cpt_fill_inst (&inst, &iq_cmd, rptr_baddr); +otx2_cpt_fill_inst (&inst, &iq_cmd, result_baddr); lfs->ops->send_cmd (&inst,1 , &cptpf->lfs.lf[0 ]); timeout =10000 ;
@@ -1576,8 +1583,8 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf) error_no_response:dma_unmap_single (&pdev->dev, rptr_baddr, len,DMA_BIDIRECTIONAL ); -free_result: -kfree (result); +free_rptr: +kfree (base); lf_cleanup:otx2_cptlf_shutdown (lfs); delete_grps:
drivers/fpga/zynq-fpga.c +5 -5
@@ -405,12 +405,12 @@ static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt) } } - priv->dma_nelms = -dma_map_sg (mgr->dev.parent, sgt->sgl, sgt->nents,DMA_TO_DEVICE ); -if (priv->dma_nelms ==0 ) { + err =dma_map_sgtable (mgr->dev.parent, sgt,DMA_TO_DEVICE ,0 ); +if (err) {dev_err (&mgr->dev,"Unable to DMA map (TO_DEVICE)\n" ); -return -ENOMEM ; +return err; } + priv->dma_nelms = sgt->nents;/* enable clock */ err =clk_enable (priv->clk);
@@ -478,7 +478,7 @@ static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt)clk_disable (priv->clk); out_free: -dma_unmap_sg (mgr->dev.parent, sgt->sgl, sgt->nents,DMA_TO_DEVICE ); +dma_unmap_sgtable (mgr->dev.parent, sgt,DMA_TO_DEVICE ,0 );return err; }
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -0
@@ -886,6 +886,7 @@ struct amdgpu_mqd_prop {uint64_t csa_addr;uint64_t fence_address;bool tmz_queue; +bool kernel_queue; };struct amdgpu_mqd {
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c +4 -2
@@ -459,7 +459,7 @@ static u32 amdgpu_cper_ring_get_ent_sz(struct amdgpu_ring *ring, u64 pos)void amdgpu_cper_ring_write (struct amdgpu_ring *ring,void *src,int count) { -u64 pos, wptr_old, rptr = *ring->rptr_cpu_addr & ring->ptr_mask; +u64 pos, wptr_old, rptr;int rec_cnt_dw = count >>2 ;u32 chunk, ent_sz;u8 *s = (u8 *)src;
@@ -472,9 +472,11 @@ void amdgpu_cper_ring_write(struct amdgpu_ring *ring, void *src, int count)return ; } +mutex_lock (&ring->adev->cper.ring_lock); + wptr_old = ring->wptr; + rptr = *ring->rptr_cpu_addr & ring->ptr_mask; -mutex_lock (&ring->adev->cper.ring_lock);while (count) { ent_sz =amdgpu_cper_ring_get_ent_sz (ring, ring->wptr); chunk =umin (ent_sz, count);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +3 -0
@@ -1138,6 +1138,9 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p) } } +if (!amdgpu_vm_ready (vm)) +return -EINVAL ; + r =amdgpu_vm_clear_freed (adev, vm,NULL );if (r)return r;
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -3
@@ -2561,9 +2561,6 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev) adev->firmware.gpu_info_fw =NULL ; -if (adev->mman.discovery_bin) -return 0 ; -switch (adev->asic_type) {default :return 0 ;
@@ -2585,6 +2582,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev) chip_name ="arcturus" ;break ;case CHIP_NAVI12 : +if (adev->mman.discovery_bin) +return 0 ; chip_name ="navi12" ;break ; }
@@ -3235,6 +3234,7 @@ static bool amdgpu_device_check_vram_lost(struct amdgpu_device *adev)* always assumed to be lost. */ switch (amdgpu_asic_reset_method (adev)) { +case AMD_RESET_METHOD_LEGACY :case AMD_RESET_METHOD_LINK :case AMD_RESET_METHOD_BACO :case AMD_RESET_METHOD_MODE1 :
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +41 -35
69 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +0 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +13 -8
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +10 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.c +32 -25
57 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c +104 -1
105 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/mmhub_v4_1_0.c +13 -21
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_module.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +51 -10
61 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +15 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +12 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +28 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +1 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/bios/command_table.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c +10 -9
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c +23 -17
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/dce60_clk_mgr.c +9 -22
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc.c +24 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c +20 -14
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +16 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c +25 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/display/drm_dp_helper.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/drm_format_helper.c +98 -10
108 lines not on this page · raw message
drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c +12 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +13 -9
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display_irq.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_tc.c +75 -18
93 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_workarounds.c +11 -9
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/tests/drm_format_helper_test.c +18 -93
111 lines not on this page · raw message
drivers/gpu/drm/xe/xe_shrinker.c +47 -4
51 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +23 -25
48 lines not on this page · raw message
drivers/iio/adc/ad7173.c +108 -29
137 lines not on this page · raw message
drivers/iio/imu/inv_icm42600/inv_icm42600.h +4 -4
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c +15 -16
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c +11 -11
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h +5 -5
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c +20 -21
41 lines not on this page · raw message
drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/iio/temperature/maxim_thermocouple.c +16 -10
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/ib_verbs.c +2 -6
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_fp.c +1 -29
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_fp.h +0 -2
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_res.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/erdma/erdma_verbs.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_restrack.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/md/dm-crypt.c +39 -10
49 lines not on this page · raw message
drivers/md/dm-raid.c +21 -21
42 lines not on this page · raw message
drivers/md/md.c +72 -38
110 lines not on this page · raw message
drivers/media/cec/usb/rainshadow/rainshadow-cec.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/camss/camss.c +11 -9
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_buffer.c +19 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_buffer.h +2 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_ctrls.c +1 -6
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c +11 -16
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen1_defines.h +0 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c +12 -8
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c +7 -4
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_queue.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_instance.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_platform_common.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_platform_sm8250.c +0 -9
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_state.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_state.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_vb2.c +8 -7
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_vdec.c +7 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_vidc.c +31 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/core.c +9 -9
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/core.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/hfi_venus.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/vdec.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/venc.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/raspberrypi/pisp_be/Kconfig +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/raspberrypi/pisp_be/pisp_be.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/verisilicon/rockchip_vpu_hw.c +0 -9
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vivid/vivid-ctrls.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vivid/vivid-vid-cap.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/v4l2-core/v4l2-ctrls-core.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/renesas-nand-controller.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/bonding/bond_3ad.c +49 -18
67 lines not on this page · raw message
drivers/net/ethernet/airoha/airoha_ppe.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_main.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +7 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/devlink/devlink.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_ppe_offload.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/dcbnl.h +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c +8 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_hmfs.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c +9 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/port.c +20 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c +28 -13
41 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c +10 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.h +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/trap.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/lan865x/lan865x.c +21 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/rtase/rtase.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ti/icssg/icssg_prueth.c +41 -31
72 lines not on this page · raw message
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/net/phy/mscc/mscc_ptp.c +37 -12
49 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/dp_rx.c +0 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-designware.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-rockchip-ep.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-rockchip-host.c +27 -22
49 lines not on this page · raw message
drivers/pci/controller/pcie-rockchip.h +1 -11
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/pwm/pwm-mediatek.c +37 -34
71 lines not on this page · raw message
drivers/soc/qcom/mdt_loader.c +43 -0
43 lines not on this page · raw message
drivers/soc/tegra/pmc.c +29 -22
51 lines not on this page · raw message
drivers/staging/media/imx/imx-media-csc-scaler.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/tty/vt/defkeymap.c_shipped +112 -0
112 lines not on this page · raw message
drivers/ufs/host/ufs-qcom.c +16 -26
42 lines not on this page · raw message
drivers/ufs/host/ufshcd-pci.c +41 -1
42 lines not on this page · raw message
drivers/usb/atm/cxacru.c +49 -57
106 lines not on this page · raw message
drivers/usb/typec/tcpm/maxim_contaminant.c +58 -0
58 lines not on this page · raw message
fs/btrfs/extent_io.c +49 -45
94 lines not on this page · raw message
fs/btrfs/subpage.c +135 -123
258 lines not on this page · raw message
fs/btrfs/subpage.h +35 -10
45 lines not on this page · raw message
fs/btrfs/zoned.c +57 -13
70 lines not on this page · raw message
fs/namespace.c +42 -27
69 lines not on this page · raw message
fs/xfs/xfs_trans.c +29 -27
56 lines not on this page · raw message
include/linux/kcov.h +9 -38
47 lines not on this page · raw message
include/net/bluetooth/hci_core.h +45 -9
54 lines not on this page · raw message
mm/mremap.c +23 -18
41 lines not on this page · raw message
sound/soc/codecs/cs35l56-sdw.c +0 -69
69 lines not on this page · raw message
tools/objtool/arch/loongarch/special.c +23 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/mptcp_connect.c +3 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/mptcp_inq.c +3 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/mptcp_sockopt.c +3 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/pm_netlink.sh +1 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.16.4 kernel.
All users of the 6.16 kernel series must upgrade.
The updated 6.16.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.16.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml | 56 +- Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml | 2 Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml | 2 Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml | 4 Documentation/networking/mptcp-sysctl.rst | 2 Makefile | 4 arch/arm/lib/crypto/poly1305-glue.c | 3 arch/arm64/boot/dts/apple/t8012-j132.dts | 1 arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts | 2 arch/arm64/boot/dts/exynos/exynos7870-on7xelte.dts | 2 arch/arm64/boot/dts/exynos/exynos7870.dtsi | 1 arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 arch/arm64/boot/dts/rockchip/rk3576.dtsi | 7 arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 11 arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 24 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 12 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 24 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 4 arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 arch/arm64/boot/dts/ti/k3-pinctrl.h | 15 arch/arm64/lib/crypto/poly1305-glue.c | 3 arch/loongarch/Makefile | 6 arch/loongarch/kernel/module-sections.c | 36 - arch/loongarch/kvm/intc/eiointc.c | 32 - arch/loongarch/kvm/intc/ipi.c | 8 arch/loongarch/kvm/intc/pch_pic.c | 10 arch/loongarch/kvm/vcpu.c | 8 arch/m68k/kernel/head.S | 31 - arch/mips/lib/crypto/chacha-core.S | 20 arch/parisc/Makefile | 4 arch/parisc/include/asm/pgtable.h | 7 arch/parisc/include/asm/special_insns.h | 28 + arch/parisc/include/asm/uaccess.h | 21 arch/parisc/kernel/cache.c | 6 arch/parisc/kernel/entry.S | 17 arch/parisc/kernel/syscall.S | 30 - arch/parisc/lib/memcpy.c | 19 arch/parisc/mm/fault.c | 4 arch/s390/boot/vmem.c | 3 arch/s390/hypfs/hypfs_dbfs.c | 19 arch/x86/crypto/aegis128-aesni-glue.c | 40 + arch/x86/include/asm/xen/hypercall.h | 5 arch/x86/kernel/cpu/amd.c | 8 arch/x86/kernel/cpu/hygon.c | 3 block/bfq-iosched.c | 13 block/blk-mq-debugfs.c | 1 block/blk-mq-sched.c | 223 +++++--- block/blk-mq-sched.h | 12 block/blk-mq.c | 29 - block/blk-rq-qos.c | 8 block/blk-rq-qos.h | 48 + block/blk-sysfs.c | 2 block/blk.h | 4 block/elevator.c | 38 + block/elevator.h | 16 block/kyber-iosched.c | 11 block/mq-deadline.c | 14 crypto/deflate.c | 7 drivers/accel/habanalabs/gaudi2/gaudi2.c | 2 drivers/acpi/apei/einj-core.c | 12 drivers/acpi/pfr_update.c | 2 drivers/ata/Kconfig | 36 + drivers/ata/libata-scsi.c | 49 - drivers/base/power/runtime.c | 27 - drivers/bluetooth/btmtk.c | 7 drivers/bus/mhi/host/boot.c | 8 drivers/bus/mhi/host/internal.h | 4 drivers/bus/mhi/host/main.c | 12 drivers/cdx/controller/cdx_rpmsg.c | 3 drivers/comedi/comedi_fops.c | 5 drivers/comedi/drivers.c | 23 drivers/comedi/drivers/pcl726.c | 3 drivers/cpufreq/armada-8k-cpufreq.c | 2 drivers/cpuidle/governors/menu.c | 29 - drivers/crypto/caam/ctrl.c | 5 drivers/crypto/caam/intern.h | 1 drivers/crypto/ccp/sev-dev.c | 10 drivers/crypto/intel/qat/qat_common/adf_common_drv.h | 1 drivers/crypto/intel/qat/qat_common/adf_init.c | 1 drivers/crypto/intel/qat/qat_common/adf_isr.c | 5 drivers/crypto/intel/qat/qat_common/qat_algs.c | 12 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h | 125 +++- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 35 - drivers/fpga/zynq-fpga.c | 10 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 76 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 7 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 21 drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 5 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 14 drivers/gpu/drm/amd/amdgpu/imu_v12_0.c | 13 drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.c | 57 +- drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 105 ++++ drivers/gpu/drm/amd/amdgpu/mmhub_v4_1_0.c | 34 - drivers/gpu/drm/amd/amdgpu/psp_v14_0.c | 2 drivers/gpu/drm/amd/amdgpu/soc15.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_module.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 61 +- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 20 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 19 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 28 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 5 drivers/gpu/drm/amd/display/dc/bios/command_table.c | 2 drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 1 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c | 19 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c | 40 - drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/dce60_clk_mgr.c | 31 - drivers/gpu/drm/amd/display/dc/core/dc.c | 34 - drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c | 34 - drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 3 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 16 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 11 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 30 - drivers/gpu/drm/display/drm_dp_helper.c | 2 drivers/gpu/drm/drm_format_helper.c | 108 +++- drivers/gpu/drm/drm_format_internal.h | 8 drivers/gpu/drm/drm_panic_qr.rs | 22 drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c | 14 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 22 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c | 5 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 11 drivers/gpu/drm/i915/display/intel_display_irq.c | 4 drivers/gpu/drm/i915/display/intel_tc.c | 93 ++- drivers/gpu/drm/i915/gt/intel_workarounds.c | 20 drivers/gpu/drm/nouveau/nvif/vmm.c | 3 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c | 4 drivers/gpu/drm/nova/file.rs | 3 drivers/gpu/drm/tests/drm_format_helper_test.c | 111 ---- drivers/gpu/drm/xe/Kconfig | 1 drivers/gpu/drm/xe/xe_migrate.c | 2 drivers/gpu/drm/xe/xe_pxp_submit.c | 2 drivers/gpu/drm/xe/xe_shrinker.c | 51 + drivers/gpu/drm/xe/xe_vm.c | 48 - drivers/gpu/drm/xe/xe_vm.h | 2 drivers/hwmon/gsc-hwmon.c | 4 drivers/i2c/busses/i2c-qcom-geni.c | 6 drivers/i2c/busses/i2c-rtl9300.c | 20 drivers/iio/accel/sca3300.c | 2 drivers/iio/adc/Kconfig | 2 drivers/iio/adc/ad7124.c | 14 drivers/iio/adc/ad7173.c | 137 ++++- drivers/iio/adc/ad7380.c | 1 drivers/iio/adc/ad_sigma_delta.c | 4 drivers/iio/adc/rzg2l_adc.c | 33 - drivers/iio/imu/bno055/bno055.c | 11 drivers/iio/imu/inv_icm42600/inv_icm42600.h | 8 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c | 31 - drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c | 22 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.h | 10 drivers/iio/imu/inv_icm42600/inv_icm42600_core.c | 6 drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c | 41 - drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c | 12 drivers/iio/light/as73211.c | 2 drivers/iio/pressure/bmp280-core.c | 9 drivers/iio/proximity/isl29501.c | 16 drivers/iio/temperature/maxim_thermocouple.c | 26 - drivers/infiniband/core/umem_odp.c | 4 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 8 drivers/infiniband/hw/bnxt_re/main.c | 23 drivers/infiniband/hw/bnxt_re/qplib_fp.c | 30 - drivers/infiniband/hw/bnxt_re/qplib_fp.h | 2 drivers/infiniband/hw/bnxt_re/qplib_res.c | 2 drivers/infiniband/hw/erdma/erdma_verbs.c | 6 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 6 drivers/infiniband/hw/hns/hns_roce_restrack.c | 9 drivers/infiniband/sw/rxe/rxe_net.c | 29 - drivers/infiniband/sw/rxe/rxe_qp.c | 2 drivers/iommu/amd/init.c | 4 drivers/iommu/apple-dart.c | 1 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 drivers/iommu/intel/iommu.c | 1 drivers/iommu/iommufd/selftest.c | 1 drivers/iommu/riscv/iommu.c | 3 drivers/iommu/virtio-iommu.c | 19 drivers/md/dm-crypt.c | 49 + drivers/md/dm-raid.c | 42 - drivers/md/dm.c | 17 drivers/md/md-bitmap.c | 8 drivers/md/md-cluster.c | 16 drivers/md/md.c | 110 ++-- drivers/md/md.h | 2 drivers/md/raid0.c | 6 drivers/md/raid1-10.c | 2 drivers/md/raid1.c | 10 drivers/md/raid10.c | 16 drivers/md/raid5-ppl.c | 6 drivers/md/raid5.c | 30 - drivers/media/cec/usb/rainshadow/rainshadow-cec.c | 3 drivers/media/i2c/hi556.c | 26 - drivers/media/i2c/mt9m114.c | 8 drivers/media/i2c/ov2659.c | 3 drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c | 12 drivers/media/pci/intel/ivsc/mei_ace.c | 2 drivers/media/pci/intel/ivsc/mei_csi.c | 2 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c | 3 drivers/media/platform/qcom/camss/camss.c | 20 drivers/media/platform/qcom/iris/iris_buffer.c | 20 drivers/media/platform/qcom/iris/iris_buffer.h | 3 drivers/media/platform/qcom/iris/iris_ctrls.c | 7 drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c | 27 - drivers/media/platform/qcom/iris/iris_hfi_gen1_defines.h | 1 drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c | 20 drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c | 4 drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c | 11 drivers/media/platform/qcom/iris/iris_hfi_queue.c | 2 drivers/media/platform/qcom/iris/iris_instance.h | 2 drivers/media/platform/qcom/iris/iris_platform_common.h | 2 drivers/media/platform/qcom/iris/iris_platform_sm8250.c | 9 drivers/media/platform/qcom/iris/iris_state.c | 2 drivers/media/platform/qcom/iris/iris_state.h | 1 drivers/media/platform/qcom/iris/iris_vb2.c | 15 drivers/media/platform/qcom/iris/iris_vdec.c | 9 drivers/media/platform/qcom/iris/iris_vidc.c | 33 + drivers/media/platform/qcom/venus/core.c | 18 drivers/media/platform/qcom/venus/core.h | 2 drivers/media/platform/qcom/venus/hfi_venus.c | 5 drivers/media/platform/qcom/venus/vdec.c | 5 drivers/media/platform/qcom/venus/venc.c | 5 drivers/media/platform/raspberrypi/pisp_be/Kconfig | 1 drivers/media/platform/raspberrypi/pisp_be/pisp_be.c | 5 drivers/media/platform/verisilicon/rockchip_vpu_hw.c | 9 drivers/media/test-drivers/vivid/vivid-ctrls.c | 3 drivers/media/test-drivers/vivid/vivid-vid-cap.c | 4 drivers/media/usb/gspca/vicam.c | 10 drivers/media/usb/usbtv/usbtv-video.c | 4 drivers/media/v4l2-core/v4l2-ctrls-core.c | 1 drivers/memstick/core/memstick.c | 1 drivers/memstick/host/rtsx_usb_ms.c | 1 drivers/mfd/mt6397-core.c | 12 drivers/mmc/host/sdhci-of-arasan.c | 33 + drivers/mmc/host/sdhci-pci-gli.c | 37 - drivers/mmc/host/sdhci_am654.c | 18 drivers/most/core.c | 2 drivers/mtd/nand/raw/fsmc_nand.c | 2 drivers/mtd/nand/raw/renesas-nand-controller.c | 6 drivers/mtd/nand/spi/core.c | 5 drivers/mtd/spi-nor/swp.c | 19 drivers/net/bonding/bond_3ad.c | 67 +- drivers/net/bonding/bond_options.c | 1 drivers/net/dsa/microchip/ksz_common.c | 6 drivers/net/ethernet/airoha/airoha_ppe.c | 4 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 drivers/net/ethernet/google/gve/gve_main.c | 2 drivers/net/ethernet/intel/igc/igc_main.c | 14 drivers/net/ethernet/intel/ixgbe/devlink/devlink.c | 1 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 4 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 4 drivers/net/ethernet/mediatek/mtk_ppe_offload.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en/dcbnl.h | 1 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c | 18 drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_hmfs.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c | 12 drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c | 4 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h | 2 drivers/net/ethernet/mellanox/mlx5/core/port.c | 20 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c | 41 + drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c | 1 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.h | 1 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c | 1 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c | 5 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h | 1 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c | 1 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c | 13 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.h | 3 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 drivers/net/ethernet/mellanox/mlxsw/trap.h | 1 drivers/net/ethernet/microchip/lan865x/lan865x.c | 21 drivers/net/ethernet/realtek/rtase/rtase.h | 2 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c | 9 drivers/net/ethernet/ti/icssg/icssg_prueth.c | 72 +- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 8 drivers/net/phy/mscc/mscc.h | 12 drivers/net/phy/mscc/mscc_main.c | 12 drivers/net/phy/mscc/mscc_ptp.c | 49 + drivers/net/ppp/ppp_generic.c | 17 drivers/net/usb/asix_devices.c | 2 drivers/net/wireless/ath/ath11k/ce.c | 3 drivers/net/wireless/ath/ath11k/dp_rx.c | 3 drivers/net/wireless/ath/ath11k/hal.c | 33 + drivers/net/wireless/ath/ath12k/ce.c | 3 drivers/net/wireless/ath/ath12k/hal.c | 38 + drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 2 drivers/pci/controller/dwc/pci-imx6.c | 12 drivers/pci/controller/dwc/pcie-designware.c | 8 drivers/pci/controller/pcie-rockchip-ep.c | 4 drivers/pci/controller/pcie-rockchip-host.c | 49 + drivers/pci/controller/pcie-rockchip.h | 12 drivers/pci/endpoint/pci-ep-cfs.c | 1 drivers/pci/endpoint/pci-epf-core.c | 2 drivers/pci/pci.h | 32 - drivers/pci/pcie/portdrv.c | 2 drivers/phy/qualcomm/phy-qcom-m31.c | 14 drivers/platform/chrome/cros_ec.c | 3 drivers/platform/x86/amd/hsmp/hsmp.c | 5 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c | 5 drivers/pwm/pwm-imx-tpm.c | 9 drivers/pwm/pwm-mediatek.c | 71 +- drivers/regulator/pca9450-regulator.c | 13 drivers/regulator/tps65219-regulator.c | 12 drivers/s390/char/sclp.c | 11 drivers/scsi/mpi3mr/mpi3mr.h | 6 drivers/scsi/mpi3mr/mpi3mr_fw.c | 17 drivers/scsi/mpi3mr/mpi3mr_os.c | 2 drivers/scsi/qla4xxx/ql4_os.c | 2 drivers/soc/qcom/mdt_loader.c | 43 + drivers/soc/tegra/pmc.c | 51 + drivers/spi/spi-fsl-lpspi.c | 8 drivers/spi/spi-qpic-snand.c | 22 drivers/staging/media/imx/imx-media-csc-scaler.c | 2 drivers/tty/serial/8250/8250_port.c | 3 drivers/tty/vt/defkeymap.c_shipped | 112 ++++ drivers/tty/vt/keyboard.c | 2 drivers/ufs/core/ufshcd.c | 10 drivers/ufs/host/ufs-exynos.c | 4 drivers/ufs/host/ufs-qcom.c | 42 - drivers/ufs/host/ufshcd-pci.c | 42 + drivers/usb/atm/cxacru.c | 106 +--- drivers/usb/core/hcd.c | 20 drivers/usb/core/quirks.c | 1 drivers/usb/dwc3/dwc3-imx8mp.c | 7 drivers/usb/dwc3/dwc3-meson-g12a.c | 3 drivers/usb/dwc3/dwc3-pci.c | 2 drivers/usb/dwc3/ep0.c | 20 drivers/usb/dwc3/gadget.c | 19 drivers/usb/gadget/udc/renesas_usb3.c | 1 drivers/usb/host/xhci-hub.c | 3 drivers/usb/host/xhci-mem.c | 22 drivers/usb/host/xhci-pci-renesas.c | 7 drivers/usb/host/xhci-ring.c | 9 drivers/usb/host/xhci.c | 23 drivers/usb/host/xhci.h | 3 drivers/usb/musb/omap2430.c | 14 drivers/usb/storage/realtek_cr.c | 2 drivers/usb/storage/unusual_devs.h | 29 + drivers/usb/typec/tcpm/maxim_contaminant.c | 58 ++ drivers/usb/typec/tcpm/tcpci_maxim.h | 1 drivers/vhost/vsock.c | 6 drivers/video/console/vgacon.c | 2 fs/btrfs/ctree.c | 23 fs/btrfs/extent-tree.c | 2 fs/btrfs/extent_io.c | 94 +-- fs/btrfs/extent_io.h | 2 fs/btrfs/fiemap.c | 2 fs/btrfs/free-space-tree.c | 17 fs/btrfs/inode.c | 8 fs/btrfs/print-tree.c | 2 fs/btrfs/qgroup.c | 6 fs/btrfs/relocation.c | 4 fs/btrfs/subpage.c | 258 +++++----- fs/btrfs/subpage.h | 45 + fs/btrfs/super.c | 13 fs/btrfs/tree-log.c | 4 fs/btrfs/zoned.c | 70 ++ fs/buffer.c | 2 fs/debugfs/inode.c | 11 fs/erofs/Kconfig | 18 fs/ext4/fsmap.c | 23 fs/ext4/indirect.c | 4 fs/ext4/inode.c | 2 fs/ext4/orphan.c | 5 fs/ext4/super.c | 8 fs/f2fs/node.c | 10 fs/fhandle.c | 2 fs/internal.h | 3 fs/iomap/direct-io.c | 14 fs/jbd2/checkpoint.c | 1 fs/libfs.c | 27 - fs/namespace.c | 69 +- fs/netfs/read_collect.c | 4 fs/netfs/write_collect.c | 10 fs/netfs/write_issue.c | 4 fs/nfs/pagelist.c | 9 fs/nfs/write.c | 29 - fs/overlayfs/copy_up.c | 2 fs/proc/task_mmu.c | 4 fs/smb/client/smb2ops.c | 2 fs/smb/server/connection.c | 3 fs/smb/server/connection.h | 7 fs/smb/server/oplock.c | 13 fs/smb/server/transport_rdma.c | 5 fs/smb/server/transport_rdma.h | 4 fs/smb/server/transport_tcp.c | 26 - fs/splice.c | 3 fs/squashfs/super.c | 14 fs/xfs/libxfs/xfs_refcount.c | 4 fs/xfs/scrub/common.c | 3 fs/xfs/scrub/repair.c | 12 fs/xfs/scrub/scrub.c | 5 fs/xfs/xfs_attr_item.c | 5 fs/xfs/xfs_discard.c | 12 fs/xfs/xfs_fsmap.c | 4 fs/xfs/xfs_icache.c | 5 fs/xfs/xfs_inode.c | 7 fs/xfs/xfs_itable.c | 24 fs/xfs/xfs_iwalk.c | 11 fs/xfs/xfs_notify_failure.c | 6 fs/xfs/xfs_qm.c | 10 fs/xfs/xfs_rtalloc.c | 13 fs/xfs/xfs_trans.c | 56 +- fs/xfs/xfs_trans.h | 3 fs/xfs/xfs_zone_alloc.c | 10 fs/xfs/xfs_zone_gc.c | 5 include/crypto/hash.h | 2 include/crypto/internal/acompress.h | 5 include/drm/drm_format_helper.h | 9 include/drm/intel/pciids.h | 1 include/linux/blkdev.h | 1 include/linux/compiler.h | 8 include/linux/iosys-map.h | 7 include/linux/iov_iter.h | 20 include/linux/kcov.h | 47 - include/linux/mlx5/mlx5_ifc.h | 14 include/linux/netfs.h | 1 include/linux/nfs_page.h | 1 include/net/bluetooth/bluetooth.h | 4 include/net/bluetooth/hci.h | 1 include/net/bluetooth/hci_core.h | 54 +- include/net/bond_3ad.h | 1 include/net/devlink.h | 6 include/net/sch_generic.h | 11 include/sound/cs35l56.h | 5 include/trace/events/btrfs.h | 2 include/uapi/linux/pfrut.h | 1 include/uapi/linux/raid/md_p.h | 2 io_uring/futex.c | 3 kernel/Kconfig.kexec | 1 kernel/cgroup/cpuset.c | 9 kernel/cgroup/rstat.c | 3 kernel/kexec_handover.c | 29 - kernel/sched/ext.c | 4 kernel/signal.c | 6 kernel/trace/ftrace.c | 19 kernel/trace/trace.c | 34 - kernel/trace/trace.h | 10 mm/damon/core.c | 15 mm/damon/paddr.c | 4 mm/debug_vm_pgtable.c | 9 mm/filemap.c | 3 mm/kasan/kasan_test_c.c | 2 mm/memory-failure.c | 8 mm/mremap.c | 41 - net/bluetooth/hci_conn.c | 17 net/bluetooth/hci_core.c | 27 - net/bluetooth/hci_event.c | 15 net/bluetooth/hci_sync.c | 33 - net/bluetooth/iso.c | 20 net/bluetooth/mgmt.c | 13 net/bridge/br_multicast.c | 16 net/bridge/br_private.h | 2 net/core/dev.c | 12 net/devlink/port.c | 2 net/hsr/hsr_slave.c | 8 net/ipv4/netfilter/nf_reject_ipv4.c | 6 net/ipv6/netfilter/nf_reject_ipv6.c | 5 net/ipv6/seg6_hmac.c | 6 net/mptcp/options.c | 6 net/mptcp/pm.c | 18 net/mptcp/pm_kernel.c | 1 net/sched/sch_cake.c | 14 net/sched/sch_codel.c | 12 net/sched/sch_fq.c | 12 net/sched/sch_fq_codel.c | 12 net/sched/sch_fq_pie.c | 12 net/sched/sch_hhf.c | 12 net/sched/sch_htb.c | 2 net/sched/sch_pie.c | 12 net/smc/af_smc.c | 3 net/tls/tls_sw.c | 7 net/vmw_vsock/virtio_transport.c | 12 rust/kernel/alloc/allocator.rs | 30 - rust/kernel/alloc/allocator_test.rs | 11 rust/kernel/drm/device.rs | 32 - rust/kernel/faux.rs | 2 security/apparmor/lsm.c | 4 sound/core/timer.c | 4 sound/pci/hda/patch_realtek.c | 2 sound/pci/hda/tas2781_hda_i2c.c | 2 sound/soc/codecs/cs35l56-sdw.c | 69 -- sound/soc/codecs/cs35l56-shared.c | 29 + sound/soc/codecs/cs35l56.c | 2 sound/soc/codecs/cs35l56.h | 3 sound/soc/sof/amd/acp-loader.c | 6 sound/usb/stream.c | 2 sound/usb/validate.c | 2 tools/objtool/arch/loongarch/special.c | 23 tools/testing/selftests/net/mptcp/mptcp_connect.c | 5 tools/testing/selftests/net/mptcp/mptcp_inq.c | 5 tools/testing/selftests/net/mptcp/mptcp_sockopt.c | 5 tools/testing/selftests/net/mptcp/pm_netlink.sh | 1 498 files changed, 4865 insertions(+), 2704 deletions(-)
Adrian Huang (Lenovo) (1):
signal: Fix memory leak for PIDFD_SELF* sentinels
Adrian Hunter (1):
scsi: ufs: ufs-pci: Fix default runtime and system PM levels
Akhilesh Patil (1):
RDMA/core: Free pfn_list with appropriate kvfree call
Al Viro (1):
use uniform permission checks for all mount propagation changes
Alan Huang (1):
xfs: Remove unused label in xfs_dax_notify_dev_failure
Aleksa Sarai (1):
open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE
Alex Deucher (7):
drm/amdgpu/discovery: fix fw based ip discovery drm/amdgpu: add missing vram lost check for LEGACY RESET drm/amdgpu: track whether a queue is a kernel queue in amdgpu_mqd_prop drm/amdgpu: update mmhub 3.0.1 client id mappings drm/amdgpu: update mmhub 3.3 client id mappings drm/amdgpu: update mmhub 4.1.0 client id mappings drm/amdgpu/swm14: Update power limit logic
Alex Guo (1):
i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer
Alex Vesker (1):
net/mlx5: HWS, Fix table creation UID
Alexander Sverdlin (1):
arm64: dts: ti: k3-pinctrl: Enable Schmitt Trigger by default
Alexander Wilhelm (1):
bus: mhi: host: Fix endianness of BHI vector table
Alexei Lazar (1):
net/mlx5e: Query FW for buffer ownership
Amber Lin (1):
drm/amdkfd: Destroy KFD debugfs after destroy KFD wq
Amit Sunil Dhamne (2):
usb: typec: maxim_contaminant: disable low power mode when reading comparator values
usb: typec: maxim_contaminant: re-enable cc toggle if cc is open and port is clean
Anantha Prabhu (1):
RDMA/bnxt_re: Fix to initialize the PBL array
Andrea Righi (1):
sched/ext: Fix invalid task state transitions on class switch
Andreas Dilger (1):
ext4: check fast symlink for ea_inode correctly
André Draszik (1):
scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE
Andy Shevchenko (1):
iio: imu: inv_icm42600: Convert to uXX and sXX integer types
Archana Patni (1):
scsi: ufs: ufs-pci: Fix hibernate state transition for Intel MTL-like host controllers
Armen Ratner (1):
net/mlx5e: Preserve shared buffer capacity during headroom updates
Ashish Kalra (1):
crypto: ccp - Fix SNP panic notifier unregistration
Baihan Li (5):
drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local drm/hisilicon/hibmc: fix the hibmc loaded failed bug drm/hisilicon/hibmc: fix rare monitors cannot display problem drm/hisilicon/hibmc: fix dp and vga cannot show together
Bao D. Nguyen (1):
scsi: ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6
Baokun Li (2):
ext4: preserve SB_I_VERSION on remount
jbd2: prevent softlockup in jbd2_log_do_checkpoint()
Bart Van Assche (2):
scsi: ufs: core: Fix IRQ lock inversion for the SCSI host lock
scsi: ufs: core: Remove WARN_ON_ONCE() call from ufshcd_uic_cmd_compl()
Bharat Bhushan (3):
crypto: octeontx2 - Fix address alignment issue on ucode loading
crypto: octeontx2 - Fix address alignment on CN10K A0/A1 and OcteonTX2
crypto: octeontx2 - Fix address alignment on CN10KB and CN10KA-B0
Bibo Mao (4):
LoongArch: KVM: Make function kvm_own_lbt() robust
LoongArch: KVM: Fix stack protector issue in send_ipi_data()
LoongArch: KVM: Add address alignment check in pch_pic register access
LoongArch: KVM: Use standard bitops API with eiointc
Bingbu Cao (1):
media: hi556: correct the test pattern configuration
Bjorn Andersson (1):
soc: qcom: mdt_loader: Ensure we don't read past the ELF header
Bo Liu (OpenAnolis) (1):
erofs: fix build error with CONFIG_EROFS_FS_ZIP_ACCEL=y
Boshi Yu (2):
RDMA/erdma: Fix ignored return value of init_kernel_qp RDMA/erdma: Fix unset QPN of GSI QP
Bryan O'Donoghue (2):
media: qcom: camss: csiphy-3ph: Fix inadvertent dropping of SDM660/SDM670 phy init
media: qcom: camss: Remove extraneous -supply postfix on supply names
Chao Yu (1):
f2fs: fix to avoid out-of-boundary access in dnode page
Charalampos Mitrodimas (1):
debugfs: fix mount options not being applied
Chen Yu (1):
ACPI: pfr_update: Fix the driver update version check
Chenyuan Yang (1):
drm/amd/display: Add null pointer check in mod_hdcp_hdcp1_create_session()
Chi Zhiling (1):
readahead: fix return value of page_cache_next_miss() when no hole is found
Christian Brauner (1):
libfs: massage path_from_stashed() to allow custom stashing behavior
Christoph Hellwig (5):
xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc
xfs: return the allocated transaction from xfs_trans_alloc_empty
xfs: improve the comments in xfs_select_zone_nowait
xfs: fully decouple XFS_IBULK* flags from XFS_IWALK* flags
xfs: fix frozen file system assert in xfs_trans_alloc
Christoph Manszewski (1):
drm/xe: Fix vm_bind_ioctl double free bug
Christoph Paasch (1):
mptcp: drop skb if MPTCP skb extension allocation fails
Claudiu Beznea (2):
iio: adc: rzg2l_adc: Set driver data before enabling runtime PM
iio: adc: rzg2l: Cleanup suspend/resume path
Cristian Ciocaltea (3):
arm64: dts: rockchip: Add HDMI PHY PLL clock source to VOP2 on rk3576
arm64: dts: rockchip: Enable HDMI PHY clk provider on rk3576
dt-bindings: display: vop2: Add optional PLL clock property for rk3576
D. Wythe (1):
net/smc: fix UAF on smcsk after smc_listen_out()
Damien Le Moal (7):
ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig
dm: dm-crypt: Do not partially accept write BIOs with zoned targets
dm: Check for forbidden splitting of zone write operations
ata: libata-scsi: Fix ata_to_sense_error() status handling
ata: libata-scsi: Return aborted command when missing sense and result TF
PCI: endpoint: Fix configfs group list head handling
PCI: endpoint: Fix configfs group removal on driver teardown
Dan Carpenter (6):
cpufreq: armada-8k: Fix off by one in armada_8k_cpufreq_free_table()
media: gspca: Add bounds checking to firmware parser
soc: qcom: mdt_loader: Fix error return values in mdt_header_valid()
scsi: qla4xxx: Prevent a potential error pointer dereference
ALSA: usb-audio: Fix size validation in convert_chmap_v3()
regulator: tps65219: regulator: tps65219: Fix error codes in probe()
Daniel Jurgens (1):
net/mlx5: Base ECVF devlink port attrs from 0
Danilo Krummrich (4):
rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()
rust: drm: ensure kmalloc() compatible Layout
rust: drm: remove pin annotations from drm::Device
rust: drm: don't pass the address of drm::Device to drm_dev_put()
David Hildenbrand (1):
mm/mremap: fix WARN with uffd that has remap events disabled
David Howells (2):
netfs: Fix unbuffered write error handling
cifs: Fix oops due to uninitialised variable
David Lechner (13):
iio: adc: ad7173: fix num_slots
iio: imu: bno055: fix OOB access of hw_xlate array
iio: adc: ad_sigma_delta: change to buffer predisable
iio: adc: ad7173: fix channels index for syscalib_mode
iio: adc: ad7173: fix calibration channel
iio: adc: ad7173: fix setting ODR in probe
iio: adc: ad7380: fix missing max_conversion_rate_hz on adaq4381-4
iio: accel: sca3300: fix uninitialized iio scan data
iio: temperature: maxim_thermocouple: use DMA-safe buffer for spi_read()
iio: adc: ad7124: fix channel lookup in syscalib functions
iio: adc: ad7173: prevent scan if too many setups requested
iio: proximity: isl29501: fix buffered read on big-endian systems
iio: imu: inv_icm42600: use = { } instead of memset()
David Sterba (1):
btrfs: move transaction aborts to the error site in add_block_group_free_space()
David Yat Sin (1):
drm/amdkfd: Fix checkpoint-restore on multi-xcc
Dewei Meng (1):
ALSA: timer: fix ida_free call while not allocated
Dikshita Agarwal (16):
media: iris: Avoid updating frame size to firmware during reconfig
media: iris: Drop port check for session property response
media: iris: Fix buffer preparation failure during resolution change
media: iris: Fix missing function pointer initialization
media: iris: Fix NULL pointer dereference
media: iris: Fix typo in depth variable
media: iris: Prevent HFI queue writes when core is in deinit state
media: iris: Remove deprecated property setting to firmware
media: iris: Remove error check for non-zero v4l2 controls
media: iris: Send V4L2_BUF_FLAG_ERROR for capture buffers with 0 filled length
media: iris: Skip destroying internal buffer if not dequeued
media: iris: Skip flush on first sequence change
media: iris: Track flush responses to prevent premature completion
media: iris: Update CAPTURE format info based on OUTPUT format
media: iris: Verify internal buffer release on close
media: iris: Remove unnecessary re-initialization of flush completion
Dmitry Torokhov (1):
mfd: mt6397: Do not use generic name for keypad sub-devices
Dominique Martinet (1):
iov_iter: iterate_folioq: fix handling of offset >= folio size
Edward Adam Davis (1):
comedi: pcl726: Prevent invalid irq number
Emanuele Ghidoli (1):
arm64: dts: ti: k3-am62-verdin: Enable pull-ups on I2C buses
Eric Biggers (7):
lib/crypto: mips/chacha: Fix clang build and remove unneeded byteswap lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts lib/crypto: arm64/poly1305: Fix register corruption in no-SIMD contexts
crypto: x86/aegis - Fix sleeping when disallowed on PREEMPT_RT
crypto: x86/aegis - Add missing error checks
ipv6: sr: Fix MAC comparison to be constant-time
crypto: acomp - Fix CFI failure due to type punning
Evgeniy Harchenko (1):
ALSA: hda/realtek: Add support for HP EliteBook x360 830 G6 and EliteBook 830 G6
Fanhua Li (1):
drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
Filipe Manana (5):
btrfs: always abort transaction on failure to add block group to free space tree
btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
btrfs: reorganize logic at free_extent_buffer() for better readability
btrfs: add comment for optimization in free_extent_buffer()
btrfs: use refcount_t type for the extent buffer reference counter
Finn Thain (1):
m68k: Fix lost column on framebuffer debug console
Florian Westphal (1):
netfilter: nf_reject: don't leak dst refcount for loopback packets
Frank Min (1):
drm/amdgpu: add kicker fws loading for gfx12/smu14/psp14
Gabor Juhos (3):
mtd: spinand: propagate spinand_wait() errors from spinand_write_page()
spi: spi-qpic-snand: use correct CW_PER_PAGE value for OOB write
spi: spi-qpic-snand: fix calculating of ECC OOB regions' properties
Gang Ba (1):
drm/amdgpu: Avoid extra evict-restore process.
Geert Uytterhoeven (1):
erofs: Do not select tristate symbols from bool symbols
Geliang Tang (2):
mptcp: remove duplicate sk_reset_timer call
mptcp: disable add_addr retransmission when timeout is 0
Geraldo Nascimento (2):
PCI: rockchip: Use standard PCIe definitions
PCI: rockchip: Set Target Link Speed to 5.0 GT/s before retraining
Giovanni Cabiddu (2):
crypto: qat - lower priority for skcipher and aead algorithms
crypto: qat - flush misc workqueue during device shutdown
Greg Kroah-Hartman (1):
Linux 6.16.4
Gui-Dong Han (1):
media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()
Hangbin Liu (2):
bonding: update LACP activity flag after setting lacp_active
bonding: send LACPDUs periodically in passive mode after receiving partner's LACPDU
Hans Verkuil (1):
media: vivid: fix wrong pixel_array control size
Hans de Goede (1):
media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls
Haoxiang Li (1):
media: imx: fix a potential memory leak in imx_media_csc_scaler_device_init()
Hariprasad Kelam (1):
Octeontx2-af: Skip overlap check for SPI field
Harshal Gohel (1):
i2c: rtl9300: Fix multi-byte I2C write
Heikki Krogerus (1):
usb: dwc3: pci: add support for the Intel Wildcat Lake
Heiko Carstens (1):
s390/mm: Do not map lowcore with identity mapping
Helge Deller (2):
Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
apparmor: Fix 8-byte alignment for initial dfa blob streams
Herbert Xu (1):
crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)
Herton R. Krzesinski (1):
mm/debug_vm_pgtable: clear page table entries at destroy_args()
Hong Guan (1):
arm64: dts: ti: k3-am62a7-sk: fix pinmux for main_uart1
Horatiu Vultur (1):
phy: mscc: Fix timestamping for vsc8584
Ian Abbott (2):
comedi: Make insn_rw_emulate_bits() do insn->n samples
comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl()
Ido Schimmel (1):
mlxsw: spectrum: Forward packets with an IPv4 link-local source IP
Igor Pylypiv (1):
ata: libata-scsi: Fix CDL control
Imre Deak (6):
drm/i915/lnl+/tc: Fix handling of an enabled/disconnected dp-alt sink drm/i915/icl+/tc: Cache the max lane count value drm/i915/lnl+/tc: Fix max lane count HW readout drm/i915/lnl+/tc: Use the cached max lane count value drm/i915/icl+/tc: Convert AUX powered WARN to a debug message drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS
JP Kobryn (1):
cgroup: avoid null de-ref in css_rstat_exit()
Jacopo Mondi (1):
media: pisp_be: Fix pm_runtime underrun in probe
Jakub Acs (1):
net, hsr: reject HSR frame if skb can't hold tag
Jakub Kicinski (1):
tls: fix handling of zero-length records on the rx_list
Jakub Ramaseuski (1):
net: gso: Forbid IPv6 TSO with extensions on devices with only IPV6_CSUM
Jan Beulich (1):
compiler: remove __ADDRESSABLE_ASM{_STR,}() again
Jan Kara (1):
iomap: Fix broken data integrity guarantees for O_SYNC writes
Jani Nikula (1):
drm/i915: silence rpm wakeref asserts on GEN11_GU_MISC_IIR access
Jann Horn (1):
kasan/test: fix protection against compiler elision
Jason Gunthorpe (1):
iommu: Remove ops.pgsize_bitmap from drivers that don't use it
Jason Xing (1):
ixgbe: xsk: resolve the negative overflow of budget in ixgbe_xmit_zc
Jean-Baptiste Maneyrol (1):
iio: imu: inv_icm42600: change invalid data error to -EBUSY
Jedrzej Jagielski (2):
devlink: let driver opt out of automatic phys_port_name generation
ixgbe: prevent from unwanted interface name changes
Jens Axboe (1):
io_uring/futex: ensure io_futex_wait() cleans up properly on failure
Jialin Wang (1):
proc: proc_maps_open allow proc_mem_open to return NULL
Jiande Lu (1):
Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown
Jiayi Li (1):
memstick: Fix deadlock by moving removing flag earlier
Jinjiang Tu (1):
mm/memory-failure: fix infinite UCE for VM_PFNMAP pfn
Jiwei Sun (1):
PCI: Fix link speed calculation on retrain failure
Jocelyn Falempe (1):
drm/panic: Add a u64 divide by 10 for arm32
Johan Hovold (10):
usb: gadget: udc: renesas_usb3: fix device leak at unbind
usb: musb: omap2430: fix device leak at unbind
usb: dwc3: meson-g12a: fix device leaks at unbind
usb: dwc3: imx8mp: fix device leak at unbind
wifi: ath12k: fix dest ring-buffer corruption
wifi: ath12k: fix source ring-buffer corruption
wifi: ath12k: fix dest ring-buffer corruption when ring is full
wifi: ath11k: fix dest ring-buffer corruption
wifi: ath11k: fix source ring-buffer corruption
wifi: ath11k: fix dest ring-buffer corruption when ring is full
John David Anglin (8):
parisc: Check region is readable by user in raw_copy_from_user()
parisc: Define and use set_pte_at()
parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
parisc: Rename pte_needs_flush() to pte_needs_cache_flush() in cache.c
parisc: Revise __get_user() to probe user read access
parisc: Revise gateway LWS calls to probe user read access
parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
parisc: Update comments in make_insert_tlb
John Ernberg (1):
crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP
Jon Hunter (1):
soc/tegra: pmc: Ensure power-domains are in a known state
Jonathan Cameron (1):
iio: light: as73211: Ensure buffer holes are zeroed
Jordan Rhee (1):
gve: prevent ethtool ops after shutdown
Jorge Ramirez-Ortiz (2):
media: venus: hfi: explicitly release IRQ during teardown
media: venus: protect against spurious interrupts during probe
José Expósito (2):
drm/tests: Fix endian warning
drm/tests: Fix drm_test_fb_xrgb8888_to_xrgb2101010() on big-endian
Judith Mendez (3):
arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
mmc: sdhci_am654: Disable HS400 for AM62P SR1.0 and SR1.1
Julian Sun (1):
block: restore default wbt enablement
Junxian Huang (1):
RDMA/hns: Fix dip entries leak on devices newer than hip09
Justin Lai (1):
rtase: Fix Rx descriptor CRC error bit definition
Kalesh AP (1):
RDMA/bnxt_re: Fix a possible memory leak in the driver
Kanglong Wang (1):
LoongArch: Optimize module load time by optimizing PLT/GOT counting
Kashyap Desai (2):
RDMA/bnxt_re: Fix to do SRQ armena by default RDMA/bnxt_re: Fix to remove workload check in SRQ limit path
Kathiravan Thirumoorthy (2):
phy: qcom: phy-qcom-m31: Update IPQ5332 M31 USB phy initialization sequence
i2c: qcom-geni: fix I2C frequency table to achieve accurate bus rates
Kaustabh Chakraborty (3):
arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount
arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount
Kees Cook (1):
iommu/amd: Avoid stack buffer overflow from kernel cmdline
Konrad Dybcio (1):
media: venus: Fix MSM8998 frequency table
Krzysztof Kozlowski (2):
dt-bindings: display: sprd,sharkl3-dpu: Fix missing clocks constraints
dt-bindings: display: sprd,sharkl3-dsi-host: Fix missing clocks constraints
Kuen-Han Tsai (1):
usb: dwc3: Ignore late xferNotReady event to prevent halt timeout
Kyoji Ogasawara (3):
btrfs: fix incorrect log message for nobarrier mount option
btrfs: restore mount option info messages during mount
btrfs: fix printing of mount info messages for NODATACOW/NODATASUM
Laurentiu Mihalcea (1):
pwm: imx-tpm: Reset counter if CMOD is 0
Lauri Tirkkonen (1):
drm/amd/display: fix initial backlight brightness calculation
Leo Martins (1):
btrfs: fix subpage deadlock in try_release_subpage_extent_buffer()
Li Nan (1):
md: rename recovery_cp to resync_offset
Liao Yuanhong (1):
ext4: use kmalloc_array() for array space allocation
Lijo Lazar (2):
drm/amdgpu: Update external revid for GC v9.5.0 drm/amdgpu: Update supported modes for GC v9.5.0
Liu01 Tong (1):
drm/amdgpu: fix task hang from failed job submission during process kill
Lorenzo Bianconi (1):
net: airoha: ppe: Do not invalid PPE entries in case of SW hash collision
Ludwig Disterhof (1):
media: usbtv: Lock resolution while streaming
Luiz Augusto von Dentz (4):
Bluetooth: hci_sync: Fix scan state after PA Sync has been established
Bluetooth: hci_core: Fix using {cis,bis}_capable for current settings
Bluetooth: hci_core: Fix using ll_privacy_capable for current settings
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately
Lukas Wunner (1):
PCI/portdrv: Use is_pciehp instead of is_hotplug_bridge
MD Danish Anwar (1):
net: ti: icssg-prueth: Fix HSR and switch offload Enablement during firwmare reload.
Macpaul Lin (1):
scsi: dt-bindings: mediatek,ufs: Add ufs-disable-mcq flag for UFS host
Mael GUERIN (1):
USB: storage: Add unusual-devs entry for Novatek NTK96550-based camera
Marek Szyprowski (1):
zynq_fpga: use sgtable-based scatterlist wrappers
Marek Vasut (1):
usb: renesas-xhci: Fix External ROM access timeouts
Mario Limonciello (5):
drm/amd: Restore cached power limit during resume drm/amd/display: Pass up errors for reset GPU that fails to init HW drm/amd/display: Revert "drm/amd/display: Fix AMDGPU_MAX_BL_LEVEL value" drm/amd/display: Avoid a NULL pointer dereference
drm/amd: Restore cached manual clock settings during resume
Masami Hiramatsu (Google) (1):
tracing: fprobe-event: Sanitize wildcard for fprobe event name
Mathis Foerst (1):
media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval
Matthieu Baerts (NGI0) (4):
mptcp: pm: kernel: flush: do not reset ADD_ADDR limit
selftests: mptcp: pm: check flush doesn't reset limits
selftests: mptcp: connect: fix C23 extension warning
selftests: mptcp: sockopt: fix C23 extension warning
Matti Vaittinen (1):
iio: adc: bd79124: Add GPIOLIB dependency
Miao Li (1):
usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive
Miaoqian Lin (1):
most: core: Drop device reference after usage in get_channel()
Michael Chan (1):
bnxt_en: Fix lockdep warning during rmmod
Michael Walle (1):
mtd: spi-nor: Fix spi_nor_try_unlock_all()
Michel Dänzer (1):
drm/amd/display: Add primary plane to commits for correct VRR handling
Miguel Ojeda (3):
rust: faux: fix C header link
drm: nova-drm: fix 32-bit arm build
rust: alloc: fix rusttest by providing Cmalloc::aligned_layout too
Ming Lei (1):
blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues
Minhong He (1):
ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add
Muhammad Usama Anjum (1):
ASoC: SOF: amd: acp-loader: Use GFP_KERNEL for DMA allocations in resume context
Myrrh Periwinkle (2):
vt: keyboard: Don't process Unicode characters in K_OFF mode
vt: defkeymap: Map keycodes above 127 to K_HOLE
Namjae Jeon (1):
ksmbd: extend the connection limiting mechanism to support IPv6
Naohiro Aota (3):
btrfs: zoned: fix write time activation failure for metadata block group
btrfs: subpage: keep TOWRITE tag until folio is cleaned
btrfs: zoned: fix data relocation block group reservation
Nathan Chancellor (3):
usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init()
wifi: brcmsmac: Remove const from tbl_ptr parameter in wlc_lcnphy_common_read_table() drm/amdgpu: Initialize data to NULL in imu_v12_0_program_rlc_ram()
NeilBrown (1):
ovl: use I_MUTEX_PARENT when locking parent in ovl_create_temp()
Nick Chan (1):
arm64: dts: apple: t8012-j132: Include touchbar framebuffer node
Nicolas Dufresne (1):
media: verisilicon: Fix AV1 decoder clock frequency
Nicolin Chen (1):
iommu/arm-smmu-v3: Fix smmu_domain->nr_ats_masters decrement
Niklas Cassel (1):
PCI: dwc: Ensure that dw_pcie_wait_for_link() waits 100 ms after link up
Niklas Neronin (1):
usb: xhci: fix host not responding after suspend and resume
Nilay Shroff (6):
block: move elevator queue allocation logic into blk_mq_init_sched
block: fix lockdep warning caused by lock dependency in elv_iosched_store
block: fix potential deadlock while running nr_hw_queue update
block: decrement block_rq_qos static key in rq_qos_del()
block: skip q->rq_qos check in rq_qos_done_bio()
block: avoid cpu_hotplug_lock depedency on freeze_lock
Nitin Gote (1):
iosys-map: Fix undefined behavior in iosys_map_clear()
Nitin Rawat (1):
scsi: ufs: ufs-qcom: Fix ESI null pointer dereference
Ojaswin Mujoo (2):
ext4: fix fsmap end of range reporting with bigalloc
ext4: fix reserved gdt blocks handling in fsmap
Oren Sidi (1):
net/mlx5: Add IFC bits and enums for buf_ownership
Parthiban Veerasooran (2):
microchip: lan865x: fix missing netif_start_queue() call on device open
microchip: lan865x: fix missing Timer Increment config for Rev.B0/B1
Pasha Tatashin (3):
kho: init new_physxa->phys_bits to fix lockdep
kho: mm: don't allow deferred struct page with KHO
kho: warn if KHO is disabled due to an error
Pauli Virtanen (1):
Bluetooth: hci_event: fix MTU for BN == 0 in CIS Established
Peng Fan (1):
regulator: pca9450: Use devm_register_sys_off_handler
Peter Griffin (1):
arm64: dts: exynos: gs101: ufs: add dma-coherent property
Peter Oberparleiter (3):
s390/sclp: Fix SCCB present check
s390/hypfs: Avoid unnecessary ioctl registration in debugfs s390/hypfs: Enable limited access during lockdown
Peter Shkenev (1):
drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities
Phillip Lougher (1):
squashfs: fix memory leak in squashfs_fill_super
Piotr Piórkowski (2):
drm/xe: Assign ioctl xe file handler to vm in xe_vm_create drm/xe: Move ASID allocation and user PT BO tracking into xe_vm_create
Pu Lehui (1):
tracing: Limit access to parser->buffer when trace_get_user failed
Qianfeng Rong (1):
drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()
Qingfang Deng (2):
net: ethernet: mtk_ppe: add RCU lock around dev_fill_forward_path
ppp: fix race conditions in ppp_fill_forward_path
Qu Wenruo (2):
btrfs: add comments on the extra btrfs specific subpage bitmaps
btrfs: rename btrfs_subpage structure
Rafael J. Wysocki (2):
PM: runtime: Take active children into account in pm_runtime_get_if_in_use()
cpuidle: governors: menu: Avoid selecting states with too much latency
Randy Dunlap (1):
parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers
Ranjan Kumar (3):
scsi: mpi3mr: Fix race between config read submit and interrupt completion
scsi: mpi3mr: Drop unnecessary volatile from __iomem pointers
scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems
Ricardo Ribalda (2):
media: venus: vdec: Clamp param smaller than 1fps and bigger than 240.
media: venus: venc: Clamp param smaller than 1fps and bigger than 240
Richard Fitzgerald (1):
ASoC: cs35l56: Handle new algorithms IDs for CS35L63
Richard Zhu (4):
PCI: imx6: Add IMX8MQ_EP third 64-bit BAR in epc_features
PCI: imx6: Add IMX8MM_EP and IMX8MP_EP fixed 256-byte BAR 4 in epc_features
PCI: imx6: Remove apps_reset toggling from imx_pcie_{assert/deassert}_core_reset
PCI: imx6: Delay link start until configfs 'start' written
Robin Murphy (1):
iommu/virtio: Make instance lookup robust
Sai Krishna Potthuri (1):
mmc: sdhci-of-arasan: Ensure CD logic stabilization before power-up
Sakari Ailus (2):
media: ipu6: isys: Use correct pads for xlate_streams()
media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free()
Salah Triki (1):
iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
Sam Edwards (1):
arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control
Sang-Heon Jeon (2):
mm/damon/core: fix commit_ops_filters by using correct nth function mm/damon/core: fix damos_commit_filter not changing allow
Sebastian Andrzej Siewior (1):
kcov, usb: Don't disable interrupts in kcov_remote_start_usb_softirq()
Sebastian Brzezinka (1):
drm/i915/gt: Relocate compression repacking WA for JSL/EHL
Selvarasu Ganesan (1):
usb: dwc3: Remove WARN_ON for device endpoint command timeouts
SeongJae Park (1):
mm/damon/ops-common: ignore migration request to invalid nodes
Sergey Shtylyov (1):
Bluetooth: hci_conn: do return error from hci_enhanced_setup_sync()
Simon Richter (1):
Mark xe driver as BROKEN if kernel page size is not 4kB
Siyang Liu (1):
drm/amd/display: fix a Null pointer dereference vulnerability
Song Gao (1):
LoongArch: KVM: Use kvm_get_vcpu_by_id() instead of kvm_get_vcpu()
Srinivas Pandruvada (1):
platform/x86/intel-uncore-freq: Check write blocked for ELC
Stefan Binding (2):
ASoC: cs35l56: Update Firmware Addresses for CS35L63 for production silicon
ASoC: cs35l56: Remove SoundWire Clock Divider workaround for CS35L63
Stefan Metzmacher (1):
smb: server: split ksmbd_rdma_stop_listening() out of ksmbd_rdma_destroy()
Stefan Wahren (1):
spi: spi-fsl-lpspi: Clamp too high speed_hz
Steven Rostedt (2):
ftrace: Also allocate and copy hash for reading of filter files
tracing: Remove unneeded goto out logic
Suma Hegde (1):
platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
Suraj Gupta (1):
net: xilinx: axienet: Fix RX skb ring management in DMAengine mode
Sven Eckelmann (2):
i2c: rtl9300: Increase timeout for transfer polling
i2c: rtl9300: Add missing count byte for SMBus Block Ops
Takashi Iwai (2):
ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv
ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation
Theodore Ts'o (1):
ext4: don't try to clear the orphan_present feature block device is r/o
Thomas Bertschinger (1):
fhandle: do_handle_open() should get FD with user flags
Thomas Fourier (2):
mtd: rawnand: fsmc: Add missing check after DMA map
mtd: rawnand: renesas: Add missing check after DMA map
Thomas Hellström (1):
drm/xe: Defer buffer object shrinker write-backs and GPU waits
Thomas Weißschuh (1):
kbuild: userprogs: use correct linker when mixing clang and GNU ld
Thomas Zimmermann (1):
drm/tests: Do not use drm_fb_blit() in format-helper tests
Thorsten Blum (3):
accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()
cdx: Fix off-by-one error in cdx_rpmsg_probe()
usb: storage: realtek_cr: Use correct byte order for bcs->Residue
Tianxiang Peng (1):
x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper
Tiezhu Yang (2):
objtool/LoongArch: Get table size correctly if LTO is enabled
LoongArch: Pass annotate-tablejump option if LTO is enabled
Tim Harvey (1):
hwmon: (gsc-hwmon) fix fan pwm setpoint show functions
Timur Kristóf (9):
drm/amd/display: Fix DCE 6.0 and 6.4 PLL programming. drm/amd/display: Don't overwrite dce60_clk_mgr
drm/amd/display: Don't overclock DCE 6 by 15%
drm/amd/display: Fix fractional fb divider in set_pixel_clock_v3 drm/amd/display: Fix DP audio DTO1 clock source on DCE 6. drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs drm/amd/display: Fill display clock and vblank time in dce110_fill_display_configs drm/amd/display: Adjust DCE 8-10 clock, don't overclock by 15% drm/amd/display: Don't print errors for nonexistent connectors
Tom Chung (1):
drm/amd/display: Fix Xorg desktop unresponsive on Replay panel
Tristram Ha (1):
net: dsa: microchip: Fix KSZ9477 HSR port setup issue
Trond Myklebust (1):
NFS: Fix a race when updating an existing write
Tzung-Bi Shih (1):
platform/chrome: cros_ec: Unregister notifier in cros_ec_unregister()
Uwe Kleine-König (3):
pwm: mediatek: Handle hardware enable and clock enable separately
pwm: mediatek: Fix duty and period setting
ACPI: APEI: EINJ: Fix resource leak by remove callback in .exit.text
ValdikSS (1):
igc: fix disabling L1.2 PCI-E link substate on I226 on init
Vedang Nagar (1):
media: venus: Add a check for packet size after reading from shared memory
Victor Shih (3):
mmc: sdhci-pci-gli: Add a new function to simplify the code
mmc: sdhci-pci-gli: GL9763e: Mask the replay timer timeout of AER
mmc: sdhci-pci-gli: GL9763e: Rename the gli_set_gl9763e() for consistency
Vlad Dogaru (1):
net/mlx5: CT: Use the correct counter offset
Vladimir Zapolskiy (1):
media: qcom: camss: cleanup media device allocated resource on error path
Vodapalli, Ravi Kumar (1):
drm/xe/bmg: Add one additional PCI ID
Waiman Long (2):
cgroup/cpuset: Use static_branch_enable_cpuslocked() on cpusets_insane_config_key cgroup/cpuset: Fix a partition error with CPU hotplug
Wang Liang (1):
net: bridge: fix soft lockup in br_multicast_query_expired()
Weitao Wang (1):
usb: xhci: Fix slot_id resource race conflict
Will Deacon (2):
vsock/virtio: Validate length in packet header before skb_put() vhost/vsock: Avoid allocating arbitrarily-sized SKBs
William Liu (3):
net/sched: Fix backlog accounting in qdisc_dequeue_internal
net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit net/sched: Remove unnecessary WARNING condition for empty child qdisc in htb_activate
Xaver Hugl (1):
amdgpu/amdgpu_discovery: increase timeout limit for IFWI init
XianLiang Huang (1):
iommu/riscv: prevent NULL deref in iova_to_phys
Xu Yang (1):
usb: core: hcd: fix accessing unmapped memory in SINGLE_STEP_SET_FEATURE test
Xu Yilun (1):
fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable()
Yang Li (2):
Bluetooth: hci_sync: Prevent unintended PA sync when SID is 0xFF
Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections
Yang Wang (1):
drm/amd/amdgpu: fix missing lock for cper.ring->rptr/wptr access
Yao Zi (1):
net: stmmac: thead: Enable TX clock before MAC initialization
Yazen Ghannam (1):
x86/CPU/AMD: Ignore invalid reset reason value
Ye Bin (1):
fs/buffer: fix use-after-free when call bh_read() helper
Yevgeny Kliteynik (2):
net/mlx5: HWS, fix bad parameter in CQ creation net/mlx5: HWS, fix complex rules rehash error flow
Youssef Samir (1):
bus: mhi: host: Detect events pointing to unexpected TREs
YuanShang (1):
drm/amdgpu: Retain job->vm in amdgpu_job_prepare_job
Yuichiro Tsuji (1):
net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
Yunhui Cui (1):
serial: 8250: fix panic due to PSLVERR
Yuntao Wang (1):
fs: fix incorrect lflags value in the move_mount syscall
Zenm Chen (1):
USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles
Zhang Shurong (1):
media: ov2659: Fix memory leaks in ov2659_probe()
Zhang Yi (1):
ext4: fix hole length calculation overflow in non-extent inodes
Zheng Qixing (2):
md: add helper rdev_needs_recovery()
md: fix sync_action incorrect display during resync
Zhu Yanjun (1):
RDMA/rxe: Flush delayed SKBs while releasing RXE resources
Ziyan Xu (1):
ksmbd: fix refcount leak causing resource not released
wenglianfa (1):
RDMA/hns: Fix querying wrong SCC context for DIP algorithm