lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 9 Feb 2023 11:02:36 +0800
From:   Jinlong Mao <quic_jinlmao@...cinc.com>
To:     Suzuki K Poulose <suzuki.poulose@....com>,
        Mike Leach <mike.leach@...aro.org>
CC:     Mathieu Poirier <mathieu.poirier@...aro.org>,
        Leo Yan <leo.yan@...aro.org>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        <coresight@...ts.linaro.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
        Tingwei Zhang <quic_tingweiz@...cinc.com>,
        Yuanfang Zhang <quic_yuanfang@...cinc.com>,
        Tao Zhang <quic_taozha@...cinc.com>,
        Hao Zhang <quic_hazha@...cinc.com>
Subject: Re: [PATCH] coresight: core: Add sysfs node to reset all sources and
 sinks


On 2/9/2023 12:36 AM, Suzuki K Poulose wrote:
> On 08/02/2023 16:20, Mike Leach wrote:
>> Quick correction - you need to look for enable_sourceĀ  / enable_sink
>> files and disable those that are currently '1'
>>
>> Mike
>>
>> On Wed, 8 Feb 2023 at 16:16, Mike Leach <mike.leach@...aro.org> wrote:
>>>
>>> Hi
>>>
>>> As this is a sysfs only update - would it not be easier to simply use
>>> a shell script to iterate through coresight/devices/ looking for
>>> disable_source / disable_sink files and setting those accordingly?
>>>
>>> See tools/perf/tests/shell/test_arm_coresight.sh for an example of a
>>> script that does similar iteration to test coresight in perf
>>>
>
> +1
>
> Suzuki

Hi Mike & Suzuki,

Sometimes user just want to have some quick test from PC with adb commands.
It is very easy to reset all sources and sinks' status by command below.
echo 1 > /sys/bus/coresight/reset_source_sink

Preparing the script for test is not easy for users who are not familiar 
with the coresight framework.

Thanks
Jinlong Mao

>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ