From: Matt Porter <mporter@embeddedalley.com>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] Start arch/powerpc/boot code reorganization
Date: Thu, 21 Sep 2006 08:37:07 -0500 [thread overview]
Message-ID: <20060921133707.GA29137@gate.crashing.org> (raw)
In-Reply-To: <C2AFCB31-CFC2-4B0E-ADAE-380A612D1053@kernel.crashing.org>
On Thu, Sep 21, 2006 at 02:07:05AM +0200, Segher Boessenkool wrote:
> If you use a different name than "address", you're not bound to its
> semantics either. And as those semantics have some problems, please
> do change-em. How about:
>
> The "reg-virtual-address" property contains the same regions as the
> "reg" property, in the same order; each entry is #address-cells from
> the root node 32-bit integers wide(*); the entry describes a
> contiguous area of virtual memory of the same size as the
> corresponding "reg" entry, mapping that area, or 0 if the area isn't
> mapped.
>
> Any holes in this definition?
On PPC44x (and other PowerPC processors) the number of address cells
to represent a virtual address and a physical address differ due the
36-bits of physical address space. Regardless of the name of the
new property, it should be defined to allow a different number of
address cells to represent an address in virtual address space.
>
> (*) This isn't strictly correct, but OF doesn't describe the size of
> virtual addresses anywhere. In practice, it's the same as the size
> of physical addresses always. Oh, and the name "virtual" isn't correct
> in PowerPC-speak anyway, heh.
Actually, in practice, it's not always the same size as a physical
address. We have 36-bit physical addressing systems in the real world.
FWIW, I'd be happy with this property name or fw,address. When we
discussed this on IRC the thought was to conform to what already
existed for this purpose in the OF spec. Since the address prop sounds
like it will confuse some people I think it makes sense to add a
new property (might as well just throw out the spec :P).
-Matt
next prev parent reply other threads:[~2006-09-21 13:27 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 23:00 [PATCH] Start arch/powerpc/boot code reorganization Paul Mackerras
2006-09-20 1:20 ` Mark A. Greer
2006-09-20 1:28 ` Mark A. Greer
2006-09-20 20:58 ` Mark A. Greer
2006-09-20 3:10 ` Josh Boyer
2006-09-20 20:23 ` Segher Boessenkool
2006-09-20 21:04 ` Josh Boyer
2006-09-20 21:32 ` Benjamin Herrenschmidt
2006-09-20 21:57 ` Mark A. Greer
2006-09-21 0:07 ` Segher Boessenkool
2006-09-21 13:37 ` Matt Porter [this message]
2006-09-21 14:15 ` Jon Loeliger
2006-09-21 14:26 ` Matt Porter
2006-09-21 15:31 ` Segher Boessenkool
2006-09-22 1:24 ` Mark A. Greer
2006-09-22 8:43 ` Segher Boessenkool
2006-09-22 18:59 ` Mark A. Greer
2006-09-22 19:36 ` Sergei Shtylyov
2006-09-22 20:40 ` Mark A. Greer
2006-09-22 20:43 ` Sergei Shtylyov
2006-09-22 20:52 ` Mark A. Greer
2006-09-22 20:56 ` Sergei Shtylyov
2006-09-23 0:57 ` Segher Boessenkool
2006-09-23 15:48 ` Sergei Shtylyov
2006-09-23 0:54 ` Segher Boessenkool
2006-09-23 8:18 ` Mark A. Greer
2006-09-23 10:15 ` Segher Boessenkool
2006-09-25 17:53 ` Mark A. Greer
2006-09-25 23:40 ` Segher Boessenkool
2006-09-25 23:44 ` Segher Boessenkool
2006-09-25 23:46 ` Mark A. Greer
2006-09-28 20:53 ` Sergei Shtylyov
2006-09-30 8:36 ` Segher Boessenkool
-- strict thread matches above, loose matches on Subject: below --
2006-09-19 3:21 Paul Mackerras
2006-09-19 4:22 ` Michael Ellerman
2006-09-19 4:29 ` Paul Mackerras
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=20060921133707.GA29137@gate.crashing.org \
--to=mporter@embeddedalley.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=segher@kernel.crashing.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;
as well as URLs for NNTP newsgroup(s).