alistair23-linux/drivers/hwtracing/coresight
Suzuki K Poulose af7cfd0f80 coresight: Rearrange platform data probing
We are about to introduce methods to clean up the platform data
as we switch to tracking the device reference from "name" to "fwnode
handles" for device connections. This requires us to drop the fwnode
handle references when the data is no longer required - i.e, when
the device probe fails or the device gets unregistered.

In order to consolidate the invocation of the cleanup, we delay the
platform probing to the very last minute, possibly before invoking
the coresight_register. Then, we leave the coresight core code to
do the clean up. i.e, if the coresight_register fails, it takes
care of freeing the data. Otherwise, coresight_unregister will
do the necessary operations.

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-20 07:56:13 +02:00
..
coresight-catu.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-catu.h coresight: catu: Cleanup device specific data 2019-06-19 20:29:14 +02:00
coresight-cpu-debug.c coresight: Make device to CPU mapping generic 2019-06-20 07:56:11 +02:00
coresight-etb10.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-etm-cp14.c coresight: Moving framework and drivers to SPDX identifier 2018-05-14 16:19:59 +02:00
coresight-etm-perf.c coresight: Use coresight device names for sinks in PMU attribute 2019-06-19 20:29:14 +02:00
coresight-etm-perf.h coresight: perf: Add "sinks" group to PMU directory 2019-02-08 12:27:36 +01:00
coresight-etm.h coresight: etm: Clean up device specific data 2019-06-19 20:29:14 +02:00
coresight-etm3x-sysfs.c coresight: etm: Clean up device specific data 2019-06-19 20:29:14 +02:00
coresight-etm3x.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-etm4x-sysfs.c coresight: etm4x: Don't use contextID with PID namespaces 2018-07-15 13:52:56 +02:00
coresight-etm4x.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-etm4x.h coresight: etm: Clean up device specific data 2019-06-19 20:29:14 +02:00
coresight-funnel.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-platform.c coresight: Remove name from platform description 2019-06-20 07:56:12 +02:00
coresight-priv.h ARM updates for 5.1-rc1 2019-03-15 14:37:46 -07:00
coresight-replicator.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-stm.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-tmc-etf.c coresight: tmc: Clean up device specific data 2019-06-19 20:29:14 +02:00
coresight-tmc-etr.c coresight: Reuse platform data structure for connection tracking 2019-06-20 07:56:12 +02:00
coresight-tmc.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight-tmc.h coresight: tmc: Clean up device specific data 2019-06-19 20:29:14 +02:00
coresight-tpiu.c coresight: Rearrange platform data probing 2019-06-20 07:56:13 +02:00
coresight.c coresight: Reuse platform data structure for connection tracking 2019-06-20 07:56:12 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile coresight: Rename of_coresight to coresight-platform 2019-06-20 07:56:10 +02:00