Public bug reported:

With the resolute 7.0.0-42.42, the hwtracing/coresight fails to build:

linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c: In function 
‘etm4_enable_sysfs_smp_call’:
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c:642:14: error: 
‘struct coresight_device’ has no member named ‘path’
  642 |         csdev->path = arg->path;
      |              ^~
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c: In function 
‘etm4_enable_perf’:
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c:916:14: error: 
‘struct coresight_device’ has no member named ‘path’
  916 |         csdev->path = path;
      |              ^~
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c: In function 
‘etm4_disable_sysfs_smp_call’:
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c:1096:23: error: 
‘struct coresight_device’ has no member named ‘path’
 1096 |         drvdata->csdev->path = NULL;
      |                       ^~
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c: In function 
‘etm4_disable_perf’:
linux-main/drivers/hwtracing/coresight/coresight-etm4x-core.c:1126:23: error: 
‘struct coresight_device’ has no member named ‘path’
 1126 |         drvdata->csdev->path = NULL;

Looks like the culprit commit is:

    coresight: etm4x: Set active path on target CPU
    
    BugLink: https://bugs.launchpad.net/bugs/2169638
    
    Set the path pointer on the target CPU during ETM enable and disable.
    
    This ensures the device mode and path pointer are updated together and
    observed atomically by the CPU PM notifier.
    
    Tested-by: James Clark <[email protected]>
    Reviewed-by: Yeoreum Yun <[email protected]>
    Reviewed-by: James Clark <[email protected]>
    Tested-by: Jie Gan <[email protected]>
    Signed-off-by: Leo Yan <[email protected]>
    Signed-off-by: Suzuki K Poulose <[email protected]>
    Link: 
https://lore.kernel.org/r/20260515-arm_coresight_path_power_management_improvement-v14-20-f88c4a3ec...@arm.com
    (cherry picked from commit b6d54a94dcf42d405ed6de502c42572b2a462445)
    [cremfuelled: Needed for subsequent commit.]
    Signed-off-by: Alice C. Munduruca <[email protected]>
    Signed-off-by: Mehmet Basaran <[email protected]>

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171617

Title:
  resolute generic kernel build failure on drivers/hwtracing/coresight

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2171617/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to