Re: [PATCH v2] coresight: etm4x: Handle unreachable sink in perf mode

2020-09-03 Thread Mathieu Poirier
On Wed, Sep 02, 2020 at 04:28:47PM +0100, Suzuki K Poulose wrote: > If the specified/hinted sink is not reachable from a subset of the CPUs, > we could end up unable to trace the event on those CPUs. This > is the best effort we could do until we support 1:1 configurations. > Fail gracefully in

[PATCH v2] coresight: etm4x: Handle unreachable sink in perf mode

2020-09-02 Thread Suzuki K Poulose
If the specified/hinted sink is not reachable from a subset of the CPUs, we could end up unable to trace the event on those CPUs. This is the best effort we could do until we support 1:1 configurations. Fail gracefully in such cases avoiding a WARN_ON, which can be easily triggered by the user on