Re: [PATCH] coresight-stm: adding driver for CoreSight STM component

From: Paul Bolle
Date: Thu Feb 05 2015 - 04:26:21 EST


On Wed, 2015-02-04 at 15:22 -0700, mathieu.poirier@xxxxxxxxxx wrote:
> From: Pratik Patel <pratikp@xxxxxxxxxxxxxx>
>
> This driver adds support for the STM CoreSight IP block,
> allowing any system compoment (HW or SW) to log and
> aggregate messages via a single entity.
>
> The STM exposes an application defined number of channels
> called stimulus port. Configuration is done using entries
> in sysfs and channels made available to userspace via devfs.
>
> Signed-off-by: Pratik Patel <pratikp@xxxxxxxxxxxxxx>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
>[...]
> +/**
> + * struct stm_node - aggregation of channel information for userspace access
> + * @channel_id: the channel number associated to this file descriptor.
> + * @options: options for this channel - none, timestamped,
> +i guaranteed.

Did you perhaps use vim?

> + * @drvdata: STM driver specifics.
> + */
> +struct stm_node {
> + int channel_id;
> + u32 options;
> + struct stm_drvdata *drvdata;
> +};


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/