Re: [BUG] CoreSight: WARN_ON in coresight_disclaim_device_unlocked due to register reset on CPU power-cycle

From: Keita Morisaki
Date: Fri Jun 20 2025 - 06:20:34 EST


Hi,
(Resending the same message in plain text (no HTML). The previous message was rejected by the mailing list because it contained HTML.)
thank you so much for the quick response. Really appreciate it.

> Thanks for the report ! In the future, please use
> scripts/get_maintainer.pl for the clear list of people/list
> for reporting issues.

I will do that!

> We have the ETM driver performing the save/restore of ETM context during
> a CPUidle. This is only done when the ETM/ETE is described to be loosing
> context over PM operation. If this is not done (via DT), the driver
> doesn't do anything. This could be problematic. Could you try adding:
>
> "arm,coresight-loses-context-with-cpu"
>
>
> property to the ETE nodes and see if it makes a difference ?

Noted. We will try this and get back to you.

Best,
Keita