From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev,
Matti Vaittinen <mazziesaccount@gmail.com>,
Mark Brown <broonie@kernel.org>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.15 034/160] regulator: Add devm helpers for get and enable
Date: Tue, 8 Jul 2025 18:21:11 +0200 [thread overview]
Message-ID: <20250708162232.471647521@linuxfoundation.org> (raw)
In-Reply-To: <20250708162231.503362020@linuxfoundation.org>
5.15-stable review patch. If anyone has any objections, please let me know.
------------------
From: Matti Vaittinen <mazziesaccount@gmail.com>
[ Upstream commit da279e6965b3838e99e5c0ab8f76b87bf86b31a5 ]
A few regulator consumer drivers seem to be just getting a regulator,
enabling it and registering a devm-action to disable the regulator at
the driver detach and then forget about it.
We can simplify this a bit by adding a devm-helper for this pattern.
Add devm_regulator_get_enable() and devm_regulator_get_enable_optional()
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/ed7b8841193bb9749d426f3cb3b199c9460794cd.1660292316.git.mazziesaccount@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 9079db287fc3 ("ASoC: codecs: wcd9335: Fix missing free of regulator supplies")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/regulator/devres.c | 164 +++++++++++++++++++++++++++++
include/linux/regulator/consumer.h | 27 +++++
2 files changed, 191 insertions(+)
diff --git a/drivers/regulator/devres.c b/drivers/regulator/devres.c
index 32823a87fd409..3265e75e97ab4 100644
--- a/drivers/regulator/devres.c
+++ b/drivers/regulator/devres.c
@@ -70,6 +70,65 @@ struct regulator *devm_regulator_get_exclusive(struct device *dev,
}
EXPORT_SYMBOL_GPL(devm_regulator_get_exclusive);
+static void regulator_action_disable(void *d)
+{
+ struct regulator *r = (struct regulator *)d;
+
+ regulator_disable(r);
+}
+
+static int _devm_regulator_get_enable(struct device *dev, const char *id,
+ int get_type)
+{
+ struct regulator *r;
+ int ret;
+
+ r = _devm_regulator_get(dev, id, get_type);
+ if (IS_ERR(r))
+ return PTR_ERR(r);
+
+ ret = regulator_enable(r);
+ if (!ret)
+ ret = devm_add_action_or_reset(dev, ®ulator_action_disable, r);
+
+ if (ret)
+ devm_regulator_put(r);
+
+ return ret;
+}
+
+/**
+ * devm_regulator_get_enable_optional - Resource managed regulator get and enable
+ * @dev: device to supply
+ * @id: supply name or regulator ID.
+ *
+ * Get and enable regulator for duration of the device life-time.
+ * regulator_disable() and regulator_put() are automatically called on driver
+ * detach. See regulator_get_optional() and regulator_enable() for more
+ * information.
+ */
+int devm_regulator_get_enable_optional(struct device *dev, const char *id)
+{
+ return _devm_regulator_get_enable(dev, id, OPTIONAL_GET);
+}
+EXPORT_SYMBOL_GPL(devm_regulator_get_enable_optional);
+
+/**
+ * devm_regulator_get_enable - Resource managed regulator get and enable
+ * @dev: device to supply
+ * @id: supply name or regulator ID.
+ *
+ * Get and enable regulator for duration of the device life-time.
+ * regulator_disable() and regulator_put() are automatically called on driver
+ * detach. See regulator_get() and regulator_enable() for more
+ * information.
+ */
+int devm_regulator_get_enable(struct device *dev, const char *id)
+{
+ return _devm_regulator_get_enable(dev, id, NORMAL_GET);
+}
+EXPORT_SYMBOL_GPL(devm_regulator_get_enable);
+
/**
* devm_regulator_get_optional - Resource managed regulator_get_optional()
* @dev: device to supply
@@ -194,6 +253,111 @@ int devm_regulator_bulk_get_const(struct device *dev, int num_consumers,
}
EXPORT_SYMBOL_GPL(devm_regulator_bulk_get_const);
+static int devm_regulator_bulk_match(struct device *dev, void *res,
+ void *data)
+{
+ struct regulator_bulk_devres *match = res;
+ struct regulator_bulk_data *target = data;
+
+ /*
+ * We check the put uses same consumer list as the get did.
+ * We _could_ scan all entries in consumer array and check the
+ * regulators match but ATM I don't see the need. We can change this
+ * later if needed.
+ */
+ return match->consumers == target;
+}
+
+/**
+ * devm_regulator_bulk_put - Resource managed regulator_bulk_put()
+ * @consumers: consumers to free
+ *
+ * Deallocate regulators allocated with devm_regulator_bulk_get(). Normally
+ * this function will not need to be called and the resource management
+ * code will ensure that the resource is freed.
+ */
+void devm_regulator_bulk_put(struct regulator_bulk_data *consumers)
+{
+ int rc;
+ struct regulator *regulator = consumers[0].consumer;
+
+ rc = devres_release(regulator->dev, devm_regulator_bulk_release,
+ devm_regulator_bulk_match, consumers);
+ if (rc != 0)
+ WARN_ON(rc);
+}
+EXPORT_SYMBOL_GPL(devm_regulator_bulk_put);
+
+static void devm_regulator_bulk_disable(void *res)
+{
+ struct regulator_bulk_devres *devres = res;
+ int i;
+
+ for (i = 0; i < devres->num_consumers; i++)
+ regulator_disable(devres->consumers[i].consumer);
+}
+
+/**
+ * devm_regulator_bulk_get_enable - managed get'n enable multiple regulators
+ *
+ * @dev: device to supply
+ * @num_consumers: number of consumers to register
+ * @id: list of supply names or regulator IDs
+ *
+ * @return 0 on success, an errno on failure.
+ *
+ * This helper function allows drivers to get several regulator
+ * consumers in one operation with management, the regulators will
+ * automatically be freed when the device is unbound. If any of the
+ * regulators cannot be acquired then any regulators that were
+ * allocated will be freed before returning to the caller.
+ */
+int devm_regulator_bulk_get_enable(struct device *dev, int num_consumers,
+ const char * const *id)
+{
+ struct regulator_bulk_devres *devres;
+ struct regulator_bulk_data *consumers;
+ int i, ret;
+
+ devres = devm_kmalloc(dev, sizeof(*devres), GFP_KERNEL);
+ if (!devres)
+ return -ENOMEM;
+
+ devres->consumers = devm_kcalloc(dev, num_consumers, sizeof(*consumers),
+ GFP_KERNEL);
+ consumers = devres->consumers;
+ if (!consumers)
+ return -ENOMEM;
+
+ devres->num_consumers = num_consumers;
+
+ for (i = 0; i < num_consumers; i++)
+ consumers[i].supply = id[i];
+
+ ret = devm_regulator_bulk_get(dev, num_consumers, consumers);
+ if (ret)
+ return ret;
+
+ for (i = 0; i < num_consumers; i++) {
+ ret = regulator_enable(consumers[i].consumer);
+ if (ret)
+ goto unwind;
+ }
+
+ ret = devm_add_action(dev, devm_regulator_bulk_disable, devres);
+ if (!ret)
+ return 0;
+
+unwind:
+ while (--i >= 0)
+ regulator_disable(consumers[i].consumer);
+
+ devm_regulator_bulk_put(consumers);
+
+ return ret;
+}
+EXPORT_SYMBOL_GPL(devm_regulator_bulk_get_enable);
+
static void devm_rdev_release(struct device *dev, void *res)
{
regulator_unregister(*(struct regulator_dev **)res);
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 61f922e6fe353..a1fce0f27ce16 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -203,6 +203,8 @@ struct regulator *__must_check regulator_get_optional(struct device *dev,
const char *id);
struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
const char *id);
+int devm_regulator_get_enable(struct device *dev, const char *id);
+int devm_regulator_get_enable_optional(struct device *dev, const char *id);
void regulator_put(struct regulator *regulator);
void devm_regulator_put(struct regulator *regulator);
@@ -240,12 +242,15 @@ int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
struct regulator_bulk_data *consumers);
int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
struct regulator_bulk_data *consumers);
+void devm_regulator_bulk_put(struct regulator_bulk_data *consumers);
int __must_check devm_regulator_bulk_get_const(
struct device *dev, int num_consumers,
const struct regulator_bulk_data *in_consumers,
struct regulator_bulk_data **out_consumers);
int __must_check regulator_bulk_enable(int num_consumers,
struct regulator_bulk_data *consumers);
+int devm_regulator_bulk_get_enable(struct device *dev, int num_consumers,
+ const char * const *id);
int regulator_bulk_disable(int num_consumers,
struct regulator_bulk_data *consumers);
int regulator_bulk_force_disable(int num_consumers,
@@ -350,6 +355,17 @@ devm_regulator_get_exclusive(struct device *dev, const char *id)
return ERR_PTR(-ENODEV);
}
+static inline int devm_regulator_get_enable(struct device *dev, const char *id)
+{
+ return -ENODEV;
+}
+
+static inline int devm_regulator_get_enable_optional(struct device *dev,
+ const char *id)
+{
+ return -ENODEV;
+}
+
static inline struct regulator *__must_check
regulator_get_optional(struct device *dev, const char *id)
{
@@ -371,6 +387,10 @@ static inline void devm_regulator_put(struct regulator *regulator)
{
}
+static inline void devm_regulator_bulk_put(struct regulator_bulk_data *consumers)
+{
+}
+
static inline int regulator_register_supply_alias(struct device *dev,
const char *id,
struct device *alias_dev,
@@ -461,6 +481,13 @@ static inline int regulator_bulk_enable(int num_consumers,
return 0;
}
+static inline int devm_regulator_bulk_get_enable(struct device *dev,
+ int num_consumers,
+ const char * const *id)
+{
+ return 0;
+}
+
static inline int regulator_bulk_disable(int num_consumers,
struct regulator_bulk_data *consumers)
{
--
2.39.5
next prev parent reply other threads:[~2025-07-08 16:57 UTC|newest]
Thread overview: 172+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 16:20 [PATCH 5.15 000/160] 5.15.187-rc1 review Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 001/160] cifs: Fix cifs_query_path_info() for Windows NT servers Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 002/160] NFSv4: Always set NLINK even if the server doesnt support it Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 003/160] NFSv4.2: fix listxattr to return selinux security label Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 004/160] mailbox: Not protect module_put with spin_lock_irqsave Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 005/160] mfd: max14577: Fix wakeup source leaks on device unbind Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 006/160] leds: multicolor: Fix intensity setting while SW blinking Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 007/160] hwmon: (pmbus/max34440) Fix support for max34451 Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 008/160] ksmbd: allow a filename to contain special characters on SMB3.1.1 posix extension Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 009/160] dmaengine: xilinx_dma: Set dma_device directions Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 010/160] md/md-bitmap: fix dm-raid max_write_behind setting Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 011/160] bcache: fix NULL pointer in cache_set_flush() Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 012/160] iio: pressure: zpa2326: Use aligned_s64 for the timestamp Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 013/160] um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 014/160] coresight: Only check bottom two claim bits Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 015/160] usb: dwc2: also exit clock_gating when stopping udc while suspended Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 016/160] usb: potential integer overflow in usbg_make_tpg() Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 017/160] tty: serial: uartlite: register uart driver in init Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 018/160] usb: common: usb-conn-gpio: use a unique name for usb connector device Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 019/160] usb: Add checks for snprintf() calls in usb_alloc_dev() Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 020/160] usb: cdc-wdm: avoid setting WDM_READ for ZLP-s Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 021/160] usb: typec: displayport: Receive DP Status Update NAK request exit dp altmode Greg Kroah-Hartman
2025-07-08 16:20 ` [PATCH 5.15 022/160] ALSA: hda: Ignore unsol events for cards being shut down Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 023/160] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 024/160] ALSA: usb-audio: Add a quirk for Lenovo Thinkpad Thunderbolt 3 dock Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 025/160] ceph: fix possible integer overflow in ceph_zero_objects() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 026/160] ovl: Check for NULL d_inode() in ovl_dentry_upper() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 027/160] fs/jfs: consolidate sanity checking in dbMount Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 028/160] jfs: validate AG parameters in dbMount() to prevent crashes Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 029/160] media: davinci: vpif: Fix memory leak in probe error path Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 030/160] media: omap3isp: use sgtable-based scatterlist wrappers Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 031/160] clk: ti: am43xx: Add clkctrl data for am43xx ADC1 Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 032/160] media: imx-jpeg: Drop the first error frames Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 033/160] regulator: core: Allow drivers to define their init data as const Greg Kroah-Hartman
2025-07-08 16:21 ` Greg Kroah-Hartman [this message]
2025-07-08 16:21 ` [PATCH 5.15 035/160] ASoC: codecs: wcd9335: Handle nicer probe deferral and simplify with dev_err_probe() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 036/160] ASoC: codec: wcd9335: Convert to GPIO descriptors Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 037/160] ASoC: codecs: wcd9335: Fix missing free of regulator supplies Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 038/160] f2fs: dont over-report free space or inodes in statvfs Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 039/160] fbcon: Use delayed work for cursor Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 040/160] fbcon: Extract fbcon_open/release helpers Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 041/160] fbcon: move more common code into fb_open() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 042/160] fbcon: use lock_fb_info in fbcon_open/release Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 043/160] fbcon: Move console_lock for register/unlink/unregister Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 044/160] fbdev: Fix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 045/160] Drivers: hv: Rename alloced to allocated Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 046/160] Drivers: hv: vmbus: Add utility function for querying ring size Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 047/160] uio_hv_generic: Query the ringbuffer size for device Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 048/160] uio_hv_generic: Align ring size to system page Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 049/160] fbcon: delete a few unneeded forward decl Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 050/160] tty/vt: consolemap: rename and document struct uni_pagedir Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 051/160] vgacon: switch vgacon_scrolldelta() and vgacon_restore_screen() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 052/160] vgacon: remove unneeded forward declarations Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 053/160] tty: vt: make init parameter of consw::con_init() a bool Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 054/160] tty: vt: sanitize arguments of consw::con_clear() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 055/160] tty: vt: make consw::con_switch() return a bool Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 056/160] dummycon: Trigger redraw when switching consoles with deferred takeover Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 057/160] platform/x86: ideapad-laptop: use usleep_range() for EC polling Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 058/160] i2c: tiny-usb: disable zero-length read messages Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 059/160] i2c: robotfuzz-osif: " Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 060/160] s390/pkey: Prevent overflow in size calculation for memdup_user() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 061/160] atm: clip: prevent NULL deref in clip_push() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 062/160] ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 063/160] attach_recursive_mnt(): do not lock the covering tree when sliding something under it Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 064/160] libbpf: Fix null pointer dereference in btf_dump__free on allocation failure Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 065/160] wifi: mac80211: fix beacon interval calculation overflow Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 066/160] af_unix: Dont set -ECONNRESET for consumed OOB skb Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 067/160] vsock/uapi: fix linux/vm_sockets.h userspace compilation errors Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 068/160] um: ubd: Add missing error check in start_io_thread() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 069/160] net: enetc: Correct endianness handling in _enetc_rd_reg64 Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 070/160] atm: Release atm_dev_mutex after removing procfs in atm_dev_deregister() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 071/160] net: selftests: fix TCP packet checksum Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 072/160] staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher() Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 073/160] dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 074/160] Bluetooth: L2CAP: Fix L2CAP MTU negotiation Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 075/160] dm-raid: fix variable in journal device check Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 076/160] btrfs: update superblocks device bytes_used when dropping chunk Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 077/160] HID: wacom: fix memory leak on kobject creation failure Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 078/160] HID: wacom: fix memory leak on sysfs attribute " Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 079/160] HID: wacom: fix kobject reference count leak Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 080/160] drm/tegra: Assign plane type before registration Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 081/160] drm/tegra: Fix a possible null pointer dereference Greg Kroah-Hartman
2025-07-08 16:21 ` [PATCH 5.15 082/160] drm/udl: Unregister device before cleaning up on disconnect Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 083/160] drm/amdkfd: Fix race in GWS queue scheduling Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 084/160] drm/bridge: cdns-dsi: Fix the clock variable for mode_valid() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 085/160] drm/bridge: cdns-dsi: Fix connecting to next bridge Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 086/160] drm/bridge: cdns-dsi: Check return value when getting default PHY config Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 087/160] drm/bridge: cdns-dsi: Wait for Clk and Data Lanes to be ready Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 088/160] drm/amd/display: Add null pointer check for get_first_active_display() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 089/160] PCI: hv: Do not set PCI_COMMAND_MEMORY to reduce VM boot time Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 090/160] media: uvcvideo: Rollback non processed entities on error Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 091/160] s390/entry: Fix last breaking event handling in case of stack corruption Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 092/160] s390: Add -std=gnu11 to decompressor and purgatory CFLAGS Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 093/160] Revert "ipv6: save dontfrag in cork" Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 094/160] arm64: Restrict pagetable teardown to avoid false warning Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 095/160] btrfs: dont drop extent_map for free space inode on write error Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 096/160] ARM: 9354/1: ptrace: Use bitfield helpers Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 097/160] rtc: cmos: use spin_lock_irqsave in cmos_interrupt Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 098/160] vsock/vmci: Clear the vmci transport packet properly when initializing it Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 099/160] mmc: sdhci: Add a helper function for dump register in dynamic debug mode Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 100/160] Revert "mmc: sdhci: Disable SD card clock before changing parameters" Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 101/160] usb: typec: altmodes/displayport: do not index invalid pin_assignments Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 102/160] mtk-sd: Fix a pagefault in dma_unmap_sg() for not prepared data Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 103/160] mtk-sd: Prevent memory corruption from DMA map failure Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 104/160] mtk-sd: reset host->mrq on prepare_data() error Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 105/160] platform/mellanox: mlxbf-tmfifo: fix vring_desc.len assignment Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 106/160] RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 107/160] nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 108/160] NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 109/160] scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 110/160] scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 111/160] scsi: ufs: core: Fix spelling of a sysfs attribute name Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 112/160] RDMA/mlx5: Fix CC counters query for MPV Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 113/160] btrfs: fix missing error handling when searching for inode refs during log replay Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 114/160] drm/exynos: fimd: Guard display clock control with runtime PM calls Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 115/160] spi: spi-fsl-dspi: Clear completion counter before initiating transfer Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 116/160] drm/i915/selftests: Change mock_request() to return error pointers Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 117/160] platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 118/160] drm/i915/gt: Fix timeline left held on VMA alloc error Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 119/160] igc: disable L1.2 PCI-E link substate to avoid performance issue Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 120/160] lib: test_objagg: Set error message in check_expect_hints_stats() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 121/160] amd-xgbe: align CL37 AN sequence as per databook Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 122/160] enic: fix incorrect MTU comparison in enic_change_mtu() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 123/160] rose: fix dangling neighbour pointers in rose_rt_device_down() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 124/160] nui: Fix dma_mapping_error() check Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 125/160] net/sched: Always pass notifications when child class becomes empty Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 126/160] drm/msm: Fix a fence leak in submit error path Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 127/160] ALSA: sb: Dont allow changing the DMA mode during operations Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 128/160] ALSA: sb: Force to disable DMAs once when DMA mode is changed Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 129/160] ata: pata_cs5536: fix build on 32-bit UML Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 130/160] powerpc: Fix struct termio related ioctl macros Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 131/160] scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 132/160] wifi: mac80211: drop invalid source address OCB frames Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 133/160] wifi: ath6kl: remove WARN on bad firmware input Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 134/160] ACPICA: Refuse to evaluate a method if arguments are missing Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 135/160] mtd: spinand: fix memory leak of ECC engine conf Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 136/160] rcu: Return early if callback is not specified Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 137/160] mmc: core: sd: Apply BROKEN_SD_DISCARD quirk earlier Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 138/160] regulator: gpio: Add input_supply support in gpio_regulator_config Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 139/160] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 140/160] drm/v3d: Disable interrupts before resetting the GPU Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 141/160] NFSv4/flexfiles: Fix handling of NFS level errors in I/O Greg Kroah-Hartman
2025-07-08 16:22 ` [PATCH 5.15 142/160] ethernet: atl1: Add missing DMA mapping error checks and count errors Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 143/160] dpaa2-eth: Update dpni_get_single_step_cfg command Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 144/160] dpaa2-eth: Update SINGLE_STEP register access Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 145/160] net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 146/160] dpaa2-eth: fix xdp_rxq_info leak Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 147/160] platform/x86: think-lmi: Fix class device unregistration Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 148/160] platform/x86: dell-wmi-sysman: " Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 149/160] xhci: dbctty: disable ECHO flag by default Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 150/160] xhci: dbc: Flush queued requests before stopping dbc Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 151/160] usb: cdnsp: do not disable slot for disabled slot Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 152/160] i2c/designware: Fix an initialization issue Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 153/160] Logitech C-270 even more broken Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 154/160] platform/x86: think-lmi: Create ksets consecutively Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 155/160] usb: typec: displayport: Fix potential deadlock Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 156/160] x86/bugs: Rename MDS machinery to something more generic Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 157/160] x86/bugs: Add a Transient Scheduler Attacks mitigation Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 158/160] KVM: x86: add support for CPUID leaf 0x80000021 Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 159/160] KVM: SVM: Advertise TSA CPUID bits to guests Greg Kroah-Hartman
2025-07-08 16:23 ` [PATCH 5.15 160/160] x86/process: Move the buffer clearing before MONITOR Greg Kroah-Hartman
2025-07-08 17:20 ` [PATCH 5.15 000/160] 5.15.187-rc1 review Florian Fainelli
2025-07-08 17:23 ` Borislav Petkov
2025-07-08 17:26 ` Florian Fainelli
2025-07-08 17:45 ` Borislav Petkov
2025-07-08 17:51 ` Borislav Petkov
2025-07-08 18:05 ` Greg Kroah-Hartman
2025-07-08 18:04 ` Borislav Petkov
2025-07-08 18:09 ` Greg Kroah-Hartman
2025-07-08 18:37 ` Florian Fainelli
2025-07-08 17:34 ` Greg Kroah-Hartman
2025-07-09 22:12 ` Shuah Khan
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=20250708162232.471647521@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=broonie@kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=patches@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=stable@vger.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 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.