linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: Coresight bus and drivers from CodeAurora
Date: Thu, 13 Dec 2012 10:49:38 +0000	[thread overview]
Message-ID: <20121213104938.GA26540@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <20121213074626.GB31717@pratikp-linux.qualcomm.com>

On Thu, Dec 13, 2012 at 07:46:26AM +0000, Pratik Patel wrote:
> On Wed, Dec 12, 2012 at 03:50:44PM -0600, Jon Hunter wrote:
> > I have also been working to migrate the coresight cross-trigger
> > interface (CTI) helpers from Ming Lei to a driver [1]. In the current
> > implementation I have opted to make the CTI driver an AMBA device (like
> > the existing ETM and ETB drivers). Therefore, I am curious if the plan
> > is to migrate these other coresight devices to AMBA versus adding this
> > new coresight bus?
> > 
> > It would be good to align on a plan here for coresight devices in general.

Having glanced at your patch series (I'll find some time to review it
properly) I think it looks like the right sort of thing to be doing. The
contentious part is likely to be exposing trace data from coresight devices
to userspace in a self-hosted environment. What we absolutely do *not* want
is a collection of disparate stream decoders in the kernel with a
corresponding set of magic ioctls/filehandles to expose proprietary binary data.
 
> AMBA bus is for PrimeCell devices (class 0xF) as opposed to
> CoreSight devices (class 0x9).

Yes, but if we can re-use all of that infrastructure on the software side of
things then there's really no reason not to.

Will

      reply	other threads:[~2012-12-13 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 12:40 Coresight bus and drivers from CodeAurora Linus Walleij
2012-12-10 18:18 ` Will Deacon
2012-12-10 19:52   ` Paul Walmsley
2012-12-11 21:39 ` Pratik Patel
2012-12-12  8:00   ` Linus Walleij
2012-12-12 21:50     ` Jon Hunter
2012-12-13  7:46       ` Pratik Patel
2012-12-13 10:49         ` Will Deacon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121213104938.GA26540@mudshark.cambridge.arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).