[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <945e0063-23eb-4111-9aed-36fce77a0afa@oss.qualcomm.com>
Date: Wed, 7 Jan 2026 13:33:24 +0800
From: Songwei Chai <songwei.chai@....qualcomm.com>
To: Suzuki K Poulose <suzuki.poulose@....com>, andersson@...nel.org,
alexander.shishkin@...ux.intel.com, mike.leach@...aro.org,
james.clark@....com, krzk+dt@...nel.org, conor+dt@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, coresight@...ts.linaro.org,
devicetree@...r.kernel.org, gregkh@...uxfoundation.org
Subject: Re: [PATCH v9 7/7] qcom-tgu: Add reset node to initialize
On 1/6/2026 6:16 PM, Suzuki K Poulose wrote:
> On 19/12/2025 06:59, Songwei Chai wrote:
>> Add reset node to initialize the value of
>> priority/condition_decode/condition_select/timer/counter nodes.
>>
>> Signed-off-by: Songwei Chai <songwei.chai@....qualcomm.com>
>> ---
>> .../ABI/testing/sysfs-bus-amba-devices-tgu | 7 ++
>> drivers/hwtracing/qcom/tgu.c | 74 +++++++++++++++++++
>> 2 files changed, 81 insertions(+)
>>
>> diff --git a/Documentation/ABI/testing/sysfs-bus-amba-devices-tgu b/
>> Documentation/ABI/testing/sysfs-bus-amba-devices-tgu
>> index 010eade0a1c5..0733b3e07b45 100644
>> --- a/Documentation/ABI/testing/sysfs-bus-amba-devices-tgu
>> +++ b/Documentation/ABI/testing/sysfs-bus-amba-devices-tgu
>> @@ -42,3 +42,10 @@ KernelVersion 6.19
>> Contact: Jinlong Mao <jinlong.mao@....qualcomm.com>, Songwei Chai
>> <songwei.chai@....qualcomm.com>
>> Description:
>> (RW) Set/Get the counter value with specific step for TGU.
>> +
>> +What: /sys/bus/amba/devices/<tgu-name>/reset_tgu
>> +Date: December 2025
>> +KernelVersion 6.19
>> +Contact: Jinlong Mao <jinlong.mao@....qualcomm.com>, Songwei Chai
>> <songwei.chai@....qualcomm.com>
>> +Description:
>> + (Write) Write 1 to reset the dataset for TGU.
>> diff --git a/drivers/hwtracing/qcom/tgu.c b/drivers/hwtracing/qcom/tgu.c
>> index d4210869556e..5a8c6af9b719 100644
>> --- a/drivers/hwtracing/qcom/tgu.c
>> +++ b/drivers/hwtracing/qcom/tgu.c
>> @@ -425,8 +425,82 @@ static ssize_t enable_tgu_store(struct device *dev,
>
>
>> +
>> + dev_dbg(dev, "Coresight-TGU reset complete\n");
>
> Qualcomm-TGU ?Exactly! Thanks for reminder.>
> Suzuki
Powered by blists - more mailing lists