source
large_stringclasses
2 values
subject
large_stringclasses
112 values
code
large_stringclasses
112 values
critique
large_stringlengths
61
3.04M
metadata
dict
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
To manage GENI serial engine resources during runtime power management, drivers currently need to call functions for ICC, clock, and SE resource operations in both suspend and resume paths, resulting in code duplication across drivers. The new geni_se_resources_activate() and geni_se_resources_deactivate() helper APIs...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:20 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
To avoid repeatedly fetching and checking platform data across various functions, store the struct of_device_id data directly in the i2c private structure. This change enhances code maintainability and reduces redundancy. Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com> --- drivers/i2c/busses/i2c-qcom-...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:21 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:22 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Mukesh, Anyone from Qualcomm willing to take a look here, please? Mukesh? Viken? Thanks, Andi
{ "author": "Andi Shyti <andi.shyti@kernel.org>", "date": "Wed, 14 Jan 2026 16:05:53 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Minor comment. Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote: Double space.
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 13:17:20 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:27:22 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:28:46 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:29:33 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 15:51:16 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: This calls dev_pm_opp_set_rate(se->dev, 0), dropping the performance state vote, but the other function doesn't have a counterpart to bring it back Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:05:21 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: The second argument is a NOP after patch 1.. originally I think I had a cross-subsys patch to get rid of that, neither solution is exactly pretty.. But otherwise, this looks good Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:10:15 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] All clk APIs already perform a null-check internally, perhaps this call could be merged into geni_se_clks_off()? Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:11:31 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] Please sprinkle somewhere into this kerneldoc that this is specifically for the SCMI-auto-VM setup, otherwise "the necessary power domains" is at best confusing to an external reader Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:12:59 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] This function is never used I think with the SPI driver in mind (which seems to do a simple rateset for both backends) we could do: Then, we can do struct device * perf_dev = se->dev; if (se->pd_list && se->pd_list->pd_devs[DOMAIN_IDX_PERF]) perf_dev = se->pd_li...
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:23:12 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: Again, this should be a NOP after patch 1, that we can drop Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:29:28 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] This means, on SCMI devices you won't don't the vote on the POWER domain (or PERF for that matter) and switch the GPIOs to a _suspend state - is that by design? Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:34:47 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 6:04 PM, Konrad Dybcio wrote: With PD_FLAG_DEV_LINK_ON enabled, every pm_runtime_get_sync() or pm_runtime_put_sync() on the device triggers a corresponding genpd on/off transition. These transitions are translated into SCMI power‑domain commands, allowing the firmware (GearVM) to perform th...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:14:12 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 5:35 PM, Konrad Dybcio wrote: This does not apply to I²C, since I²C lacks an OPP table, so the callback is only relevant for SPI and UART. All the refactored APIs were added as generic interfaces shared across I²C, SPI, and UART. Thanks, Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:18:07 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad On 1/30/2026 5:53 PM, Konrad Dybcio wrote: it will be used by UART driver, not for I2C/SPI. APIs were added as generic interfaces shared across I²C/SPI which is specific to firmware control, not Linux control. I don't think, it is needed since this is specific to firmware control, not Linux control. Th...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:24:06 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/30/2026 5:42 PM, Konrad Dybcio wrote: will update in next patch. Thanks. Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:25:12 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad On 1/30/2026 5:40 PM, Konrad Dybcio wrote: I will drop the second argument once these changes are ported across UART and SPI as well. Thanks, Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:30:04 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/30/26 5:44 PM, Praveen Talari wrote: Does that handle the >1 pd case too? If so, then all good Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 15:53:53 +0100", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 5:59 PM, Konrad Dybcio wrote: Will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:49:07 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi On 1/30/2026 5:42 PM, Konrad Dybcio wrote: Sure, will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:49:37 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi On 1/30/2026 5:41 PM, Konrad Dybcio wrote: Sure, will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:50:09 +0530", "thread_id": "61ef66ac-3919-48e3-a78e-eef54001ae6f@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The "qup-memory" interconnect path is optional and may not be defined in all device trees. Unroll the loop-based ICC path initialization to allow specific error handling for each path type. The "qup-core" and "qup-config" paths remain mandatory and will fail probe if missing, while "qup-memory" is now handled as optio...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:11 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Add a new function geni_icc_set_bw_ab() that allows callers to set average bandwidth values for all ICC (Interconnect) paths in a single call. This function takes separate parameters for core, config, and DDR average bandwidth values and applies them to the respective ICC paths. This provides a more convenient API for...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:12 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The GENI Serial Engine drivers (I2C, SPI, and SERIAL) currently duplicate code for initializing shared resources such as clocks and interconnect paths. Introduce a new helper API, geni_se_resources_init(), to centralize this initialization logic, improving modularity and simplifying the probe function. Signed-off-by:...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:13 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The GENI SE protocol drivers (I2C, SPI, UART) implement similar resource activation/deactivation sequences independently, leading to code duplication. Introduce geni_se_resources_activate()/geni_se_resources_deactivate() to power on/off resources.The activate function enables ICC, clocks, and TLMM whereas the deactiva...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:14 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The GENI Serial Engine drivers (I2C, SPI, and SERIAL) currently handle the attachment of power domains. This often leads to duplicated code logic across different driver probe functions. Introduce a new helper API, geni_se_domain_attach(), to centralize the logic for attaching "power" and "perf" domains to the GENI SE...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:15 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The GENI Serial Engine (SE) drivers (I2C, SPI, and SERIAL) currently manage performance levels and operating points directly. This resulting in code duplication across drivers. such as configuring a specific level or find and apply an OPP based on a clock frequency. Introduce two new helper APIs, geni_se_set_perf_leve...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:16 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Add DT bindings for the QUP GENI I2C controller on sa8255p platforms. SA8255p platform abstracts resources such as clocks, interconnect and GPIO pins configuration in Firmware. SCMI power and perf protocol are utilized to request resource configurations. SA8255p platform does not require the Serial Engine (SE) common...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:17 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Refactor the resource initialization in geni_i2c_probe() by introducing a new geni_i2c_resources_init() function and utilizing the common geni_se_resources_init() framework and clock frequency mapping, making the probe function cleaner. Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com> --- v1->v2: - Upda...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:19 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Moving the serial engine setup to geni_i2c_init() API for a cleaner probe function and utilizes the PM runtime API to control resources instead of direct clock-related APIs for better resource management. Enables reusability of the serial engine initialization like hibernation and deep sleep features where hardware co...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:18 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
To manage GENI serial engine resources during runtime power management, drivers currently need to call functions for ICC, clock, and SE resource operations in both suspend and resume paths, resulting in code duplication across drivers. The new geni_se_resources_activate() and geni_se_resources_deactivate() helper APIs...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:20 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
To avoid repeatedly fetching and checking platform data across various functions, store the struct of_device_id data directly in the i2c private structure. This change enhances code maintainability and reduces redundancy. Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com> --- drivers/i2c/busses/i2c-qcom-...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:21 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 12 Jan 2026 16:17:22 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Mukesh, Anyone from Qualcomm willing to take a look here, please? Mukesh? Viken? Thanks, Andi
{ "author": "Andi Shyti <andi.shyti@kernel.org>", "date": "Wed, 14 Jan 2026 16:05:53 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Minor comment. Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote: Double space.
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 13:17:20 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:27:22 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:28:46 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 14:29:33 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Acked-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> On 1/12/2026 4:17 PM, Praveen Talari wrote:
{ "author": "Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>", "date": "Wed, 21 Jan 2026 15:51:16 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: This calls dev_pm_opp_set_rate(se->dev, 0), dropping the performance state vote, but the other function doesn't have a counterpart to bring it back Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:05:21 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: The second argument is a NOP after patch 1.. originally I think I had a cross-subsys patch to get rid of that, neither solution is exactly pretty.. But otherwise, this looks good Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:10:15 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] All clk APIs already perform a null-check internally, perhaps this call could be merged into geni_se_clks_off()? Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:11:31 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] Please sprinkle somewhere into this kerneldoc that this is specifically for the SCMI-auto-VM setup, otherwise "the necessary power domains" is at best confusing to an external reader Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:12:59 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] This function is never used I think with the SPI driver in mind (which seems to do a simple rateset for both backends) we could do: Then, we can do struct device * perf_dev = se->dev; if (se->pd_list && se->pd_list->pd_devs[DOMAIN_IDX_PERF]) perf_dev = se->pd_li...
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:23:12 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: Again, this should be a NOP after patch 1, that we can drop Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:29:28 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/12/26 11:47 AM, Praveen Talari wrote: [...] This means, on SCMI devices you won't don't the vote on the POWER domain (or PERF for that matter) and switch the GPIOs to a _suspend state - is that by design? Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 13:34:47 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 6:04 PM, Konrad Dybcio wrote: With PD_FLAG_DEV_LINK_ON enabled, every pm_runtime_get_sync() or pm_runtime_put_sync() on the device triggers a corresponding genpd on/off transition. These transitions are translated into SCMI power‑domain commands, allowing the firmware (GearVM) to perform th...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:14:12 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 5:35 PM, Konrad Dybcio wrote: This does not apply to I²C, since I²C lacks an OPP table, so the callback is only relevant for SPI and UART. All the refactored APIs were added as generic interfaces shared across I²C, SPI, and UART. Thanks, Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:18:07 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad On 1/30/2026 5:53 PM, Konrad Dybcio wrote: it will be used by UART driver, not for I2C/SPI. APIs were added as generic interfaces shared across I²C/SPI which is specific to firmware control, not Linux control. I don't think, it is needed since this is specific to firmware control, not Linux control. Th...
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:24:06 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/30/2026 5:42 PM, Konrad Dybcio wrote: will update in next patch. Thanks. Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:25:12 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad On 1/30/2026 5:40 PM, Konrad Dybcio wrote: I will drop the second argument once these changes are ported across UART and SPI as well. Thanks, Praveen Talari
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Fri, 30 Jan 2026 22:30:04 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
On 1/30/26 5:44 PM, Praveen Talari wrote: Does that handle the >1 pd case too? If so, then all good Konrad
{ "author": "Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 15:53:53 +0100", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi Konrad, On 1/30/2026 5:59 PM, Konrad Dybcio wrote: Will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:49:07 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi On 1/30/2026 5:42 PM, Konrad Dybcio wrote: Sure, will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:49:37 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/12] Enable I2C on SA8255p Qualcomm platforms
The Qualcomm automotive SA8255p SoC relies on firmware to configure platform resources, including clocks, interconnects and TLMM. The driver requests resources operations over SCMI using power and performance protocols. The SCMI power protocol enables or disables resources like clocks, interconnect paths, and TLMM (GP...
Hi On 1/30/2026 5:41 PM, Konrad Dybcio wrote: Sure, will do in next patch. Thanks, Praveen
{ "author": "Praveen Talari <praveen.talari@oss.qualcomm.com>", "date": "Mon, 2 Feb 2026 21:50:09 +0530", "thread_id": "4e6ad74b-a717-4283-afdf-90301e63832b@oss.qualcomm.com.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
The index value is already a copy of the maple state so there is no need to set it again. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 9ab42821ee2dc..1e780427c04a0 100644 --- ...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:09 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Use RCU_INIT_POINTER to initialize an rcu pointer to an initial value since there are no readers within the tree being created during duplication. There is no risk of readers seeing the initialized or uninitialized value until after the synchronization call in mas_dup_buld(). Signed-off-by: Liam R. Howlett <Liam.Howl...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:06 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Height is not used locally in the function, so call the height argument closer to where it is passed in the next level. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index a...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:13 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Move the loop over the tree levels to its own function. No intended functional changes. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 108 +++++++++++++++++++++++++---------------------- 1 file changed, 58 insertions(+), 50 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tre...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:07 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Copy the contents of mas_spanning_rebalance() into mas_wr_spanning_rebalance(), in preparation of removing initial big node use. No functional changes intended. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) di...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:10 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Isolate big node to use in its own function. No functional changes intended. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 70ad4...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:08 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Moving the maple_subtree_state is necessary for future cleanups and is only set up in mas_wr_spanning_rebalance() but never used. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git ...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:14 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
The end_piv will be needed in the next patch set and has not been set correctly in this code path. Correct the oversight before using it. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index c5bb341...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:15 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Just copy the code and replace count with height. This is done to avoid affecting other code paths into mas_spanning_rebalance_loop() for the next change. No functional change intended. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:18 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Introduce an internal-memory only node type called maple_copy to facilitate internal copy operations. Use it in mas_spanning_rebalance() for just the leaf nodes. Initially, the maple_copy node is used to configure the source nodes and copy the data into the big_node. The maple_copy contains a list of source entries ...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:16 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Now that the spanning rebalance is small, fully inline it in mas_wr_spanning_store(). No functional change. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/lib/maple_tree.c b/lib...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:23 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Add a helper to do what is needed when the maple copy node contains a new root node. This is useful for future commits and is self-documenting code. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 70 ++++++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 3...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:26 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Functions do not need to state return at the end, unless skipping unwind. These can safely be dropped. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index a10f71620e732..4a64b4f37aeb3 1...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:24 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Extract the copying of the tree location from one maple state to another into its own function. This is used more later. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_t...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:29 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Instead of using the maple big node, use the maple copy node for reduced stack usage and aligning with mas_wr_rebalance() and mas_wr_spanning_store(). Splitting a node is similar to rebalancing, but a new evaluation of when to ascend is needed. The only other difference is that the data is pushed and never rebalanced...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:31 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Stop using the maple big node for rebalance operations by changing to more align with spanning store. The rebalance operation needs its own data calculation in rebalance_data(). In the event of too much data, the rebalance tries to push the data using push_data_sib(). If there is insufficient data, the rebalance ope...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:27 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
This is the same as mas_leaf_max_gap(), but the information necessary is known without a maple state in future code. Adding this function now simplifies the review for a subsequent patch. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 48 ++++++++++++++++++++++++++++------------------...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:20 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Add plumbing work for using maple copy as a normal node for a source of copy operations. This is needed later. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- include/linux/maple_tree.h | 1 + lib/maple_tree.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/linux/maple_tree.h...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:21 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
The split and rebalance store types both go through the same function that uses the big node. Separate the code paths so that each can be updated independently. No functional change intended Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 47 +++++++++++++++++++++++-------------------...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:25 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Use the wr_mas instead of creating another variable on the stack. Take the opportunity to remove l_mas from being used anywhere but in the maple_subtree_state. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) dif...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:12 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
mas_extend_spanning_null() was not modifying the range min and range max of the resulting store operation. The result was that the maple write state no longer matched what the write was doing. This was not an issue as the values were previously not used, but to make the ma_wr_state usable in future changes, the range...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:11 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Figure out the end internally. This is necessary for future cleanups. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 064357a44906e..c9c63246f721c 100644 --- a/lib/maple_...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:34 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
When the maple copy node converges into a single entry, then certain operations can stop ascending the tree. This is used more later. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/maple_tree.c b/li...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:30 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
During the big node removal, an incorrect rebalance step went too far up the tree causing insufficient nodes. Test the faulty condition by recreating the scenario in the userspace testing. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- tools/testing/radix-tree/maple.c | 125 ++++++++++++++++++++++++++++...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:28 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Instead of copying the data into the big node and finding out that the data may need to be moved or appended to, calculate the data space up front (in the maple copy node) and set up another source for the copy. The additional copy source is tracked in the maple state sib (short for sibling), and is put into the maple...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:19 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Spanning store had some corner cases which showed up during rcu stress testing. Add explicit tests for those cases. At the same time add some locking for easier visibility of the rcu stress testing. Only a single dump of the tree will happen on the first detected issue instead of flooding the console with output. S...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:17 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
mas_wmb_replace() is called in three places with the same setup, move the setup into the function itself. The function needs to be relocated as it calls mtree_range_walk(). Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 60 ++++++++++++++++++++---------------------------- 1 file chan...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:33 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
The new_end does not need to be passed in as the data is already being checked. This allows for other areas to skip getting the node new_end in the calling function. The type was incorrectly void * instead of void __rcu *, which isn't an issue but is technically incorrect. Move the variable assignment to after the d...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:35 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Stop using the maple subtree state and big node in favour of using three destinations in the maple copy node. That is, expand the way leaves were handled to all levels of the tree and use the maple copy node to track the new nodes. Extract out the sibling init into the data calculation since this is where the insuffi...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:22 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Now that no one uses the structures and functions, drop the dead code. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 1184 ---------------------------------------------- 1 file changed, 1184 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 5813ad17ea6fe..1cfbed6fa...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Fri, 30 Jan 2026 15:59:32 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
On Fri, 30 Jan 2026 15:59:05 -0500 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: Updated, thanks. What are your thoughts on adding this to 6.19? I'd expect to move it into mm-stable Feb 17ish. Below is how v3 altered mm.git: --- a/lib/maple_tree.c~b +++ a/lib/maple_tree.c @@ -314,6 +314,13 @@ static inline ...
{ "author": "Andrew Morton <akpm@linux-foundation.org>", "date": "Sat, 31 Jan 2026 12:27:24 -0800", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
Hello, On Fri, 30 Jan 2026 15:59:26 -0500 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: I just found the above makes my build test using an old version compiler fails. Fortunately, seems it is same to the one we discussed before [1], and same mitigation like below attached patch works, at least for my test setu...
{ "author": "SeongJae Park <sj@kernel.org>", "date": "Sat, 31 Jan 2026 16:10:42 -0800", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
* SeongJae Park <sj@kernel.org> [260131 19:10]: Thanks SJ. This is still with gcc 8.1.0? I thought debian stable would be old enough. Thanks, Liam
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Mon, 2 Feb 2026 09:58:31 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
* Andrew Morton <akpm@linux-foundation.org> [260131 15:27]: I think the chance of making 6.19 has passed. Can we please target getting this into testing in linux-next as soon as 6.19 ships? The priority for me is to ensure this is rock-solid prior to release. My concerns are corner cases and arch specific issues, wh...
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Mon, 2 Feb 2026 10:40:06 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
On Mon, 2 Feb 2026 09:58:31 -0500 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: My pleasure :) Yes. The test code is available at GitHub [1]. Nonetheless, another test [2] that is using 9.3.0 was also failing. [1] https://github.com/damonitor/damon-tests/blob/master/corr/tests/build_m68k.sh [2] https://git...
{ "author": "SeongJae Park <sj@kernel.org>", "date": "Mon, 2 Feb 2026 07:56:26 -0800", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
* SeongJae Park <sj@kernel.org> [260202 10:56]: You have two failures: one in 8.1 and one in 9.3? I was planning to test 7.5.0 and ensure everything works, but this implies my plan will not catch everything?
{ "author": "\"Liam R. Howlett\" <Liam.Howlett@oracle.com>", "date": "Mon, 2 Feb 2026 12:01:53 -0500", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH v3 00/30] maple_tree: Replace big node with maple copy
The big node struct was created for simplicity of splitting, rebalancing, and spanning store operations by using a copy buffer to create the data necessary prior to breaking it up into 256B nodes. Certain operations were rather tricky due to the restriction of keeping NULL entries together and never at the end of a nod...
On Mon, 2 Feb 2026 12:01:53 -0500 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: Yes. FYI, I picked the compiler versions for no good reason but just because there were reports of DAMON build failures on the compilers in the past. building kernel is 8.1. So gcc 7.5.0 might not need to be ensured for? I have ...
{ "author": "SeongJae Park <sj@kernel.org>", "date": "Mon, 2 Feb 2026 09:53:53 -0800", "thread_id": "20260202175354.39717-1-sj@kernel.org.mbox.gz" }
lkml
[PATCH] printk: add early_counter_ns routine for printk blind spot
From: Tim Bird <tim.bird@sony.com> During early boot, printk timestamps are reported as zero, which creates a blind spot in early boot timings. This blind spot hinders timing and optimization efforts for code that executes before time_init(), which is when local_clock() is initialized sufficiently to start returning ...
Hi Tim, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.18-rc7] [cannot apply to akpm-mm/mm-everything next-20251124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base'...
{ "author": "kernel test robot <lkp@intel.com>", "date": "Tue, 25 Nov 2025 15:52:26 +0800", "thread_id": "aYDPn2EJgJIWGDhM@pathway.mbox.gz" }
lkml
[PATCH] printk: add early_counter_ns routine for printk blind spot
From: Tim Bird <tim.bird@sony.com> During early boot, printk timestamps are reported as zero, which creates a blind spot in early boot timings. This blind spot hinders timing and optimization efforts for code that executes before time_init(), which is when local_clock() is initialized sufficiently to start returning ...
Hi Tim, I tested this on my i.MX93 FRDM (arm64) board and after a bit of fiddling with the MULT/SHIFT values I got it working. It can be a very valuable addition. Some comments follow. On Mon, Nov 24, 2025 at 10:30:52PM -0700, Tim Bird wrote: This is... not going to work, IMO, and might lead to breakages in userspa...
{ "author": "Francesco Valla <francesco@valla.it>", "date": "Tue, 25 Nov 2025 14:08:40 +0100", "thread_id": "aYDPn2EJgJIWGDhM@pathway.mbox.gz" }
lkml
[PATCH] printk: add early_counter_ns routine for printk blind spot
From: Tim Bird <tim.bird@sony.com> During early boot, printk timestamps are reported as zero, which creates a blind spot in early boot timings. This blind spot hinders timing and optimization efforts for code that executes before time_init(), which is when local_clock() is initialized sufficiently to start returning ...
Hi all, On Wed, 26 Nov 2025 at 03:24, Francesco Valla <francesco@valla.it> wrote: I think they are. Another approach would be to defer the calibration/conversion to userspace, and make sure the early part stands out. I.e. when real timekeeping is available, kernel messages are prefixed by "[%5lu.%06lu]". Early mess...
{ "author": "Geert Uytterhoeven <geert@linux-m68k.org>", "date": "Wed, 26 Nov 2025 08:38:08 +0100", "thread_id": "aYDPn2EJgJIWGDhM@pathway.mbox.gz" }
lkml
[PATCH] printk: add early_counter_ns routine for printk blind spot
From: Tim Bird <tim.bird@sony.com> During early boot, printk timestamps are reported as zero, which creates a blind spot in early boot timings. This blind spot hinders timing and optimization efforts for code that executes before time_init(), which is when local_clock() is initialized sufficiently to start returning ...
Adding some people from the time subsystem into Cc. Please, keep them in the loop in the eventual next version of the patch. For the new people, please note the discussion has already started, see https://lore.kernel.org/r/39b09edb-8998-4ebd-a564-7d594434a981@bird.org Best Regards, Petr On Mon 2025-11-24 22:30:52, T...
{ "author": "Petr Mladek <pmladek@suse.com>", "date": "Wed, 26 Nov 2025 12:13:41 +0100", "thread_id": "aYDPn2EJgJIWGDhM@pathway.mbox.gz" }