From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>,
"Steven J. Hill" <Steven.Hill@imgtec.com>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
Florian Fainelli <florian@openwrt.org>
Subject: Re: [PATCH v2] Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET"
Date: Wed, 26 Jun 2013 22:41:37 +0100 (BST) [thread overview]
Message-ID: <alpine.LFD.2.03.1306262233250.32101@linux-mips.org> (raw)
In-Reply-To: <51CB3B04.1070903@imgtec.com>
Ralf,
On Wed, 26 Jun 2013, Leonid Yegoshin wrote:
> > > EVA has actually INCREASE in user address space - I right now run system
> > > with 2GB phys memory and 3GB of user virtual memory address space. Work in
> > > progress is to verify that GLIBC accepts addresses above 2GB.
> > I took the 0x40000000 for a KSEG0-equivalent because you previously
> > mentioned the value of 0x80000000.
>
> I wrote about kernel address layout. With EVA a user address layout is a
> different beast.
> In EVA, user may have access, say [0x00000000 - 0xBFFFFFFF] through TLB and
> kernel may have access, say [0x00000000 - 0xDFFFFFFF] unmapped. But segment
> shifts are applied to each KSEG.
>
> > > Yes, it is all about increasing phys and user memory and avoiding 64bits.
> > > Many solutions dont justify 64bit chip (chip space increase, performance
> > > degradation and increase in DMA addresses for devices).
> > Fair enough - but in the end the increasing size of metadata and pagetables
> > which has to reside in lowmem will become the next bottleneck and highmem
> > I/O performance has never been great, is on most kernel developers shit list
> > and performance optimizations for highmem are getting killed whenever they
> > are getting into the way.
>
> EVA doesn't use HIGHMEM. Kernel has a direct access to all memory in, say 3GB
> (3.5GB?).
> Malta model gives only 2GB because of PCI bridge loop problem.
To complete the image, there is a set of new memory access instructions
added (including but not limited to CACHE) that in the kernel mode
separates accesses to the user space from accesses to the kernel space,
i.e. the same virtual address can map differently depending on which
instruction set it is used with. I encourage you to have at least a skim
over the most recent set of MIPS architecture manuals publicly available
where it all is documented.
Maciej
next prev parent reply other threads:[~2013-06-26 21:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 15:36 [PATCH v2] Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET" Steven J. Hill
2013-06-26 14:52 ` Ralf Baechle
2013-06-26 15:34 ` Steven J. Hill
2013-06-26 15:34 ` Steven J. Hill
2013-06-26 15:43 ` Leonid Yegoshin
2013-06-26 16:23 ` Ralf Baechle
2013-06-26 16:50 ` Leonid Yegoshin
2013-06-26 17:50 ` Ralf Baechle
2013-06-26 19:03 ` Leonid Yegoshin
2013-06-26 21:41 ` Maciej W. Rozycki [this message]
2013-06-26 23:47 ` Leonid Yegoshin
2013-07-03 14:01 ` Markos Chandras
2013-07-03 15:56 ` Steven J. Hill
2013-07-03 15:56 ` Steven J. Hill
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=alpine.LFD.2.03.1306262233250.32101@linux-mips.org \
--to=macro@linux-mips.org \
--cc=Leonid.Yegoshin@imgtec.com \
--cc=Steven.Hill@imgtec.com \
--cc=florian@openwrt.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@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.