Linux 6.12.9
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/laptops/thinkpad-acpi.rst +7 -3
@@ -445,8 +445,10 @@ event code Key Notes 0x1008 0x07 FN+F8 IBM: toggle screen expand Lenovo: configure UltraNav, or toggle screen expand. - On newer platforms (2024+) - replaced by 0x131f (see below) + On 2024 platforms replaced by + 0x131f (see below) and on newer + platforms (2025 +) keycode is + replaced by 0x1401 (see below). 0x1009 0x08 FN+F9 -
@@ -506,9 +508,11 @@ event code Key Notes 0x1019 0x18 unknown -0x131f ... FN+F8 Platform Mode change. +0x131f ... FN+F8 Platform Mode change (2024 systems). Implemented in driver. +0x1401 ... FN+F8 Platform Mode change (2025 + systems). + Implemented in driver. ... ... ... 0x1020 0x1F unknown
Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml +1 -1
@@ -90,7 +90,7 @@ properties: adi,dsi-lanes: description: Number of DSI data lanes connected to the DSI host. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 1, 2, 3, 4 ] + enum: [ 2, 3, 4 ] "#sound-dai-cells": const: 0
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 12 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arc/Kconfig +2 -2
@@ -297,7 +297,6 @@ config ARC_PAGE_SIZE_16K config ARC_PAGE_SIZE_4K bool "4KB" select HAVE_PAGE_SIZE_4KB - depends on ARC_MMU_V3 || ARC_MMU_V4 endchoice
@@ -474,7 +473,8 @@ config HIGHMEM config ARC_HAS_PAE40 bool "Support for the 40-bit Physical Address Extension" - depends on ISA_ARCV2 + depends on MMU_V4 + depends on !ARC_PAGE_SIZE_4K select HIGHMEM select PHYS_ADDR_T_64BIT help
arch/arc/Makefile +1 -1
@@ -6,7 +6,7 @@ KBUILD_DEFCONFIG := haps_hs_smp_defconfig ifeq ($(CROSS_COMPILE),) -CROSS_COMPILE := $(call cc-cross-prefix, arc-linux- arceb-linux-) +CROSS_COMPILE := $(call cc-cross-prefix, arc-linux- arceb-linux- arc-linux-gnu-) endif cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
arch/arc/include/asm/cmpxchg.h +1 -1
@@ -48,7 +48,7 @@ \switch (sizeof ((_p_))) { \case 1 : \ - _prev_ = (__typeof__ (*(ptr )))cmpxchg_emu_u8 ((volatile u8 *)_p_, (uintptr_t )_o_, (uintptr_t )_n_); \ + _prev_ = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *__force)_p_, (uintptr_t)_o_, (uintptr_t)_n_); \break ; \case 4 : \ _prev_ =__cmpxchg (_p_, _o_, _n_); \
arch/arc/net/bpf_jit_arcv2.c +1 -1
@@ -2916,7 +2916,7 @@ bool check_jmp_32(u32 curr_off, u32 targ_off, u8 cond) addendum = (cond ==ARC_CC_AL ) ?0 : INSN_len_normal; disp =get_displacement (curr_off + addendum, targ_off); -if (ARC_CC_AL ) +if (cond ==ARC_CC_AL )return is_valid_far_disp (disp);else return is_valid_near_disp (disp);
arch/x86/events/intel/core.c +1 -0
@@ -7067,6 +7067,7 @@ __init int intel_pmu_init(void)case INTEL_METEORLAKE :case INTEL_METEORLAKE_L : +case INTEL_ARROWLAKE_U :intel_pmu_init_hybrid (hybrid_big_small); x86_pmu.pebs_latency_data = cmt_latency_data;
block/blk.h +0 -9
@@ -469,11 +469,6 @@ static inline bool bio_zone_write_plugging(struct bio *bio) {return bio_flagged (bio,BIO_ZONE_WRITE_PLUGGING ); } -static inline bool bio_is_zone_append (struct bio *bio) -{ -return bio_op (bio) ==REQ_OP_ZONE_APPEND || -bio_flagged (bio,BIO_EMULATES_ZONE_APPEND ); -}void blk_zone_write_plug_bio_merged (struct bio *bio);void blk_zone_write_plug_init_request (struct request *rq); static inline void blk_zone_update_request_bio(struct request *rq,
@@ -522,10 +517,6 @@ static inline bool bio_zone_write_plugging(struct bio *bio) {return false; } -static inline bool bio_is_zone_append (struct bio *bio) -{ -return false; -}static inline void blk_zone_write_plug_bio_merged (struct bio *bio) { }
drivers/clk/imx/clk-imx8mp-audiomix.c +2 -1
@@ -278,7 +278,8 @@ static int clk_imx8mp_audiomix_reset_controller_register(struct device *dev,#else /* !CONFIG_RESET_CONTROLLER */ -static int clk_imx8mp_audiomix_reset_controller_register (struct clk_imx8mp_audiomix_priv *priv) +static int clk_imx8mp_audiomix_reset_controller_register (struct device *dev, +struct clk_imx8mp_audiomix_priv *priv) {return 0 ; }
drivers/clk/thead/clk-th1520-ap.c +12 -1
@@ -779,6 +779,13 @@ static struct ccu_div dpu1_clk = { }, }; +static CLK_FIXED_FACTOR_HW(emmc_sdio_ref_clk, "emmc-sdio-ref", + &video_pll_clk.common.hw, 4, 1, 0); + +static const struct clk_parent_data emmc_sdio_ref_clk_pd[] = { + { .hw = &emmc_sdio_ref_clk.hw }, +}; + static CCU_GATE(CLK_BROM, brom_clk, "brom", ahb2_cpusys_hclk_pd, 0x100, BIT(4), 0); static CCU_GATE(CLK_BMU, bmu_clk, "bmu", axi4_cpusys2_aclk_pd, 0x100, BIT(5), 0); static CCU_GATE(CLK_AON2CPU_A2X, aon2cpu_a2x_clk, "aon2cpu-a2x", axi4_cpusys2_aclk_pd,
@@ -798,7 +805,7 @@ static CCU_GATE(CLK_PERISYS_APB4_HCLK, perisys_apb4_hclk, "perisys-apb4-hclk", p 0x150, BIT(12), 0); static CCU_GATE(CLK_NPU_AXI, npu_axi_clk, "npu-axi", axi_aclk_pd, 0x1c8, BIT(5), 0); static CCU_GATE(CLK_CPU2VP, cpu2vp_clk, "cpu2vp", axi_aclk_pd, 0x1e0, BIT(13), 0); -static CCU_GATE(CLK_EMMC_SDIO, emmc_sdio_clk, "emmc-sdio", video_pll_clk_pd, 0x204, BIT(30), 0); +static CCU_GATE(CLK_EMMC_SDIO, emmc_sdio_clk, "emmc-sdio", emmc_sdio_ref_clk_pd, 0x204, BIT(30), 0); static CCU_GATE(CLK_GMAC1, gmac1_clk, "gmac1", gmac_pll_clk_pd, 0x204, BIT(26), 0); static CCU_GATE(CLK_PADCTRL1, padctrl1_clk, "padctrl1", perisys_apb_pclk_pd, 0x204, BIT(24), 0); static CCU_GATE(CLK_DSMART, dsmart_clk, "dsmart", perisys_apb_pclk_pd, 0x204, BIT(23), 0);
@@ -1059,6 +1066,10 @@ static int th1520_clk_probe(struct platform_device *pdev)return ret; priv->hws[CLK_PLL_GMAC_100M ] = &gmac_pll_clk_100m.hw; + ret =devm_clk_hw_register (dev, &emmc_sdio_ref_clk.hw); +if (ret) +return ret; + ret =devm_of_clk_add_hw_provider (dev, of_clk_hw_onecell_get, priv);if (ret)return ret;
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +5 -1
@@ -3721,8 +3721,12 @@ static int amdgpu_device_ip_resume_phase3(struct amdgpu_device *adev)continue ;if (adev->ip_blocks[i].version->type ==AMD_IP_BLOCK_TYPE_DCE ) { r = adev->ip_blocks[i].version->funcs->resume (adev); -if (r) +if (r) { +DRM_ERROR ("resume of IP block <%s> failed %d\n" , + adev->ip_blocks[i].version->funcs->name, r);return r; + } + adev->ip_blocks[i].status.hw = true; } }
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +8 -2
@@ -45,6 +45,8 @@ MODULE_FIRMWARE("amdgpu/gc_9_4_3_mec.bin");MODULE_FIRMWARE ("amdgpu/gc_9_4_4_mec.bin" );MODULE_FIRMWARE ("amdgpu/gc_9_4_3_rlc.bin" );MODULE_FIRMWARE ("amdgpu/gc_9_4_4_rlc.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_9_4_3_sjt_mec.bin" ); +MODULE_FIRMWARE ("amdgpu/gc_9_4_4_sjt_mec.bin" );#define GFX9_MEC_HPD_SIZE 4096#define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L
@@ -574,8 +576,12 @@ static int gfx_v9_4_3_init_cp_compute_microcode(struct amdgpu_device *adev, {int err; - err =amdgpu_ucode_request (adev, &adev->gfx.mec_fw, -"amdgpu/%s_mec.bin" , chip_name); +if (amdgpu_sriov_vf (adev)) + err =amdgpu_ucode_request (adev, &adev->gfx.mec_fw, +"amdgpu/%s_sjt_mec.bin" , chip_name); +else + err =amdgpu_ucode_request (adev, &adev->gfx.mec_fw, +"amdgpu/%s_mec.bin" , chip_name);if (err) goto out;amdgpu_gfx_cp_init_microcode (adev,AMDGPU_UCODE_ID_CP_MEC1 );
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +2 -2
@@ -306,7 +306,7 @@ svm_migrate_copy_to_vram(struct kfd_node *node, struct svm_range *prange, spage =migrate_pfn_to_page (migrate->src[i]);if (spage && !is_zone_device_page (spage)) { src[i] =dma_map_page (dev, spage,0 ,PAGE_SIZE , -DMA_TO_DEVICE ); +DMA_BIDIRECTIONAL ); r =dma_mapping_error (dev, src[i]);if (r) { dev_err(dev, "%s: fail %d dma_map_page\n",
@@ -630,7 +630,7 @@ svm_migrate_copy_to_ram(struct amdgpu_device *adev, struct svm_range *prange, goto out_oom; } - dst[i] =dma_map_page (dev, dpage,0 ,PAGE_SIZE ,DMA_FROM_DEVICE ); + dst[i] =dma_map_page (dev, dpage,0 ,PAGE_SIZE ,DMA_BIDIRECTIONAL ); r =dma_mapping_error (dev, dst[i]);if (r) {dev_err (adev->dev,"%s: fail %d dma_map_page\n" , __func__, r);
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c +12 -2
@@ -153,7 +153,16 @@ static int adv7511_hdmi_hw_params(struct device *dev, void *data, ADV7511_AUDIO_CFG3_LEN_MASK, len);regmap_update_bits (adv7511->regmap,ADV7511_REG_I2C_FREQ_ID_CFG ,ADV7511_I2C_FREQ_ID_CFG_RATE_MASK , rate <<4 ); -regmap_write (adv7511->regmap,0x73 ,0x1 ); + +/* send current Audio infoframe values while updating */ +regmap_update_bits (adv7511->regmap,ADV7511_REG_INFOFRAME_UPDATE , +BIT (5 ),BIT (5 )); + +regmap_write (adv7511->regmap,ADV7511_REG_AUDIO_INFOFRAME (0 ),0x1 ); + +/* use Audio infoframe updated info */ +regmap_update_bits (adv7511->regmap,ADV7511_REG_INFOFRAME_UPDATE , +BIT (5 ),0 );return 0 ; }
@@ -184,8 +193,9 @@ static int audio_startup(struct device *dev, void *data)regmap_update_bits (adv7511->regmap,ADV7511_REG_GC (0 ),BIT (7 ) |BIT (6 ),BIT (7 ));/* use Audio infoframe updated info */ -regmap_update_bits (adv7511->regmap,ADV7511_REG_GC (1 ), +regmap_update_bits (adv7511->regmap,ADV7511_REG_INFOFRAME_UPDATE ,BIT (5 ),0 ); +/* enable SPDIF receiver */ if (adv7511->audio_source ==ADV7511_AUDIO_SOURCE_SPDIF ) regmap_update_bits(adv7511->regmap, ADV7511_REG_AUDIO_CONFIG,
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +8 -2
@@ -1241,8 +1241,10 @@ static int adv7511_probe(struct i2c_client *i2c)return ret; ret =adv7511_init_regulators (adv7511); -if (ret) -return dev_err_probe (dev, ret,"failed to init regulators\n" ); +if (ret) { +dev_err_probe (dev, ret,"failed to init regulators\n" ); + goto err_of_node_put; + }/* * The power down GPIO is optional. If present, toggle it from active to
@@ -1363,6 +1365,8 @@ static int adv7511_probe(struct i2c_client *i2c)i2c_unregister_device (adv7511->i2c_edid); uninit_regulators:adv7511_uninit_regulators (adv7511); +err_of_node_put: +of_node_put (adv7511->host_node);return ret; }
@@ -1371,6 +1375,8 @@ static void adv7511_remove(struct i2c_client *i2c) {struct adv7511 *adv7511 =i2c_get_clientdata (i2c); +of_node_put (adv7511->host_node); +adv7511_uninit_regulators (adv7511);drm_bridge_remove (&adv7511->bridge);
drivers/gpu/drm/bridge/adv7511/adv7533.c +1 -3
@@ -172,7 +172,7 @@ int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv)of_property_read_u32 (np,"adi,dsi-lanes" , &num_lanes); -if (num_lanes <1 || num_lanes >4 ) +if (num_lanes <2 || num_lanes >4 )return -EINVAL ; adv->num_dsi_lanes = num_lanes;
@@ -181,8 +181,6 @@ int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv)if (!adv->host_node)return -ENODEV ; -of_node_put (adv->host_node); - adv->use_timing_gen = !of_property_read_bool (np,"adi,disable-timing-generator" );
drivers/gpu/drm/i915/display/intel_cx0_phy.c +4 -8
@@ -2084,14 +2084,6 @@ static void intel_c10_pll_program(struct drm_i915_private *i915,0 ,C10_VDR_CTRL_MSGBUS_ACCESS , MB_WRITE_COMMITTED); -/* Custom width needs to be programmed to 0 for both the phy lanes */ -intel_cx0_rmw (encoder,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CUSTOM_WIDTH , -C10_VDR_CUSTOM_WIDTH_MASK ,C10_VDR_CUSTOM_WIDTH_8_10 , -MB_WRITE_COMMITTED ); -intel_cx0_rmw (encoder,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CONTROL (1 ), -0 ,C10_VDR_CTRL_UPDATE_CFG , -MB_WRITE_COMMITTED ); -/* Program the pll values only for the master lane */ for (i =0 ; i <ARRAY_SIZE (pll_state->pll); i++) intel_cx0_write(encoder, INTEL_CX0_LANE0, PHY_C10_VDR_PLL(i),
@@ -2101,6 +2093,10 @@ static void intel_c10_pll_program(struct drm_i915_private *i915,intel_cx0_write (encoder,INTEL_CX0_LANE0 ,PHY_C10_VDR_CMN (0 ), pll_state->cmn,MB_WRITE_COMMITTED );intel_cx0_write (encoder,INTEL_CX0_LANE0 ,PHY_C10_VDR_TX (0 ), pll_state->tx,MB_WRITE_COMMITTED ); +/* Custom width needs to be programmed to 0 for both the phy lanes */ +intel_cx0_rmw (encoder,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CUSTOM_WIDTH , +C10_VDR_CUSTOM_WIDTH_MASK ,C10_VDR_CUSTOM_WIDTH_8_10 , +MB_WRITE_COMMITTED );intel_cx0_rmw (encoder,INTEL_CX0_LANE0 ,PHY_C10_VDR_CONTROL (1 ),0 ,C10_VDR_CTRL_MASTER_LANE |C10_VDR_CTRL_UPDATE_CFG ,MB_WRITE_COMMITTED );
drivers/gpu/drm/i915/gt/intel_rc6.c +1 -1
@@ -133,7 +133,7 @@ static void gen11_rc6_enable(struct intel_rc6 *rc6)GEN9_MEDIA_PG_ENABLE |GEN11_MEDIA_SAMPLER_PG_ENABLE ; -if (GRAPHICS_VER (gt->i915) >=12 ) { +if (GRAPHICS_VER (gt->i915) >=12 && !IS_DG1 (gt->i915)) {for (i =0 ; i <I915_MAX_VCS ; i++)if (HAS_ENGINE (gt,_VCS (i))) pg_enable |= (VDN_HCP_POWERGATE_ENABLE(i) |
drivers/gpu/drm/xe/xe_bo.c +10 -2
@@ -722,7 +722,7 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, new_mem->mem_type == XE_PL_SYSTEM) {long timeout =dma_resv_wait_timeout (ttm_bo->base.resv,DMA_RESV_USAGE_BOOKKEEP , - true, + false,MAX_SCHEDULE_TIMEOUT );if (timeout <0 ) { ret = timeout;
@@ -846,8 +846,16 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, out:if ((!ttm_bo->resource || ttm_bo->resource->mem_type ==XE_PL_SYSTEM ) && - ttm_bo->ttm) + ttm_bo->ttm) { +long timeout =dma_resv_wait_timeout (ttm_bo->base.resv, +DMA_RESV_USAGE_KERNEL , + false, +MAX_SCHEDULE_TIMEOUT ); +if (timeout <0 ) + ret = timeout; +xe_tt_unmap_sg (ttm_bo->ttm); + }return ret; }
drivers/gpu/drm/xe/xe_devcoredump.c +14 -1
@@ -104,7 +104,11 @@ static ssize_t __xe_devcoredump_read(char *buffer, size_t count,drm_puts (&p,"\n**** GuC CT ****\n" );xe_guc_ct_snapshot_print (ss->ct, &p); -drm_puts (&p,"\n**** Contexts ****\n" ); +/* +* Don't add a new section header here because the mesa debug decoder +* tool expects the context information to be in the 'GuC CT' section. +*/ +/* drm_puts(&p, "\n**** Contexts ****\n"); */ xe_guc_exec_queue_snapshot_print (ss->ge, &p);drm_puts (&p,"\n**** Job ****\n" );
@@ -358,6 +362,15 @@ void xe_print_blob_ascii85(struct drm_printer *p, const char *prefix,char buff[ASCII85_BUFSZ ], *line_buff;size_t line_pos =0 ; +/* +* Splitting blobs across multiple lines is not compatible with the mesa +* debug decoder tool. Note that even dropping the explicit '\n' below +* doesn't help because the GuC log is so big some underlying implementation +* still splits the lines at 512K characters. So just bail completely for +* the moment. +*/ +return ; +#define DMESG_MAX_LINE_LEN 800#define MIN_SPACE (ASCII85_BUFSZ + 2)/* 85 + "\n\0" */
drivers/gpu/drm/xe/xe_exec_queue.c +9 -0
@@ -8,6 +8,7 @@#include <linux/nospec.h> #include <drm/drm_device.h> +#include <drm/drm_drv.h> #include <drm/drm_file.h> #include <uapi/drm/xe_drm.h>
@@ -762,9 +763,11 @@ bool xe_exec_queue_is_idle(struct xe_exec_queue *q)*/ void xe_exec_queue_update_run_ticks (struct xe_exec_queue *q) { +struct xe_device *xe =gt_to_xe (q->gt);struct xe_file *xef;struct xe_lrc *lrc;u32 old_ts, new_ts; +int idx;/* * Jobs that are run during driver load may use an exec_queue, but are
@@ -774,6 +777,10 @@ void xe_exec_queue_update_run_ticks(struct xe_exec_queue *q)if (!q->vm || !q->vm->xef)return ; +/* Synchronize with unbind while holding the xe file open */ +if (!drm_dev_enter (&xe->drm, &idx)) +return ; + xef = q->vm->xef;/*
@@ -787,6 +794,8 @@ void xe_exec_queue_update_run_ticks(struct xe_exec_queue *q) lrc = q->lrc[0 ]; new_ts =xe_lrc_update_timestamp (lrc, &old_ts); xef->run_ticks[q->class] += (new_ts - old_ts) * q->width; + +drm_dev_exit (idx); }/**
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +1 -1
@@ -2038,7 +2038,7 @@ static int pf_validate_vf_config(struct xe_gt *gt, unsigned int vfid) valid_any = valid_any || (valid_ggtt && is_primary);if (IS_DGFX (xe)) { -bool valid_lmem =pf_get_vf_config_ggtt (primary_gt, vfid); +bool valid_lmem =pf_get_vf_config_lmem (primary_gt, vfid); valid_any = valid_any || (valid_lmem && is_primary); valid_all = valid_all && valid_lmem;
drivers/infiniband/core/cma.c +16 -0
@@ -690,6 +690,7 @@ cma_validate_port(struct ib_device *device, u32 port,int bound_if_index = dev_addr->bound_dev_if;int dev_type = dev_addr->dev_type;struct net_device *ndev =NULL ; +struct net_device *pdev =NULL ;if (!rdma_dev_access_netns (device, id_priv->id.route.addr.dev_addr.net)) goto out;
@@ -714,6 +715,21 @@ cma_validate_port(struct ib_device *device, u32 port,rcu_read_lock (); ndev =rcu_dereference (sgid_attr->ndev); +if (ndev->ifindex != bound_if_index) { + pdev =dev_get_by_index_rcu (dev_addr->net, bound_if_index); +if (pdev) { +if (is_vlan_dev (pdev)) { + pdev =vlan_dev_real_dev (pdev); +if (ndev->ifindex == pdev->ifindex) + bound_if_index = pdev->ifindex; + } +if (is_vlan_dev (ndev)) { + pdev =vlan_dev_real_dev (ndev); +if (bound_if_index == pdev->ifindex) + bound_if_index = ndev->ifindex; + } + } + }if (!net_eq (dev_net (ndev), dev_addr->net) || ndev->ifindex != bound_if_index) {rdma_put_gid_attr (sgid_attr);
drivers/infiniband/core/nldev.c +1 -1
@@ -2802,8 +2802,8 @@ int rdma_nl_notify_event(struct ib_device *device, u32 port_num, enum rdma_nl_notify_event_type type) {struct sk_buff *skb; +int ret = -EMSGSIZE ;struct net *net; -int ret =0 ;void *nlh; net =read_pnet (&device->coredev.rdma_net);
drivers/infiniband/core/uverbs_cmd.c +9 -7
@@ -161,7 +161,7 @@ static const void __user *uverbs_request_next_ptr(struct uverbs_req_iter *iter, {const void __user *res = iter->cur; -if (iter->cur + len > iter->end) +if (len > iter->end - iter->cur)return (void __force __user *)ERR_PTR (-ENOSPC ); iter->cur += len;return res;
@@ -2010,11 +2010,13 @@ static int ib_uverbs_post_send(struct uverbs_attr_bundle *attrs) ret =uverbs_request_start (attrs, &iter, &cmd,sizeof (cmd));if (ret)return ret; - wqes =uverbs_request_next_ptr (&iter, cmd.wqe_size * cmd.wr_count); + wqes =uverbs_request_next_ptr (&iter,size_mul (cmd.wqe_size, + cmd.wr_count));if (IS_ERR (wqes))return PTR_ERR (wqes); - sgls =uverbs_request_next_ptr ( - &iter, cmd.sge_count *sizeof (struct ib_uverbs_sge )); + sgls =uverbs_request_next_ptr (&iter, +size_mul (cmd.sge_count, +sizeof (struct ib_uverbs_sge )));if (IS_ERR (sgls))return PTR_ERR (sgls); ret =uverbs_request_finish (&iter);
@@ -2200,11 +2202,11 @@ ib_uverbs_unmarshall_recv(struct uverbs_req_iter *iter, u32 wr_count,if (wqe_size <sizeof (struct ib_uverbs_recv_wr ))return ERR_PTR (-EINVAL ); - wqes =uverbs_request_next_ptr (iter, wqe_size * wr_count); + wqes =uverbs_request_next_ptr (iter,size_mul (wqe_size, wr_count));if (IS_ERR (wqes))return ERR_CAST (wqes); - sgls =uverbs_request_next_ptr ( - iter, sge_count *sizeof (struct ib_uverbs_sge )); + sgls =uverbs_request_next_ptr (iter,size_mul (sge_count, +sizeof (struct ib_uverbs_sge )));if (IS_ERR (sgls))return ERR_CAST (sgls); ret =uverbs_request_finish (iter);
drivers/infiniband/hw/bnxt_re/ib_verbs.c +19 -15
@@ -156,7 +156,7 @@ int bnxt_re_query_device(struct ib_device *ibdev, ib_attr->vendor_id = rdev->en_dev->pdev->vendor; ib_attr->vendor_part_id = rdev->en_dev->pdev->device; - ib_attr->hw_ver = rdev->en_dev->pdev->subsystem_device; + ib_attr->hw_ver = rdev->en_dev->pdev->revision; ib_attr->max_qp = dev_attr->max_qp; ib_attr->max_qp_wr = dev_attr->max_qp_wqes; ib_attr->device_cap_flags =
@@ -2107,18 +2107,20 @@ int bnxt_re_modify_qp(struct ib_qp *ib_qp, struct ib_qp_attr *qp_attr, } } -if (qp_attr_mask &IB_QP_PATH_MTU ) { - qp->qplib_qp.modify_flags |= -CMDQ_MODIFY_QP_MODIFY_MASK_PATH_MTU ; - qp->qplib_qp.path_mtu =__from_ib_mtu (qp_attr->path_mtu); - qp->qplib_qp.mtu =ib_mtu_enum_to_int (qp_attr->path_mtu); - }else if (qp_attr->qp_state ==IB_QPS_RTR ) { - qp->qplib_qp.modify_flags |= -CMDQ_MODIFY_QP_MODIFY_MASK_PATH_MTU ; - qp->qplib_qp.path_mtu = -__from_ib_mtu (iboe_get_mtu (rdev->netdev->mtu)); - qp->qplib_qp.mtu = -ib_mtu_enum_to_int (iboe_get_mtu (rdev->netdev->mtu)); +if (qp_attr->qp_state ==IB_QPS_RTR ) { +enum ib_mtu qpmtu; + + qpmtu =iboe_get_mtu (rdev->netdev->mtu); +if (qp_attr_mask &IB_QP_PATH_MTU ) { +if (ib_mtu_enum_to_int (qp_attr->path_mtu) > +ib_mtu_enum_to_int (qpmtu)) +return -EINVAL ; + qpmtu = qp_attr->path_mtu; + } + + qp->qplib_qp.modify_flags |=CMDQ_MODIFY_QP_MODIFY_MASK_PATH_MTU ; + qp->qplib_qp.path_mtu =__from_ib_mtu (qpmtu); + qp->qplib_qp.mtu =ib_mtu_enum_to_int (qpmtu); }if (qp_attr_mask &IB_QP_TIMEOUT ) {
@@ -2763,7 +2765,8 @@ static int bnxt_re_post_send_shadow_qp(struct bnxt_re_dev *rdev, wr = wr->next; }bnxt_qplib_post_send_db (&qp->qplib_qp); -bnxt_ud_qp_hw_stall_workaround (qp); +if (!bnxt_qplib_is_chip_gen_p5_p7 (qp->rdev->chip_ctx)) +bnxt_ud_qp_hw_stall_workaround (qp);spin_unlock_irqrestore (&qp->sq_lock, flags);return rc; }
@@ -2875,7 +2878,8 @@ int bnxt_re_post_send(struct ib_qp *ib_qp, const struct ib_send_wr *wr, wr = wr->next; }bnxt_qplib_post_send_db (&qp->qplib_qp); -bnxt_ud_qp_hw_stall_workaround (qp); +if (!bnxt_qplib_is_chip_gen_p5_p7 (qp->rdev->chip_ctx)) +bnxt_ud_qp_hw_stall_workaround (qp);spin_unlock_irqrestore (&qp->sq_lock, flags);return rc;
drivers/infiniband/hw/bnxt_re/main.c +1 -7
@@ -1435,11 +1435,8 @@ static bool bnxt_re_is_qp1_or_shadow_qp(struct bnxt_re_dev *rdev,static void bnxt_re_dev_stop (struct bnxt_re_dev *rdev) { -int mask =IB_QP_STATE ; -struct ib_qp_attr qp_attr;struct bnxt_re_qp *qp; - qp_attr.qp_state =IB_QPS_ERR ;mutex_lock (&rdev->qp_lock);list_for_each_entry (qp, &rdev->qp_list, list) {/* Modify the state of all QPs except QP1/Shadow QP */
@@ -1447,12 +1444,9 @@ static void bnxt_re_dev_stop(struct bnxt_re_dev *rdev)if (qp->qplib_qp.state !=CMDQ_MODIFY_QP_NEW_STATE_RESET && qp->qplib_qp.state != -CMDQ_MODIFY_QP_NEW_STATE_ERR ) { +CMDQ_MODIFY_QP_NEW_STATE_ERR )bnxt_re_dispatch_event (&rdev->ibdev, &qp->ib_qp,1 ,IB_EVENT_QP_FATAL ); -bnxt_re_modify_qp (&qp->ib_qp, &qp_attr, mask, -NULL ); - } } }mutex_unlock (&rdev->qp_lock);
drivers/infiniband/hw/bnxt_re/qplib_fp.c +38 -27
117 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/qplib_fp.h +1 -2
@@ -114,7 +114,6 @@ struct bnxt_qplib_sge {u32 size; }; -#define BNXT_QPLIB_QP_MAX_SGL 6struct bnxt_qplib_swq {u64 wr_id;int next_idx;
@@ -154,7 +153,7 @@ struct bnxt_qplib_swqe {#define BNXT_QPLIB_SWQE_FLAGS_UC_FENCE BIT(2)#define BNXT_QPLIB_SWQE_FLAGS_SOLICIT_EVENT BIT(3)#define BNXT_QPLIB_SWQE_FLAGS_INLINE BIT(4) -struct bnxt_qplib_sge sg_list[BNXT_QPLIB_QP_MAX_SGL ]; +struct bnxt_qplib_sge sg_list[BNXT_VAR_MAX_SGE ];int num_sge;/* Max inline data is 96 bytes */ u32 inline_len;
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +3 -2
@@ -424,7 +424,8 @@ static int __send_message_basic_sanity(struct bnxt_qplib_rcfw *rcfw,/* Prevent posting if f/w is not in a state to process */ if (test_bit (ERR_DEVICE_DETACHED , &rcfw->cmdq.flags)) -return bnxt_qplib_map_rc (opcode); +return -ENXIO ; +if (test_bit (FIRMWARE_STALL_DETECTED , &cmdq->flags))return -ETIMEDOUT ;
@@ -493,7 +494,7 @@ static int __bnxt_qplib_rcfw_send_message(struct bnxt_qplib_rcfw *rcfw, rc =__send_message_basic_sanity (rcfw, msg, opcode);if (rc) -return rc; +return rc == -ENXIO ?bnxt_qplib_map_rc (opcode) : rc; rc =__send_message (rcfw, msg, opcode);if (rc)
drivers/infiniband/hw/bnxt_re/qplib_sp.c +12 -6
@@ -129,12 +129,18 @@ int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw, attr->max_qp_init_rd_atom = sb->max_qp_init_rd_atom >BNXT_QPLIB_MAX_OUT_RD_ATOM ?BNXT_QPLIB_MAX_OUT_RD_ATOM : sb->max_qp_init_rd_atom; - attr->max_qp_wqes =le16_to_cpu (sb->max_qp_wr); -/* -* 128 WQEs needs to be reserved for the HW (8916). Prevent -* reporting the max number -*/ - attr->max_qp_wqes -=BNXT_QPLIB_RESERVED_QP_WRS +1 ; + attr->max_qp_wqes =le16_to_cpu (sb->max_qp_wr) -1 ; +if (!bnxt_qplib_is_chip_gen_p5_p7 (rcfw->res->cctx)) { +/* +* 128 WQEs needs to be reserved for the HW (8916). Prevent +* reporting the max number on legacy devices +*/ + attr->max_qp_wqes -=BNXT_QPLIB_RESERVED_QP_WRS +1 ; + } + +/* Adjust for max_qp_wqes for variable wqe */ +if (cctx->modes.wqe_mode ==BNXT_QPLIB_WQE_MODE_VARIABLE ) + attr->max_qp_wqes =BNXT_VAR_MAX_WQE -1 ; attr->max_qp_sges = cctx->modes.wqe_mode ==BNXT_QPLIB_WQE_MODE_VARIABLE ?min_t (u32, sb->max_sge_var_wqe,BNXT_VAR_MAX_SGE ) :6 ;
drivers/infiniband/hw/hns/hns_roce_hem.c +29 -14
118 lines not on this page · raw message
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +9 -2
@@ -468,7 +468,7 @@ static inline int set_ud_wqe(struct hns_roce_qp *qp, valid_num_sge =calc_wr_sge_num (wr, &msg_len); ret =set_ud_opcode (ud_sq_wqe, wr); -if (WARN_ON (ret)) +if (WARN_ON_ONCE (ret))return ret; ud_sq_wqe->msg_len =cpu_to_le32 (msg_len);
@@ -572,7 +572,7 @@ static inline int set_rc_wqe(struct hns_roce_qp *qp, rc_sq_wqe->msg_len =cpu_to_le32 (msg_len); ret =set_rc_opcode (hr_dev, rc_sq_wqe, wr); -if (WARN_ON (ret)) +if (WARN_ON_ONCE (ret))return ret; hr_reg_write(rc_sq_wqe, RC_SEND_WQE_SO,
@@ -670,6 +670,10 @@ static void write_dwqe(struct hns_roce_dev *hr_dev, struct hns_roce_qp *qp,#define HNS_ROCE_SL_SHIFT 2struct hns_roce_v2_rc_send_wqe *rc_sq_wqe = wqe; +if (unlikely (qp->state ==IB_QPS_ERR )) { +flush_cqe (hr_dev, qp); +return ; + }/* All kinds of DirectWQE have the same header field layout */ hr_reg_enable (rc_sq_wqe,RC_SEND_WQE_FLAG );hr_reg_write (rc_sq_wqe,RC_SEND_WQE_DB_SL_L , qp->sl);
@@ -5619,6 +5623,9 @@ static void put_dip_ctx_idx(struct hns_roce_dev *hr_dev, {struct hns_roce_dip *hr_dip = hr_qp->dip; +if (!hr_dip) +return ; +xa_lock (&hr_dev->qp_table.dip_xa); hr_dip->qp_cnt--;
drivers/infiniband/hw/hns/hns_roce_mr.c +0 -5
@@ -814,11 +814,6 @@ int hns_roce_mtr_map(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,for (i =0 , mapped_cnt =0 ; i < mtr->hem_cfg.region_count && mapped_cnt < page_cnt; i++) { r = &mtr->hem_cfg.region[i]; -/* if hopnum is 0, no need to map pages in this region */ -if (!r->hopnum) { - mapped_cnt += r->count; -continue ; - }if (r->offset + r->count > page_cnt) { ret = -EINVAL ;
drivers/infiniband/hw/mlx5/main.c +5 -3
@@ -2831,7 +2831,7 @@ static int mlx5_ib_get_plane_num(struct mlx5_core_dev *mdev, u8 *num_plane)int err; *num_plane =0 ; -if (!MLX5_CAP_GEN (mdev, ib_virt)) +if (!MLX5_CAP_GEN (mdev, ib_virt) || !MLX5_CAP_GEN_2 (mdev, multiplane))return 0 ; err =mlx5_query_hca_vport_context (mdev,0 ,1 ,0 , &vport_ctx);
@@ -3631,7 +3631,8 @@ static int mlx5_ib_init_multiport_master(struct mlx5_ib_dev *dev)list_for_each_entry (mpi, &mlx5_ib_unaffiliated_port_list, list) {if (dev->sys_image_guid == mpi->sys_image_guid && - (mlx5_core_native_port_num (mpi->mdev) -1 ) == i) { + (mlx5_core_native_port_num (mpi->mdev) -1 ) == i && +mlx5_core_same_coredev_type (dev->mdev, mpi->mdev)) { bound =mlx5_ib_bind_slave_port (dev, mpi); }
@@ -4776,7 +4777,8 @@ static int mlx5r_mp_probe(struct auxiliary_device *adev,mutex_lock (&mlx5_ib_multiport_mutex);list_for_each_entry (dev, &mlx5_ib_dev_list, ib_dev_list) { -if (dev->sys_image_guid == mpi->sys_image_guid) +if (dev->sys_image_guid == mpi->sys_image_guid && +mlx5_core_same_coredev_type (dev->mdev, mpi->mdev)) bound =mlx5_ib_bind_slave_port (dev, mpi);if (bound) {
drivers/infiniband/sw/rxe/rxe.c +19 -4
@@ -40,6 +40,8 @@ void rxe_dealloc(struct ib_device *ib_dev)/* initialize rxe device parameters */ static void rxe_init_device_param (struct rxe_dev *rxe) { +struct net_device *ndev; + rxe->max_inline_data =RXE_MAX_INLINE_DATA ; rxe->attr.vendor_id =RXE_VENDOR_ID ;
@@ -71,8 +73,15 @@ static void rxe_init_device_param(struct rxe_dev *rxe) rxe->attr.max_fast_reg_page_list_len =RXE_MAX_FMR_PAGE_LIST_LEN ; rxe->attr.max_pkeys =RXE_MAX_PKEYS ; rxe->attr.local_ca_ack_delay =RXE_LOCAL_CA_ACK_DELAY ; + + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return ; +addrconf_addr_eui48 ((unsigned char *)&rxe->attr.sys_image_guid, - rxe->ndev->dev_addr); + ndev->dev_addr); + +dev_put (ndev); rxe->max_ucontext =RXE_MAX_UCONTEXT ; }
@@ -109,10 +118,15 @@ static void rxe_init_port_param(struct rxe_port *port)static void rxe_init_ports (struct rxe_dev *rxe) {struct rxe_port *port = &rxe->port; +struct net_device *ndev;rxe_init_port_param (port); + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return ;addrconf_addr_eui48 ((unsigned char *)&port->port_guid, - rxe->ndev->dev_addr); + ndev->dev_addr); +dev_put (ndev);spin_lock_init (&port->port_lock); }
@@ -167,12 +181,13 @@ void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu)/* called by ifc layer to create new rxe device. * The caller should allocate memory for rxe by calling ib_alloc_device. */ -int rxe_add (struct rxe_dev *rxe,unsigned int mtu,const char *ibdev_name) +int rxe_add (struct rxe_dev *rxe,unsigned int mtu,const char *ibdev_name, +struct net_device *ndev) {rxe_init (rxe);rxe_set_mtu (rxe, mtu); -return rxe_register_device (rxe, ibdev_name); +return rxe_register_device (rxe, ibdev_name, ndev); }static int rxe_newlink (const char *ibdev_name,struct net_device *ndev)
drivers/infiniband/sw/rxe/rxe.h +2 -1
@@ -139,7 +139,8 @@ enum resp_states {void rxe_set_mtu (struct rxe_dev *rxe,unsigned int dev_mtu); -int rxe_add (struct rxe_dev *rxe,unsigned int mtu,const char *ibdev_name); +int rxe_add (struct rxe_dev *rxe,unsigned int mtu,const char *ibdev_name, +struct net_device *ndev);void rxe_rcv (struct sk_buff *skb);
drivers/infiniband/sw/rxe/rxe_mcast.c +20 -2
@@ -31,10 +31,19 @@static int rxe_mcast_add (struct rxe_dev *rxe,union ib_gid *mgid) {unsigned char ll_addr[ETH_ALEN ]; +struct net_device *ndev; +int ret; + + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return -ENODEV ;ipv6_eth_mc_map ((struct in6_addr *)mgid->raw, ll_addr); -return dev_mc_add (rxe->ndev, ll_addr); + ret =dev_mc_add (ndev, ll_addr); +dev_put (ndev); + +return ret; }/**
@@ -47,10 +56,19 @@ static int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid)static int rxe_mcast_del (struct rxe_dev *rxe,union ib_gid *mgid) {unsigned char ll_addr[ETH_ALEN ]; +struct net_device *ndev; +int ret; + + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return -ENODEV ;ipv6_eth_mc_map ((struct in6_addr *)mgid->raw, ll_addr); -return dev_mc_del (rxe->ndev, ll_addr); + ret =dev_mc_del (ndev, ll_addr); +dev_put (ndev); + +return ret; }/**
drivers/infiniband/sw/rxe/rxe_net.c +20 -4
@@ -524,7 +524,16 @@ struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,*/ const char *rxe_parent_name (struct rxe_dev *rxe,unsigned int port_num) { -return rxe->ndev->name; +struct net_device *ndev; +char *ndev_name; + + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return NULL ; + ndev_name = ndev->name; +dev_put (ndev); + +return ndev_name; }int rxe_net_add (const char *ibdev_name,struct net_device *ndev)
@@ -536,10 +545,9 @@ int rxe_net_add(const char *ibdev_name, struct net_device *ndev)if (!rxe)return -ENOMEM ; - rxe->ndev = ndev;ib_mark_name_assigned_by_user (&rxe->ib_dev); - err =rxe_add (rxe, ndev->mtu, ibdev_name); + err =rxe_add (rxe, ndev->mtu, ibdev_name, ndev);if (err) {ib_dealloc_device (&rxe->ib_dev);return err;
@@ -587,10 +595,18 @@ void rxe_port_down(struct rxe_dev *rxe)void rxe_set_port_state (struct rxe_dev *rxe) { -if (netif_running (rxe->ndev) &&netif_carrier_ok (rxe->ndev)) +struct net_device *ndev; + + ndev =rxe_ib_device_get_netdev (&rxe->ib_dev); +if (!ndev) +return ; + +if (netif_running (ndev) &&netif_carrier_ok (ndev))rxe_port_up (rxe);else rxe_port_down (rxe); + +dev_put (ndev); } static int rxe_notify(struct notifier_block *not_blk,
drivers/infiniband/sw/rxe/rxe_verbs.c +21 -5
@@ -41,6 +41,7 @@ static int rxe_query_port(struct ib_device *ibdev, u32 port_num, struct ib_port_attr *attr) { struct rxe_dev *rxe = to_rdev(ibdev); +struct net_device *ndev;int err, ret;if (port_num !=1 ) {
@@ -49,6 +50,12 @@ static int rxe_query_port(struct ib_device *ibdev, goto err_out; } + ndev =rxe_ib_device_get_netdev (ibdev); +if (!ndev) { + err = -ENODEV ; + goto err_out; + } +memcpy (attr, &rxe->port.attr,sizeof (*attr));mutex_lock (&rxe->usdev_lock);
@@ -57,13 +64,14 @@ static int rxe_query_port(struct ib_device *ibdev,if (attr->state ==IB_PORT_ACTIVE ) attr->phys_state =IB_PORT_PHYS_STATE_LINK_UP ; -else if (dev_get_flags (rxe->ndev) &IFF_UP ) +else if (dev_get_flags (ndev) &IFF_UP ) attr->phys_state =IB_PORT_PHYS_STATE_POLLING ;else attr->phys_state =IB_PORT_PHYS_STATE_DISABLED ;mutex_unlock (&rxe->usdev_lock); +dev_put (ndev);return ret; err_out:
@@ -1425,9 +1433,16 @@ static const struct attribute_group rxe_attr_group = {static int rxe_enable_driver (struct ib_device *ib_dev) { struct rxe_dev *rxe = container_of(ib_dev, struct rxe_dev, ib_dev); +struct net_device *ndev; + + ndev =rxe_ib_device_get_netdev (ib_dev); +if (!ndev) +return -ENODEV ;rxe_set_port_state (rxe); -dev_info (&rxe->ib_dev.dev,"added %s\n" ,netdev_name (rxe->ndev)); +dev_info (&rxe->ib_dev.dev,"added %s\n" ,netdev_name (ndev)); + +dev_put (ndev);return 0 ; }
@@ -1495,7 +1510,8 @@ static const struct ib_device_ops rxe_dev_ops = { INIT_RDMA_OBJ_SIZE(ib_mw, rxe_mw, ibmw), }; -int rxe_register_device (struct rxe_dev *rxe,const char *ibdev_name) +int rxe_register_device (struct rxe_dev *rxe,const char *ibdev_name, +struct net_device *ndev) {int err;struct ib_device *dev = &rxe->ib_dev;
@@ -1507,13 +1523,13 @@ int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name) dev->num_comp_vectors =num_possible_cpus (); dev->local_dma_lkey =0 ;addrconf_addr_eui48 ((unsigned char *)&dev->node_guid, - rxe->ndev->dev_addr); + ndev->dev_addr); dev->uverbs_cmd_mask |=BIT_ULL (IB_USER_VERBS_CMD_POST_SEND ) |BIT_ULL (IB_USER_VERBS_CMD_REQ_NOTIFY_CQ );ib_set_device_ops (dev, &rxe_dev_ops); - err =ib_device_set_netdev (&rxe->ib_dev, rxe->ndev,1 ); + err =ib_device_set_netdev (&rxe->ib_dev, ndev,1 );if (err)return err;
drivers/infiniband/sw/rxe/rxe_verbs.h +8 -3
@@ -370,6 +370,7 @@ struct rxe_port {u32 qp_gsi_index; }; +#define RXE_PORT 1struct rxe_dev {struct ib_device ib_dev;struct ib_device_attr attr;
@@ -377,8 +378,6 @@ struct rxe_dev {int max_inline_data;struct mutex usdev_lock; -struct net_device *ndev; -struct rxe_pool uc_pool;struct rxe_pool pd_pool;struct rxe_pool ah_pool;
@@ -406,6 +405,11 @@ struct rxe_dev {struct crypto_shash *tfm; }; +static inline struct net_device *rxe_ib_device_get_netdev (struct ib_device *dev) +{ +return ib_device_get_netdev (dev,RXE_PORT ); +} +static inline void rxe_counter_inc (struct rxe_dev *rxe,enum rxe_counters index) {atomic64_inc (&rxe->stats_counters[index]);
@@ -471,6 +475,7 @@ static inline struct rxe_pd *rxe_mw_pd(struct rxe_mw *mw) return to_rpd(mw->ibmw.pd); } -int rxe_register_device (struct rxe_dev *rxe,const char *ibdev_name); +int rxe_register_device (struct rxe_dev *rxe,const char *ibdev_name, +struct net_device *ndev);#endif /* RXE_VERBS_H */
drivers/infiniband/sw/siw/siw.h +3 -4
@@ -46,6 +46,9 @@*/ #define SIW_IRQ_MAXBURST_SQ_ACTIVE 4 +/* There is always only a port 1 per siw device */ +#define SIW_PORT 1 +struct siw_dev_cap {int max_qp;int max_qp_wr;
@@ -69,16 +72,12 @@ struct siw_pd {struct siw_device {struct ib_device base_dev; -struct net_device *netdev;struct siw_dev_cap attrs;u32 vendor_part_id;int numa_node;char raw_gid[ETH_ALEN ]; -/* physical port state (only one port per device) */ -enum ib_port_state state; -spinlock_t lock;struct xarray qp_xa;
drivers/infiniband/sw/siw/siw_cm.c +21 -6
@@ -1759,6 +1759,7 @@ int siw_create_listen(struct iw_cm_id *id, int backlog) {struct socket *s;struct siw_cep *cep =NULL ; +struct net_device *ndev =NULL ;struct siw_device *sdev =to_siw_dev (id->device);int addr_family = id->local_addr.ss_family;int rv =0 ;
@@ -1779,9 +1780,15 @@ int siw_create_listen(struct iw_cm_id *id, int backlog)struct sockaddr_in *laddr = &to_sockaddr_in (id->local_addr);/* For wildcard addr, limit binding to current device only */ -if (ipv4_is_zeronet (laddr->sin_addr.s_addr)) - s->sk->sk_bound_dev_if = sdev->netdev->ifindex; - +if (ipv4_is_zeronet (laddr->sin_addr.s_addr)) { + ndev =ib_device_get_netdev (id->device,SIW_PORT ); +if (ndev) { + s->sk->sk_bound_dev_if = ndev->ifindex; + }else { + rv = -ENODEV ; + goto error; + } + } rv = s->ops->bind (s, (struct sockaddr *)laddr,sizeof (struct sockaddr_in )); }else {
@@ -1797,9 +1804,15 @@ int siw_create_listen(struct iw_cm_id *id, int backlog) }/* For wildcard addr, limit binding to current device only */ -if (ipv6_addr_any (&laddr->sin6_addr)) - s->sk->sk_bound_dev_if = sdev->netdev->ifindex; - +if (ipv6_addr_any (&laddr->sin6_addr)) { + ndev =ib_device_get_netdev (id->device,SIW_PORT ); +if (ndev) { + s->sk->sk_bound_dev_if = ndev->ifindex; + }else { + rv = -ENODEV ; + goto error; + } + } rv = s->ops->bind (s, (struct sockaddr *)laddr,sizeof (struct sockaddr_in6 )); }
@@ -1860,6 +1873,7 @@ int siw_create_listen(struct iw_cm_id *id, int backlog) }list_add_tail (&cep->listenq, (struct list_head *)id->provider_data); cep->state =SIW_EPSTATE_LISTENING ; +dev_put (ndev);siw_dbg (id->device,"Listen at laddr %pISp\n" , &id->local_addr);
@@ -1879,6 +1893,7 @@ int siw_create_listen(struct iw_cm_id *id, int backlog)siw_cep_set_free_and_put (cep); }sock_release (s); +dev_put (ndev);return rv; }
drivers/infiniband/sw/siw/siw_main.c +1 -14
@@ -287,7 +287,6 @@ static struct siw_device *siw_device_create(struct net_device *netdev)return NULL ; base_dev = &sdev->base_dev; - sdev->netdev = netdev;if (netdev->addr_len) { memcpy(sdev->raw_gid, netdev->dev_addr,
@@ -381,12 +380,10 @@ static int siw_netdev_event(struct notifier_block *nb, unsigned long event,switch (event) {case NETDEV_UP : - sdev->state =IB_PORT_ACTIVE ;siw_port_event (sdev,1 ,IB_EVENT_PORT_ACTIVE );break ;case NETDEV_DOWN : - sdev->state =IB_PORT_DOWN ;siw_port_event (sdev,1 ,IB_EVENT_PORT_ERR );break ;
@@ -407,12 +404,8 @@ static int siw_netdev_event(struct notifier_block *nb, unsigned long event,siw_port_event (sdev,1 ,IB_EVENT_LID_CHANGE );break ;/* -* Todo: Below netdev events are currently not handled. +* All other events are not handled */ -case NETDEV_CHANGEMTU : -case NETDEV_CHANGE : -break ; -default :break ; }
@@ -442,12 +435,6 @@ static int siw_newlink(const char *basedev_name, struct net_device *netdev) sdev =siw_device_create (netdev);if (sdev) {dev_dbg (&netdev->dev,"siw: new device\n" ); - -if (netif_running (netdev) &&netif_carrier_ok (netdev)) - sdev->state =IB_PORT_ACTIVE ; -else - sdev->state =IB_PORT_DOWN ; -ib_mark_name_assigned_by_user (&sdev->base_dev); rv =siw_device_register (sdev, basedev_name);if (rv)
drivers/infiniband/sw/siw/siw_verbs.c +24 -11
@@ -171,21 +171,29 @@ int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr,int siw_query_port (struct ib_device *base_dev,u32 port,struct ib_port_attr *attr) { -struct siw_device *sdev =to_siw_dev (base_dev); +struct net_device *ndev;int rv;memset (attr,0 ,sizeof (*attr)); rv =ib_get_eth_speed (base_dev, port, &attr->active_speed, &attr->active_width); +if (rv) +return rv; + + ndev =ib_device_get_netdev (base_dev,SIW_PORT ); +if (!ndev) +return -ENODEV ; + attr->gid_tbl_len =1 ; attr->max_msg_sz =-1 ; - attr->max_mtu =ib_mtu_int_to_enum (sdev->netdev->mtu); - attr->active_mtu =ib_mtu_int_to_enum (sdev->netdev->mtu); - attr->phys_state = sdev->state ==IB_PORT_ACTIVE ? + attr->max_mtu =ib_mtu_int_to_enum (ndev->max_mtu); + attr->active_mtu =ib_mtu_int_to_enum (READ_ONCE (ndev->mtu)); + attr->phys_state = (netif_running (ndev) &&netif_carrier_ok (ndev)) ?IB_PORT_PHYS_STATE_LINK_UP :IB_PORT_PHYS_STATE_DISABLED ; + attr->state = attr->phys_state ==IB_PORT_PHYS_STATE_LINK_UP ? +IB_PORT_ACTIVE :IB_PORT_DOWN ; attr->port_cap_flags =IB_PORT_CM_SUP |IB_PORT_DEVICE_MGMT_SUP ; - attr->state = sdev->state;/* * All zero *
@@ -199,6 +207,7 @@ int siw_query_port(struct ib_device *base_dev, u32 port,* attr->subnet_timeout = 0; * attr->init_type_repy = 0; */ +dev_put (ndev);return rv; }
@@ -505,21 +514,24 @@ int siw_query_qp(struct ib_qp *base_qp, struct ib_qp_attr *qp_attr, int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) { struct siw_qp *qp; -struct siw_device *sdev; +struct net_device *ndev; -if (base_qp && qp_attr && qp_init_attr) { +if (base_qp && qp_attr && qp_init_attr) qp =to_siw_qp (base_qp); - sdev =to_siw_dev (base_qp->device); - }else { +else return -EINVAL ; - } + + ndev =ib_device_get_netdev (base_qp->device,SIW_PORT ); +if (!ndev) +return -ENODEV ; + qp_attr->qp_state = siw_qp_state_to_ib_qp_state[qp->attrs.state]; qp_attr->cap.max_inline_data =SIW_MAX_INLINE ; qp_attr->cap.max_send_wr = qp->attrs.sq_size; qp_attr->cap.max_send_sge = qp->attrs.sq_max_sges; qp_attr->cap.max_recv_wr = qp->attrs.rq_size; qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges; - qp_attr->path_mtu =ib_mtu_int_to_enum (sdev->netdev->mtu); + qp_attr->path_mtu =ib_mtu_int_to_enum (READ_ONCE (ndev->mtu)); qp_attr->max_rd_atomic = qp->attrs.irq_size; qp_attr->max_dest_rd_atomic = qp->attrs.orq_size;
@@ -534,6 +546,7 @@ int siw_query_qp(struct ib_qp *base_qp, struct ib_qp_attr *qp_attr, qp_init_attr->cap = qp_attr->cap; +dev_put (ndev);return 0 ; }
drivers/infiniband/ulp/rtrs/rtrs-srv.c +1 -1
@@ -349,6 +349,7 @@ static int send_io_resp_imm(struct rtrs_srv_con *con, struct rtrs_srv_op *id,struct rtrs_srv_mr *srv_mr;bool need_inval = false;enum ib_send_flags flags; +struct ib_sge list;u32 imm;int err;
@@ -401,7 +402,6 @@ static int send_io_resp_imm(struct rtrs_srv_con *con, struct rtrs_srv_op *id, imm =rtrs_to_io_rsp_imm (id->msg_id, errno, need_inval); imm_wr.wr.next =NULL ;if (always_invalidate) { -struct ib_sge list;struct rtrs_msg_rkey_rsp *msg; srv_mr = &srv_path->mrs[id->msg_id];
drivers/irqchip/irq-gic.c +1 -1
@@ -64,7 +64,7 @@ static void gic_check_cpu_features(void)union gic_base {void __iomem *common_base; -void __percpu *__iomem *percpu_base; +void __iomem *__percpu *percpu_base; };struct gic_chip_data {
drivers/mmc/host/sdhci-msm.c +8 -8
@@ -1867,20 +1867,20 @@ static int sdhci_msm_program_key(struct cqhci_host *cq_host,struct sdhci_msm_host *msm_host =sdhci_pltfm_priv (pltfm_host);union cqhci_crypto_cap_entry cap; +if (!(cfg->config_enable &CQHCI_CRYPTO_CONFIGURATION_ENABLE )) +return qcom_ice_evict_key (msm_host->ice, slot); +/* Only AES-256-XTS has been tested so far. */ cap = cq_host->crypto_cap_array[cfg->crypto_cap_idx];if (cap.algorithm_id !=CQHCI_CRYPTO_ALG_AES_XTS || cap.key_size !=CQHCI_CRYPTO_KEY_SIZE_256 )return -EINVAL ; -if (cfg->config_enable &CQHCI_CRYPTO_CONFIGURATION_ENABLE ) -return qcom_ice_program_key (msm_host->ice, -QCOM_ICE_CRYPTO_ALG_AES_XTS , -QCOM_ICE_CRYPTO_KEY_SIZE_256 , - cfg->crypto_key, - cfg->data_unit_size, slot); -else - return qcom_ice_evict_key(msm_host->ice, slot); +return qcom_ice_program_key (msm_host->ice, +QCOM_ICE_CRYPTO_ALG_AES_XTS , +QCOM_ICE_CRYPTO_KEY_SIZE_256 , + cfg->crypto_key, + cfg->data_unit_size, slot); }#else /* CONFIG_MMC_CRYPTO */
drivers/net/dsa/microchip/ksz9477.c +36 -11
69 lines not on this page · raw message
drivers/net/dsa/microchip/ksz9477_reg.h +1 -3
@@ -2,7 +2,7 @@/* * Microchip KSZ9477 register definitions * -* Copyright (C) 2017-2018 Microchip Technology Inc. +* Copyright (C) 2017-2024 Microchip Technology Inc. */ #ifndef __KSZ9477_REGS_H
@@ -165,8 +165,6 @@#define SW_VLAN_ENABLE BIT(7)#define SW_DROP_INVALID_VID BIT(6)#define SW_AGE_CNT_M GENMASK(5, 3) -#define SW_AGE_CNT_S 3 -#define SW_AGE_PERIOD_10_8_M GENMASK(10, 8)#define SW_RESV_MCAST_ENABLE BIT(2)#define SW_HASH_OPTION_M 0x03#define SW_HASH_OPTION_CRC 1
drivers/net/dsa/microchip/lan937x_main.c +59 -3
75 lines not on this page · raw message
drivers/net/dsa/microchip/lan937x_reg.h +6 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ /* Microchip LAN937X switch register definitions -* Copyright (C) 2019-2021 Microchip Technology Inc. +* Copyright (C) 2019-2024 Microchip Technology Inc. */ #ifndef __LAN937X_REG_H#define __LAN937X_REG_H
@@ -52,8 +52,7 @@#define SW_VLAN_ENABLE BIT(7)#define SW_DROP_INVALID_VID BIT(6) -#define SW_AGE_CNT_M 0x7 -#define SW_AGE_CNT_S 3 +#define SW_AGE_CNT_M GENMASK(5, 3)#define SW_RESV_MCAST_ENABLE BIT(2)#define REG_SW_LUE_CTRL_1 0x0311
@@ -66,6 +65,10 @@#define SW_FAST_AGING BIT(1)#define SW_LINK_AUTO_AGING BIT(0) +#define REG_SW_LUE_CTRL_2 0x0312 + +#define SW_AGE_CNT_IN_MICROSEC BIT(7) +#define REG_SW_AGE_PERIOD__1 0x0313#define SW_AGE_PERIOD_7_0_M GENMASK(7, 0)
drivers/net/ethernet/broadcom/bcmsysport.c +18 -3
@@ -1967,7 +1967,11 @@ static int bcm_sysport_open(struct net_device *dev)unsigned int i;int ret; -clk_prepare_enable (priv->clk); + ret =clk_prepare_enable (priv->clk); +if (ret) { +netdev_err (dev,"could not enable priv clock\n" ); +return ret; + }/* Reset UniMAC */ umac_reset (priv);
@@ -2625,7 +2629,11 @@ static int bcm_sysport_probe(struct platform_device *pdev) goto err_deregister_notifier; } -clk_prepare_enable (priv->clk); + ret =clk_prepare_enable (priv->clk); +if (ret) { +dev_err (&pdev->dev,"could not enable priv clock\n" ); + goto err_deregister_netdev; + } priv->rev =topctrl_readl (priv,REV_CNTL ) &REV_MASK ; dev_info(&pdev->dev,
@@ -2639,6 +2647,8 @@ static int bcm_sysport_probe(struct platform_device *pdev)return 0 ; +err_deregister_netdev: +unregister_netdev (dev); err_deregister_notifier:unregister_netdevice_notifier (&priv->netdev_notifier); err_deregister_fixed_link:
@@ -2808,7 +2818,12 @@ static int __maybe_unused bcm_sysport_resume(struct device *d)if (!netif_running (dev))return 0 ; -clk_prepare_enable (priv->clk); + ret =clk_prepare_enable (priv->clk); +if (ret) { +netdev_err (dev,"could not enable priv clock\n" ); +return ret; + } +if (priv->wolopts)clk_disable_unprepare (priv->wol_clk);
drivers/net/ethernet/google/gve/gve.h +1 -0
@@ -1134,6 +1134,7 @@ int gve_xdp_xmit_one(struct gve_priv *priv, struct gve_tx_ring *tx,void gve_xdp_tx_flush (struct gve_priv *priv,u32 xdp_qid);bool gve_tx_poll (struct gve_notify_block *block,int budget);bool gve_xdp_poll (struct gve_notify_block *block,int budget); +int gve_xsk_tx_poll (struct gve_notify_block *block,int budget);int gve_tx_alloc_rings_gqi (struct gve_priv *priv,struct gve_tx_alloc_rings_cfg *cfg); void gve_tx_free_rings_gqi(struct gve_priv *priv,
drivers/net/ethernet/google/gve/gve_main.c +36 -27
124 lines not on this page · raw message
drivers/net/ethernet/google/gve/gve_tx.c +30 -16
79 lines not on this page · raw message
drivers/net/ethernet/marvell/mv643xx_eth.c +12 -2
@@ -2708,9 +2708,15 @@ static struct platform_device *port_platdev[3];static void mv643xx_eth_shared_of_remove (void ) { +struct mv643xx_eth_platform_data *pd;int n;for (n =0 ; n <3 ; n++) { +if (!port_platdev[n]) +continue ; + pd =dev_get_platdata (&port_platdev[n]->dev); +if (pd) +of_node_put (pd->phy_node);platform_device_del (port_platdev[n]); port_platdev[n] =NULL ; }
@@ -2773,8 +2779,10 @@ static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev, } ppdev =platform_device_alloc (MV643XX_ETH_NAME , dev_num); -if (!ppdev) -return -ENOMEM ; +if (!ppdev) { + ret = -ENOMEM ; + goto put_err; + } ppdev->dev.coherent_dma_mask =DMA_BIT_MASK (32 ); ppdev->dev.of_node = pnp;
@@ -2796,6 +2804,8 @@ static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev, port_err:platform_device_put (ppdev); +put_err: +of_node_put (ppd.phy_node);return ret; }
drivers/net/ethernet/marvell/sky2.c +1 -0
@@ -130,6 +130,7 @@ static const struct pci_device_id sky2_id_table[] = { { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x436C) }, /* 88E8072 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x436D) }, /* 88E8055 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4370) }, /* 88E8075 */ + { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4373) }, /* 88E8075 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4380) }, /* 88E8057 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4381) }, /* 88E8059 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4382) }, /* 88E8079 */
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c +4 -0
@@ -339,9 +339,13 @@ static int mlx5e_macsec_init_sa_fs(struct macsec_context *ctx, {struct mlx5e_priv *priv =macsec_netdev_priv (ctx->netdev);struct mlx5_macsec_fs *macsec_fs = priv->mdev->macsec_fs; +const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc;struct mlx5_macsec_rule_attrs rule_attrs;union mlx5_macsec_rule *macsec_rule; +if (is_tx && tx_sc->encoding_sa != sa->assoc_num) +return 0 ; + rule_attrs.macsec_obj_id = sa->macsec_obj_id; rule_attrs.sci = sa->sci; rule_attrs.assoc_num = sa->assoc_num;
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +17 -2
@@ -6510,8 +6510,23 @@ static void _mlx5e_remove(struct auxiliary_device *adev)mlx5_core_uplink_netdev_set (mdev,NULL );mlx5e_dcbnl_delete_app (priv); -unregister_netdev (priv->netdev); -_mlx5e_suspend (adev, false); +/* When unload driver, the netdev is in registered state +* if it's from legacy mode. If from switchdev mode, it +* is already unregistered before changing to NIC profile. +*/ +if (priv->netdev->reg_state ==NETREG_REGISTERED ) { +unregister_netdev (priv->netdev); +_mlx5e_suspend (adev, false); + }else { +struct mlx5_core_dev *pos; +int i; + +if (test_bit (MLX5E_STATE_DESTROYING , &priv->state)) +mlx5_sd_for_each_dev (i, mdev, pos) +mlx5e_destroy_mdev_resources (pos); +else +_mlx5e_suspend (adev, true); + }/* Avoid cleanup if profile rollback failed. */ if (priv->profile) priv->profile->cleanup (priv);
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c +15 -0
@@ -1508,6 +1508,21 @@ mlx5e_vport_uplink_rep_unload(struct mlx5e_rep_priv *rpriv) priv =netdev_priv (netdev); +/* This bit is set when using devlink to change eswitch mode from +* switchdev to legacy. As need to keep uplink netdev ifindex, we +* detach uplink representor profile and attach NIC profile only. +* The netdev will be unregistered later when unload NIC auxiliary +* driver for this case. +* We explicitly block devlink eswitch mode change if any IPSec rules +* offloaded, but can't block other cases, such as driver unload +* and devlink reload. We have to unregister netdev before profile +* change for those cases. This is to avoid resource leak because +* the offloaded rules don't have the chance to be unoffloaded before +* cleanup which is triggered by detach uplink representor profile. +*/ +if (!(priv->mdev->priv.flags &MLX5_PRIV_FLAGS_SWITCH_LEGACY )) +unregister_netdev (netdev); +mlx5e_netdev_attach_nic_profile (priv); }
drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c +3 -3
@@ -150,11 +150,11 @@ void mlx5_esw_ipsec_restore_dest_uplink(struct mlx5_core_dev *mdev)unsigned long i;int err; -xa_for_each (&esw->offloads.vport_reps, i, rep) { - rpriv = rep->rep_data[REP_ETH ].priv; -if (!rpriv || !rpriv->netdev) +mlx5_esw_for_each_rep (esw, i, rep) { +if (atomic_read (&rep->rep_data[REP_ETH ].state) !=REP_LOADED )continue ; + rpriv = rep->rep_data[REP_ETH ].priv;rhashtable_walk_enter (&rpriv->tc_ht, &iter);rhashtable_walk_start (&iter);while ((flow =rhashtable_walk_next (&iter)) !=NULL ) {
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +3 -0
@@ -716,6 +716,9 @@ void mlx5e_tc_clean_fdb_peer_flows(struct mlx5_eswitch *esw); MLX5_CAP_GEN_2((esw->dev), ec_vf_vport_base) +\ (last) - 1) +#define mlx5_esw_for_each_rep (esw, i, rep) \ + xa_for_each(&((esw)->offloads.vport_reps), i, rep) +struct mlx5_eswitch *__must_check mlx5_devlink_eswitch_get (struct devlink *devlink);
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +2 -3
@@ -53,9 +53,6 @@#include "lag/lag.h" #include "en/tc/post_meter.h" -#define mlx5_esw_for_each_rep (esw, i, rep) \ - xa_for_each(&((esw)->offloads.vport_reps), i, rep) -/* There are two match-all miss flows, one for unicast dst mac and * one for multicast. */
@@ -3762,6 +3759,8 @@ int mlx5_devlink_eswitch_mode_set(struct devlink *devlink, u16 mode, esw->eswitch_operation_in_progress = true;up_write (&esw->mode_lock); +if (mode ==DEVLINK_ESWITCH_MODE_LEGACY ) + esw->dev->priv.flags |=MLX5_PRIV_FLAGS_SWITCH_LEGACY ;mlx5_eswitch_disable_locked (esw);if (mode ==DEVLINK_ESWITCH_MODE_SWITCHDEV ) {if (mlx5_devlink_trap_get_num_active (esw->dev)) {
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c +1 -3
@@ -1067,7 +1067,6 @@ static struct mlx5dr_cq *dr_create_cq(struct mlx5_core_dev *mdev,int inlen, err, eqn;void *cqc, *in;__be64 *pas; -int vector;u32 i; cq =kzalloc (sizeof (*cq),GFP_KERNEL );
@@ -1096,8 +1095,7 @@ static struct mlx5dr_cq *dr_create_cq(struct mlx5_core_dev *mdev,if (!in) goto err_cqwq; - vector =raw_smp_processor_id () %mlx5_comp_vectors_max (mdev); - err =mlx5_comp_eqn_get (mdev, vector, &eqn); + err =mlx5_comp_eqn_get (mdev,0 , &eqn);if (err) {kvfree (in); goto err_cqwq;
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c +1 -2
@@ -423,8 +423,7 @@ mlxsw_sp_span_gretap4_route(const struct net_device *to_dev, parms =mlxsw_sp_ipip_netdev_parms4 (to_dev);ip_tunnel_init_flow (&fl4, parms.iph.protocol, *daddrp, *saddrp, -0 ,0 ,dev_net (to_dev), parms.link, tun->fwmark,0 , -0 ); +0 ,0 , tun->net, parms.link, tun->fwmark,0 ,0 ); rt =ip_route_output_key (tun->net, &fl4);if (IS_ERR (rt))
drivers/net/ethernet/sfc/tc_conntrack.c +1 -1
@@ -16,7 +16,7 @@ static int efx_tc_flow_block(enum tc_setup_type type, void *type_data, void *cb_priv);static const struct rhashtable_params efx_tc_ct_zone_ht_params = { - .key_len = offsetof(struct efx_tc_ct_zone , linkage), + .key_len = sizeof_field(struct efx_tc_ct_zone, zone), .key_offset =0 , .head_offset = offsetof(struct efx_tc_ct_zone , linkage), };
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +17 -26
85 lines not on this page · raw message
drivers/net/ethernet/ti/am65-cpsw-nuss.c +1 -1
@@ -3525,7 +3525,7 @@ static int am65_cpsw_nuss_probe(struct platform_device *pdev)init_completion (&common->tdown_complete); common->tx_ch_num =AM65_CPSW_DEFAULT_TX_CHNS ; common->rx_ch_num_flows =AM65_CPSW_DEFAULT_RX_CHN_FLOWS ; - common->pf_p0_rx_ptype_rrobin = false; + common->pf_p0_rx_ptype_rrobin = true; common->default_vlan =1 ; common->ports = devm_kcalloc(dev, common->port_num,
drivers/net/ethernet/ti/icssg/icss_iep.c +8 -0
@@ -215,6 +215,9 @@ static void icss_iep_enable_shadow_mode(struct icss_iep *iep)for (cmp =IEP_MIN_CMP ; cmp <IEP_MAX_CMP ; cmp++) {regmap_update_bits (iep->map,ICSS_IEP_CMP_STAT_REG ,IEP_CMP_STATUS (cmp),IEP_CMP_STATUS (cmp)); + +regmap_update_bits (iep->map,ICSS_IEP_CMP_CFG_REG , +IEP_CMP_CFG_CMP_EN (cmp),0 ); }/* enable reset counter on CMP0 event */
@@ -780,6 +783,11 @@ int icss_iep_exit(struct icss_iep *iep) }icss_iep_disable (iep); +if (iep->pps_enabled) +icss_iep_pps_enable (iep, false); +else if (iep->perout_enabled) +icss_iep_perout_enable (iep,NULL , false); +return 0 ; }EXPORT_SYMBOL_GPL (icss_iep_exit);
drivers/net/ethernet/ti/icssg/icssg_common.c +0 -25
@@ -855,31 +855,6 @@ irqreturn_t prueth_rx_irq(int irq, void *dev_id) }EXPORT_SYMBOL_GPL (prueth_rx_irq); -void prueth_emac_stop (struct prueth_emac *emac) -{ -struct prueth *prueth = emac->prueth; -int slice; - -switch (emac->port_id) { -case PRUETH_PORT_MII0 : - slice =ICSS_SLICE0 ; -break ; -case PRUETH_PORT_MII1 : - slice =ICSS_SLICE1 ; -break ; -default : -netdev_err (emac->ndev,"invalid port\n" ); -return ; - } - - emac->fw_running =0 ; -if (!emac->is_sr1) -rproc_shutdown (prueth->txpru[slice]); -rproc_shutdown (prueth->rtu[slice]); -rproc_shutdown (prueth->pru[slice]); -} -EXPORT_SYMBOL_GPL (prueth_emac_stop); -void prueth_cleanup_tx_ts (struct prueth_emac *emac) {int i;
drivers/net/ethernet/ti/icssg/icssg_config.c +28 -13
79 lines not on this page · raw message
drivers/net/ethernet/ti/icssg/icssg_config.h +1 -0
@@ -55,6 +55,7 @@ struct icssg_rxq_ctx {#define ICSSG_FW_MGMT_FDB_CMD_TYPE 0x03#define ICSSG_FW_MGMT_CMD_TYPE 0x04#define ICSSG_FW_MGMT_PKT 0x80000000 +#define ICSSG_FW_MGMT_FDB_CMD_TYPE_RX_FLOW 0x05struct icssg_r30_cmd {u32 cmd[4 ];
drivers/net/ethernet/ti/icssg/icssg_prueth.c +181 -80
416 lines not on this page · raw message
drivers/net/ethernet/ti/icssg/icssg_prueth.h +3 -2
@@ -140,7 +140,6 @@ struct prueth_rx_chn {/* data for each emac port */ struct prueth_emac {bool is_sr1; -bool fw_running;struct prueth *prueth;struct net_device *ndev;u8 mac_addr[6 ];
@@ -361,6 +360,8 @@ int icssg_set_port_state(struct prueth_emac *emac, enum icssg_port_state_cmd state);void icssg_config_set_speed (struct prueth_emac *emac);void icssg_config_half_duplex (struct prueth_emac *emac); +void icssg_init_emac_mode (struct prueth *prueth); +void icssg_init_fw_offload_mode (struct prueth *prueth);/* Buffer queue helpers */ int icssg_queue_pop (struct prueth *prueth,u8 queue);
@@ -377,6 +378,7 @@ void icssg_vtbl_modify(struct prueth_emac *emac, u8 vid, u8 port_mask, u8 untag_mask, bool add);u16 icssg_get_pvid (struct prueth_emac *emac);void icssg_set_pvid (struct prueth *prueth,u8 vid,u8 port); +int emac_fdb_flow_id_updated (struct prueth_emac *emac);#define prueth_napi_to_tx_chn (pnapi) \ container_of(pnapi, struct prueth_tx_chn, napi_tx)
@@ -407,7 +409,6 @@ void emac_rx_timestamp(struct prueth_emac *emac, struct sk_buff *skb, u32 *psdata);enum netdev_tx icssg_ndo_start_xmit (struct sk_buff *skb,struct net_device *ndev);irqreturn_t prueth_rx_irq (int irq,void *dev_id); -void prueth_emac_stop (struct prueth_emac *emac);void prueth_cleanup_tx_ts (struct prueth_emac *emac);int icssg_napi_rx_poll (struct napi_struct *napi_rx,int budget); int prueth_prepare_rx_chan(struct prueth_emac *emac,
drivers/net/ethernet/ti/icssg/icssg_prueth_sr1.c +23 -1
@@ -440,7 +440,6 @@ static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) goto halt_pru; } - emac->fw_running =1 ;return 0 ; halt_pru:
@@ -449,6 +448,29 @@ static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac)return ret; } +static void prueth_emac_stop (struct prueth_emac *emac) +{ +struct prueth *prueth = emac->prueth; +int slice; + +switch (emac->port_id) { +case PRUETH_PORT_MII0 : + slice =ICSS_SLICE0 ; +break ; +case PRUETH_PORT_MII1 : + slice =ICSS_SLICE1 ; +break ; +default : +netdev_err (emac->ndev,"invalid port\n" ); +return ; + } + +if (!emac->is_sr1) +rproc_shutdown (prueth->txpru[slice]); +rproc_shutdown (prueth->rtu[slice]); +rproc_shutdown (prueth->pru[slice]); +} +/** * emac_ndo_open - EMAC device open * @ndev: network adapter device
drivers/net/phy/micrel.c +101 -13
204 lines not on this page · raw message
drivers/net/pse-pd/tps23881.c +4 -12
@@ -64,15 +64,11 @@ static int tps23881_pi_enable(struct pse_controller_dev *pcdev, int id)if (id >=TPS23881_MAX_CHANS )return -ERANGE ; - ret =i2c_smbus_read_word_data (client,TPS23881_REG_PW_STATUS ); -if (ret <0 ) -return ret; - chan = priv->port[id].chan[0 ];if (chan <4 ) - val = (u16)(ret |BIT (chan)); + val =BIT (chan);else - val = (u16)(ret |BIT (chan +4 )); + val =BIT (chan +4 );if (priv->port[id].is_4p) { chan = priv->port[id].chan[1 ];
@@ -100,15 +96,11 @@ static int tps23881_pi_disable(struct pse_controller_dev *pcdev, int id)if (id >=TPS23881_MAX_CHANS )return -ERANGE ; - ret =i2c_smbus_read_word_data (client,TPS23881_REG_PW_STATUS ); -if (ret <0 ) -return ret; - chan = priv->port[id].chan[0 ];if (chan <4 ) - val = (u16)(ret |BIT (chan +4 )); + val =BIT (chan +4 );else - val = (u16)(ret |BIT (chan +8 )); + val =BIT (chan +8 );if (priv->port[id].is_4p) { chan = priv->port[id].chan[1 ];
drivers/net/usb/qmi_wwan.c +3 -0
@@ -1365,6 +1365,9 @@ static const struct usb_device_id products[] = { {QMI_QUIRK_SET_DTR(0x1bc7, 0x10a0, 0)}, /* Telit FN920C04 */ {QMI_QUIRK_SET_DTR(0x1bc7, 0x10a4, 0)}, /* Telit FN920C04 */ {QMI_QUIRK_SET_DTR(0x1bc7, 0x10a9, 0)}, /* Telit FN920C04 */ + {QMI_QUIRK_SET_DTR(0x1bc7, 0x10c0, 0)}, /* Telit FE910C04 */
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/cfg/bz.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-config.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/d3.c +11 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/drv.c +36 -1
Lines of this file are not shown. View the raw message.
drivers/net/wwan/t7xx/t7xx_state_monitor.c +17 -9
Lines of this file are not shown. View the raw message.
drivers/net/wwan/t7xx/t7xx_state_monitor.h +3 -2
Lines of this file are not shown. View the raw message.
include/linux/mm.h +41 -18
59 lines not on this page · raw message
include/net/bluetooth/hci_core.h +70 -38
108 lines not on this page · raw message
net/core/filter.c +30 -35
65 lines not on this page · raw message
tools/testing/selftests/bpf/progs/tc_bpf2bpf.c +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/forwarding/local_termination.sh +0 -1
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.12.9 kernel.
All users of the 6.12 kernel series must upgrade.
The updated 6.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.12.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/admin-guide/laptops/thinkpad-acpi.rst | 10 Documentation/devicetree/bindings/display/bridge/adi,adv7533.yaml | 2 Makefile | 2 arch/arc/Kconfig | 4 arch/arc/Makefile | 2 arch/arc/include/asm/cmpxchg.h | 2 arch/arc/net/bpf_jit_arcv2.c | 2 arch/x86/events/intel/core.c | 1 block/blk.h | 9 drivers/clk/imx/clk-imx8mp-audiomix.c | 3 drivers/clk/thead/clk-th1520-ap.c | 13 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 10 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 4 drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 14 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 10 drivers/gpu/drm/bridge/adv7511/adv7533.c | 4 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 12 drivers/gpu/drm/i915/gt/intel_rc6.c | 2 drivers/gpu/drm/xe/xe_bo.c | 12 drivers/gpu/drm/xe/xe_devcoredump.c | 15 drivers/gpu/drm/xe/xe_exec_queue.c | 9 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 drivers/infiniband/core/cma.c | 16 drivers/infiniband/core/nldev.c | 2 drivers/infiniband/core/uverbs_cmd.c | 16 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 34 - drivers/infiniband/hw/bnxt_re/main.c | 8 drivers/infiniband/hw/bnxt_re/qplib_fp.c | 65 +- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 3 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 5 drivers/infiniband/hw/bnxt_re/qplib_sp.c | 18 drivers/infiniband/hw/hns/hns_roce_hem.c | 43 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 11 drivers/infiniband/hw/hns/hns_roce_mr.c | 5 drivers/infiniband/hw/mlx5/main.c | 8 drivers/infiniband/sw/rxe/rxe.c | 23 drivers/infiniband/sw/rxe/rxe.h | 3 drivers/infiniband/sw/rxe/rxe_mcast.c | 22 drivers/infiniband/sw/rxe/rxe_net.c | 24 drivers/infiniband/sw/rxe/rxe_verbs.c | 26 drivers/infiniband/sw/rxe/rxe_verbs.h | 11 drivers/infiniband/sw/siw/siw.h | 7 drivers/infiniband/sw/siw/siw_cm.c | 27 - drivers/infiniband/sw/siw/siw_main.c | 15 drivers/infiniband/sw/siw/siw_verbs.c | 35 - drivers/infiniband/ulp/rtrs/rtrs-srv.c | 2 drivers/irqchip/irq-gic.c | 2 drivers/mmc/host/sdhci-msm.c | 16 drivers/net/dsa/microchip/ksz9477.c | 47 + drivers/net/dsa/microchip/ksz9477_reg.h | 4 drivers/net/dsa/microchip/lan937x_main.c | 62 ++ drivers/net/dsa/microchip/lan937x_reg.h | 9 drivers/net/ethernet/broadcom/bcmsysport.c | 21 drivers/net/ethernet/google/gve/gve.h | 1 drivers/net/ethernet/google/gve/gve_main.c | 63 +- drivers/net/ethernet/google/gve/gve_tx.c | 46 + drivers/net/ethernet/marvell/mv643xx_eth.c | 14 drivers/net/ethernet/marvell/sky2.c | 1 drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c | 4 drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 19 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 15 drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c | 6 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 5 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c | 4 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c | 3 drivers/net/ethernet/sfc/tc_conntrack.c | 2 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 43 - drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 drivers/net/ethernet/ti/icssg/icss_iep.c | 8 drivers/net/ethernet/ti/icssg/icssg_common.c | 25 drivers/net/ethernet/ti/icssg/icssg_config.c | 41 + drivers/net/ethernet/ti/icssg/icssg_config.h | 1 drivers/net/ethernet/ti/icssg/icssg_prueth.c | 261 ++++++---- drivers/net/ethernet/ti/icssg/icssg_prueth.h | 5 drivers/net/ethernet/ti/icssg/icssg_prueth_sr1.c | 24 drivers/net/phy/micrel.c | 114 +++- drivers/net/pse-pd/tps23881.c | 16 drivers/net/usb/qmi_wwan.c | 3 drivers/net/wireless/intel/iwlwifi/cfg/bz.c | 1 drivers/net/wireless/intel/iwlwifi/iwl-config.h | 1 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 14 drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 37 + drivers/net/wwan/iosm/iosm_ipc_mmio.c | 2 drivers/net/wwan/t7xx/t7xx_state_monitor.c | 26 drivers/net/wwan/t7xx/t7xx_state_monitor.h | 5 drivers/nvme/host/nvme.h | 5 drivers/nvme/host/pci.c | 9 drivers/nvme/target/configfs.c | 11 drivers/pinctrl/pinctrl-mcp23s08.c | 6 drivers/platform/x86/hp/hp-wmi.c | 4 drivers/platform/x86/mlx-platform.c | 2 drivers/platform/x86/thinkpad_acpi.c | 4 drivers/pmdomain/core.c | 6 drivers/pmdomain/imx/gpcv2.c | 4 drivers/spi/spi-cadence-quadspi.c | 10 fs/btrfs/bio.c | 23 fs/btrfs/disk-io.c | 9 fs/btrfs/inode.c | 5 fs/ocfs2/quota_global.c | 2 fs/ocfs2/quota_local.c | 1 fs/proc/task_mmu.c | 2 fs/smb/client/cifsfs.c | 1 fs/smb/server/smb2pdu.c | 22 fs/smb/server/vfs.h | 1 include/linux/bio.h | 17 include/linux/filter.h | 2 include/linux/if_vlan.h | 16 include/linux/memfd.h | 14 include/linux/mlx5/driver.h | 7 include/linux/mlx5/mlx5_ifc.h | 4 include/linux/mm.h | 59 +- include/linux/mm_types.h | 30 + include/net/bluetooth/hci_core.h | 108 ++-- include/net/netfilter/nf_tables.h | 7 include/sound/cs35l56.h | 6 io_uring/kbuf.c | 4 io_uring/net.c | 1 io_uring/rw.c | 2 kernel/bpf/core.c | 8 kernel/bpf/verifier.c | 2 kernel/kcov.c | 2 kernel/sched/ext.c | 4 kernel/trace/fgraph.c | 2 kernel/trace/ftrace.c | 8 kernel/trace/trace_events.c | 12 kernel/workqueue.c | 23 lib/maple_tree.c | 1 mm/damon/core.c | 10 mm/hugetlb.c | 16 mm/kmemleak.c | 2 mm/memfd.c | 2 mm/mmap.c | 4 mm/readahead.c | 6 mm/shmem.c | 7 mm/vmscan.c | 9 net/bluetooth/hci_core.c | 10 net/bluetooth/iso.c | 6 net/bluetooth/l2cap_core.c | 12 net/bluetooth/rfcomm/core.c | 6 net/bluetooth/sco.c | 12 net/core/dev.c | 4 net/core/filter.c | 65 +- net/core/netdev-genl.c | 6 net/core/sock.c | 5 net/ipv4/ip_tunnel.c | 6 net/ipv4/tcp_input.c | 1 net/ipv6/ila/ila_xlat.c | 16 net/llc/llc_input.c | 2 net/mac80211/cfg.c | 8 net/mac80211/mesh.c | 6 net/mac80211/util.c | 3 net/mptcp/options.c | 7 net/mptcp/protocol.c | 22 net/netrom/nr_route.c | 6 net/packet/af_packet.c | 28 - net/sctp/associola.c | 3 net/wireless/util.c | 3 scripts/mksysmap | 4 scripts/mod/file2alias.c | 2 scripts/package/PKGBUILD | 2 scripts/sorttable.h | 5 security/selinux/ss/services.c | 8 sound/core/seq/oss/seq_oss_synth.c | 2 sound/core/seq/seq_clientmgr.c | 14 sound/core/ump.c | 2 sound/pci/hda/cs35l56_hda.c | 8 sound/pci/hda/patch_ca0132.c | 37 - sound/pci/hda/patch_realtek.c | 24 sound/soc/generic/audio-graph-card2.c | 2 sound/usb/format.c | 7 sound/usb/mixer_us16x08.c | 2 sound/usb/quirks.c | 2 tools/sched_ext/scx_central.c | 2 tools/testing/selftests/bpf/progs/tc_bpf2bpf.c | 2 tools/testing/selftests/net/forwarding/local_termination.sh | 1 177 files changed, 1687 insertions(+), 753 deletions(-)
Aditya Kumar Singh (1):
wifi: cfg80211: clear link ID from bitmap during link delete after clean up
Adrian Ratiu (2):
sound: usb: enable DSD output for ddHiFi TC44C
sound: usb: format: don't warn that raw DSD is unsupported
Alessandro Carminati (1):
mm/kmemleak: fix sleeping function called from invalid context at print message
Alex Deucher (1):
drm/amdgpu: fix backport of commit 73dae652dcac
Anton Protopopov (1):
bpf: fix potential error return
Antonio Pastor (1):
net: llc: reset skb->transport_header
Anumula Murali Mohan Reddy (1):
RDMA/core: Fix ENODEV error for iWARP test over vlan
Arnd Bergmann (1):
kcov: mark in_softirq_really() as __always_inline
Baolin Wang (2):
mm: shmem: fix the update of 'shmem_falloc->nr_unswapped'
mm: shmem: fix incorrect index alignment for within_size policy
Bernard Metzler (1):
RDMA/siw: Remove direct link to net_device
Biju Das (3):
drm: adv7511: Drop dsi single lane support
dt-bindings: display: adi,adv7533: Drop single lane support
drm: adv7511: Fix use-after-free in adv7533_attach_dsi()
Chengchang Tang (3):
RDMA/hns: Fix accessing invalid dip_ctx during destroying QP RDMA/hns: Fix warning storm caused by invalid input in IO path RDMA/hns: Fix missing flush CQE for DWQE
Chiara Meiohas (1):
RDMA/nldev: Set error code in rdma_nl_notify_event
Christoph Hellwig (2):
block: lift bio_is_zone_append to bio.h
btrfs: use bio_is_zone_append() in the completion handler
Damodharam Ammepalli (2):
RDMA/bnxt_re: Add send queue size check for variable wqe RDMA/bnxt_re: Fix MSN table size for variable wqe mode
Dan Carpenter (1):
RDMA/uverbs: Prevent integer overflow issue
Daniel Schaefer (1):
ALSA hda/realtek: Add quirk for Framework F111:000C
Daniele Palmas (1):
net: usb: qmi_wwan: add Telit FE910C04 compositions
David Hildenbrand (1):
fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bit
Dennis Lam (1):
ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv
Dragos Tatulea (1):
net/mlx5e: macsec: Maintain TX SA from encoding_sa
Eduard Zingerman (2):
bpf: refactor bpf_helper_changes_pkt_data to use helper number
bpf: consider that tail calls invalidate packet pointers
Emmanuel Grumbach (2):
wifi: iwlwifi: fix CRF name for Bz
wifi: mac80211: wake the queues in case of failure in resume
Enzo Matsumiya (1):
smb: client: destroy cfid_put_wq on module exit
Eric Biggers (1):
mmc: sdhci-msm: fix crypto key eviction
Eric Dumazet (4):
net: restrict SO_REUSEPORT to inet sockets
af_packet: fix vlan_get_tci() vs MSG_PEEK
af_packet: fix vlan_get_protocol_dgram() vs MSG_PEEK
ila: serialize calls to nf_register_net_hooks()
Evgenii Shatokhin (1):
pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking
Filipe Manana (2):
btrfs: allow swap activation to be interruptible
btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount
Greg Kroah-Hartman (1):
Linux 6.12.9
Hardevsinh Palaniya (1):
ARC: bpf: Correct conditional check in 'check_jmp_32'
Henry Huang (1):
sched_ext: initialize kit->cursor.flags
Hobin Woo (1):
ksmbd: retry iterate_dir in smb2_query_dir
Ilya Shchipletsov (1):
netrom: check buffer length before accessing it
Issam Hamdi (1):
wifi: mac80211: fix mbss changed flags corruption on 32 bit systems
Jakub Kicinski (1):
netdev-genl: avoid empty messages in napi get
Jens Axboe (2):
io_uring/net: always initialize kmsg->msg.msg_inq upfront io_uring/kbuf: use pre-committed buffer address for non-pollable file
Jianbo Liu (2):
net/mlx5e: Skip restore TC rules for vport rep without loaded flag net/mlx5e: Keep netdev when leave switchdev for devlink set legacy only
Jinjian Song (1):
net: wwan: t7xx: Fix FSM command timeout issue
Joe Hattori (4):
platform/x86: mlx-platform: call pci_dev_put() to balance the refcount
pmdomain: imx: gpcv2: fix an OF node reference leak in imx_gpcv2_probe()
net: stmmac: restructure the error path of stmmac_probe_config_dt()
net: mv643xx_eth: fix an OF node reference leak
Johannes Thumshirn (1):
btrfs: handle bio_split() errors
John Harrison (1):
drm/xe: Revert some changes that break a mesa debug tool
Joshua Washington (6):
gve: process XSK TX descriptors as part of RX NAPI
gve: clean XDP queues in gve_tx_stop_ring_gqi
gve: guard XSK operations on the existence of queues
gve: fix XDP allocation path in edge cases
gve: guard XDP xmit NDO on existence of xdp queues
gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup
Kalesh AP (4):
RDMA/bnxt_re: Fix the check for 9060 condition RDMA/bnxt_re: Fix reporting hw_ver in query_device RDMA/bnxt_re: Disable use of reserved wqes RDMA/bnxt_re: Fix error recovery sequence
Kan Liang (1):
perf/x86/intel: Add Arrow Lake U support
Kashyap Desai (2):
RDMA/bnxt_re: Fix max SGEs for the Work Request RDMA/bnxt_re: Avoid sending the modify QP workaround for latest adapters
Kees Cook (1):
wifi: iwlwifi: mvm: Fix __counted_by usage in cfg80211_wowlan_nd_*
Kohei Enju (1):
ftrace: Fix function profiler's filtering functionality
Kory Maincent (1):
net: pse-pd: tps23881: Fix power on/off issue
Kuan-Wei Chiu (1):
scripts/sorttable: fix orc_sort_cmp() to maintain symmetry and transitivity
Leo Stone (1):
nvmet: Don't overflow subsysnqn
Leon Romanovsky (2):
RDMA/bnxt_re: Remove always true dattr validity check
ARC: build: Try to guess GCC variant of cross compiler
Li Zhijian (1):
RDMA/rtrs: Ensure 'ib_sge list' is accessible
Liang Jie (1):
net: sfc: Correct key_len for efx_tc_ct_zone_ht_params
Liu Shixin (1):
mm: hugetlb: independent PMD page table shared count
Lorenzo Stoakes (1):
mm: reinstate ability to map write-sealed memfd mappings read-only
Lucas De Marchi (1):
drm/xe: Fix fault on fd close after unbind
Lucas Stach (1):
pmdomain: core: add dummy release function to genpd device
Luiz Augusto von Dentz (1):
Bluetooth: hci_core: Fix sleeping function called from invalid context
MD Danish Anwar (1):
net: ti: icssg-prueth: Fix firmware load sequence.
Maciej S. Szmigiero (1):
net: wwan: iosm: Properly check for valid exec stage in ipc_mmio_init()
Maksim Kiselev (1):
clk: thead: Fix TH1520 emmc and shdci clock rate
Mark Zhang (1):
RDMA/mlx5: Enable multiplane mode only when it is supported
Masahiro Yamada (1):
modpost: fix the missed iteration for the max bit in do_input()
Meghana Malladi (1):
net: ti: icssg-prueth: Fix clearing of IEP_CMP_CFG registers during iep_init
Michal Wajdeczko (1):
drm/xe/pf: Use correct function to check LMEM provisioning
Mingcong Bai (1):
platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
Mostafa Saleh (1):
scripts/mksysmap: Fix escape chars '$'
Namjae Jeon (1):
ksmbd: set ATTR_CTIME flags when setting mtime
Nikolaus Voss (1):
clk: clk-imx8mp-audiomix: fix function signature
Nikolay Kuratov (1):
net/sctp: Prevent autoclose integer overflow in sctp_association_init()
Niravkumar L Rabara (1):
spi: spi-cadence-qspi: Disable STIG mode for Altera SoCFPGA.
Nirmoy Das (2):
drm/xe: Use non-interruptible wait when moving BO to system drm/xe: Wait for migration job before unmapping pages
Pablo Neira Ayuso (1):
netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
Paolo Abeni (3):
mptcp: fix TCP options overflow.
mptcp: fix recvbuffer adjust on sleeping rcvmsg
mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
Pascal Hambourg (1):
sky2: Add device ID 11ab:4373 for Marvell 88E8075
Patrisious Haddad (1):
RDMA/mlx5: Enforce same type port association for multiport RoCE
Paul E. McKenney (1):
ARC: build: Use __force to suppress per-CPU cmpxchg warnings
Pavel Begunkov (1):
io_uring/rw: fix downgraded mshot read
Prike Liang (1):
drm/amdkfd: Correct the migration DMA map direction
Robert Beckett (1):
nvme-pci: 512 byte aligned dma pool segment quirk
Rodrigo Vivi (1):
drm/i915/dg1: Fix power gate sequence.
Saravanan Vajravel (1):
RDMA/bnxt_re: Add check for path mtu in modify_qp
Seiji Nishikawa (1):
mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim()
Selvin Xavier (3):
RDMA/bnxt_re: Avoid initializing the software queue for user queues RDMA/bnxt_re: Fix max_qp_wrs reported
RDMA/bnxt_re: Fix the locking while accessing the QP table
SeongJae Park (2):
mm/damon/core: fix ignored quota goals and filters of newly committed schemes mm/damon/core: fix new damon_target objects leaks on damon_commit_targets()
Shahar Shitrit (1):
net/mlx5: DR, select MSIX vector 0 for completion queue creation
Siddharth Vadapalli (1):
net: ethernet: ti: am65-cpsw: default to round-robin for host port receive
Simon Trimmer (1):
ALSA: hda: cs35l56: Remove calls to cs35l56_force_sync_asp1_registers_from_cache()
Stefan Ekenberg (1):
drm/bridge: adv7511_audio: Update Audio InfoFrame properly
Stephen Gordon (1):
ASoC: audio-graph-card: Call of_node_put() on correct node
Steven Rostedt (1):
tracing: Have process_string() also allow arrays
Su Hui (1):
workqueue: add printf attribute to __alloc_workqueue()
Suraj Kandpal (1):
drm/i915/cx0_phy: Fix C10 pll programming sequence
Takashi Iwai (4):
ALSA: hda/ca0132: Use standard HD-audio quirk matching helpers Revert "ALSA: ump: Don't enumeration invalid groups for legacy rawmidi"
ALSA: seq: Check UMP support for midi_version change
ALSA: seq: oss: Fix races at processing SysEx messages
Tanya Agarwal (1):
ALSA: usb-audio: US16x08: Initialize array before use
Tejun Heo (1):
sched_ext: Fix invalid irq restore in scx_ops_bypass()
Thiébaud Weksteen (1):
selinux: ignore unknown extended permissions
Thomas Weißschuh (1):
kbuild: pacman-pkg: provide versioned linux-api-headers package
Tristram Ha (2):
net: dsa: microchip: Fix KSZ9477 set_ageing_time function
net: dsa: microchip: Fix LAN937X set_ageing_time function
Tvrtko Ursulin (1):
workqueue: Do not warn when cancelling WQ_MEM_RECLAIM work from !WQ_MEM_RECLAIM worker
Uros Bizjak (1):
irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base
Vasiliy Kovalev (2):
ALSA: hda/realtek - Add support for ASUS Zen AIO 27 Z272SD_A272SD audio
ALSA: hda/realtek: Add new alc2xx-fixup-headset-mic model
Victor Zhao (1):
drm/amdgpu: use sjt mec fw on gfx943 for sriov
Vineet Gupta (1):
ARC: build: disallow invalid PAE40 + 4K page config
Vishnu Sankar (1):
platform/x86: thinkpad-acpi: Add support for hotkey 0x1401
Vitalii Mordan (1):
eth: bcmsysport: fix call balance of priv->clk handling routines
Vladimir Oltean (1):
selftests: net: local_termination: require mausezahn
Wang Liang (1):
net: fix memory leak in tcp_conn_request()
Wei Fang (1):
net: phy: micrel: Dynamically control external clock of KSZ PHY
Willem de Bruijn (1):
net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
Xiao Liang (1):
net: Fix netns for ip_tunnel_init_flow()
Yafang Shao (1):
mm/readahead: fix large folio support in async readahead
Yang Erkun (1):
maple_tree: reload mas before the second call for mas_empty_area
Zhu Yanjun (1):
RDMA/rxe: Remove the direct link to net_device
Zilin Guan (1):
fgraph: Add READ_ONCE() when accessing fgraph_array[]
guanjing (1):
sched_ext: fix application of sizeof to pointer
wenglianfa (1):
RDMA/hns: Fix mapping error of zero-hop WQE buffer