public inbox for patches@lists.linux.dev
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: patches@lists.linux.dev
Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>,
	Xenia Ragiadakou <burzalodowa@gmail.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Juergen Gross <jgross@suse.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.1 017/232] xen/virtio: Optimize the setup of "xen-grant-dma" devices
Date: Sat, 28 Feb 2026 13:07:50 -0500	[thread overview]
Message-ID: <20260228181127.1592657-17-sashal@kernel.org> (raw)
In-Reply-To: <20260228181127.1592657-1-sashal@kernel.org>

From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

[ Upstream commit 035e3a4321f73c352b6408ec2153fa5bc3feb459 ]

This is needed to avoid having to parse the same device-tree
several times for a given device.

For this to work we need to install the xen_virtio_restricted_mem_acc
callback in Arm's xen_guest_init() which is same callback as x86's
PV and HVM modes already use and remove the manual assignment in
xen_setup_dma_ops(). Also we need to split the code to initialize
backend_domid into a separate function.

Prior to current patch we parsed the device-tree three times:
1. xen_setup_dma_ops()->...->xen_is_dt_grant_dma_device()
2. xen_setup_dma_ops()->...->xen_dt_grant_init_backend_domid()
3. xen_virtio_mem_acc()->...->xen_is_dt_grant_dma_device()

With current patch we parse the device-tree only once in
xen_virtio_restricted_mem_acc()->...->xen_dt_grant_init_backend_domid()

Other benefits are:
- Not diverge from x86 when setting up Xen grant DMA ops
- Drop several global functions

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20221025162004.8501-2-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Stable-dep-of: dc8ea8714311 ("xen/virtio: Don't use grant-dma-ops when running as Dom0")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/arm/xen/enlighten.c    |  2 +-
 drivers/xen/grant-dma-ops.c | 77 ++++++++++++++-----------------------
 include/xen/arm/xen-ops.h   |  4 +-
 include/xen/xen-ops.h       | 16 --------
 4 files changed, 30 insertions(+), 69 deletions(-)

diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c
index eace3607fef41..a395b6c0aae2a 100644
--- a/arch/arm/xen/enlighten.c
+++ b/arch/arm/xen/enlighten.c
@@ -442,7 +442,7 @@ static int __init xen_guest_init(void)
 		return 0;
 
 	if (IS_ENABLED(CONFIG_XEN_VIRTIO))
-		virtio_set_mem_acc_cb(xen_virtio_mem_acc);
+		virtio_set_mem_acc_cb(xen_virtio_restricted_mem_acc);
 
 	if (!acpi_disabled)
 		xen_acpi_guest_init();
diff --git a/drivers/xen/grant-dma-ops.c b/drivers/xen/grant-dma-ops.c
index daa525df7bdc5..1e797a043980a 100644
--- a/drivers/xen/grant-dma-ops.c
+++ b/drivers/xen/grant-dma-ops.c
@@ -292,50 +292,20 @@ static const struct dma_map_ops xen_grant_dma_ops = {
 	.dma_supported = xen_grant_dma_supported,
 };
 
-static bool xen_is_dt_grant_dma_device(struct device *dev)
-{
-	struct device_node *iommu_np;
-	bool has_iommu;
-
-	iommu_np = of_parse_phandle(dev->of_node, "iommus", 0);
-	has_iommu = iommu_np &&
-		    of_device_is_compatible(iommu_np, "xen,grant-dma");
-	of_node_put(iommu_np);
-
-	return has_iommu;
-}
-
-bool xen_is_grant_dma_device(struct device *dev)
-{
-	/* XXX Handle only DT devices for now */
-	if (dev->of_node)
-		return xen_is_dt_grant_dma_device(dev);
-
-	return false;
-}
-
-bool xen_virtio_mem_acc(struct virtio_device *dev)
-{
-	if (IS_ENABLED(CONFIG_XEN_VIRTIO_FORCE_GRANT) || xen_pv_domain())
-		return true;
-
-	return xen_is_grant_dma_device(dev->dev.parent);
-}
-
 static int xen_dt_grant_init_backend_domid(struct device *dev,
-					   struct xen_grant_dma_data *data)
+					   domid_t *backend_domid)
 {
 	struct of_phandle_args iommu_spec;
 
 	if (of_parse_phandle_with_args(dev->of_node, "iommus", "#iommu-cells",
 			0, &iommu_spec)) {
-		dev_err(dev, "Cannot parse iommus property\n");
+		dev_dbg(dev, "Cannot parse iommus property\n");
 		return -ESRCH;
 	}
 
 	if (!of_device_is_compatible(iommu_spec.np, "xen,grant-dma") ||
 			iommu_spec.args_count != 1) {
-		dev_err(dev, "Incompatible IOMMU node\n");
+		dev_dbg(dev, "Incompatible IOMMU node\n");
 		of_node_put(iommu_spec.np);
 		return -ESRCH;
 	}
@@ -346,12 +316,28 @@ static int xen_dt_grant_init_backend_domid(struct device *dev,
 	 * The endpoint ID here means the ID of the domain where the
 	 * corresponding backend is running
 	 */
-	data->backend_domid = iommu_spec.args[0];
+	*backend_domid = iommu_spec.args[0];
 
 	return 0;
 }
 
-void xen_grant_setup_dma_ops(struct device *dev)
+static int xen_grant_init_backend_domid(struct device *dev,
+					domid_t *backend_domid)
+{
+	int ret = -ENODEV;
+
+	if (dev->of_node) {
+		ret = xen_dt_grant_init_backend_domid(dev, backend_domid);
+	} else if (IS_ENABLED(CONFIG_XEN_VIRTIO_FORCE_GRANT) || xen_pv_domain()) {
+		dev_info(dev, "Using dom0 as backend\n");
+		*backend_domid = 0;
+		ret = 0;
+	}
+
+	return ret;
+}
+
+static void xen_grant_setup_dma_ops(struct device *dev, domid_t backend_domid)
 {
 	struct xen_grant_dma_data *data;
 
@@ -365,16 +351,7 @@ void xen_grant_setup_dma_ops(struct device *dev)
 	if (!data)
 		goto err;
 
-	if (dev->of_node) {
-		if (xen_dt_grant_init_backend_domid(dev, data))
-			goto err;
-	} else if (IS_ENABLED(CONFIG_XEN_VIRTIO_FORCE_GRANT)) {
-		dev_info(dev, "Using dom0 as backend\n");
-		data->backend_domid = 0;
-	} else {
-		/* XXX ACPI device unsupported for now */
-		goto err;
-	}
+	data->backend_domid = backend_domid;
 
 	if (store_xen_grant_dma_data(dev, data)) {
 		dev_err(dev, "Cannot store Xen grant DMA data\n");
@@ -392,12 +369,14 @@ void xen_grant_setup_dma_ops(struct device *dev)
 
 bool xen_virtio_restricted_mem_acc(struct virtio_device *dev)
 {
-	bool ret = xen_virtio_mem_acc(dev);
+	domid_t backend_domid;
 
-	if (ret)
-		xen_grant_setup_dma_ops(dev->dev.parent);
+	if (!xen_grant_init_backend_domid(dev->dev.parent, &backend_domid)) {
+		xen_grant_setup_dma_ops(dev->dev.parent, backend_domid);
+		return true;
+	}
 
-	return ret;
+	return false;
 }
 
 MODULE_DESCRIPTION("Xen grant DMA-mapping layer");
diff --git a/include/xen/arm/xen-ops.h b/include/xen/arm/xen-ops.h
index b0766a660338f..70073f5a2b545 100644
--- a/include/xen/arm/xen-ops.h
+++ b/include/xen/arm/xen-ops.h
@@ -8,9 +8,7 @@
 static inline void xen_setup_dma_ops(struct device *dev)
 {
 #ifdef CONFIG_XEN
-	if (xen_is_grant_dma_device(dev))
-		xen_grant_setup_dma_ops(dev);
-	else if (xen_swiotlb_detect())
+	if (xen_swiotlb_detect())
 		dev->dma_ops = &xen_swiotlb_dma_ops;
 #endif
 }
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index a34f4271a2e9f..47f11bec5e90c 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -216,26 +216,10 @@ static inline void xen_preemptible_hcall_end(void) { }
 #endif /* CONFIG_XEN_PV && !CONFIG_PREEMPTION */
 
 #ifdef CONFIG_XEN_GRANT_DMA_OPS
-void xen_grant_setup_dma_ops(struct device *dev);
-bool xen_is_grant_dma_device(struct device *dev);
-bool xen_virtio_mem_acc(struct virtio_device *dev);
 bool xen_virtio_restricted_mem_acc(struct virtio_device *dev);
 #else
-static inline void xen_grant_setup_dma_ops(struct device *dev)
-{
-}
-static inline bool xen_is_grant_dma_device(struct device *dev)
-{
-	return false;
-}
-
 struct virtio_device;
 
-static inline bool xen_virtio_mem_acc(struct virtio_device *dev)
-{
-	return false;
-}
-
 static inline bool xen_virtio_restricted_mem_acc(struct virtio_device *dev)
 {
 	return false;
-- 
2.51.0


  parent reply	other threads:[~2026-02-28 18:11 UTC|newest]

Thread overview: 233+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-28 18:07 [PATCH 6.1 001/232] RDMA/siw: Fix potential NULL pointer dereference in header processing Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 002/232] RDMA/umad: Reject negative data_len in ib_umad_write Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 003/232] auxdisplay: arm-charlcd: fix release_mem_region() size Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 004/232] hfsplus: return error when node already exists in hfs_bnode_create Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 005/232] audit: avoid missing-prototype warnings Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 006/232] audit: move the compat_xxx_class[] extern declarations to audit_arch.h Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 007/232] i3c: Move device name assignment after i3c_bus_init Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 008/232] fs: add <linux/init_task.h> for 'init_fs' Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 009/232] i3c: master: Update hot-join flag only on success Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 010/232] gfs2: Add metapath_dibh helper Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 011/232] gfs2: Fix use-after-free in iomap inline data write path Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 012/232] tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 013/232] tpm: st33zp24: Fix missing cleanup on get_burstcount() error Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 014/232] btrfs: qgroup: return correct error when deleting qgroup relation item Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 015/232] btrfs: fix block_group_tree dirty_list corruption Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 016/232] smb: client: fix potential UAF and double free in smb2_open_file() Sasha Levin
2026-02-28 18:07 ` Sasha Levin [this message]
2026-02-28 18:07 ` [PATCH 6.1 018/232] xen/virtio: Handle PCI devices which Host controller is described in DT Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 019/232] xen/virtio: Don't use grant-dma-ops when running as Dom0 Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 020/232] ACPICA: Fix NULL pointer dereference in acpi_ev_address_space_dispatch() Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 021/232] io_uring/sync: validate passed in offset Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 022/232] md/raid10: fix any_working flag handling in raid10_sync_request Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 023/232] iomap: fix submission side handling of completion side errors Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 024/232] ublk: Validate SQE128 flag before accessing the cmd Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 025/232] PM: wakeup: Handle empty list in wakeup_sources_walk_start() Sasha Levin
2026-02-28 18:07 ` [PATCH 6.1 026/232] PM: sleep: wakeirq: harden dev_pm_clear_wake_irq() against races Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 027/232] s390/cio: Fix device lifecycle handling in css_alloc_subchannel() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 028/232] crypto: qat - fix warning on adf_pfvf_pf_proto.c Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 029/232] selftests/bpf: veristat: fix printing order in output_stats() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 030/232] libbpf: Fix OOB read in btf_dump_get_bitfield_value Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 031/232] ARM: VDSO: Patch out __vdso_clock_getres() if unavailable Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 032/232] crypto: cavium - fix dma_free_coherent() size Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 033/232] crypto: octeontx " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 034/232] crypto: hisilicon/zip - support deflate algorithm Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 035/232] crypto: hisilicon/zip - remove zlib and gzip Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 036/232] crypto: hisilicon/zip - adjust the way to obtain the req in the callback function Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 037/232] crypto: hisilicon/sec - fix spelling mistake 'ckeck' -> 'check' Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 038/232] crypto: hisilicon/sec2 - fix for sec spec check Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 039/232] crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware queue unavailable Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 040/232] hrtimer: Fix trace oddity Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 041/232] bpf, sockmap: Fix incorrect copied_seq calculation Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 042/232] crypto: hisilicon/trng - modifying the order of header files Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 043/232] crypto: hisilicon/trng - support tfms sharing the device Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 044/232] bpf: Fix bpf_xdp_store_bytes proto for read-only arg Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 045/232] scsi: efct: Use IRQF_ONESHOT and default primary handler Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 046/232] EDAC/altera: Remove IRQF_ONESHOT Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 047/232] mfd: wm8350-core: Use IRQF_ONESHOT Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 048/232] sched/rt: Skip currently executing CPU in rto_next_cpu() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 049/232] pstore/ram: fix buffer overflow in persistent_ram_save_old() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 050/232] soc: qcom: smem: handle ENOMEM error during probe Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 051/232] EDAC/i5000: Fix snprintf() size calculation in calculate_dimm_size() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 052/232] EDAC/i5400: Fix snprintf() limit " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 053/232] arm64: dts: tqma8mpql-mba8mpxl: Fix HDMI CEC pad control settings Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 054/232] clk: qcom: Return correct error code in qcom_cc_probe_by_index() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 055/232] arm64: dts: qcom: sdm630: fix gpu_speed_bin size Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 056/232] arm64: dts: qcom: sdm845-oneplus: Don't mark ts supply boot-on Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 057/232] arm64: dts: qcom: sdm845-oneplus: Don't keep panel regulator always on Sasha Levin
2026-02-28 18:13   ` David Heidelberg
2026-02-28 18:08 ` [PATCH 6.1 058/232] arm64: dts: qcom: sdm845-oneplus: Mark l14a regulator as boot-on Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 059/232] ARM: dts: allwinner: sun5i-a13-utoo-p66: delete "power-gpios" property Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 060/232] powerpc/uaccess: Move barrier_nospec() out of allow_read_{from/write}_user() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 061/232] soc: qcom: cmd-db: Use devm_memremap() to fix memory leak in cmd_db_dev_probe Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 062/232] soc: mediatek: mtk-svs: Add explicit include for cpu.h Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 063/232] soc: mediatek: svs: Fix memory leak in svs_enable_debug_write() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 064/232] powerpc/eeh: fix recursive pci_lock_rescan_remove locking in EEH event handling Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 065/232] ARM: dts: lpc32xx: Set motor PWM #pwm-cells property value to 3 cells Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 066/232] arm: dts: lpc32xx: add clocks property to Motor Control PWM device tree node Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 067/232] arm64: dts: amlogic: axg: assign the MMC signal clocks Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 068/232] arm64: dts: amlogic: gx: " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 069/232] arm64: dts: amlogic: g12: assign the MMC B and C " Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 070/232] arm64: dts: amlogic: g12: assign the MMC A signal clock Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 071/232] arm64: dts: qcom: sdm845-db845c: drop CS from SPIO0 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 072/232] arm64: dts: qcom: sdm845-db845c: specify power for WiFi CH1 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 073/232] smack: /smack/doi must be > 0 Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 074/232] smack: /smack/doi: accept previously used values Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 075/232] ASoC: nau8821: Consistently clear interrupts before unmasking Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 076/232] ASoC: nau8821: Avoid unnecessary blocking in IRQ handler Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 077/232] ASoC: nau8821: Fixup nau8821_enable_jack_detect() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 078/232] drm/amdgpu: Use explicit VCN instance 0 in SR-IOV init Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 079/232] regulator: core: move supply check earlier in set_machine_constraints() Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 080/232] HID: playstation: Add missing check for input_ff_create_memless Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 081/232] drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 082/232] media: ccs: Accommodate C-PHY into the calculation Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 083/232] platform/chrome: cros_typec_switch: Don't touch struct fwnode_handle::dev Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 084/232] media: uvcvideo: Fix allocation for small frame sizes Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 085/232] platform/chrome: cros_ec_lightbar: Fix response size initialization Sasha Levin
2026-02-28 18:08 ` [PATCH 6.1 086/232] spi: tools: Add include folder to .gitignore Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 087/232] Revert "hwmon: (ibmpex) fix use-after-free in high/low store" Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 088/232] PCI: mediatek: Fix IRQ domain leak when MSI allocation fails Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 089/232] Documentation: PCI: endpoint: Fix ntb/vntb copy & paste errors Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 090/232] PCI/PM: Avoid redundant delays on D3hot->D3cold Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 091/232] PCI: Do not attempt to set ExtTag for VFs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 092/232] PCI/portdrv: Fix potential resource leak Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 093/232] net: mctp-i2c: fix duplicate reception of old data Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 094/232] mctp i2c: initialise event handler read bytes Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 095/232] wifi: cfg80211: stop NAN and P2P in cfg80211_leave Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 096/232] netfilter: nf_conncount: make nf_conncount_gc_list() to disable BH Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 097/232] netfilter: nf_conncount: increase the connection clean up limit to 64 Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 098/232] netfilter: nft_compat: add more restrictions on netlink attributes Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 099/232] netfilter: nf_conncount: fix tracking of connections from localhost Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 100/232] module: add helper function for reading module_buildid() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 101/232] kallsyms/ftrace: set module buildid in ftrace_mod_address_lookup() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 102/232] PCI: Mark 3ware-9650SA Root Port Extended Tags as broken Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 103/232] iommu/vt-d: Flush cache for PASID table before using it Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 104/232] dm: use bio_clone_blkg_association Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 105/232] nfsd: never defer requests during idmap lookup Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 106/232] fat: avoid parent link count underflow in rmdir Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 107/232] tcp: tcp_tx_timestamp() must look at the rtx queue Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 108/232] wifi: ath10k: sdio: add missing lock protection in ath10k_sdio_fw_crashed_dump() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 109/232] PCI: Initialize RCB from pci_configure_device() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 110/232] ipc: don't audit capability check in ipc_permissions() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 111/232] ucount: check for CAP_SYS_RESOURCE using ns_capable_noaudit() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 112/232] octeontx2-af: Fix PF driver crash with kexec kernel booting Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 113/232] bonding: only set speed/duplex to unknown, if getting speed failed Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 114/232] timers: Replace in_irq() with in_hardirq() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 115/232] nfc: hci: shdlc: Stop timers and work before freeing context Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 116/232] netfilter: nft_set_hash: fix get operation on big endian Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 117/232] netfilter: nft_counter: fix reset of counters on 32bit archs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 118/232] netfilter: nft_set_rbtree: check for partial overlaps in anonymous sets Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 119/232] PCI: Add ACS quirk for Pericom PI7C9X2G404 switches [12d8:b404] Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 120/232] net: hns3: fix double free issue for tx spare buffer Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 121/232] procfs: fix missing RCU protection when reading real_parent in do_task_stat() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 122/232] smb: client: correct value for smbd_max_fragmented_recv_size Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 123/232] net: atm: fix crash due to unvalidated vcc pointer in sigd_send() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 124/232] net: Add skb_dstref_steal and skb_dstref_restore Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 125/232] net: Switch to skb_dstref_steal/skb_dstref_restore for ip_route_input callers Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 126/232] xfrm: fix ip_rt_bug race in icmp_route_lookup reverse path Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 127/232] serial: caif: fix use-after-free in caif_serial ldisc_close() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 128/232] ionic: Rate limit unknown xcvr type messages Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 129/232] octeontx2-pf: Unregister devlink on probe failure Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 130/232] RDMA/rtrs: server: remove dead code Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 131/232] IB/cache: update gid cache on client reregister event Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 132/232] RDMA/hns: Fix WQ_MEM_RECLAIM warning Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 133/232] RDMA/hns: Notify ULP of remaining soft-WCs during reset Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 134/232] power: supply: ab8500: Fix use-after-free in power_supply_changed() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 135/232] power: supply: act8945a: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 136/232] power: supply: bq256xx: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 137/232] power: supply: bq25980: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 138/232] power: supply: cpcap-battery: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 139/232] power: supply: goldfish: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 140/232] power: supply: rt9455: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 141/232] power: supply: sbs-battery: " Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 142/232] power: reset: nvmem-reboot-mode: respect cell size for nvmem_cell_write Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 143/232] power: supply: bq27xxx: fix wrong errno when bus ops are unsupported Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 144/232] power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed() Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 145/232] RDMA/rtrs-srv: Refactor the handling of failure case in map_cont_bufs Sasha Levin
2026-02-28 18:09 ` [PATCH 6.1 146/232] RDMA/rtrs-srv: Correct the checking of ib_map_mr_sg Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 147/232] RDMA/rtrs-srv: fix SG mapping Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 148/232] RDMA/rxe: Fix double free in rxe_srq_from_init Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 149/232] mtd: rawnand: cadence: Fix return type of CDMA send-and-wait helper Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 150/232] crypto: ccp - Add an S4 restore flow Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 151/232] RDMA/uverbs: Validate wqe_size before using it in ib_uverbs_post_send Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 152/232] RDMA/core: Fix a couple of obvious typos in comments Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 153/232] svcrdma: Remove queue-shortening warnings Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 154/232] svcrdma: Clean up comment in svc_rdma_accept() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 155/232] svcrdma: Increase the per-transport rw_ctx count Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 156/232] svcrdma: Reduce the number of rdma_rw contexts per-QP Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 157/232] RDMA/core: add rdma_rw_max_sge() helper for SQ sizing Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 158/232] cxl: Fix premature commit_end increment on decoder commit failure Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 159/232] mtd: parsers: ofpart: fix OF node refcount leak in parse_fixed_partitions() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 160/232] RDMA/uverbs: Add __GFP_NOWARN to ib_uverbs_unmarshall_recv() kmalloc Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 161/232] pNFS: fix a missing wake up while waiting on NFS_LAYOUT_DRAIN Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 162/232] scsi: smartpqi: Replace one-element arrays with flexible-array members Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 163/232] scsi: smartpqi: Fix memory leak in pqi_report_phys_luns() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 164/232] scsi: csiostor: Fix dereference of null pointer rn Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 165/232] nvdimm: virtio_pmem: serialize flush requests Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 166/232] fs/nfs: Fix readdir slow-start regression Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 167/232] tracing: Properly process error handling in event_hist_trigger_parse() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 168/232] tracing: Remove duplicate ENABLE_EVENT_STR and DISABLE_EVENT_STR macros Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 169/232] MIPS: Work around LLVM bug when gp is used as global register variable Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 170/232] ext4: don't cache extent during splitting extent Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 171/232] ext4: fix memory leak in ext4_ext_shift_extents() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 172/232] ext4: use optimized mballoc scanning regardless of inode format Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 173/232] ata: pata_ftide010: Fix some DMA timings Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 174/232] ata: libata-scsi: refactor ata_scsi_translate() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 175/232] SUNRPC: auth_gss: fix memory leaks in XDR decoding error paths Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 176/232] SUNRPC: fix gss_auth kref leak in gss_alloc_msg error path Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 177/232] fbdev: au1200fb: Fix a memory leak in au1200fb_drv_probe() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 178/232] clk: qcom: rcg2: compute 2d using duty fraction directly Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 179/232] clk: meson: gxbb: Limit the HDMI PLL OD to /4 on GXL/GXM SoCs Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 180/232] clk: qcom: gcc-msm8953: Remove ALWAYS_ON flag from cpp_gdsc Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 181/232] clk: Move clk_{save,restore}_context() to COMMON_CLK section Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 182/232] clk: qcom: dispcc-sdm845: Enable parents for pixel clocks Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 183/232] clk: qcom: gfx3d: add parent to parent request map Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 184/232] clk: mediatek: Fix error handling in runtime PM setup Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 185/232] dmaengine: mediatek: uart-apdma: Fix above 4G addressing TX/RX Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 186/232] dma: dma-axi-dmac: fix SW cyclic transfers Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 187/232] staging: greybus: lights: avoid NULL deref Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 188/232] serial: imx: change SERIAL_IMX_CONSOLE to bool Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 189/232] serial: SH_SCI: improve "DMA support" prompt Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 190/232] mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 191/232] coresight: etm3x: Fix cpulocked warning on cpuhp Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 192/232] Revert "mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms" Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 193/232] mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 194/232] drivers: iio: mpu3050: use dev_err_probe for regulator request Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 195/232] usb: bdc: fix sleep during atomic Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 196/232] pinctrl: equilibrium: Fix device node reference leak in pinbank_init() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 197/232] ovl: Fix uninit-value in ovl_fill_real Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 198/232] iio: sca3000: Fix a resource leak in sca3000_probe() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 199/232] pinctrl: qcom: sm8250-lpass-lpi: Fix i2s2_data_groups definition Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 200/232] pinctrl: single: fix refcount leak in pcs_add_gpio_func() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 201/232] leds: qcom-lpg: Check the return value of regmap_bulk_write() Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 202/232] backlight: qcom-wled: Support ovp values for PMI8994 Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 203/232] io_uring/cancel: abstract out request match helper Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 204/232] io_uring/cancel: fix sequence matching for IORING_ASYNC_CANCEL_ANY Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 205/232] io_uring/cancel: add IORING_ASYNC_CANCEL_USERDATA Sasha Levin
2026-02-28 18:10 ` [PATCH 6.1 206/232] io_uring/cancel: support opcode based lookup and cancelation Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 207/232] io_uring/cancel: de-unionize file and user_data in struct io_cancel_data Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 208/232] fs/ntfs3: prevent infinite loops caused by the next valid being the same Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 209/232] fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 210/232] ACPI: CPPC: Fix remaining for_each_possible_cpu() to use online CPUs Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 211/232] ACPI: PM: Add unused power resource quirk for THUNDEROBOT ZERO Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 212/232] cpuidle: Skip governor when only one idle state is available Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 213/232] selftests: mlxsw: tc_restrictions: Fix test failure with new iproute2 Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 214/232] net: sparx5/lan969x: fix DWRR cost max to match hardware register width Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 215/232] net: mscc: ocelot: extract ocelot_xmit_timestamp() helper Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 216/232] net: mscc: ocelot: split xmit into FDMA and register injection paths Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 217/232] net: mscc: ocelot: add missing lock protection in ocelot_port_xmit_inj() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 218/232] net: sparx5/lan969x: fix PTP clock max_adj value Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 219/232] net: usb: catc: enable basic endpoint checking Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 220/232] xen-netback: reject zero-queue configuration from guest Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 221/232] net/rds: rds_sendmsg should not discard payload_len Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 222/232] selftests: forwarding: vxlan_bridge_1d: fix test failure with br_netfilter enabled Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 223/232] selftests: forwarding: vxlan_bridge_1d_ipv6: " Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 224/232] netfilter: nf_conntrack_h323: don't pass uninitialised l3num value Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 225/232] net: remove WARN_ON_ONCE when accessing forward path array Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 226/232] netfilter: nf_tables: fix use-after-free in nf_tables_addchain() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 227/232] ipv6: fix a race in ip6_sock_set_v6only() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 228/232] bpftool: Fix truncated netlink dumps Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 229/232] ping: Convert hlist_nulls to plain hlist Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 230/232] inet: ping: check sock_net() in ping_get_port() and ping_lookup() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 231/232] ping: annotate data-races in ping_lookup() Sasha Levin
2026-02-28 18:11 ` [PATCH 6.1 232/232] Linux 6.1.165-rc1 Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260228181127.1592657-17-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=burzalodowa@gmail.com \
    --cc=jgross@suse.com \
    --cc=oleksandr_tyshchenko@epam.com \
    --cc=patches@lists.linux.dev \
    --cc=sstabellini@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox