From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796133930; b=fR++VeapAj51ayxDQYHVd8mtSGYJxTofW2e2rhY+csRm36lCFonj8mhL16W4Y5RGBy+8 R/VIOOgLoUVNLgrVjAn+13AJDSX6TSzzOrJmHokwCXqefBVrmiuBIHMus/Cof09eUaakV JwBEPubSe/ZetcMRMUmre/xS+Sd52+2gTNNb67RfALTR1x826NE6vKhiheUWqJDgtjIDS k8DYnQgg8nfIich4+9v/6NGnhjbaXQ8bkDoBUBfijpH7RgOhiNBmaH900apvOb2aW0+Vg jV4izNeHUBymPoLlCyol5U1jcI46f8eXps0IhqKqKhbWlONkfMgvFP2NphdWFsKYxpw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796133930; 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: Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Proofpoint-GUID:X-Proofpoint-Spam-Info:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=Kih1c8dd0QYu4DurFcdn8LmdO+NoUYwWf4FQw1H9xiY=; b=ohpDb1SThBBRUWgEEXUXfZ8I5T4EDzPbHJV0igfOvR6m00ehaH1Waz/+P6J72R/X7dL6 o1IcT32lFCsuf56qv14VgwBRUhpT7veAd2SYVBoORDPp7FXI9F5bE2YGnXM46iqWBvYna FnmQG4ravhbsN+Gnq/O+lXKbqf7yOH5mi3iJgIRLQw66A96pgL0w+w00GwmvO1rDU7mKf xR8pmr/xEG3N2oJ3LOieKZkauIrMDq4O+6Wc/BaF30Lidwg16tPUC57H8kzk11fCXPTXC +/Oy/WhGwcbnHEoudHRI1Hht71yhefVptnGXewkXhjBeFQUB6n2DjfbjKxdjVb6ZGvA== 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="Bix/59UA"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=e7TFvsJS; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 58325606A31A for ; Tue, 1 Dec 2026 14:05:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 58325606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com 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=Bix/59UA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=e7TFvsJS Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1D1S7M4001385 for ; Tue, 1 Dec 2026 14:05:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=Kih1c8dd0QYu4DurFcdn8L mdO+NoUYwWf4FQw1H9xiY=; b=Bix/59UALjgGSBiyXV8wF4D/aIgaU443Mg4aIi yWqEQWBjiEZGwsJb1NZ3lASgIRZ2zGlfF0B5ew+/MmkFR4PXbuz6oNKRdTfvu3sX tTsCNBHIncqIj6OVXZ1L6VvChY92nQpO+8iuKhxhQQVXfRoDw6I9he7s15J9ToP/ jTf6bzwN9+ll6thexx605tF0V9VsyU6KyPi0CxGN1k93Hab0WMKlkY8uS09rwsBM 3a8op98VyOYfAfTOi1x5dvWief7d7nqIZDUezokziZmfNTq+G+OftPIlZEQw+ptL KERyvljn6MyYw6I1q4nw6pUWYJj0v0yS12VNVsjL6lKt7Y/g== 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 4j9vw78qab-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 14:05:29 +0000 (GMT) Received: by mail-yx1-f72.google.com with SMTP id 956f58d0204a3-67bda487981so14884413d50.2 for ; Tue, 01 Dec 2026 06:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796133928; x=1796738728; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Kih1c8dd0QYu4DurFcdn8LmdO+NoUYwWf4FQw1H9xiY=; b=e7TFvsJSZDoJZNtHM/IJMczdf6yaKhI1OCqj400OylkXW+ggYtoVhTXXGbyJYF0o3N uwpCFBn9pXErJD/8XQsw6IP2ny9Rn/3QloDbZaXl7ududWTp2x5gfmqsdv0icLcZ9j4e bceMN7QoDUO3nvj/A2eWHGSyWtu99hwN5ghkWro8YCvmjKeZgLG4FwAL/CvJMQ914oOU dI3zdJbz2iamj4n0e7u5kDBSizCQH+nmVIpvhWmMa9+udXVm2zrDzjCiLI3zKH5Qv1GD rfHopp1BnNf/XW/mE17HqMkLkIpbPYEZxe+wsE71L69rM34QOA1xh/Y2J82YbX9STzLq DYoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796133928; x=1796738728; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Kih1c8dd0QYu4DurFcdn8LmdO+NoUYwWf4FQw1H9xiY=; b=L1uIGEVnaJArdLggbZ2f1QvFILzgC0PcndyyCHx26y3gWjOQTTFSOfVvgQ+evB+5Ip KFMcHZG56+sNMHAm3eiiovW755/SeIIifCH2NaY5Nyp0OojADqZvdRYs37Fmlaf8KT2d 7kF6JYSsRjm6ps9RomW9mDvXYuxu+yZZ3cXr8zkHHcmT5eijHW3GlPLMiQqJFa15azJM FeprD3Vwx/yYNGeyBwSd86Yke+MmdIoIxJm4MovNPnm8xJkaV2h+nwTmbn/8PC9Dl5cM /lD7qZF4E85ytRenG9o2qmTTQQ/xR5UOYbB7hkYzgqzK8vjznEinUlt0s8mG170I8QiN leeQ== X-Forwarded-Encrypted: i=1; AL+hErHcJIqy9wdsRpmLBisV4cwBD/oYOKNs6D5G0f7kX+W5nIQ//7LfUmR2BqRKkBiMJvt7ezKQywdd6J8FYuc=@vger.kernel.org X-Gm-Message-State: APuU4Z/mMBJG7Qv1v+qVJgXxIdCZOhw303tJRKmiYLV4hP/ADIv5psXf fFFjIK3Sbh1rOsD2dIqft3KpAfqTiKfJImP4hLQ76tu5F/Cnmee8JtiXjtqH5OIayCcNrONcIFi 7eAZjsRECZtyJ3nC+UJLfMf55IasGyeDeSHUkCWT+5kEfj58mzCkqCM2+vcSWrmrM+Jk= X-Gm-Gg: AZFdTZeyO+2xhKaFuC+Q/xk+VSG6bUL/vpXGpmeTKOcj4LIUxmMIqOm7oFuMMlrhtQD mJvwmzw7t/L4pSR34cmOnbWSrPnxeTGAzlaf/Jh2gMp/g4IqRsD50JC5bC9sBQdkI7JEPdNz7jU KGXpe3luqvqRgmq9NwjMTf03I5ozfHb1iM0Y5ttMkyITNUmq2Hvb6M7MxCQvGmef0ZCVrliutVU p/Wiy23JWFwTRSJQWDhYuDE0u78boaHYYc6hjXSHeMSkmRgoqulBbboIMskJ2uGd+a4BG2dzLsA DrA3olbH+Ukg94sQLXy0KMKxTsWtYoScDtu5yie5/b3lf6NF93T+QYuzFDLvgB3lEzXmSYhqNXV e3CfpI3yzJLaxRYz+iAj6tDY3szLcZAkPlP/ApB2/ivkgYWplF1gV8tAuS9oZrG1GtL/Bgh48QV 3j23j5P95rPddGKxVgbPO5uD130Y4ccfRIssHF6QuDHkLzs+rZt+hDjI+gUjyN8VX5CIoCHT+7/ eA+UV8lVJAB8LlA/B+PmN3RcoFw X-Received: by 2002:a05:690e:1388:b0:679:887f:a2af with SMTP id 956f58d0204a3-67df44fab05mr15846358d50.126.1796133928242; Tue, 01 Dec 2026 06:05:28 -0800 (PST) X-Received: by 2002:a05:690e:1388:b0:679:887f:a2af with SMTP id 956f58d0204a3-67df44fab05mr15846271d50.126.1796133927502; Tue, 01 Dec 2026 06:05:27 -0800 (PST) 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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 06:05:26 -0800 (PST) From: Loic Poulain Subject: [PATCH v14 0/2] Support for block device NVMEM providers Date: Tue, 01 Dec 2026 15:05:23 +0100 Message-Id: <20261201-block-as-nvmem-v14-0-3a07f4ff246c@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIACPUDmsC/33STU7DMBAF4KtUWZNqZvzPinsgFk48phFtAw1Eo Kp3Z9JNIhmzsWRL/mw/v2sz8WXgqXncXZsLz8M0jGeZoH7YNf0hnl+5HZIsNARkQZNvu+PYv7V xas/ziU+t7hR49l2KITay6f3Cefi+i88vMj8M0+d4+bkfMOOyWqVmbKG1MZFiZzBAfBqnaf/xF Y/9eDrtZWgWcaZVMeAKhUTpMjpOyaDSXFHUqlgo76JE8WQ9ZgMxKlNR9FYJhaJF0cYhse2Ielt RzEZBKhQjSjAMEnXOOUBFsRuFyrtYUTKQZJL6pG2qKG5VHGChOFFUZk9gOEP0FcVvFVUofnmRj 6yoy70OtZ8OG0VBoYTlRY6CMh5d6nJFQVgZD7asHSyNYRN8R9FIeDVnrS8CmtJZ+pu9FLd3Ont XSxjXAiNC+d24NDjrSFHqB/84auNQGTIuHQ42Z5YSB6XoD+d2u/0CD0RlJwQEAAA= X-Change-ID: 20260428-block-as-nvmem-4b308e8bda9a To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jens Axboe , Johannes Berg , Jeff Johnson , Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz , Balakrishna Godavarthi , Rocky Liao , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Simon Horman , Srinivas Kandagatla , Andrew Lunn , Heiner Kallweit , Russell King , Saravana Kannan , Christian Marangi , Eric Dumazet , Abel Vesa , Eric Dumazet 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 , Bartosz Golaszewski , Christoph Hellwig X-Mailer: b4 0.14.2 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA1NSBTYWx0ZWRfXwc2+PxfpZa4C sL9fTAw/K/nkM3e6xA+c9vHfdrULH632yWvLFMKq9mGOLich1PV3R228jey+NL7P09LCZpMPgPv u4mBUKia8w8WF5BZkjS4oP2lf9QnBNqVJPw7VRDpIg1ZPLE2hUuBU/7HotqMD/UllR7+C0Vq4OM TmZMpsz0EoStaveLLkbBq6faFhQEA0B4jZR9XuxIqL2zP9bF+c3CtLyyfkc0UzEer7v7vtqBxNC X8B3HFVlClbjKkLdNfgMAmdutkb4hzGjDHMfx9DPuZcBZwYQvB/dbXNyzuTJdJ33nPdrihWsbeo W2xPMyYBuCByZWLzqWK4InoA2TLZgQxIG7+0nyGiIgKWbl5Mtz3LWLbj01MHVyZ5TqDXJ75ntEN Ub5VBA6HMCXNeUc9XKevyIuV47JNlICNse7IGqDb4GkTnjVqF4JYD3kuQxHd1nsVYp7aj0f0zgm 7FYBuX0N4Jc6WQZ5YNA== X-Proofpoint-ORIG-GUID: EqNuXigIOyymT-RC_ry3k8t66lMTxiH2 X-Proofpoint-GUID: EqNuXigIOyymT-RC_ry3k8t66lMTxiH2 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA1NSBTYWx0ZWRfX6qNHb58aDHOq 3MvxumMiCtuytW628uBJwfMi9KU4LBBGJn443lAqHUBO01OJb6EEzIB2GzELr2qqIOx0WN11uWD MV+CskUTrC1wVU7VzaDjUBCpymEgZz0= X-Authority-Analysis: v=2.4 cv=AItH9idw c=1 sm=1 tr=0 ts=6b0ed429 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=rJkE3RaqiGZ5pbrm-msn:22 a=VwQbUJbxAAAA:8 a=VT4XjZGOAAAA:8 a=EUspDBNiAAAA:8 a=apf0VGGLHbyTFu-UK7oA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uujmmnXaIg8lM0-o0HFK:22 a=6CpsfURP9XNmmWg3j1mJ:22 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 impostorscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010055 On embedded devices, it is common for factory provisioning to store device-specific information, such as Ethernet or WiFi MAC addresses, in a dedicated area of an eMMC partition. This avoids the need for and additional EEPROM/OTP and leverages the persistence of eMMC. One example is the Arduino UNO-Q, where the WiFi MAC address and the Bluetooth Device address are stored in the eMMC Boot1 partition. Until now, accessing this information required a custom bootloader to read the data and inject it into the Device Tree before handing control over to the kernel. This approach is fragile and leads to device-specific workarounds. Rather than adding a new NVMEM provider specifically to the eMMC subsystem, the new support operates at the block layer, allowing any block device to behave like other non-volatile memories such as EEPROM or OTP. This series builds on earlier work by Daniel Golle that enables block devices to act as NVMEM providers: https://lore.kernel.org/all/6061aa4201030b9bb2f8d03ef32a564fdb786ed1.1709667858.git.daniel@makrotopia.org/ Note that this is currently limited to MMC-backed block devices, as only the MMC core associates a firmware node with the block device (add_disk_fwnode). This can be easily extended in the future to support additional block drivers. Signed-off-by: Loic Poulain --- Changes in v14: - block/blk-nvmem: read through the block device page cache instead of opening the device, so that a read never takes disk->open_mutex. This also drops the per-read BLK_OPEN_EXCL open, whose only purpose was to keep other exclusive openers away (moved to bdev_open). - block/blk-nvmem: with that out of the way, register and unregister the NVMEM device synchronously again. The v13 ordered workqueue is gone, and so is the window in which the NVMEM device outlived the block device it is a child of (sashiko) - block/bdev: refuse exclusive openers of a block device that provides NVMEM cells, which is what the per-read exclusive open was really meant to achieve. Plain openers are unaffected (Christoph) - Link to v13: https://lore.kernel.org/r/20261123-block-as-nvmem-v13-0-96ffe1f59332@oss.qualcomm.com Changes in v13: - block/blk-nvmem: defer the NVMEM registration and removal to an ordered workqueue, fixing the self-deadlock on disk->open_mutex when a layout driver reads the device from nvmem_register(), and the ABBA deadlock between disk->open_mutex and nvmem->srcu in nvmem_unregister() (sashiko) - block/blk-nvmem: use bdev_fput() to yield the exclusive claim synchronously instead of deferring it through fput() (sashiko) - block/blk-nvmem: sample the block device size when queuing the registration, so that the validated value is the one handed to the NVMEM core - Link to v12: https://lore.kernel.org/r/20261102-block-as-nvmem-v12-0-f4a2a681087d@oss.qualcomm.com Changes in v12: - Simplify the series and remove consumer changes (BT/Net) that will be submitted separately. - Link to v11: https://lore.kernel.org/r/20261015-block-as-nvmem-v11-0-f890ac74f87d@oss.qualcomm.com Changes in v11: - Rebase on linux-next + resend - Link to v10: https://lore.kernel.org/r/20260806-block-as-nvmem-v10-0-be598b2a5606@oss.qualcomm.com Changes in v10: - block/blk-nvmem: simplify read error handling (Christoph) - block/blk-nvmem: verify dev_t wasn't reassigned before reading (sashiko) - block/blk-nvmem: drop __free() cleanup for explicit of_node_put() (Christoph) - block/blk-nvmem: init static nvmem_config fields at declaration (Christoph) - block/partitions/of: fix fwnode ref leak on skip/abort/error paths (sashiko) - Link to v9: https://lore.kernel.org/r/20260730-block-as-nvmem-v9-0-f72935817dbf@oss.qualcomm.com Changes in v9: - Add nvmem support for partition blocks, not only disk (Christoph) - Prevent concurrent exclusive access to the block device on read (Christoph) - Add comment about nvmem being a side channel for block device access (Christoph) - Link to v8: https://lore.kernel.org/r/20260703-block-as-nvmem-v8-0-98ae32bfc49a@oss.qualcomm.com Changes in v8: - block: Fix bdev->bd_nvmem on registering failure (sashiko) - net: of_net: of_get_nvmem_eui48() now also rejects all-ones cells (sashiko) - Bluetooth: mgmt: account for HCI_QUIRK_USE_BDADDR_NVMEM in is_configured() and get_missing_options() (sashiko) - Reword blk-nvmem KCONFIG help text to satisfy checkpatch - Link to v7: https://lore.kernel.org/r/20260701-block-as-nvmem-v7-0-3fe8205ef0a8@oss.qualcomm.com Changes in v7: - Rework bindings/dts so that the eMMC boot partition can be a nvmem fixed-layout and not a child of fixed-partition. (Rob) - Add Support for fixed-layout as the nvmem device node itself - Remove "block: partitions: of: Skip child nodes without reg property" This is no more required in this series and will be submitted separately (Rob) - Add missing linux/cleanup.h and linux/device.h includes (Bartosz) - simplify nvmem_register() error path using dev_err_probe() (Bartosz) - nvmem_device forward declaration to blk_types.h (Bartosz) - Add hci_dev_get_bd_addr_from_nvmem() kernel-doc for return value (Piotr) - Link to v6: https://lore.kernel.org/r/20260629-block-as-nvmem-v6-0-f02513dcd46d@oss.qualcomm.com Changes in v6: - blk_nvmem_add() returns int, error properly propagated (Bartosz) - Redundant if (bdev->bd_nvmem) guard removed in blk_nvmem_del() (Bartosz) - Size guard changed from UINT_MAX → INT_MAX to avoid signed overflow in config.size (sashiko) - BLK_OPEN_RESTRICT_WRITES removed from blk_nvmem_reg_read() (sashiko) - Link to v5: https://lore.kernel.org/r/20260612-block-as-nvmem-v5-0-95e0b30fff90@oss.qualcomm.com Changes in v5: - Fixed ath10k binding issue + extended commit message (Krzysztof) - Moved blk-nvmem handling to block core instead of a class_interface This allows correct/robust integration with block device life cycle (Bartosz). - block: partitions: of: Skip child nodes without reg property (sashiko) - Link to v4: https://lore.kernel.org/r/20260609-block-as-nvmem-v4-0-45712e6b22c6@oss.qualcomm.com Changes in v4: - Fix squash issue (dts commit incorrectly squashed) (Konrad) - Use devres for nvmem resources (Bartosz) - use __free() destructor helper when possible (Bartosz) - Fix value return checking for bdev_file_open_by_dev - Link to v3: https://lore.kernel.org/r/20260608-block-as-nvmem-v3-0-82681f50aa35@oss.qualcomm.com Changes in v3: - Fixed missing 'fixed-partitions' compatible in partition (Rob) - Fixed clashing nvmem cells, document calibration along mac (Sashiko) - Remove workaround to handle dangling nvmem references after unregistering, this is a generic nvmem framework issue handled in Bartosz's series: https://lore.kernel.org/all/20260429-nvmem-unbind-v3-0-2a694f95395b@oss.qualcomm.com/ - Validate mac (is_valid_ether_addr) before copying to output buffer - Link to v2: https://lore.kernel.org/r/20260507-block-as-nvmem-v2-0-bf17edd5134e@oss.qualcomm.com Changes in v2: - Fix example nvmem-layout cells to use compatible = "mac-base" - Squash WiFi MAC and Bluetooth BD address consumer patches into the nvmem layout patch - Fix possible use-after-free in blk-nvmem: bnv (nvmem priv) linked to nvmem lifetime - Simplify nvmem-cell-names from items: - const: to plain const: - Factor out common NVMEM EUI-48 retrieval logic - Reorder changes - Link to v1: https://lore.kernel.org/r/20260428-block-as-nvmem-v1-0-6ad23e75190a@oss.qualcomm.com --- Loic Poulain (2): block: partitions: of: Attach partition fwnode to the block device block: implement NVMEM provider 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/check.h | 1 + block/partitions/core.c | 25 ++++++++-- block/partitions/of.c | 3 ++ include/linux/blk_types.h | 4 ++ 11 files changed, 193 insertions(+), 3 deletions(-) --- base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726 change-id: 20260428-block-as-nvmem-4b308e8bda9a Best regards, -- Loic Poulain