mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Alessio Sangalli <alesan@manoweb.com>
Cc: Ben Nizette <bn@niasdigital.com>, Ben Dooks <ben-linux@fluff.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Driver for tightly coupled memory
Date: Wed, 17 Sep 2008 01:39:38 -0400	[thread overview]
Message-ID: <32819.1221629978@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 16 Sep 2008 22:27:41 PDT." <48D0954D.4070302@manoweb.com>

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

On Tue, 16 Sep 2008 22:27:41 PDT, Alessio Sangalli said:

> Well I should ask the details to the hardware engineers but it's like a
> separate channel than the one used for main memory. It is not cacheable
> either. To the CPU, it just appears to be mapped at some location on the
> addressable space. Accessing this TCM will not have any impact on main
> memory access, so bursts etc won't be interrupted; other than that, TCM
> has double the bandwidth than standard memory - but it's tiny in size,
> something like 8 to 32kB as I mentioned earlier.

Ah.  So it's basically just super-fast memory that can be accessed without
going through the usual memory bus.  Sounds like the cycle of reincarnation
strikes again - 30ish years ago, the DEC PDP10/20 processors implemented the
first few locations of memory in fast (for the time) chips, and then mapped
the general purpose registers onto it.  A favorite trick would be to copy a
small loop into locations 0-7 and then branch to it - basically executing
from the general registers.  The *real* fun started when people started doing
self-modifying code by doing arithmetic/logical operations on registers. ;)

Would it be more of a performance win to use the 8-32K to store speed-critical
code rather than a FIFO?  Just another idea for what to use it for, but that
would likely require a different API...

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

  reply	other threads:[~2008-09-17  5:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-15 20:35 Alessio Sangalli
2008-09-16  9:35 ` Ben Dooks
2008-09-16 17:39   ` Alessio Sangalli
2008-09-16 22:27     ` Ben Nizette
2008-09-16 22:49       ` Alessio Sangalli
2008-09-16 23:04         ` Ben Nizette
2008-09-16 23:52           ` Alessio Sangalli
2008-09-17  2:42         ` Valdis.Kletnieks
2008-09-17  5:27           ` Alessio Sangalli
2008-09-17  5:39             ` Valdis.Kletnieks [this message]
2008-09-17  5:55               ` Alessio Sangalli

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=32819.1221629978@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=alesan@manoweb.com \
    --cc=ben-linux@fluff.org \
    --cc=bn@niasdigital.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®