From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev,
Vivek Kasireddy <vivek.kasireddy@intel.com>,
Huan Yang <link@vivo.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 090/160] udmabuf: udmabuf_create pin folio codestyle cleanup
Date: Mon, 23 Dec 2024 16:58:21 +0100 [thread overview]
Message-ID: <20241223155412.170983053@linuxfoundation.org> (raw)
In-Reply-To: <20241223155408.598780301@linuxfoundation.org>
6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Huan Yang <link@vivo.com>
[ Upstream commit 164fd9efd46531fddfaa933d394569259896642b ]
This patch aim to simplify the memfd folio pin during the udmabuf
create. No functional changes.
This patch create a udmabuf_pin_folios function, in this, do the memfd
pin folio and then record each pinned folio, offset.
This patch simplify the pinned folio record, iter by each pinned folio,
and then record each offset in it.
Compare to iter by pgcnt, more readable.
Suggested-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Huan Yang <link@vivo.com>
Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240918025238.2957823-5-link@vivo.com
Stable-dep-of: f49856f525ac ("udmabuf: fix memory leak on last export_udmabuf() error path")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/dma-buf/udmabuf.c | 137 +++++++++++++++++++++-----------------
1 file changed, 76 insertions(+), 61 deletions(-)
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index a3638ccc15f5..970e08a95dc0 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -262,9 +262,6 @@ static int check_memfd_seals(struct file *memfd)
{
int seals;
- if (!memfd)
- return -EBADFD;
-
if (!shmem_file(memfd) && !is_file_hugepages(memfd))
return -EBADFD;
@@ -299,17 +296,68 @@ static int export_udmabuf(struct udmabuf *ubuf,
return dma_buf_fd(buf, flags);
}
+static long udmabuf_pin_folios(struct udmabuf *ubuf, struct file *memfd,
+ loff_t start, loff_t size)
+{
+ pgoff_t pgoff, pgcnt, upgcnt = ubuf->pagecount;
+ struct folio **folios = NULL;
+ u32 cur_folio, cur_pgcnt;
+ long nr_folios;
+ long ret = 0;
+ loff_t end;
+
+ pgcnt = size >> PAGE_SHIFT;
+ folios = kvmalloc_array(pgcnt, sizeof(*folios), GFP_KERNEL);
+ if (!folios)
+ return -ENOMEM;
+
+ end = start + (pgcnt << PAGE_SHIFT) - 1;
+ nr_folios = memfd_pin_folios(memfd, start, end, folios, pgcnt, &pgoff);
+ if (nr_folios <= 0) {
+ ret = nr_folios ? nr_folios : -EINVAL;
+ goto end;
+ }
+
+ cur_pgcnt = 0;
+ for (cur_folio = 0; cur_folio < nr_folios; ++cur_folio) {
+ pgoff_t subpgoff = pgoff;
+ size_t fsize = folio_size(folios[cur_folio]);
+
+ ret = add_to_unpin_list(&ubuf->unpin_list, folios[cur_folio]);
+ if (ret < 0)
+ goto end;
+
+ for (; subpgoff < fsize; subpgoff += PAGE_SIZE) {
+ ubuf->folios[upgcnt] = folios[cur_folio];
+ ubuf->offsets[upgcnt] = subpgoff;
+ ++upgcnt;
+
+ if (++cur_pgcnt >= pgcnt)
+ goto end;
+ }
+
+ /**
+ * In a given range, only the first subpage of the first folio
+ * has an offset, that is returned by memfd_pin_folios().
+ * The first subpages of other folios (in the range) have an
+ * offset of 0.
+ */
+ pgoff = 0;
+ }
+end:
+ ubuf->pagecount = upgcnt;
+ kvfree(folios);
+ return ret;
+}
+
static long udmabuf_create(struct miscdevice *device,
struct udmabuf_create_list *head,
struct udmabuf_create_item *list)
{
- pgoff_t pgoff, pgcnt, pglimit, pgbuf = 0;
- long nr_folios, ret = -EINVAL;
- struct file *memfd = NULL;
- struct folio **folios;
+ pgoff_t pgcnt = 0, pglimit;
struct udmabuf *ubuf;
- u32 i, j, k, flags;
- loff_t end;
+ long ret = -EINVAL;
+ u32 i, flags;
ubuf = kzalloc(sizeof(*ubuf), GFP_KERNEL);
if (!ubuf)
@@ -318,81 +366,50 @@ static long udmabuf_create(struct miscdevice *device,
INIT_LIST_HEAD(&ubuf->unpin_list);
pglimit = (size_limit_mb * 1024 * 1024) >> PAGE_SHIFT;
for (i = 0; i < head->count; i++) {
- if (!IS_ALIGNED(list[i].offset, PAGE_SIZE))
+ if (!PAGE_ALIGNED(list[i].offset))
goto err;
- if (!IS_ALIGNED(list[i].size, PAGE_SIZE))
+ if (!PAGE_ALIGNED(list[i].size))
goto err;
- ubuf->pagecount += list[i].size >> PAGE_SHIFT;
- if (ubuf->pagecount > pglimit)
+
+ pgcnt += list[i].size >> PAGE_SHIFT;
+ if (pgcnt > pglimit)
goto err;
}
- if (!ubuf->pagecount)
+ if (!pgcnt)
goto err;
- ubuf->folios = kvmalloc_array(ubuf->pagecount, sizeof(*ubuf->folios),
- GFP_KERNEL);
+ ubuf->folios = kvmalloc_array(pgcnt, sizeof(*ubuf->folios), GFP_KERNEL);
if (!ubuf->folios) {
ret = -ENOMEM;
goto err;
}
- ubuf->offsets = kvcalloc(ubuf->pagecount, sizeof(*ubuf->offsets),
- GFP_KERNEL);
+
+ ubuf->offsets = kvcalloc(pgcnt, sizeof(*ubuf->offsets), GFP_KERNEL);
if (!ubuf->offsets) {
ret = -ENOMEM;
goto err;
}
- pgbuf = 0;
for (i = 0; i < head->count; i++) {
- memfd = fget(list[i].memfd);
- ret = check_memfd_seals(memfd);
- if (ret < 0)
- goto err;
+ struct file *memfd = fget(list[i].memfd);
- pgcnt = list[i].size >> PAGE_SHIFT;
- folios = kvmalloc_array(pgcnt, sizeof(*folios), GFP_KERNEL);
- if (!folios) {
- ret = -ENOMEM;
+ if (!memfd) {
+ ret = -EBADFD;
goto err;
}
- end = list[i].offset + (pgcnt << PAGE_SHIFT) - 1;
- ret = memfd_pin_folios(memfd, list[i].offset, end,
- folios, pgcnt, &pgoff);
- if (ret <= 0) {
- kvfree(folios);
- if (!ret)
- ret = -EINVAL;
+ ret = check_memfd_seals(memfd);
+ if (ret < 0) {
+ fput(memfd);
goto err;
}
- nr_folios = ret;
- pgoff >>= PAGE_SHIFT;
- for (j = 0, k = 0; j < pgcnt; j++) {
- ubuf->folios[pgbuf] = folios[k];
- ubuf->offsets[pgbuf] = pgoff << PAGE_SHIFT;
-
- if (j == 0 || ubuf->folios[pgbuf-1] != folios[k]) {
- ret = add_to_unpin_list(&ubuf->unpin_list,
- folios[k]);
- if (ret < 0) {
- kfree(folios);
- goto err;
- }
- }
-
- pgbuf++;
- if (++pgoff == folio_nr_pages(folios[k])) {
- pgoff = 0;
- if (++k == nr_folios)
- break;
- }
- }
-
- kvfree(folios);
+ ret = udmabuf_pin_folios(ubuf, memfd, list[i].offset,
+ list[i].size);
fput(memfd);
- memfd = NULL;
+ if (ret)
+ goto err;
}
flags = head->flags & UDMABUF_FLAGS_CLOEXEC ? O_CLOEXEC : 0;
@@ -403,8 +420,6 @@ static long udmabuf_create(struct miscdevice *device,
return ret;
err:
- if (memfd)
- fput(memfd);
unpin_all_folios(&ubuf->unpin_list);
kvfree(ubuf->offsets);
kvfree(ubuf->folios);
--
2.39.5
next prev parent reply other threads:[~2024-12-23 16:05 UTC|newest]
Thread overview: 184+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-23 15:56 [PATCH 6.12 000/160] 6.12.7-rc1 review Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 001/160] net: sched: fix ordering of qlen adjustment Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 002/160] net: stmmac: fix TSO DMA API usage causing oops Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 003/160] firmware: arm_scmi: Fix i.MX build dependency Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 004/160] firmware: arm_ffa: Fix the race around setting ffa_dev->properties Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 005/160] RISC-V: KVM: Fix csr_write -> csr_set for HVIEN PMU overflow bit Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 006/160] sched/fair: Fix NEXT_BUDDY Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 007/160] sched/fair: Fix sched_can_stop_tick() for fair tasks Greg Kroah-Hartman
2024-12-23 15:56 ` [PATCH 6.12 008/160] sched/eevdf: More PELT vs DELAYED_DEQUEUE Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 009/160] p2sb: Factor out p2sb_read_from_cache() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 010/160] p2sb: Introduce the global flag p2sb_hidden_by_bios Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 011/160] p2sb: Move P2SB hide and unhide code to p2sb_scan_and_cache() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 012/160] p2sb: Do not scan and remove the P2SB device when it is unhidden Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 013/160] i2c: pnx: Fix timeout in wait functions Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 014/160] s390/ipl: Fix never less than zero warning Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 015/160] erofs: fix PSI memstall accounting Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 016/160] sched/dlserver: Fix dlserver double enqueue Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 017/160] sched/dlserver: Fix dlserver time accounting Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 018/160] s390/mm: Consider KMSAN modules metadata for paging levels Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 019/160] erofs: add erofs_sb_free() helper Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 020/160] erofs: use `struct erofs_device_info` for the primary device Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 021/160] erofs: reference `struct erofs_device_info` for erofs_map_dev Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 022/160] erofs: use buffered I/O for file-backed mounts by default Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 023/160] xfs: sb_spino_align is not verified Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 024/160] xfs: fix sparse inode limits on runt AG Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 025/160] xfs: fix off-by-one error in fsmaps end_daddr usage Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 026/160] xfs: fix sb_spino_align checks for large fsblock sizes Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 027/160] xfs: fix zero byte checking in the superblock scrubber Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 028/160] tools: hv: change permissions of NetworkManager configuration file Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 029/160] cxl/pci: Fix potential bogus return value upon successful probing Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 030/160] cxl/region: Fix region creation for greater than x2 switches Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 031/160] net/smc: protect link down work from execute after lgr freed Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 032/160] net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 033/160] net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 034/160] net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt " Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 035/160] net/smc: check smcd_v2_ext_offset " Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 036/160] net/smc: check return value of sock_recvmsg when draining clc data Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 037/160] net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 038/160] netdevsim: prevent bad user input in nsim_dev_health_break_write() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 039/160] tools/net/ynl: fix sub-message key lookup for nested attributes Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 040/160] ionic: Fix netdev notifier unregister on failure Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 041/160] ionic: no double destroy workqueue Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 042/160] ionic: use ee->offset when returning sprom data Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 043/160] net: renesas: rswitch: rework ts tags management Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 044/160] ksmbd: count all requests in req_running counter Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 045/160] ksmbd: fix broken transfers when exceeding max simultaneous operations Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 046/160] netdev: fix repeated netlink messages in queue dump Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 047/160] netdev: fix repeated netlink messages in queue stats Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 048/160] team: Fix feature exposure when no ports are present Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 049/160] net: hinic: Fix cleanup in create_rxqs/txqs() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 050/160] net: ethernet: oa_tc6: fix infinite loop error when tx credits becomes 0 Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 051/160] net: ethernet: oa_tc6: fix tx skb race condition between reference pointers Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 052/160] net: ethernet: bgmac-platform: fix an OF node reference leak Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 053/160] net: netdevsim: fix nsim_pp_hold_write() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 054/160] can: m_can: set init flag earlier in probe Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 055/160] can: m_can: fix missed interrupts with m_can_pci Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 056/160] ipvs: Fix clamp() of ip_vs_conn_tab on small memory systems Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 057/160] netfilter: ipset: Fix for recursive locking warning Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 058/160] selftests: openvswitch: fix tcpdump execution Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 059/160] net: dsa: restore dsa_software_vlan_untag() ability to operate on VLAN-untagged traffic Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 060/160] netdev-genl: avoid empty messages in queue dump Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 061/160] psample: adjust size if rate_as_probability is set Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 062/160] net: mdiobus: fix an OF node reference leak Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 063/160] mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 064/160] mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe() Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 065/160] irqchip/gic-v3: Work around insecure GIC integrations Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 066/160] EDAC/amd64: Simplify ECC check on unified memory controllers Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 067/160] KVM: arm64: Do not allow ID_AA64MMFR0_EL1.ASIDbits to be overridden Greg Kroah-Hartman
2024-12-23 15:57 ` [PATCH 6.12 068/160] KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 069/160] net: tun: fix tun_napi_alloc_frags() Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 070/160] chelsio/chtls: prevent potential integer overflow on 32bit Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 071/160] net: mctp: handle skb cleanup on sock_queue failures Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 072/160] block: Revert "block: Fix potential deadlock while freezing queue and acquiring sysfs_lock" Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 073/160] i2c: riic: Always round-up when calculating bus period Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 074/160] efivarfs: Fix error on non-existent file Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 075/160] hexagon: Disable constant extender optimization for LLVM prior to 19.1.0 Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 076/160] USB: serial: option: add TCL IK512 MBIM & ECM Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 077/160] USB: serial: option: add MeiG Smart SLM770A Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 078/160] USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 079/160] USB: serial: option: add MediaTek T7XX compositions Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 080/160] USB: serial: option: add Telit FE910C04 rmnet compositions Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 081/160] xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 082/160] thunderbolt: Add support for Intel Panther Lake-M/P Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 083/160] thunderbolt: Improve redrive mode handling Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 084/160] thunderbolt: Dont display nvm_version unless upgrade supported Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 085/160] drm/display: use ERR_PTR on DP tunnel manager creation fail Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 086/160] drm/amd: Update strapping for NBIO 2.5.0 Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 087/160] drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 088/160] drm/amdgpu: fix amdgpu_coredump Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 089/160] drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update Greg Kroah-Hartman
2024-12-23 15:58 ` Greg Kroah-Hartman [this message]
2024-12-23 15:58 ` [PATCH 6.12 091/160] udmabuf: fix memory leak on last export_udmabuf() error path Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 092/160] dma-buf: Fix __dma_buf_debugfs_list_del argument for !CONFIG_DEBUG_FS Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 093/160] drm/panel: himax-hx83102: Add a check to prevent NULL pointer dereference Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 094/160] drm/panel: novatek-nt35950: fix return value check in nt35950_probe() Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 095/160] drm/panel: st7701: Add prepare_prev_first flag to drm_panel Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 096/160] drm/panel: synaptics-r63353: Fix regulator unbalance Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 097/160] i915/guc: Reset engine utilization buffer before registration Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 098/160] i915/guc: Ensure busyness counter increases motonically Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 099/160] i915/guc: Accumulate active runtime on gt reset Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 100/160] drm/amdgpu: dont access invalid sched Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 101/160] hwmon: (tmp513) Fix interpretation of values of Shunt Voltage and Limit Registers Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 102/160] hwmon: (tmp513) Fix Current Register value interpretation Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 103/160] hwmon: (tmp513) Fix interpretation of values of Temperature Result and Limit Registers Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 104/160] block: avoid to reuse `hctx` not removed from cpuhp callback list Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 105/160] trace/ring-buffer: Do not use TP_printk() formatting for boot mapped buffers Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 106/160] drm/amdgpu/nbio7.11: fix IP version check Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 107/160] drm/amdgpu/nbio7.7: " Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 108/160] drm/amdgpu/smu14.0.2: " Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 109/160] zram: refuse to use zero sized block device as backing device Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 110/160] zram: fix uninitialized ZRAM not releasing " Greg Kroah-Hartman
2025-01-08 3:58 ` Sergey Senozhatsky
2024-12-23 15:58 ` [PATCH 6.12 111/160] vmalloc: fix accounting with i915 Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 112/160] mm/page_alloc: dont call pfn_to_page() on possibly non-existent PFN in split_large_buddy() Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 113/160] ring-buffer: Fix overflow in __rb_map_vma Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 114/160] alloc_tag: fix set_codetag_empty() when !CONFIG_MEM_ALLOC_PROFILING_DEBUG Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 115/160] btrfs: split bios to the fs sector size boundary Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 116/160] btrfs: fix improper generation check in snapshot delete Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 117/160] btrfs: tree-checker: reject inline extent items with 0 ref count Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 118/160] s390/mm: Fix DirectMap accounting Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 119/160] drm/amdgpu/nbio7.0: fix IP version check Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 120/160] drm/amdgpu/gfx12: " Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 121/160] drm/amdgpu/mmhub4.1: " Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 122/160] fgraph: Still initialize idle shadow stacks when starting Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 123/160] Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 124/160] tools: hv: Fix a complier warning in the fcopy uio daemon Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 125/160] x86/hyperv: Fix hv tsc page based sched_clock for hibernation Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 126/160] KVM: x86: Play nice with protected guests in complete_hypercall_exit() Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 127/160] smb: client: fix TCP timers deadlock after rmmod Greg Kroah-Hartman
2024-12-23 15:58 ` [PATCH 6.12 128/160] accel/ivpu: Fix general protection fault in ivpu_bo_list() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 129/160] accel/ivpu: Fix WARN in ivpu_ipc_send_receive_internal() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 130/160] tracing: Fix test_event_printk() to process entire print argument Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 131/160] tracing: Add missing helper functions in event pointer dereference check Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 132/160] tracing: Add "%s" check in test_event_printk() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 133/160] tracing: Check "%s" dereference via the field and not the TP_printk format Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 134/160] selftests/memfd: run sysctl tests when PID namespace support is enabled Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 135/160] selftests/bpf: Use asm constraint "m" for LoongArch Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 136/160] io_uring: Fix registered ring file refcount leak Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 137/160] io_uring: check if iowq is killed before queuing Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 138/160] NFS/pnfs: Fix a live lock between recalled layouts and layoutget Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 139/160] KVM: SVM: Allow guest writes to set MSR_AMD64_DE_CFG bits Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 140/160] of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 141/160] of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 142/160] ocfs2: fix the space leak in LA when releasing LA Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 143/160] nilfs2: fix buffer head leaks in calls to truncate_inode_pages() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 144/160] nilfs2: prevent use of deleted inode Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 145/160] udmabuf: fix racy memfd sealing check Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 146/160] udmabuf: also check for F_SEAL_FUTURE_WRITE Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 147/160] of: property: fw_devlink: Do not use interrupt-parent directly Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 148/160] of: address: Preserve the flags portion on 1:1 dma-ranges mapping Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 149/160] of: Fix error path in of_parse_phandle_with_args_map() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 150/160] of: Fix refcount leakage for OF node returned by __of_get_dma_parent() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 151/160] ceph: give up on paths longer than PATH_MAX Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 152/160] ceph: validate snapdirname option length when mounting Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 153/160] ceph: improve error handling and short/overflow-read logic in __ceph_sync_read() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 154/160] ceph: fix memory leaks " Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 155/160] ceph: fix memory leak in ceph_direct_read_write() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 156/160] mm: use aligned address in clear_gigantic_page() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 157/160] mm: use aligned address in copy_user_gigantic_page() Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 158/160] mm: shmem: fix ShmemHugePages at swapout Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 159/160] mm: convert partially_mapped set/clear operations to be atomic Greg Kroah-Hartman
2024-12-23 15:59 ` [PATCH 6.12 160/160] epoll: Add synchronous wakeup support for ep_poll_callback Greg Kroah-Hartman
2024-12-23 21:16 ` [PATCH 6.12 000/160] 6.12.7-rc1 review SeongJae Park
2024-12-23 22:39 ` Shuah Khan
2024-12-23 23:23 ` Takeshi Ogasawara
2024-12-24 8:42 ` Harshit Mogalapalli
2024-12-24 10:16 ` Ron Economos
2024-12-24 12:18 ` Peter Schneider
2024-12-24 12:25 ` Luna Jernberg
2024-12-24 13:26 ` Jon Hunter
2024-12-24 19:12 ` Naresh Kamboju
2024-12-26 13:41 ` Marc Zyngier
2024-12-27 13:04 ` Greg Kroah-Hartman
2024-12-27 13:23 ` Marc Zyngier
2024-12-27 13:34 ` Greg Kroah-Hartman
2024-12-27 13:43 ` Marc Zyngier
2024-12-27 13:49 ` Greg Kroah-Hartman
2024-12-27 17:27 ` Guenter Roeck
2024-12-24 21:36 ` Justin Forbes
2024-12-26 10:08 ` Muhammad Usama Anjum
2024-12-26 10:32 ` Markus Reichelt
2024-12-26 17:17 ` Florian Fainelli
2024-12-26 19:35 ` [PATCH 6.12] " Hardik Garg
2024-12-26 20:21 ` [PATCH 6.12 000/160] " Pavel Machek
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=20241223155412.170983053@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=link@vivo.com \
--cc=patches@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=vivek.kasireddy@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox