[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6beae30-b475-4fde-9afc-4dcbc177e75d@linaro.org>
Date: Fri, 5 Jan 2024 10:54:23 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Linu Cherian <lcherian@...vell.com>, suzuki.poulose@....com,
mike.leach@...aro.org, james.clark@....com, leo.yan@...aro.org
Cc: linux-arm-kernel@...ts.infradead.org, coresight@...ts.linaro.org,
linux-kernel@...r.kernel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, sgoutham@...vell.com, gcherian@...vell.com,
Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v6 1/7] dt-bindings: arm: coresight-tmc: Add
"memory-region" property
On 05/01/2024 06:58, Linu Cherian wrote:
> memory-region 0: Reserved trace buffer memory
>
> TMC ETR: When available, use this reserved memory region for
> trace data capture. Same region is used for trace data
> retention after a panic or watchdog reset.
>
> TMC ETF: When available, use this reserved memory region for
> trace data retention synced from internal SRAM after a panic or
> watchdog reset.
>
> memory-region 1: Reserved meta data memory
>
> TMC ETR, ETF: When available, use this memory for register
> snapshot retention synced from hardware registers after a panic
> or watchdog reset.
>
> Reviewed-by: Rob Herring <robh@...nel.org>
...
> + memory-region:
> + items:
> + - description: Reserved trace buffer memory for ETR and ETF sinks.
> + For ETR, this reserved memory region is used for trace data capture.
> + Same region is used for trace data retention as well after a panic
> + or watchdog reset.
> + This reserved memory region is used as trace buffer or used for trace
> + data retention only if specifically selected by the user in sysfs
> + interface.
> + The default memory usage models for ETR in sysfs/perf modes are
> + otherwise unaltered.
> +
> + For ETF, this reserved memory region is used by default for
> + retention of trace data synced from internal SRAM after a panic
> + or watchdog reset.
> + - description: Reserved meta data memory. Used for ETR and ETF sinks
> + for storing metadata.
If there is going to be new version/resend, add a blank line here. Keep
the Rb tag.
Best regards,
Krzysztof
Powered by blists - more mailing lists