All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	"Christian König" <christian.koenig@amd.com>,
	"Michael J. Ruhl" <michael.j.ruhl@intel.com>,
	"T.J. Mercier" <tjmercier@google.com>,
	"Sumit Semwal" <sumit.semwal@linaro.org>,
	"Sasha Levin" <sashal@kernel.org>
Subject: [PATCH 6.1 001/193] dma-buf: fix dma_buf_export init order v2
Date: Sun, 22 Jan 2023 16:02:10 +0100	[thread overview]
Message-ID: <20230122150246.388831681@linuxfoundation.org> (raw)
In-Reply-To: <20230122150246.321043584@linuxfoundation.org>

From: Christian König <christian.koenig@amd.com>

[ Upstream commit f728a5ea27c92133893590e731ce10f6561ced87 ]

The init order and resulting error handling in dma_buf_export
was pretty messy.

Subordinate objects like the file and the sysfs kernel objects
were initializing and wiring itself up with the object in the
wrong order resulting not only in complicating and partially
incorrect error handling, but also in publishing only halve
initialized DMA-buf objects.

Clean this up thoughtfully by allocating the file independent
of the DMA-buf object. Then allocate and initialize the DMA-buf
object itself, before publishing it through sysfs. If everything
works as expected the file is then connected with the DMA-buf
object and publish it through debugfs.

Also adds the missing dma_resv_fini() into the error handling.

v2: add some missing changes to dma_bug_getfile() and a missing NULL
    check in dma_buf_file_release()

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221209071535.933698-1-christian.koenig@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/dma-buf/dma-buf-sysfs-stats.c |  7 +--
 drivers/dma-buf/dma-buf-sysfs-stats.h |  4 +-
 drivers/dma-buf/dma-buf.c             | 84 +++++++++++++--------------
 3 files changed, 43 insertions(+), 52 deletions(-)

diff --git a/drivers/dma-buf/dma-buf-sysfs-stats.c b/drivers/dma-buf/dma-buf-sysfs-stats.c
index 2bba0babcb62..4b680e10c15a 100644
--- a/drivers/dma-buf/dma-buf-sysfs-stats.c
+++ b/drivers/dma-buf/dma-buf-sysfs-stats.c
@@ -168,14 +168,11 @@ void dma_buf_uninit_sysfs_statistics(void)
 	kset_unregister(dma_buf_stats_kset);
 }
 
-int dma_buf_stats_setup(struct dma_buf *dmabuf)
+int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file)
 {
 	struct dma_buf_sysfs_entry *sysfs_entry;
 	int ret;
 
-	if (!dmabuf || !dmabuf->file)
-		return -EINVAL;
-
 	if (!dmabuf->exp_name) {
 		pr_err("exporter name must not be empty if stats needed\n");
 		return -EINVAL;
@@ -192,7 +189,7 @@ int dma_buf_stats_setup(struct dma_buf *dmabuf)
 
 	/* create the directory for buffer stats */
 	ret = kobject_init_and_add(&sysfs_entry->kobj, &dma_buf_ktype, NULL,
-				   "%lu", file_inode(dmabuf->file)->i_ino);
+				   "%lu", file_inode(file)->i_ino);
 	if (ret)
 		goto err_sysfs_dmabuf;
 
diff --git a/drivers/dma-buf/dma-buf-sysfs-stats.h b/drivers/dma-buf/dma-buf-sysfs-stats.h
index a49c6e2650cc..7a8a995b75ba 100644
--- a/drivers/dma-buf/dma-buf-sysfs-stats.h
+++ b/drivers/dma-buf/dma-buf-sysfs-stats.h
@@ -13,7 +13,7 @@
 int dma_buf_init_sysfs_statistics(void);
 void dma_buf_uninit_sysfs_statistics(void);
 
-int dma_buf_stats_setup(struct dma_buf *dmabuf);
+int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file);
 
 void dma_buf_stats_teardown(struct dma_buf *dmabuf);
 #else
@@ -25,7 +25,7 @@ static inline int dma_buf_init_sysfs_statistics(void)
 
 static inline void dma_buf_uninit_sysfs_statistics(void) {}
 
-static inline int dma_buf_stats_setup(struct dma_buf *dmabuf)
+static inline int dma_buf_stats_setup(struct dma_buf *dmabuf, struct file *file)
 {
 	return 0;
 }
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index e6f36c014c4c..eb6b59363c4f 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -95,10 +95,11 @@ static int dma_buf_file_release(struct inode *inode, struct file *file)
 		return -EINVAL;
 
 	dmabuf = file->private_data;
-
-	mutex_lock(&db_list.lock);
-	list_del(&dmabuf->list_node);
-	mutex_unlock(&db_list.lock);
+	if (dmabuf) {
+		mutex_lock(&db_list.lock);
+		list_del(&dmabuf->list_node);
+		mutex_unlock(&db_list.lock);
+	}
 
 	return 0;
 }
@@ -523,17 +524,17 @@ static inline int is_dma_buf_file(struct file *file)
 	return file->f_op == &dma_buf_fops;
 }
 
-static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags)
+static struct file *dma_buf_getfile(size_t size, int flags)
 {
 	static atomic64_t dmabuf_inode = ATOMIC64_INIT(0);
-	struct file *file;
 	struct inode *inode = alloc_anon_inode(dma_buf_mnt->mnt_sb);
+	struct file *file;
 
 	if (IS_ERR(inode))
 		return ERR_CAST(inode);
 
-	inode->i_size = dmabuf->size;
-	inode_set_bytes(inode, dmabuf->size);
+	inode->i_size = size;
+	inode_set_bytes(inode, size);
 
 	/*
 	 * The ->i_ino acquired from get_next_ino() is not unique thus
@@ -547,8 +548,6 @@ static struct file *dma_buf_getfile(struct dma_buf *dmabuf, int flags)
 				 flags, &dma_buf_fops);
 	if (IS_ERR(file))
 		goto err_alloc_file;
-	file->private_data = dmabuf;
-	file->f_path.dentry->d_fsdata = dmabuf;
 
 	return file;
 
@@ -614,19 +613,11 @@ struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info)
 	size_t alloc_size = sizeof(struct dma_buf);
 	int ret;
 
-	if (!exp_info->resv)
-		alloc_size += sizeof(struct dma_resv);
-	else
-		/* prevent &dma_buf[1] == dma_buf->resv */
-		alloc_size += 1;
-
-	if (WARN_ON(!exp_info->priv
-			  || !exp_info->ops
-			  || !exp_info->ops->map_dma_buf
-			  || !exp_info->ops->unmap_dma_buf
-			  || !exp_info->ops->release)) {
+	if (WARN_ON(!exp_info->priv || !exp_info->ops
+		    || !exp_info->ops->map_dma_buf
+		    || !exp_info->ops->unmap_dma_buf
+		    || !exp_info->ops->release))
 		return ERR_PTR(-EINVAL);
-	}
 
 	if (WARN_ON(exp_info->ops->cache_sgt_mapping &&
 		    (exp_info->ops->pin || exp_info->ops->unpin)))
@@ -638,10 +629,21 @@ struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info)
 	if (!try_module_get(exp_info->owner))
 		return ERR_PTR(-ENOENT);
 
+	file = dma_buf_getfile(exp_info->size, exp_info->flags);
+	if (IS_ERR(file)) {
+		ret = PTR_ERR(file);
+		goto err_module;
+	}
+
+	if (!exp_info->resv)
+		alloc_size += sizeof(struct dma_resv);
+	else
+		/* prevent &dma_buf[1] == dma_buf->resv */
+		alloc_size += 1;
 	dmabuf = kzalloc(alloc_size, GFP_KERNEL);
 	if (!dmabuf) {
 		ret = -ENOMEM;
-		goto err_module;
+		goto err_file;
 	}
 
 	dmabuf->priv = exp_info->priv;
@@ -653,44 +655,36 @@ struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info)
 	init_waitqueue_head(&dmabuf->poll);
 	dmabuf->cb_in.poll = dmabuf->cb_out.poll = &dmabuf->poll;
 	dmabuf->cb_in.active = dmabuf->cb_out.active = 0;
+	mutex_init(&dmabuf->lock);
+	INIT_LIST_HEAD(&dmabuf->attachments);
 
 	if (!resv) {
-		resv = (struct dma_resv *)&dmabuf[1];
-		dma_resv_init(resv);
+		dmabuf->resv = (struct dma_resv *)&dmabuf[1];
+		dma_resv_init(dmabuf->resv);
+	} else {
+		dmabuf->resv = resv;
 	}
-	dmabuf->resv = resv;
 
-	file = dma_buf_getfile(dmabuf, exp_info->flags);
-	if (IS_ERR(file)) {
-		ret = PTR_ERR(file);
+	ret = dma_buf_stats_setup(dmabuf, file);
+	if (ret)
 		goto err_dmabuf;
-	}
 
+	file->private_data = dmabuf;
+	file->f_path.dentry->d_fsdata = dmabuf;
 	dmabuf->file = file;
 
-	mutex_init(&dmabuf->lock);
-	INIT_LIST_HEAD(&dmabuf->attachments);
-
 	mutex_lock(&db_list.lock);
 	list_add(&dmabuf->list_node, &db_list.head);
 	mutex_unlock(&db_list.lock);
 
-	ret = dma_buf_stats_setup(dmabuf);
-	if (ret)
-		goto err_sysfs;
-
 	return dmabuf;
 
-err_sysfs:
-	/*
-	 * Set file->f_path.dentry->d_fsdata to NULL so that when
-	 * dma_buf_release() gets invoked by dentry_ops, it exits
-	 * early before calling the release() dma_buf op.
-	 */
-	file->f_path.dentry->d_fsdata = NULL;
-	fput(file);
 err_dmabuf:
+	if (!resv)
+		dma_resv_fini(dmabuf->resv);
 	kfree(dmabuf);
+err_file:
+	fput(file);
 err_module:
 	module_put(exp_info->owner);
 	return ERR_PTR(ret);
-- 
2.35.1




  reply	other threads:[~2023-01-22 15:20 UTC|newest]

Thread overview: 210+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-22 15:02 [PATCH 6.1 000/193] 6.1.8-rc1 review Greg Kroah-Hartman
2023-01-22 15:02 ` Greg Kroah-Hartman [this message]
2023-01-22 15:02 ` [PATCH 6.1 002/193] btrfs: fix trace event name typo for FLUSH_DELAYED_REFS Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 003/193] wifi: iwlwifi: fw: skip PPAG for JF Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 004/193] pNFS/filelayout: Fix coalescing test for single DS Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 005/193] selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 006/193] net: ethernet: marvell: octeontx2: Fix uninitialized variable warning Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 007/193] tools/virtio: initialize spinlocks in vring_test.c Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 008/193] vdpa/mlx5: Return error on vlan ctrl commands if not supported Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 009/193] vdpa/mlx5: Avoid using reslock in event_handler Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 010/193] vdpa/mlx5: Avoid overwriting CVQ iotlb Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 011/193] virtio_pci: modify ENOENT to EINVAL Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 012/193] vduse: Validate vq_num in vduse_validate_config() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 013/193] vdpa_sim_net: should not drop the multicast/broadcast packet Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 014/193] net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 015/193] r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 016/193] r8169: fix dmar pte write access is not set error Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 017/193] bpf: keep a reference to the mm, in case the task is dead Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 018/193] RDMA/srp: Move large values to a new enum for gcc13 Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 019/193] selftests: net: fix cmsg_so_mark.sh test hang Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 020/193] btrfs: always report error in run_one_delayed_ref() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 021/193] x86/asm: Fix an assembler warning with current binutils Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 022/193] f2fs: lets avoid panic if extent_tree is not created Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 023/193] perf/x86/rapl: Treat Tigerlake like Icelake Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 024/193] cifs: fix race in assemble_neg_contexts() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 025/193] memblock tests: Fix compilation error Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 026/193] perf/x86/rapl: Add support for Intel Meteor Lake Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 027/193] perf/x86/rapl: Add support for Intel Emerald Rapids Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 028/193] of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2 Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 029/193] fbdev: omapfb: avoid stack overflow warning Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 030/193] Bluetooth: hci_sync: Fix use HCI_OP_LE_READ_BUFFER_SIZE_V2 Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 031/193] Bluetooth: hci_qca: Fix driver shutdown on closed serdev Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 032/193] wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 033/193] wifi: mac80211: fix MLO + AP_VLAN check Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 034/193] wifi: mac80211: reset multiple BSSID options in stop_ap() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 035/193] wifi: mac80211: sdata can be NULL during AMPDU start Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 036/193] wifi: mac80211: fix initialization of rx->link and rx->link_sta Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 037/193] nommu: fix memory leak in do_mmap() error path Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 038/193] nommu: fix do_munmap() " Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 039/193] nommu: fix split_vma() map_count error Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 040/193] proc: fix PIE proc-empty-vm, proc-pid-vm tests Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 041/193] Add exception protection processing for vd in axi_chan_handle_err function Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 042/193] LoongArch: Add HWCAP_LOONGARCH_CPUCFG to elf_hwcap Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 043/193] zonefs: Detect append writes at invalid locations Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 044/193] nilfs2: fix general protection fault in nilfs_btree_insert() Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 045/193] mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 046/193] hugetlb: unshare some PMDs when splitting VMAs Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 047/193] mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 048/193] serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 049/193] Revert "serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler" Greg Kroah-Hartman
2023-01-22 15:02 ` [PATCH 6.1 050/193] xhci-pci: set the dma max_seg_size Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 051/193] usb: xhci: Check endpoint is valid before dereferencing it Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 052/193] xhci: Fix null pointer dereference when host dies Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 053/193] xhci: Add update_hub_device override for PCI xHCI hosts Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 054/193] xhci: Add a flag to disable USB3 lpm on a xhci root port level Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 055/193] usb: acpi: add helper to check port lpm capability using acpi _DSM Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 056/193] xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 057/193] prlimit: do_prlimit needs to have a speculation check Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 058/193] USB: serial: option: add Quectel EM05-G (GR) modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 059/193] USB: serial: option: add Quectel EM05-G (CS) modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 060/193] USB: serial: option: add Quectel EM05-G (RS) modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 061/193] USB: serial: option: add Quectel EC200U modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 062/193] USB: serial: option: add Quectel EM05CN (SG) modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 063/193] USB: serial: option: add Quectel EM05CN modem Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 064/193] staging: vchiq_arm: fix enum vchiq_status return types Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 065/193] USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100 Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 066/193] usb: misc: onboard_hub: Invert driver registration order Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 067/193] usb: misc: onboard_hub: Move attach work to the driver Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 068/193] misc: fastrpc: Fix use-after-free and race in fastrpc_map_find Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 069/193] misc: fastrpc: Dont remove map on creater_process and device_release Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 070/193] misc: fastrpc: Fix use-after-free race condition for maps Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 071/193] usb: core: hub: disable autosuspend for TI TUSB8041 Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 072/193] comedi: adv_pci1760: Fix PWM instruction handling Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 073/193] ACPI: PRM: Check whether EFI runtime is available Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 074/193] mmc: sunxi-mmc: Fix clock refcount imbalance during unbind Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 075/193] mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 076/193] mm/hugetlb: fix PTE marker handling in hugetlb_change_protection() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 077/193] mm/hugetlb: fix uffd-wp handling for migration entries " Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 078/193] mm/hugetlb: pre-allocate pgtable pages for uffd wr-protects Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 079/193] mm/userfaultfd: enable writenotify while userfaultfd-wp is enabled for a VMA Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 080/193] mm/MADV_COLLAPSE: dont expand collapse when vm_end is past requested end Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 081/193] btrfs: add extra error messages to cover non-ENOMEM errors from device_add_list() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 082/193] btrfs: fix missing error handling when logging directory items Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 083/193] btrfs: fix directory logging due to race with concurrent index key deletion Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 084/193] btrfs: add missing setup of log for full commit at add_conflicting_inode() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 085/193] btrfs: do not abort transaction on failure to write log tree when syncing log Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 086/193] btrfs: do not abort transaction on failure to update log root Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 087/193] btrfs: qgroup: do not warn on record without old_roots populated Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 088/193] btrfs: fix invalid leaf access due to inline extent during lseek Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 089/193] btrfs: fix race between quota rescan and disable leading to NULL pointer deref Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 090/193] cifs: do not include page data when checking signature Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 091/193] thunderbolt: Disable XDomain lane 1 only in software connection manager Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 092/193] thunderbolt: Use correct function to calculate maximum USB3 link rate Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 093/193] thunderbolt: Do not report errors if on-board retimers are found Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 094/193] thunderbolt: Do not call PM runtime functions in tb_retimer_scan() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 095/193] riscv: dts: sifive: fu740: fix size of pcie 32bit memory Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 096/193] bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 097/193] tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 098/193] tty: fix possible null-ptr-defer in spk_ttyio_release Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 099/193] pktcdvd: check for NULL returna fter calling bio_split_to_limits() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 100/193] io_uring/poll: dont reissue in case of poll race on multishot request Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 101/193] mptcp: explicitly specify sock family at subflow creation time Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 102/193] mptcp: netlink: respect v4/v6-only sockets Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 103/193] selftests: mptcp: userspace: validate v4-v6 subflows mix Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 104/193] USB: gadgetfs: Fix race between mounting and unmounting Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 105/193] USB: serial: cp210x: add SCALANCE LPE-9000 device id Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 106/193] usb: cdns3: remove fetched trb from cache before dequeuing Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 107/193] usb: host: ehci-fsl: Fix module alias Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 108/193] usb: musb: fix error return code in omap2430_probe() Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 109/193] usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail Greg Kroah-Hartman
2023-01-22 15:03 ` [PATCH 6.1 110/193] usb: typec: altmodes/displayport: Add pin assignment helper Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 111/193] usb: typec: altmodes/displayport: Fix pin assignment calculation Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 112/193] usb: gadget: g_webcam: Send color matching descriptor per frame Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 113/193] USB: gadget: Add ID numbers to configfs-gadget driver names Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 114/193] usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate() Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 115/193] usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 116/193] arm64: dts: imx8mp: correct usb clocks Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 117/193] dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 118/193] dt-bindings: phy: g12a-usb3-pcie-phy: " Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 119/193] serial: pch_uart: Pass correct sg to dma_unmap_sg() Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 120/193] dmaengine: lgm: Move DT parsing after initialization Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 121/193] dmaengine: tegra210-adma: fix global intr clear Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 122/193] dmaengine: idxd: Let probe fail when workqueue cannot be enabled Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 123/193] dmaengine: idxd: Prevent use after free on completion memory Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 124/193] dmaengine: idxd: Do not call DMX TX callbacks during workqueue disable Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 125/193] serial: amba-pl011: fix high priority character transmission in rs486 mode Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 126/193] serial: atmel: fix incorrect baudrate setup Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 127/193] serial: exar: Add support for Sealevel 7xxxC serial cards Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 128/193] gsmi: fix null-deref in gsmi_get_variable Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 129/193] mei: bus: fix unlink on bus in error path Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 130/193] mei: me: add meteor lake point M DID Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 131/193] VMCI: Use threaded irqs instead of tasklets Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 132/193] ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 133/193] ARM: omap1: fix !ARCH_OMAP1_ANY link failures Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 134/193] drm/amdgpu: fix amdgpu_job_free_resources v2 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 135/193] drm/amdgpu: allow multipipe policy on ASICs with one MEC Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 136/193] drm/amdgpu: Correct the power calcultion for Renior/Cezanne Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 137/193] drm/i915: re-disable RC6p on Sandy Bridge Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 138/193] drm/i915/display: Check source height is > 0 Greg Kroah-Hartman
2023-01-22 15:04 ` [Intel-gfx] [PATCH 6.1 139/193] drm/i915: Allow switching away via vga-switcheroo if uninitialized Greg Kroah-Hartman
2023-01-22 15:04   ` Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 140/193] drm/i915: Remove unused variable Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 141/193] drm/amd/display: Fix set scaling doesns work Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 142/193] drm/amd/display: Calculate output_color_space after pixel encoding adjustment Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 143/193] drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 144/193] drm/amd/display: disable S/G display on DCN 3.1.5 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 145/193] drm/amd/display: disable S/G display on DCN 3.1.4 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 146/193] cifs: reduce roundtrips on create/qinfo requests Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 147/193] fs/ntfs3: Fix attr_punch_hole() null pointer derenference Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 148/193] arm64: efi: Execute runtime services from a dedicated stack Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 149/193] efi: rt-wrapper: Add missing include Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 150/193] panic: Separate sysctl logic from CONFIG_SMP Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 151/193] exit: Put an upper limit on how often we can oops Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 152/193] exit: Expose "oops_count" to sysfs Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 153/193] exit: Allow oops_limit to be disabled Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 154/193] panic: Consolidate open-coded panic_on_warn checks Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 155/193] panic: Introduce warn_limit Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 156/193] panic: Expose "warn_count" to sysfs Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 157/193] docs: Fix path paste-o for /sys/kernel/warn_count Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 158/193] exit: Use READ_ONCE() for all oops/warn limit reads Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 159/193] x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 160/193] arch: fix broken BuildID for arm64 and riscv Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 161/193] drm/amdgpu/discovery: enable soc21 common for GC 11.0.4 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 162/193] drm/amdgpu/discovery: enable gmc v11 " Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 163/193] drm/amdgpu/discovery: enable gfx " Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 164/193] drm/amdgpu/discovery: enable mes support for GC v11.0.4 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 165/193] drm/amdgpu: set GC 11.0.4 family Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 166/193] drm/amdgpu/discovery: set the APU flag for GC 11.0.4 Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 167/193] drm/amdgpu: add gfx support " Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 168/193] drm/amdgpu: add gmc v11 " Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 169/193] drm/amdgpu/discovery: add PSP IP v13.0.11 support Greg Kroah-Hartman
2023-01-22 15:04 ` [PATCH 6.1 170/193] drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 171/193] drm/amdgpu: add smu 13 support for smu 13.0.11 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 172/193] drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 173/193] drm/amdgpu/soc21: add mode2 asic reset " Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 174/193] drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 175/193] drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 176/193] drm/amdgpu: enable PSP IP v13.0.11 support Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 177/193] drm/amdgpu: enable GFX IP v11.0.4 CG support Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 178/193] drm/amdgpu: enable GFX Power Gating for GC IP v11.0.4 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 179/193] drm/amdgpu: enable GFX Clock Gating control " Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 180/193] drm/amdgpu: add tmz support for GC 11.0.1 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 181/193] drm/amdgpu: add tmz support for GC IP v11.0.4 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 182/193] drm/amdgpu: correct MEC number for gfx11 APUs Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 183/193] s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36 Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 184/193] powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 185/193] powerpc/vmlinux.lds: Dont discard .rela* for relocatable builds Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 186/193] powerpc/vmlinux.lds: Dont discard .comment Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 187/193] octeontx2-pf: Avoid use of GFP_KERNEL in atomic context Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 188/193] net/ulp: use consistent error code when blocking ULP Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 189/193] octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 190/193] net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work() Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 191/193] block: mq-deadline: Rename deadline_is_seq_writes() Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 192/193] Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()" Greg Kroah-Hartman
2023-01-22 15:05 ` [PATCH 6.1 193/193] soc: qcom: apr: Make qcom,protection-domain optional again Greg Kroah-Hartman
2023-01-22 22:54 ` [PATCH 6.1 000/193] 6.1.8-rc1 review ogasawara takeshi
2023-01-23  4:09 ` Joel Fernandes
2023-01-23  7:42 ` Rudi Heitbaum
2023-01-23  8:03 ` Conor Dooley
2023-01-23  8:09 ` Naresh Kamboju
2023-01-23 19:11   ` Tom Saeger
2023-01-23 19:42     ` Tom Saeger
2023-01-24 12:11       ` Naresh Kamboju
2023-01-24 12:54         ` Tom Saeger
2023-01-24 15:57           ` Naresh Kamboju
2023-01-24 11:48     ` Naresh Kamboju
2023-01-23  9:03 ` Bagas Sanjaya
2023-01-23  9:07 ` Fenil Jain
2023-01-23  9:07 ` Ron Economos
2023-01-23 11:15 ` Sudip Mukherjee

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=20230122150246.388831681@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=christian.koenig@amd.com \
    --cc=michael.j.ruhl@intel.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=sumit.semwal@linaro.org \
    --cc=tjmercier@google.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.