[PATCH v7 15/15] coresight: etm3x: docs: Alter sysfs documentation for trace id updates

Mike Leach posted 15 patches 2 years, 8 months ago
[PATCH v7 15/15] coresight: etm3x: docs: Alter sysfs documentation for trace id updates
Posted by Mike Leach 2 years, 8 months ago
Sysfs access to etm3x trace ID value is now read-only due to recent
trace updates and for consistency with etm4x.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
---
 Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x b/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
index 651602a61eac..234c33fbdb55 100644
--- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
+++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
@@ -236,7 +236,7 @@ What:		/sys/bus/coresight/devices/<memory_map>.[etm|ptm]/traceid
 Date:		November 2014
 KernelVersion:	3.19
 Contact:	Mathieu Poirier <mathieu.poirier@linaro.org>
-Description: 	(RW) Holds the trace ID that will appear in the trace stream
+Description: 	(RO) Holds the trace ID that will appear in the trace stream
 		coming from this trace entity.
 
 What:		/sys/bus/coresight/devices/<memory_map>.[etm|ptm]/trigger_event
-- 
2.17.1
Re: [PATCH v7 15/15] coresight: etm3x: docs: Alter sysfs documentation for trace id updates
Posted by Suzuki K Poulose 2 years, 8 months ago
On 16/01/2023 12:49, Mike Leach wrote:
> Sysfs access to etm3x trace ID value is now read-only due to recent
> trace updates and for consistency with etm4x.
> 
> Signed-off-by: Mike Leach <mike.leach@linaro.org>
> ---
>   Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x b/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
> index 651602a61eac..234c33fbdb55 100644
> --- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
> +++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x
> @@ -236,7 +236,7 @@ What:		/sys/bus/coresight/devices/<memory_map>.[etm|ptm]/traceid
>   Date:		November 2014
>   KernelVersion:	3.19
>   Contact:	Mathieu Poirier <mathieu.poirier@linaro.org>
> -Description: 	(RW) Holds the trace ID that will appear in the trace stream
> +Description: 	(RO) Holds the trace ID that will appear in the trace stream
>   		coming from this trace entity.
>   
>   What:		/sys/bus/coresight/devices/<memory_map>.[etm|ptm]/trigger_event


I have squashed this to PATCH 6, where the above sysfs file permission
is actually changed.

Thanks
Suzuki