All of lore.kernel.org
 help / color / mirror / Atom feed
From: "lovecentry" <lovecentry@gmail.com>
To: <linux-mips@linux-mips.org>
Subject: kseg1 uncache access issue
Date: Wed, 9 Jan 2008 00:35:06 +0800	[thread overview]
Message-ID: <4783a652.1cef600a.2530.fffffe31@mx.google.com> (raw)

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

Hi

As we know in mips achitecture if current pc falls into kseg1 segment, any
memory reference will bypass cache and fetch directly from dram. But for
some prcoessor such like mips R10K it has off chip L2 cache. I haven't found
any available path which can access dram directly. All memory reference need
pass through L2 cache. Does it mean any memory reference in kseg1 will be
fetch from L2 cache rather than dram for such system? How does such system
design when system software need access kseg1 region? Further more, Kseg2 is
used to do memory map for those peripheral so Is there has a particular
circuit that routes those access to the appropriate destination.

Any suggestion is highly appreciate!!!

 

Tony


[-- Attachment #2: Type: text/html, Size: 3026 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: "lovecentry" <lovecentry@gmail.com>
To: linux-mips@linux-mips.org
Subject: kseg1 uncache access issue
Date: Wed, 9 Jan 2008 00:35:06 +0800	[thread overview]
Message-ID: <4783a652.1cef600a.2530.fffffe31@mx.google.com> (raw)
Message-ID: <20080108163506.Q3Uxt8afbtK6WJ8MdpGXf5h3br5wNjmyhRptnn-8p3w@z> (raw)

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

Hi

As we know in mips achitecture if current pc falls into kseg1 segment, any
memory reference will bypass cache and fetch directly from dram. But for
some prcoessor such like mips R10K it has off chip L2 cache. I haven't found
any available path which can access dram directly. All memory reference need
pass through L2 cache. Does it mean any memory reference in kseg1 will be
fetch from L2 cache rather than dram for such system? How does such system
design when system software need access kseg1 region? Further more, Kseg2 is
used to do memory map for those peripheral so Is there has a particular
circuit that routes those access to the appropriate destination.

Any suggestion is highly appreciate!!!

 

Tony


[-- Attachment #2: Type: text/html, Size: 3026 bytes --]

             reply	other threads:[~2008-01-08 16:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 16:35 lovecentry [this message]
2008-01-08 16:35 ` kseg1 uncache access issue lovecentry
2008-01-08 17:02 ` Thomas Bogendoerfer
2008-01-08 18:59   ` Ralf Baechle
2008-01-09 13:20     ` 答复: " lovecentry
2008-01-09 13:20       ` lovecentry

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=4783a652.1cef600a.2530.fffffe31@mx.google.com \
    --to=lovecentry@gmail.com \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.