Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756675AbbBEJ0L (ORCPT ); Thu, 5 Feb 2015 04:26:11 -0500 Received: from cpsmtpb-ews06.kpnxchange.com ([213.75.39.9]:63129 "EHLO cpsmtpb-ews06.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbbBEJ0F (ORCPT ); Thu, 5 Feb 2015 04:26:05 -0500 Message-ID: <1423128362.27378.12.camel@x220> Subject: Re: [PATCH] coresight-stm: adding driver for CoreSight STM component From: Paul Bolle To: mathieu.poirier@linaro.org Cc: corbet@lwn.net, pratikp@codeaurora.org, al.grant@arm.com, liviu.dudau@arm.com, kaixu.xia@linaro.org, jeenu.viswambharan@arm.com, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Date: Thu, 05 Feb 2015 10:26:02 +0100 In-Reply-To: <1423088550-15780-1-git-send-email-mathieu.poirier@linaro.org> References: <1423088550-15780-1-git-send-email-mathieu.poirier@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Feb 2015 09:26:03.0271 (UTC) FILETIME=[C2DEA170:01D04125] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 38 On Wed, 2015-02-04 at 15:22 -0700, mathieu.poirier@linaro.org wrote: > From: Pratik Patel > > 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 > Signed-off-by: Mathieu Poirier >[...] > +/** > + * 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/