From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: "Måns Rullgård" <mans@mansr.com>
Cc: peter fuerst <post@pfrst.de>, linux-mips@linux-mips.org
Subject: Re: fast_iob() vs PHYS_OFFSET
Date: Mon, 1 Dec 2014 11:41:33 +0100 [thread overview]
Message-ID: <20141201104132.GA1973@alpha.franken.de> (raw)
In-Reply-To: <yw1xoaroev7i.fsf@unicorn.mansr.com>
On Sun, Nov 30, 2014 at 12:20:17PM +0000, Måns Rullgård wrote:
> My concern is over systems like AR7. It defines PHYS_OFFSET to
> 0x14000000 and UNCAC_BASE, correspondingly, to 0xb4000000. According to
> the linux-mips wiki, there is some on-chip RAM at physical address 0,
> which explains why the __fast_iob() macro works there.
there is really on-chip RAM for AR7 at address 0. The AR7 CPU core
is only MIPS32r1, so it doesn't have the exception vector base register
and needs ram at physical address 0 for exception handlers (which all
older cores do). I can't check right now, but even IP28 should have
some memory mirrored there. The problem on IP28 is that accessing
memory uncached requires reprogramming the memory controller (which
then doesn't fit the concept of fast_iob()).
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
next prev parent reply other threads:[~2014-12-01 10:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 23:50 fast_iob() vs PHYS_OFFSET Måns Rullgård
[not found] ` <Pine.LNX.4.64.1411300255520.2113@Opal.Peter>
2014-11-30 12:20 ` Måns Rullgård
2014-12-01 1:29 ` peter fuerst
2014-12-01 1:30 ` Måns Rullgård
2014-12-01 10:41 ` Thomas Bogendoerfer [this message]
2014-12-01 13:37 ` Måns Rullgård
2015-01-11 4:43 ` Maciej W. Rozycki
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=20141201104132.GA1973@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=linux-mips@linux-mips.org \
--cc=mans@mansr.com \
--cc=post@pfrst.de \
/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.