Article View: linux.kernel.netdev
Article #25324[PATCH v14 2/2] block: implement NVMEM provider
From: Loic Poulain
Date: Tue, 01 Dec 2026 14:05
Date: Tue, 01 Dec 2026 14:05
342 lines
27246 bytes
27246 bytes
On embedded devices using an eMMC it is common that one or more partitions
on the eMMC are used to store MAC addresses and Wi-Fi calibration EEPROM
data. Allow referencing the partition in device tree for the kernel and
Wi-Fi drivers accessing it via the NVMEM layer.
NVMEM is registered for a block device whose OF node describes an NVMEM
layout, either via an "nvmem-layout" child or by being a "fixed-layout"
node itself (e.g. an eMMC boot partition associated through its mmc-card
node). In the latter case the NVMEM core populates the layout device on the
block device's own OF node, so that node ends up marked OF_POPULATED_BUS
and shared with the layout device for as long as the block device exists.
The NVMEM device is a read-only side channel onto a block device that stays
fully usable, and it never takes ownership of it. Reads are served from the
page cache of the block device, the same way the partition table itself is
read (see read_part_sector()), so they are coherent with the other users of
that same block device, but the data is only as stable as whatever owns the
block device keeps it.
Going through the page cache instead of opening the block device is what
makes the lifetime of the NVMEM device work out. blk_nvmem_del() runs under
disk->open_mutex (drop_partition()) and has to wait, through
nvmem_unregister(), for the in-flight readers to drain before the NVMEM
device is gone, as it is a child of the block device that is about to be
deleted. A reader that opened the block device would take disk->open_mutex
itself and deadlock against that wait. A read stuck on dead hardware
instead delays the partition removal until the driver times out.
Registering a partition happens under the same mutex, and synchronously
probes the layout driver, which for all in-tree layouts is device tree
parsing plus reads through the same page cache path.
Exclusive openers are turned away with -EBUSY instead, a block device
described as an NVMEM provider in the device tree is not a filesystem, md
or dm member. Openers that do not ask for exclusive access (udev, blkid,
dd, and provisioning tools that do not use O_EXCL) keep working and see the
same data through the shared page cache.
Consumers looking up a cell before the provider shows up get -EPROBE_DEFER
from the NVMEM core and retry later.
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
---
MAINTAINERS | 1 +
block/Kconfig | 11 +++++
block/Makefile | 1 +
block/bdev.c | 7 +++
block/blk-nvmem.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++
block/blk.h | 18 +++++++
block/genhd.c | 4 ++
block/partitions/core.c | 5 ++
include/linux/blk_types.h | 4 ++
9 files changed, 172 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c00d3612c9acf4665bf89376877f1ca883cb1b2a..0527aff11c92291aca50a4e716eca0438a583b28 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20323,6 +20323,7 @@ S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git
F: Documentation/ABI/stable/sysfs-bus-nvmem
F: Documentation/devicetree/bindings/nvmem/
+F: block/blk-nvmem.c
F: drivers/nvmem/
F: include/dt-bindings/nvmem/
F: include/linux/nvmem-consumer.h
diff --git a/block/Kconfig b/block/Kconfig
index 70e4a66d941ff66ecb0ec34f4f7eff7fd1e4be40..4899ad572c71ffdbb62460d57623216254893ddc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -209,6 +209,17 @@ config BLK_INLINE_ENCRYPTION_FALLBACK
by falling back to the kernel crypto API when inline
encryption hardware is not present.
+config BLK_NVMEM
+ bool "Block device NVMEM provider"
+ depends on OF
+ depends on NVMEM
+ help
+ Allow block devices (or partitions) to act as NVMEM providers,
+ exposing factory-provisioned data such as MAC addresses or Wi-Fi
+ calibration blobs to the drivers that consume them. This is
+ typically used on embedded devices where such data is stored in a
+ dedicated area of an eMMC, instead of a separate EEPROM or OTP.
+
source "block/partitions/Kconfig"
config BLK_PM
diff --git a/block/Makefile b/block/Makefile
index e7bd320e3d6971a8abf584f5de42776bb54e8216..826af86edce4e86eceb06c744e740abd0cab139f 100644
--- a/block/Makefile
+++ b/block/Makefile
@@ -39,3 +39,4 @@ obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += blk-crypto.o blk-crypto-profile.o \
blk-crypto-sysfs.o
obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK) += blk-crypto-fallback.o
obj-$(CONFIG_BLOCK_HOLDER_DEPRECATED) += holder.o
+obj-$(CONFIG_BLK_NVMEM) += blk-nvmem.o
diff --git a/block/bdev.c b/block/bdev.c
index e0a3dbb06837f0e82016cd531264e7d55cfddc23..730a42c6161afadb0cdcae6f9681f5f84afcfee5 100644
--- a/block/bdev.c
+++ b/block/bdev.c
@@ -976,6 +976,13 @@ int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder,
int ret;
if (holder) {
+ /*
+ * A block device providing NVMEM cells is not a filesystem,
+ * md or dm member and must not be claimed exclusively.
+ */
+ if (bdev_is_nvmem(bdev))
+ return -EBUSY;
+
mode |= BLK_OPEN_EXCL;
ret = bd_prepare_to_claim(bdev, holder, hops);
if (ret)
diff --git a/block/blk-nvmem.c b/block/blk-nvmem.c
new file mode 100644
index 0000000000000000000000000000000000000000..8d29fd338f0b070f30e70aabb80df8be4d4845a3
--- /dev/null
+++ b/block/blk-nvmem.c
@@ -0,0 +1,121 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * block device NVMEM provider
+ *
+ * Copyright (c) 2024 Daniel Golle <daniel@makrotopia.org>
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ *
+ * Useful on devices using a whole disk or a partition (e.g. an eMMC boot
+ * partition) to store MAC addresses, Bluetooth addresses or Wi-Fi
+ * calibration EEPROM data.
+ *
+ * The NVMEM device is a read-only side channel onto a block device that stays
+ * fully usable, and never takes ownership of it. Reads go through the page
+ * cache of the block device, so they are coherent with the other users of that
+ * same block device, but the data is only as stable as whatever owns the block
+ * device keeps it.
+ */
+
+#include <linux/device.h>
+#include <linux/highmem.h>
+#include <linux/nvmem-provider.h>
+#include <linux/of.h>
+#include <linux/pagemap.h>
+
+#include "blk.h"
+
+static int blk_nvmem_reg_read(void *priv, unsigned int from,
+ void *val, size_t bytes)
+{
+ struct block_device *bdev = priv;
+ struct address_space *mapping = bdev->bd_mapping;
+ loff_t pos = from;
+
+ /* the device may have shrunk since the NVMEM device was registered */
+ if (pos + bytes > bdev_nr_bytes(bdev))
+ return -EIO;
+
+ while (bytes) {
+ struct folio *folio;
+ size_t offset, len;
+
+ folio = read_mapping_folio(mapping, pos >> PAGE_SHIFT, NULL);
+ if (IS_ERR(folio))
+ return PTR_ERR(folio);
+
+ offset = offset_in_folio(folio, pos);
+ len = min(bytes, folio_size(folio) - offset);
+ memcpy_from_folio(val, folio, offset, len);
+ folio_put(folio);
+
+ val += len;
+ pos += len;
+ bytes -= len;
+ }
+
+ return 0;
+}
+
+void blk_nvmem_add(struct block_device *bdev)
+{
+ struct device *dev = &bdev->bd_device;
+ struct device_node *np = dev_of_node(dev);
+ loff_t size = bdev_nr_bytes(bdev);
+ struct nvmem_config config = {
+ .id = NVMEM_DEVID_NONE,
+ .owner = THIS_MODULE,
+ .word_size = 1,
+ .stride = 1,
+ .read_only = true,
+ .root_only = true,
+ .ignore_wp = true,
+ .dev = dev,
+ .name = dev_name(dev),
+ .of_node = np,
+ .priv = bdev,
+ .reg_read = blk_nvmem_reg_read,
+ };
+ struct nvmem_device *nvmem;
+ struct device_node *child;
+
+ /* skip devices which do not have a device tree node */
+ if (!np)
+ return;
+
+ /*
+ * Only register devices which the device tree describes a layout for,
+ * either in an "nvmem-layout" child node or on the node itself, as
+ * of_nvmem_layout_get_container() looks it up.
+ */
+ child = of_get_child_by_name(np, "nvmem-layout");
+ if (child)
+ of_node_put(child);
+ else if (!of_device_is_compatible(np, "fixed-layout"))
+ return;
+
+ /* nvmem_config.size is an int, so reject anything that would overflow */
+ if (size > INT_MAX) {
+ dev_warn(dev, "block device too large to be an NVMEM\n");
+ return;
+ }
+
+ config.size = size;
+
+ nvmem = nvmem_register(&config);
+ if (IS_ERR(nvmem)) {
+ dev_err(dev, "Failed to register NVMEM device (%pe)\n", nvmem);
+ return;
+ }
+
+ WRITE_ONCE(bdev->bd_nvmem, nvmem);
+}
+
+/*
+ * Relies on GD_DEAD being set before, so that nvmem readers error out
+ * instead of waiting for the unfreeze.
+ */
+void blk_nvmem_del(struct block_device *bdev)
+{
+ nvmem_unregister(bdev->bd_nvmem);
+ WRITE_ONCE(bdev->bd_nvmem, NULL);
+}
diff --git a/block/blk.h b/block/blk.h
index 105fff157bfbd453ae4cfa993e8971ceb36d916e..94f871c04665937160daa5643e3a15ebc4a14b91 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -839,4 +839,22 @@ static inline void blk_debugfs_unlock(struct request_queue *q,
memalloc_noio_restore(memflags);
}
+#ifdef CONFIG_BLK_NVMEM
+void blk_nvmem_add(struct block_device *bdev);
+void blk_nvmem_del(struct block_device *bdev);
+
+static inline bool bdev_is_nvmem(struct block_device *bdev)
+{
+ return READ_ONCE(bdev->bd_nvmem);
+}
+#else
+static inline void blk_nvmem_add(struct block_device *bdev) {}
+static inline void blk_nvmem_del(struct block_device *bdev) {}
+
+static inline bool bdev_is_nvmem(struct block_device *bdev)
+{
+ return false;
+}
+#endif
+
#endif /* BLK_INTERNAL_H */
diff --git a/block/genhd.c b/block/genhd.c
index 69204d44adae11eb8bccf5db8d5d5eaa0fa186a8..39adc6f5e44cf736161c67e63602249a32b42751 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -417,6 +417,8 @@ static void add_disk_final(struct gendisk *disk)
*/
dev_set_uevent_suppress(ddev, 0);
disk_uevent(disk, KOBJ_ADD);
+
+ blk_nvmem_add(disk->part0);
}
blk_apply_bdi_limits(disk->bdi, &disk->queue->limits);
@@ -708,6 +710,8 @@ static void __del_gendisk(struct gendisk *disk)
disk_del_events(disk);
+ blk_nvmem_del(disk->part0);
+
/*
* Prevent new openers by unlinked the bdev inode.
*/
diff --git a/block/partitions/core.c b/block/partitions/core.c
index eee954df1ac6ef7dd4f02ad5c9d49aed778bf015..c83227710584a6feb25c8abae3b319cfae9cce5b 100644
--- a/block/partitions/core.c
+++ b/block/partitions/core.c
@@ -289,6 +289,8 @@ void drop_partition(struct block_device *part)
xa_erase(&part->bd_disk->part_tbl, bdev_partno(part));
kobject_put(part->bd_holder_dir);
+ blk_nvmem_del(part);
+
device_del(&part->bd_device);
put_device(&part->bd_device);
}
@@ -406,6 +408,9 @@ static struct block_device *add_partition(struct gendisk *disk, int partno,
/* suppress uevent if the disk suppresses it */
if (!dev_get_uevent_suppress(ddev))
kobject_uevent(&pdev->kobj, KOBJ_ADD);
+
+ blk_nvmem_add(bdev);
+
return bdev;
out_del:
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 644b9528f2749f82df4d014adc0149dc42c986a8..6c442546623e31aae3d4e5c7e64b0b1836ef254b 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -15,6 +15,7 @@
struct bio_set;
struct bio;
struct bio_integrity_payload;
+struct nvmem_device;
struct page;
struct io_context;
struct cgroup_subsys_state;
@@ -74,6 +75,9 @@ struct block_device {
int bd_writers;
#ifdef CONFIG_SECURITY
void *bd_security;
+#endif
+#ifdef CONFIG_BLK_NVMEM
+ struct nvmem_device *bd_nvmem;
#endif
/*
* keep this out-of-line as it's both big and not needed in the fast
--
2.34.1
Technical Details
Message-ID:
<20261201-block-as-nvmem-v14-2-3a07f4ff246c@oss.qualcomm.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375146-linux-kernel-netdev=dewy.ruReferences:
<20261201-block-as-nvmem-v14-0-3a07f4ff246c@oss.qualcomm.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375146-linux-kernel-netdev=dewy.ru
From: loic.poulain@oss.qualcomm.com (Loic Poulain)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v14 2/2] block: implement NVMEM provider
Date: Tue, 01 Dec 2026 15:05:25 +0100
Organization: Usenet Network
Message-ID: <20261201-block-as-nvmem-v14-2-3a07f4ff246c@oss.qualcomm.com>
References: <20261201-block-as-nvmem-v14-0-3a07f4ff246c@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="1730206"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Z+zCPxcBzNGOlznfsvdc3n4+MkI= sha256:jNtS9yj9BXY/cxw4d3dSdkDmRdouHB1JQJStnx8R2gQ=
sha1:cQAPfDq+jsEGiqBhiuHz+7zAn48= sha256:zNfr7+M0mvXAkIWFxx7kb16+0Dt8Xcdgkhz/lmrIDVk=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id E06D91173D8; Tue, 1 Dec 2026 17:06:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=qualcomm.com header.b=Pd1nUb2j; dkim=pass (2048-bit key)
header.d=oss.qualcomm.com header.b=SeN08pF2
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id LTEh1BgXOX9B;
Tue, 1 Dec 2026 17:06:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375146-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=oss.qualcomm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 6B9561173D2; Tue, 1 Dec 2026 17:06:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 71889324BE; Tue, 1 Dec 2026 14:05:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796133937;
b=BvK7BEhmPYQM6JmIaCw2sRp7NPUF9W0FgiXVEEdQoV1RvNylWnhw15SbKTFfz9K3ngLy
FewLrrsDOKlwmwYpYcCgrM389HNaXmCDnAFZGs0LDTVd2lbd8JkJ8vom/EEKRSBn8roXU
5G8BFrLQ0UjwE4hnLbkTBEztKvLTQpI++ZrJCWKSyK0hUVxK/Vlhb6HhwDsnkiti5W23H
+ipp8w7ElUh5HZsjrZqLLEdlTDVnlArBclP+Q4CWVuDDZiRgyI6MD8wtA5q4xlwP119BX
ZSDO1HP6S5foO+aLuE17mTj+JsUh1G1Fp24ArsLvM2q4T7bCW2M3JPkk6jw8WKCd5Hw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796133937;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
Received:DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date:
Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc:
X-Mailer:X-Authority-Analysis:X-Proofpoint-Spam-Info:
X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=SeCSsT26+NolHOBKWLZM2krtQ0yerZH1GLA00cEEvVM=;
b=G9No982xPYHkvEPTdae0ORen1fYVCMskfhpUlGlWslgtb0Ih2KnLquTD7NhgfU8ZqvtM
sPhitN0zFBGx0sTPR+IIZrIJqhjepeNz6FwslK963RzABQ+SG1GMdfcJ9+q6rRnU/MJUP
g9pOjdKWXB8Pj+OfaBfyK60ydADE9dkK+JttGDrk9T58Obp5sMySdu2PdyWbCeBeXQeFT
TKfJwrRXLeG7/o1QDmrxJHP9H7UFscR0JXKDGQ8eYuZXJIfcid8uRhgddimJnPsM9lbeu
NGxh3puZ6+Cnk71X/4scuixpB/ig63j+LhBB2AUhYgVmgs+mylKyk/sVA5IQl97gAhg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Pd1nUb2j;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=SeN08pF2;
dmarc=pass header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E57F606A69B;
Tue, 1 Dec 2026 14:05:37 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Pd1nUb2j;
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=SeN08pF2
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796133936;
b=s18TYM5YD59a69sYMDw/wiIdTpJIbJIpphyird+7sCZXzvjlQ90YNWooy3S1RIvFKDIE
u9Pu1RSlgYtnkdc9AHBD1B27IRtjeMFh7Ewea2oy/q4dKPVDjpH742vJAC5etIA1aEpiV
s36cOdLASmoHPXZeDX81BTMxjbbnbDznre4ZJEf1/3gYdHgZUDvPnqt0KEdiKU/PCImF+
ytS8PqokFiCNeJQlQzvumJKQDFAi5qkwlYCOUNgzc9YCJQY3G7evoV/Uwxqhir1m91F2F
+CdtMgsAQXtToFzEjG78xtUEJ73HKAm6IH9yIncx2qUBHtMn37zj+VzhKAqr8JsQ2GA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796133936;
h=DMARC-Filter:Received:DKIM-Signature:Received:Received:
DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date:
Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:
Message-Id:References:In-Reply-To:To:Cc:X-Mailer:X-Authority-Analysis:
X-Proofpoint-Spam-Info:X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=SeCSsT26+NolHOBKWLZM2krtQ0yerZH1GLA00cEEvVM=;
b=ZpFeqMgZ0aVcmv+/yf4mgv7iZURFyqHL2bCPW160qUudD4jsVbaOpmCUZKZ3/LMsMwp1
6i3Xv5+MWGThGU8ynBiBwgYE0KvDmAXLN6g+xda8s0NdbsRLm0wnsy6Ti1qqzRygIr6uv
Sc+RSxUXWA7F6O2vJNfXpjwZ4DigBCGGzCXNdvP6nZ8FyPG7Yab80UuA8etMxQcBAJvTT
YFGPUupQidNe+oFNXewEfb8n0qDYZn9C2hDU1rn7os5rLCeNp1QptDG6qcmpDY82/WmDw
R4AfHbkl7FAXAGzdX3aRK37IJVWbNkftemoJPZvO5ZBwhcBhvj5ZMPWOyCAzGHGL/GA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Pd1nUb2j;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=SeN08pF2;
arc=none smtp.remote-ip=205.220.168.131
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id B81B5606A6AF
for <netdev@vger.kernel.org>; Tue, 1 Dec 2026 14:05:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B81B5606A6AF
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com
X-Received: from pps.filterd (m0279863.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1D1exk1722750
for <netdev@vger.kernel.org>; Tue, 1 Dec 2026 14:05:35 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
SeCSsT26+NolHOBKWLZM2krtQ0yerZH1GLA00cEEvVM=; b=Pd1nUb2jY3M4iZ02
Gb4EojGpmUOHn7pyUsKI2lA4J+8xTASXqmtRUXBcGYJ5BcJxGE6RW1am7Kbxf3bH
+yiuIsAZ702Axhhnm2M1eU00wiU3O3U7XwD9Nux2gzaM4jtWR9H4xr+uF8Z+uX5x
c2DLc4h4O9bsdk9ZU7zFUBZtGaeKIlzHfxNPjwEoao+4nwoQZIKSGa/r5I6uqUy1
L26+tLf5qJUwlXGAL27ME1WJrzxz3gE5CZt9gbGhjrDe7fpolqovrM95lr29rLa6
HvqxmVgKw9eIS7PHvb/Nct11LMHYObggaqgWyvhoj7fEBXIOWom3jusMBgYLooqc
c05UFw==
X-Received: from mail-yx1-f72.google.com (mail-yx1-f72.google.com [74.125.224.72])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9gnbkmnx-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <netdev@vger.kernel.org>; Tue, 01 Dec 2026 14:05:34 +0000 (GMT)
X-Received: by mail-yx1-f72.google.com with SMTP id 956f58d0204a3-67e05bd44faso13237986d50.2
for <netdev@vger.kernel.org>; Tue, 01 Dec 2026 06:05:34 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1796133934; x=1796738734; darn=vger.kernel.org;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=SeCSsT26+NolHOBKWLZM2krtQ0yerZH1GLA00cEEvVM=;
b=SeN08pF233JzeYvsDVBM8sT1Hl0PZ+5P+PUlVIpkX2Y8hyh0TShFpvrUG3AnlY7dQH
5pTZuN+Nc44vUxihghdSE3c2/+SCFOpFpIAKDuEpUFeueU2WA8o5jDpYG0WlqaVibngV
ytAg7pwAxuv3t2YHDDSIbTpAXXBPJN13p+lL2P2SV/CEGK/AecUNQc54inZu+RyGdy6y
XFQ5lQP7bfuSsXBtgqOLpkTxQhBJXm6Pz4xXE14fMvn21U9xvPZdFZ+lkS+IegUaffgB
PEXMtQxJVAMhSAUnEMcekiFXj+A2SEyo+QEnKdcL7cUjax/n2vBErMdR7yQtN0iibNRp
LdtQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796133934; x=1796738734;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=SeCSsT26+NolHOBKWLZM2krtQ0yerZH1GLA00cEEvVM=;
b=mc1gpNDPXXQSfGZ2kvpJsnGozWxmwhay/LScKb+VDyvIEiBPUc7V2vU3xx9G0GJZTq
U5nQ/8ZwExYrphYny+Dbj7n4U8CYz1g4P0EVfTmKUsP03ZJWDSaC9cTzzTabGoo+9JSf
QAKCG6NsDRx47DOgzVVfOufmrfpmQg6Sp/G797OyVpdykAn2dbJskb3/fSDDJsywKsGJ
MoS2uahCr2/D3ToRUATnMz5yM9OY3mK2JT1rCvcrcnfHE1E1qULq33d5ULaHboSLK48X
S1ZdSaDhevdX8CXacLaSqfhzcvKLbJC1ptDebbH5d0XuPUywvoCTy3f5d5rCC3X1vnl0
kDmA==
X-Forwarded-Encrypted: i=1; AL+hErEb0gkPeew7ftuBNf+w9akraRnAcCFdXA69yOpIn6vwt8vDwivd6kaogCvjVGppCBrsUKb+48A=@vger.kernel.org
X-Gm-Message-State: APuU4Z+HnY4rxL39t/NRBChR2149MNFMeD97cgnka4Ah/C6RoTGN/x9Z
cluc6KfP2h9jHr+rDlk83bJB02sgUvxIM7mKvyoiLtZ+HmPX5IfYVIaxpc7pg0Mb1ZInV5+Hpzs
kfN9M2MxSV9ajHQ4FPOR58x6qPkNfZ0QsclsRjptVMWLkdAPnQaZ0qHeDpPo=
X-Gm-Gg: AZFdTZdhdVom7vDlwDX2bEgxpBb3JgypegBPwKBkc3jiwUxeBb7KPVOudvcT7GS/2sg
8Sa331XKAqBK3iouB0VaisW19G6aFYmJDTl/wg+SimNyfqXZn8vYYWerhpT59S+cX07WKcPj6WP
E04OkN/KNw77kqD+HPZLs/EjVotlfd9ldXmyFCerMa3tdt4TFCfpgHGdNgmlwWh4osRD2p4zxdJ
kOB1Odrr+sIVVgioxwvj1McNwXkjFO926RJvHCkP24LIUaCWp1G5mHcNcsSGigHvEHj7Wtu7vJW
kC7DJel+4QUiuUSbnsvBUpoIMdIdi1IKYQZ5xdeGPas/6rbmBo7tavFt9tlpfG7BN9E/dWDXU2/
jGSuEuU0Vr98e1Gu67E6hEnBDluaBpdsxk1WTEkap13vS2uwlN7jDwakrGlq+kucRMso89CJmV/
RudXxNhF7oEuLkP9BeS+hB9dK3piIYiXzCN1PvmdBEHond6zs6vol0w4GKu/LGDkr9yoeB/F6ka
Xh9heNa9y7GEidagK6bgTjMFoQy
X-Received: by 2002:a05:690e:484d:b0:67d:ea8d:e437 with SMTP id 956f58d0204a3-67df4442fe0mr10172409d50.73.1796133933493;
Tue, 01 Dec 2026 06:05:33 -0800 (PST)
X-Received: by 2002:a05:690e:484d:b0:67d:ea8d:e437 with SMTP id 956f58d0204a3-67df4442fe0mr10172304d50.73.1796133932572;
Tue, 01 Dec 2026 06:05:32 -0800 (PST)
X-Received: from QCOM-eG0v1AUPpu.na.qualcomm.com ([2a01:e0a:830:450:2022:3328:5af7:2b49])
by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bba6a0d65fsm538404065e9.3.2026.12.01.06.05.30
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 01 Dec 2026 06:05:31 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261201-block-as-nvmem-v14-0-3a07f4ff246c@oss.qualcomm.com>
X-Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-block@vger.kernel.org, linux-wireless@vger.kernel.org,
ath10k@lists.infradead.org, linux-bluetooth@vger.kernel.org,
netdev@vger.kernel.org, daniel@makrotopia.org,
Loic Poulain <loic.poulain@oss.qualcomm.com>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Christoph Hellwig <hch@lst.de>
X-Mailer: b4 0.14.2
X-Authority-Analysis: v=2.4 cv=Y9BtIReN c=1 sm=1 tr=0 ts=6b0ed42e cx=c_pps
a=VEzVgl358Dq0xwHDEbsOzA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8
a=VwQbUJbxAAAA:8 a=VT4XjZGOAAAA:8 a=PlhdpwwxGme58_HcCFAA:9 a=QEXdDO2ut3YA:10
a=uujmmnXaIg8lM0-o0HFK:22 a=6CpsfURP9XNmmWg3j1mJ:22
X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA1NSBTYWx0ZWRfX5riZhdbrqE3E
YDc+kCzcX2equxbYl30vGEcKBevt9YN2kLCqerDdgL051eb8K7qAJ+PrDMKDpHJoWkerOwCMCFM
g3IBUWUKjBiaF4EUnJvPJdZxCTLwpsM=
X-Proofpoint-GUID: 8rOpvq-cRXKKNkH6QiltEDt-0lumHbYw
X-Proofpoint-ORIG-GUID: 8rOpvq-cRXKKNkH6QiltEDt-0lumHbYw
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA1NSBTYWx0ZWRfX6FehBJYJ/Yps
5JTxGF2r/uL/JQ8n/sn0p3Fjltc1i7n74WGnnElH9LV0STKK31SSKl6IrzugUni7cbtP9Gmd7/X
/QKV9Gxht+MpsRCo/h1av7wnBZ08BeDm3NtLbe0RBV60XU0qgkHhfC8gtgKlr5u2Ohve8pbuDCB
Y8RI2gIVaiZ6dySvJ0f//gYvQJ77cTFOJK4FU2ia+OEfZ75Se1jmikUJ6GlVrhVuS+YzM+CUeNt
wzN5ulmUGFrhYiLHHao9wf3zi9c03GyPt27ehkARbOuJcYmK/eLi3l4Fq7yd7K3pNaUlF3lwtwO
9HDAM6YDoHa7Jbhp54rybs1GKOCaTrxQjSx4iU2Pk1e6yLaUASoVJwrBGjLwgDdL4eh/wjF2sHU
/uDMQNJoFL8sG+VMW8gIjzPUpQfgh3XbQDnc/Y31qqbGPaO4YPl2NCqC8Fm0LAX1Xb9siycNaci
56eAPrlboa8P53R5McQ==
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
definitions=2026-12-01_02,2026-12-01_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
suspectscore=0 spamscore=0 phishscore=0 adultscore=0 malwarescore=0
clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0
bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound
adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001
definitions=main-2612010055