[SRU][P:linux, N:linux-azure-nvidia-6.14][PATCH v2 0/3] Kernel fails to build when coresight is enabled

John Cabaj john.cabaj at canonical.com
Wed Sep 10 21:02:08 UTC 2025


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.
* Additionally, upstream 53b9e2659719: "coresight: holding cscfg_csdev_lock while removing cscfg from csdev" caused build failures with a spinlock type change.

[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"
* Clean cherry-pick of upstream 26f060c106f6: "coresight: change coresight_device lock type to raw_spinlock_t"

[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

Yeoreum Yun (1):
  coresight: change coresight_device lock type to raw_spinlock_t

 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 ++---
 .../hwtracing/coresight/coresight-syscfg.c    | 26 +++++-----
 drivers/hwtracing/coresight/coresight-sysfs.c |  6 +--
 include/linux/coresight.h                     | 12 ++++-
 7 files changed, 67 insertions(+), 56 deletions(-)

-- 
2.43.0




More information about the kernel-team mailing list