public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Gross <mgross@linux.intel.com>
To: Pavel Machek <pavel@suse.cz>
Cc: Linus Torvalds <torvalds@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: Telecom Clock driver for MPCBL0010 ATCA compute blade.
Date: Fri, 2 Sep 2005 08:01:40 -0700	[thread overview]
Message-ID: <200509020801.40699.mgross@linux.intel.com> (raw)
In-Reply-To: <20050831191155.GH703@openzaurus.ucw.cz>

On Wednesday 31 August 2005 12:11, Pavel Machek wrote:
> Hi!
> 
> > The following is a driver I would like to see included in the base kernel.
> > 
> > It allows OS controll of a device that synchronizes signaling hardware 
across a ATCA chassis.
> > 
> > The telecom clock hardware doesn't interact much with the operating 
system, and is controlled 
> > via registers in the FPGA on the hardware.  It is hardware that is unique 
to this computer.
> 
> Now... it is probably not feasible, but: why does it need special interface 
to userland?
> Could not it simply act as yet another timesource, and be controlled via 
get/settimeofday?
> 

The telcom clock is a special circuit, line card PLL, that provids a mechanism 
for synchronization of hardware across the backplane of a chassis of multiple 
computers with similar specail curcits.  In this case the synchronization 
signals get routed to multiple places, typically to pins on expansion slots 
for hardware that knows what to do with this signal.  (SONET, G.813, stratum 
3...) and similar signaling applications found in telcom sites can use this 
type of thing.

The actual device is hidden behind the FPGA on the motherboar, and is 
connected to the FPGA via I2C.  This driver only talks to the FPGA registers.

I suppose it could be configured to have the FPGA fire an interrupt ever ytime 
some count of clocks come in off the back plane.  The hardware really wasn't 
designed to do this and I would worry that as the interrupt source is really 
the FPGA getting I2C / traffic from the actual telcom clock hardware that 
there would be some latencies and funny business that would make it less than 
good for hard core applications.

I really don't know but, it might be possible to make it "short of work" as a 
time source to the OS.   I'm not going to bother trying. ;)

--mgross

>     Pavel

-- 
--mgross
BTW: This may or may not be the opinion of my employer, more likely not.  

      reply	other threads:[~2005-09-02 15:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 18:59 Telecom Clock driver for MPCBL0010 ATCA compute blade Mark Gross
2005-08-30 19:16 ` Marcelo Tosatti
2005-08-30 20:31   ` Mark Gross
2005-08-30 20:36     ` Mark Gross
2005-08-30 21:19       ` Jesper Juhl
2005-08-30 22:19         ` Mark Gross
2005-08-30 22:31           ` Jesper Juhl
2005-08-31 15:56             ` Mark Gross
2005-08-31 19:11 ` Pavel Machek
2005-09-02 15:01   ` Mark Gross [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=200509020801.40699.mgross@linux.intel.com \
    --to=mgross@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=torvalds@osdl.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