This is a note to let you know that I've just added the patch titled coresight: etm: perf: Sink selection using sysfs is deprecated to the 5.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: coresight-etm-perf-sink-selection-using-sysfs-is-deprecated.patch and it can be found in the queue-5.9 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From bb1860efc817c18fce4112f25f51043e44346d1b Mon Sep 17 00:00:00 2001 From: Linu Cherian <lcherian@xxxxxxxxxxx> Date: Wed, 16 Sep 2020 13:17:34 -0600 Subject: coresight: etm: perf: Sink selection using sysfs is deprecated From: Linu Cherian <lcherian@xxxxxxxxxxx> commit bb1860efc817c18fce4112f25f51043e44346d1b upstream. When using the perf interface, sink selection using sysfs is deprecated. Signed-off-by: Linu Cherian <lcherian@xxxxxxxxxxx> Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx> Link: https://lore.kernel.org/r/20200916191737.4001561-14-mathieu.poirier@xxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/hwtracing/coresight/coresight-etm-perf.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/hwtracing/coresight/coresight-etm-perf.c +++ b/drivers/hwtracing/coresight/coresight-etm-perf.c @@ -222,8 +222,6 @@ static void *etm_setup_aux(struct perf_e if (event->attr.config2) { id = (u32)event->attr.config2; sink = coresight_get_sink_by_id(id); - } else { - sink = coresight_get_enabled_sink(true); } mask = &event_data->mask; Patches currently in stable-queue which might be from lcherian@xxxxxxxxxxx are queue-5.9/coresight-etm-perf-sink-selection-using-sysfs-is-deprecated.patch