[PATCH 4/5] coresight-tnoc: add node to configure flag type
Yuanfang Zhang
quic_yuanfang at quicinc.com
Thu Feb 27 23:44:42 PST 2025
On 2/22/2025 6:55 PM, Krzysztof Kozlowski wrote:
> On 21/02/2025 08:40, Yuanfang Zhang wrote:
>> +
>> +static ssize_t flag_type_show(struct device *dev,
>> + struct device_attribute *attr,
>> + char *buf)
>> +{
>> + struct trace_noc_drvdata *drvdata = dev_get_drvdata(dev->parent);
>> +
>> + return sysfs_emit(buf, "%u\n", drvdata->flag_type);
>> +}
>> +static DEVICE_ATTR_RW(flag_type);
>> +
>> static struct attribute *trace_noc_attrs[] = {
>> &dev_attr_flush_req.attr,
>> &dev_attr_flush_status.attr,
>> + &dev_attr_flag_type.attr,
>
> Where is the ABI documentation?
will update in V3.
>
> Best regards,
> Krzysztof
More information about the linux-arm-kernel
mailing list