]> Git Repo - linux.git/commit
coresight: Do not default to CPU0 for missing CPU phandle
authorSai Prakash Ranjan <[email protected]>
Thu, 4 Jul 2019 09:53:05 +0000 (15:23 +0530)
committerGreg Kroah-Hartman <[email protected]>
Thu, 4 Jul 2019 10:23:26 +0000 (12:23 +0200)
commit996cdfaf538f159f822f2619d55449c587b86cb6
treecd76d7c44f00b1462753abdc98f371611acafc0f
parent1141301c20706acd444637d7c5c6b201ad878c6e
coresight: Do not default to CPU0 for missing CPU phandle

Coresight platform support assumes that a missing "cpu" phandle
defaults to CPU0. This could be problematic and unnecessarily binds
components to CPU0, where they may not be. In coresight etm and
cpu-debug drivers, abort the probe for such cases.

Signed-off-by: Sai Prakash Ranjan <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Tested-by: Mathieu Poirier <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/f1955ea19c714cf64ea54ec356a9aa85f3cd17b8.1562229018.git.saiprakash.ranjan@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/hwtracing/coresight/coresight-cpu-debug.c
drivers/hwtracing/coresight/coresight-etm3x.c
drivers/hwtracing/coresight/coresight-etm4x.c
drivers/hwtracing/coresight/coresight-platform.c
This page took 0.054472 seconds and 4 git commands to generate.