| f71f07be | 03-Jun-2026 |
Charan Teja Kalla <charan.kalla@oss.qualcomm.com> |
of: Factor arguments passed to of_map_id() into a struct
Change of_map_id() to take a pointer to struct of_phandle_args instead of passing target device node and translated IDs separately. Update al
of: Factor arguments passed to of_map_id() into a struct
Change of_map_id() to take a pointer to struct of_phandle_args instead of passing target device node and translated IDs separately. Update all callers accordingly.
Add an explicit filter_np parameter to of_map_id() and of_map_msi_id() to separate the filter input from the output. Previously, the target parameter served dual purpose: as an input filter (if non-NULL, only match entries targeting that node) and as an output (receiving the matched node with a reference held). Now filter_np is the explicit input filter and arg->np is the pure output.
Previously, of_map_id() would call of_node_put() on the matched node when a filter was provided, making reference ownership inconsistent. Remove this internal of_node_put() call so that of_map_id() now always transfers ownership of the matched node reference to the caller via arg->np. Callers are now consistently responsible for releasing this reference with of_node_put(arg->np) when done.
Acked-by: Frank Li <Frank.Li@nxp.com> Suggested-by: Rob Herring (Arm) <robh@kernel.org> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Charan Teja Kalla <charan.kalla@oss.qualcomm.com> Signed-off-by: Vijayanand Jitta <vijayanand.jitta@oss.qualcomm.com> Link: https://patch.msgid.link/20260603-parse_iommu_cells-v16-2-dc509dacb19a@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
show more ...
|
| 3bf312f3 | 09-Jan-2026 |
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> |
cdx: Use mutex guard to simplify error handling
Mutex guard allows to drop one goto/break in error handling and the less expected code of assigning -EINVAL to unsigned size_t count variable.
Sugges
cdx: Use mutex guard to simplify error handling
Mutex guard allows to drop one goto/break in error handling and the less expected code of assigning -EINVAL to unsigned size_t count variable.
Suggested-by: Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Link: https://patch.msgid.link/20260109-of-for-each-compatible-scoped-v3-7-c22fa2c0749a@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
show more ...
|
| 8b0d0312 | 08-Sep-2025 |
Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> |
cdx: Export Symbols for MCDI RPC and Initialization
The cdx_mcdi_init(), cdx_mcdi_process_cmd(), and cdx_mcdi_rpc() functions are needed by the VersalNET EDAC module that interact with the MCDI (Man
cdx: Export Symbols for MCDI RPC and Initialization
The cdx_mcdi_init(), cdx_mcdi_process_cmd(), and cdx_mcdi_rpc() functions are needed by the VersalNET EDAC module that interact with the MCDI (Management Controller Direct Interface) framework. These functions facilitate communication between different hardware components by enabling command execution and status management.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/20250908115649.22903-1-shubhrajyoti.datta@amd.com
show more ...
|
| a398c422 | 02-May-2025 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
cdx: controller: Drop unneeded driver.pm NULL assignment
Struct driver in platform_driver is zero-ed so there is no need to assign its 'pm' member to NULL.
Signed-off-by: Krzysztof Kozlowski <krzys
cdx: controller: Drop unneeded driver.pm NULL assignment
Struct driver in platform_driver is zero-ed so there is no need to assign its 'pm' member to NULL.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-5-6aaa5b369fc5@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
| a46da20b | 02-May-2025 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
cdx: controller: Do not open-code module_platform_driver()
Replace standard platform_driver_register() boilerplate with module_platform_driver() to make code smaller.
Signed-off-by: Krzysztof Kozlo
cdx: controller: Do not open-code module_platform_driver()
Replace standard platform_driver_register() boilerplate with module_platform_driver() to make code smaller.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-4-6aaa5b369fc5@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
| cfe78d4a | 02-May-2025 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
cdx: controller: Drop useless probe success message
Drivers should be silent on probe success, unless they print some useful information. Printing "hey I probed" is not useful and kernel already gi
cdx: controller: Drop useless probe success message
Drivers should be silent on probe success, unless they print some useful information. Printing "hey I probed" is not useful and kernel already gives mechanism to investigate that (e.g. sysfs, tracing, initcall debug).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-3-6aaa5b369fc5@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
| fd353a0e | 02-May-2025 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
cdx: controller: Simplify with dev_err_probe()
Simplify printing probe failures and handling deferred probe with dev_err_probe().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
cdx: controller: Simplify with dev_err_probe()
Simplify printing probe failures and handling deferred probe with dev_err_probe().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-2-6aaa5b369fc5@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|