[PATCH 4/5] coresight-tnoc: add node to configure flag type
Krzysztof Kozlowski
krzk at kernel.org
Sat Feb 22 02:55:29 PST 2025
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?
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list