ACK: [SRU][P:linux, N:linux-azure-nvidia-6.14][PATCH 0/2] Kernel fails to build when coresight is enabled
Jacob Martin
jacob.martin at canonical.com
Wed Sep 10 18:51:34 UTC 2025
On 9/10/25 11:56 AM, John Cabaj wrote:
> BugLink: https://bugs.launchpad.net/bugs/2122527
>
> SRU Justification
>
> [Impact]
>
> * Inclusion of upstream f6028eeeb5e4: "coresight: core: Disable helpers for devices that fail to enable" added two calls to coresight_disable_helpers() with an additional path parameter, which is not available in the current function call, which only accepts coresight_disable_helpers(struct coresight_device *csdev). This causes the kernel to fail to build when coresight is enabled.
>
> [Fix]
>
> * Clean cherry-pick of upstream 3c03c49b2fa5: "Coresight: Introduce a new struct coresight_path"
> * Backport of upstream 080ee83cc361: "Coresight: Change functions to accept the coresight_path"
>
> [Test Plan]
>
> * Compile tested
>
> [Regression potential]
>
> * Changes are localized to coresight. Possible regressions could result in unexpected behavior of coresight module.
>
> Jie Gan (2):
> Coresight: Introduce a new struct coresight_path
> Coresight: Change functions to accept the coresight_path
>
> drivers/hwtracing/coresight/coresight-core.c | 51 ++++++++++---------
> .../hwtracing/coresight/coresight-etm-perf.c | 14 ++---
> .../hwtracing/coresight/coresight-etm-perf.h | 2 +-
> drivers/hwtracing/coresight/coresight-priv.h | 12 ++---
> drivers/hwtracing/coresight/coresight-sysfs.c | 6 +--
> include/linux/coresight.h | 10 ++++
> 6 files changed, 53 insertions(+), 42 deletions(-)
>
Acked-by: Jacob Martin <jacob.martin at canonical.com>
More information about the kernel-team
mailing list