fails, it takes
care of freeing the data. Otherwise, coresight_unregister will
do the necessary operations.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 14 +++---
drivers/hwtracing/coresight/coresight-etb10.c | 10
for DT and the upcoming ACPI support.
Reviewed-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/Makefile | 3 +--
drivers/hwtracing/coresight/{of_coresight.c => coresight-platform.c} | 3 ++-
2 files changed, 3 insertions(+)
As we are about to refactor the platform specific handling,
make the default buffer size probing generic.
Reviewed-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 21 -
1 file changed, 12 insertions(+), 9 deletions
"real" device which is the parent device.
Reviewed-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-replicator.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-replicator.c
Track the coresight device instead of the real device.
Reviewed-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etm.h| 6 ++
.../hwtracing/coresight/coresight-etm3x-sysfs.c| 12 ++--
drivers/hwtracing/coresight/coresight
ng
one for CoreSight.
Mathieu Poirier (1):
coresight: Use coresight device names for sinks in PMU attribute
Suzuki K Poulose (29):
coresight: funnel: Clean up device book keeping
coresight: replicator: Cleanup device tracking
coresight: tmc: Clean up device specific data
co
Switch to using the CoreSight device instead of the real
amba device.
Reviewed-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 13 +++--
drivers/hwtracing/coresight/coresight-catu.h | 1 -
2 files changed, 7 insertions(+), 7
Hi Mathieu
On 17/04/2019 22:23, Mathieu Poirier wrote:
On Mon, Apr 15, 2019 at 05:03:51PM +0100, Suzuki K Poulose wrote:
In preparation to use a consistent device naming scheme,
clean up the device link tracking in replicator driver.
Use the "coresight" device instead of the &qu
: 22f429f19c4135d51e9 ("coresight: etm-perf: Add support for ETR backend")
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc-etr.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/hwtracing/coresight/cor
Fixes: 855ab61c16bf70b646 ("coresight: tmc-etr: Refactor function
tmc_etr_setup_perf_buf()")
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc-etr.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/hwtracing
viding register resource and the driver skips
registers accessing when detect the register base is NULL.
Cc: Mathieu Poirier
Cc: Suzuki K Poulose
Cc: Wanglai Shi
Suggested-by: Suzuki K Poulose
Signed-off-by: Leo Yan
Reviewed-by: Suzuki K Poulose
+ if (of_device_
Rafael,
On 25/04/2019 18:45, Mathieu Poirier wrote:
On Mon, Apr 15, 2019 at 05:04:16PM +0100, Suzuki K Poulose wrote:
All AMBA devices are handled via ACPI AMBA scan notifier
infrastructure. The platform devices get the ACPI id
added to their driver.
Cc: "Rafael J. Wysocki"
C
On 25/04/2019 17:50, Mathieu Poirier wrote:
On Mon, Apr 15, 2019 at 05:04:15PM +0100, Suzuki K Poulose wrote:
Add support for parsing the ACPI platform description
for CoreSight. The connections are encoded in a DSD graph
property with CoreSight specific variation of the property.
The ETMs
On 22/04/2019 18:16, Mathieu Poirier wrote:
On Mon, Apr 15, 2019 at 05:04:08PM +0100, Suzuki K Poulose wrote:
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 connectio
On 23/04/2019 18:59, Mathieu Poirier wrote:
On Mon, Apr 15, 2019 at 05:04:14PM +0100, Suzuki K Poulose wrote:
The stimulus base for STM device must be listed as the second memory
resource, followed by the programming base address as described in
"Section 2.3 Resources&quo
On 04/22/2019 07:09 PM, Mathieu Poirier wrote:
Hi Suzuki,
On Mon, Apr 15, 2019 at 05:04:02PM +0100, Suzuki K Poulose wrote:
So far we have hard coded the DT platform parsing code in
every driver. Introduce generic helper to parse the information
provided by the firmware in a platform agnostic
On 04/17/2019 09:03 PM, Mathieu Poirier wrote:
On Mon, 15 Apr 2019 at 10:05, Suzuki K Poulose wrote:
Drop the power only if we were successful in probing the device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 4 ++--
1 file
On 04/18/2019 03:39 PM, Rafael J. Wysocki wrote:
On Tue, Apr 16, 2019 at 12:53 PM Suzuki K Poulose
wrote:
On 04/16/2019 11:48 AM, Rafael J. Wysocki wrote:
On Tue, Apr 16, 2019 at 12:39 PM Suzuki K Poulose
wrote:
Make the device_fwnode_match() a generic helper to match device
by fwnode
return 0;
error_pmu_register:
+ cpuhp_state_remove_instance_nocalls(CPUHP_AP_PERF_ARM_CCN_ONLINE,
+ >dt.node);
error_set_affinity:
- put_cpu();
Super minor nit: We don't need the error_set_affinity label anymore, as
we don't do anything here. Otherwise:
Reviewed-by: Suzuki K Poulose
On 04/16/2019 11:48 AM, Rafael J. Wysocki wrote:
On Tue, Apr 16, 2019 at 12:39 PM Suzuki K Poulose
wrote:
Make the device_fwnode_match() a generic helper to match device
by fwnode handle for use with bus_find_device(). This will be
also used by coresight.
Cc: Greg Kroah-Hartman
Cc: "R
Make the device_fwnode_match() a generic helper to match device
by fwnode handle for use with bus_find_device(). This will be
also used by coresight.
Cc: Greg Kroah-Hartman
Cc: "Rafael J. Wysocki"
Cc: linux-a...@vger.kernel.org
Signed-off-by: Suzuki K Poulose
---
Resending with
Hi Rafael
On 04/16/2019 11:20 AM, Rafael J. Wysocki wrote:
On Mon, Apr 15, 2019 at 6:06 PM Suzuki K Poulose wrote:
Make the device_fwnode_match() a generic helper to match device
by fwnode handle for use with bus_find_device(). This will be
also used by coresight.
Cc: Greg Kroah-Hartman
Cc
Drop the power handle only if we were successful. Otherwise
the AMBA bus code would do the rest.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hwtracing
We drop the power before we complete the probe successfully. We
are supposed to drop it only when we are successful. Also, probing
the etb_buffer_length happens with the power turned up. So we don't
need to do that again in the helper.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
"real" device which is the parent device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-replicator.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-replicator.c
b/drivers
Drop the power only when we have successfully probed. Otherwise
leave it to the amba probe to do the rest.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tpiu.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers
"real" device which is the parent device.
Since the CATU driver also uses the TMC-SG infrastructure, update
the callers to ensure they pass the appropriate device argument
for the tables.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresigh
Track the coresight device instead of the real device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etm.h| 6 ++
.../hwtracing/coresight/coresight-etm3x-sysfs.c| 12 ++--
drivers/hwtracing/coresight/coresight-etm3x.c
As we are about to refactor the platform specific handling,
make the default buffer size probing generic.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git
Track the coresight device instead of the real device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etb10.c | 32 +--
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight
The CoreSight components ETM and CPU-Debug are always associated
with CPUs. Replace the of_coresight_get_cpu() with a platform
agnostic helper, in preparation to add ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-cpu-debug.c | 3
As we are about to refactor the platform specific handling,
move the DT property handling to generic helpers.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etm3x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
CPU field is only used by ETMs and there is a separate API
for fetching the same. So, let us use that instead of using
the common platform probing helper. Also, remove it from the
platform_data.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight
So far we have hard coded the DT platform parsing code in
every driver. Introduce generic helper to parse the information
provided by the firmware in a platform agnostic manner, in preparation
for the ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing
-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc-etr.c | 4 +--
drivers/hwtracing/coresight/coresight.c | 46 -
include/linux/coresight.h | 8 ++---
3 files changed, 27 insertions(+), 31 deletions(-)
diff --git a/drivers
of the function.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight.c
b/drivers/hwtracing/coresight/coresight.c
index 91c63cd..530ad69
Add a helper to clean up the platform specific data provided
by the firmware. This will be later used for dropping the necessary
references when we switch to the fwnode handles for tracking
connections.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight
We match of_node while searching for a device. Make this
more generic in preparation for the ACPI support by using
fwnode_handle.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-platform.c | 17 +++--
1 file changed, 7 insertions(+), 10
ACPI bindings for CoreSight components on the Juno-r0 board.
Please note that the bindings apply only for the juno-r0.
The layout on r1 and r2 are slightly different and will need
dynamic ACPI table support to be able to use a single UEFI
image.
Signed-off-by: Suzuki K Poulose
---
Platform/ARM
are named using "tmc_etf", "tmc_etb", and "tmc_etr"
prefixes depending on the configuration of the device.
The replicators are not classified as dynamic/static anymore.
One could easily figure that out by checking the presence of
"mgmt" registers under sysf
oirier
Cc: "Rafael J. Wysocki"
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-stm.c | 43 +
1 file changed, 43 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-stm.c
b/drivers/hwtracing/coresight/coresight
to find the corresponding
coresight device. Instead we use the platform agnostic
"fwnode handle" of the parent device to find the devices.
We also reuse the same fwnode as the parent for the Coresight
device we create.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers
Handle failures in fixing up connections for a newly registered
device. This will be useful to handle cases where we fail to expose
the links via sysfs for the connections.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight.c | 17 -
1
All AMBA devices are handled via ACPI AMBA scan notifier
infrastructure. The platform devices get the ACPI id
added to their driver.
Cc: "Rafael J. Wysocki"
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/acpi/acpi_amba.c | 9
u Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight.c | 120 +---
include/linux/coresight.h | 4 ++
2 files changed, 113 insertions(+), 11 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight.c
b/drivers/
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-platform.c | 409 +++
1 file changed, 409 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-platform.c
b/drivers/hwtracing/coresight/coresight-platform.c
index c9a59fb..224f698 100644
---
As we prepare to expose the links between the devices in
sysfs, pass the coresight_device instance to the
coresight_release_platform_data in order to free up the connections
when the device is removed.
No functional changes as such in this patch.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K
We are about to use a name independent of the parent AMBA device
name. As such, there is no need to have it in the platform description.
Let us move this to coresight description instead.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c
Make the device_fwnode_match() a generic helper to match device
by fwnode handle for use with bus_find_device(). This will be
also used by coresight.
Cc: Greg Kroah-Hartman
Cc: "Rafael J. Wysocki"
Signed-off-by: Suzuki K Poulose
---
drivers/base/devcon.c| 5 -
drivers/base/
fails, it takes
care of freeing the data. Otherwise, coresight_unregister will
do the necessary operations.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 14 +++---
drivers/hwtracing/coresight/coresight-etb10.c | 10
Rename the of_coresight_alloc_memory() => coresight_alloc_conns()
as it is independent of the underlying firmware type. This is in
preparation for the ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-platform.c |
Switch to using the CoreSight device instead of the real
amba device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 13 +++--
drivers/hwtracing/coresight/coresight-catu.h | 1 -
2 files changed, 7 insertions(+), 7 deletions
the references (fwnode_handle).
- Add RFC patches for exposing the device-links via sysfs.
- Drop tracking the device in favour of coresight_device.
- Name etb10 as "etb"
- Fix other comments in v1.
- Use a generic helper for searching with fwnode_handle rather than adding
Switch to using the coresight device instead of the parent
amba device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tpiu.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-tpiu.c
b
As we are about to refactor the platform specific handling
re-arrange some of the DT specific property handling.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-stm.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions
Rename the firmware handling file to a more generic
name, in preparation for adding ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/Makefile | 3 +-
drivers/hwtracing/coresight/coresight-platform.c | 298
use kfree() to release the memory when a device is released
(even though we don't support this at the moment). Fix this by leaving
it to the automatic freeing of the memory.
Fixes: c2c729415b2d2132 ("coresight: platform: Cleanup coresight connection
handling")
Cc: Mathieu Poirier
Sig
"real" device which is the parent device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-funnel.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-funnel.c
b/drivers/hwtracin
Drop the power only if we were successful in probing the device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-tmc.c
b/drivers
Keep track of the STM coresight device which is a child device
of the AMBA device. Since we can get to the coresight_device
from the "device" instance, remove the explicit field.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-
quot;;
"arm,coresight-funnel", "arm,primecell"; (obsolete)
At the end of this patch, it gives an example for static funnel DT
binding, and updates the dynamic funnel example.
Cc: Mathieu Poirier
Cc: Suzuki K Poulose
Cc: Wanglai Shi
Signed-off-by: Leo Yan
---
.../devic
.pm = _dev_pm_ops,
.suppress_bind_attrs = true,
Reviewed-by: Suzuki K Poulose
rs don't show up on the
* AMBA bus. As such no need to add "arm,primecell".
*/
- compatible = "arm,coresight-replicator";
+ compatible = "arm,coresight-static-replicator";
Reviewed-by: Suzuki K Poulose
bsolete)
"arm,coresight-dynamic-funnel", "arm,primecell";
At the end of this patch, it gives an example for static funnel DT
binding, and updates the dynamic funnel example.
Cc: Mathieu Poirier
Cc: Suzuki K Poulose
Cc: Wanglai Shi
Signed-off-by: Leo Yan
---
.../devic
On 04/06/2019 12:21 PM, Leo Yan wrote:
This patch adds a device id for the new static replicator compatible
string; it changes the driver name from "coresight-replicator" to
"coresight-static-replicator" as well.
Signed-off-by: Leo Yan
---
drivers/hwtracing/coresight/coresight-replicator.c |
On 04/06/2019 12:21 PM, Leo Yan wrote:
CoreSight uses below bindings for replicator:
Static replicator, aka. non-configurable replicator:
"arm,coresight-replicator";
Dynamic replicator, aka. configurable replicator:
"arm,coresight-dynamic-replicator", "arm,primecell";
The
utput *output)
bitmap_release_region(>chan_map[0], output->channel,
ilog2(output->nr_chans));
- output->nr_chans = 0;
master->nr_free += output->nr_chans;
+ output->nr_chans = 0;
Reviewed-by: Suzuki K Poulose
Hi Mathieu,
On 28/03/2019 20:41, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:40PM +, Suzuki K Poulose wrote:
The stimulus base for STM device must be listed as the second memory
resource, followed by the programming base address. Add support for
parsing the information for ACPI
Hi Robin,
On 03/04/2019 18:10, Robin Murphy wrote:
Like arm-cci, arm-ccn has the same issue of disabling preemption around
operations which can take mutexes. Again, remove the definite bug by
simply not trying to fight the theoretical races. And since we are
touching the hotplug handling code,
notifier, which gets fixed in the process.
Reported-by: "Li, Meng"
Reported-by: Corentin Labbe
Signed-off-by: Robin Murphy
Thanks for fixing this.
Reviewed-by: Suzuki K Poulose
On 04/04/2019 04:35, Mathieu Poirier wrote:
Resource selector pair 0 is always implemented and reserved. As such
it should not be explicitly programmed.
Signed-off-by: Mathieu Poirier
Reviewed-by: Suzuki K Poulose
-by: Suzuki K Poulose
On 04/04/2019 04:35, Mathieu Poirier wrote:
Add to the capabilities the ITRACE property so that ITRACE START events
are generated when the PMU is switched on by the core.
Signed-off-by: Mathieu Poirier
---
Acked-by: Suzuki K Poulose
register resource and the driver skips
registers accessing when detect the register base is NULL.
Cc: Mathieu Poirier
Cc: Suzuki K Poulose
Cc: Wanglai Shi
Suggested-by: Suzuki K Poulose
Signed-off-by: Leo Yan
Reviewed-by: Suzuki K Poulose
On 03/28/2019 02:35 AM, Leo Yan wrote:
Document DT binding for static (non-configurable) funnel and give an
example for it.
Cc: Mathieu Poirier
Cc: Suzuki K Poulose
Cc: Wanglai Shi
Signed-off-by: Leo Yan
Reviewed-by: Suzuki K Poulose
On 03/28/2019 05:42 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:38PM +, Suzuki K Poulose wrote:
We rely on the device names to find a CoreSight device on the
coresight bus. The device name however is obtained from the platform,
which is bound to the real platform/amba device
On 03/27/2019 09:39 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:30PM +, Suzuki K Poulose wrote:
Track the coresight device instead of the real device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
@@ -701,7 +701,6 @@ static int etb_probe(struct amba_device *adev
On 03/27/2019 10:05 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:32PM +, Suzuki K Poulose wrote:
As we are about to about refactor the platform specific handling,
s/about//
move the DT property handling to generic helpers.
Thanks for spotting. Will fix it.
Suzuki
On 03/27/2019 10:57 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:35PM +, Suzuki K Poulose wrote:
So far we have hard coded the DT platform parsing code in
every driver. Introduce generic helper to parse the information
provided by the firmware in a platform agnostic manner
On 03/27/2019 03:27 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:22PM +, Suzuki K Poulose wrote:
Merge the drivers for the two varieties of replicators into
a singel one. The dynamic replicator has programming base
which can be programmed to filter the trace data. The driver
On 03/26/2019 09:53 PM, Mathieu Poirier wrote:
Hi Suzuki,
On Wed, Mar 20, 2019 at 06:49:25PM +, Suzuki K Poulose wrote:
In preparation to use a consistent device naming scheme,
clean up the device link tracking in replicator driver.
Use the "coresight" device instead of the &qu
On 03/26/2019 09:54 PM, Mathieu Poirier wrote:
On Wed, Mar 20, 2019 at 06:49:27PM +, Suzuki K Poulose wrote:
Switch to using the coresight device instead of the parent
amba device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tpiu.c | 12
On 03/26/2019 09:53 PM, Mathieu Poirier wrote:
Hi Suzuki,
On Wed, Mar 20, 2019 at 06:49:25PM +, Suzuki K Poulose wrote:
In preparation to use a consistent device naming scheme,
clean up the device link tracking in replicator driver.
Use the "coresight" device instead of the &qu
of that patch into this and move it earlier]
Signed-off-by: Jeremy Linton
Reviewed-by: Andre Przywara
Tested-by: Stefan Wahren
---
Reviewed-by: Suzuki K Poulose
const struct coresight_ops_helper catu_helper_ops = {
.enable = catu_enable,
.disable = catu_disable,
};
-const struct coresight_ops catu_ops = {
+static const struct coresight_ops catu_ops = {
.helper_ops = _helper_ops,
};
Reviewed-by: Suzuki K Poulose
On 03/20/2019 06:49 PM, Suzuki K Poulose wrote:
This series adds the support for CoreSight devices on ACPI based
platforms. The device connections are encoded as _DSD graph property[0],
with CoreSight specific extensions to indicate the direction of data
flow as described in [1]. Components
Hi Julien,
On 21/03/2019 16:36, Julien Grall wrote:
In an attempt to make the ASID allocator generic, create a new structure
asid_info to store all the information necessary for the allocator.
For now, move the variables asid_generation and asid_map to the new structure
asid_info. Follow-up
As a preparatory step to merge the separate drivers for static and
dynamic replicators, annotate the static replicator specific details.
Also refactor the probe routine to make it generic in order to merge
the drivers easily.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers
Rename the dynamic replicator specific routines for merging with the
replicator driver. Also re-arrange the probe routine to make it easier
to merge.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
.../coresight/coresight-dynamic-replicator.c | 104 +
1 file
"real" device which is the parent device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-replicator.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-replicator.c
b/drivers
lso, while at it, remove the now obsolete DYNAMIC_REPLICATOR
config entry.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/Kconfig| 8 -
drivers/hwtracing/coresight/Makefile | 1 -
.../coresight/coresight-dynamic-replicator.c
Track the coresight device instead of the real device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etm3x.c | 6 +++---
drivers/hwtracing/coresight/coresight-etm4x.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
Switch to using the coresight device instead of the parent
amba device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tpiu.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight
Switch to using the CoreSight device instead of the real
amba device.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-catu.c | 13 +++--
drivers/hwtracing/coresight/coresight-catu.h | 1 -
2 files changed, 7 insertions(+), 7 deletions
Rename the firmware handling file to a more generic
name, in preparation for adding ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/Makefile | 3 +-
drivers/hwtracing/coresight/coresight-platform.c | 298
As we are about to about refactor the platform specific handling,
move the DT property handling to generic helpers.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-etm3x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
The stimulus base for STM device must be listed as the second memory
resource, followed by the programming base address. Add support for
parsing the information for ACPI.
Cc: Mathieu Poirier
Cc: "Rafael J. Wysocki"
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight
So far we have hard coded the DT platform parsing code in
every driver. Introduce generic helper to parse the information
provided by the firmware in a platform agnostic manner, in preparation
for the ACPI support.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing
As we are about to refactor the platform specific handling,
make the default buffer size probing generic.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-platform.c | 402 +++
1 file changed, 402 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-platform.c
b/drivers/hwtracing/coresight/coresight-platform.c
index 5eee987..06b1188 100644
---
701 - 800 of 5007 matches
Mail list logo