From: "Joerg Roedel" <joerg.roedel@amd.com>
To: ebiederm@xmission.com
Cc: "Andreas Herrmann" <andreas.herrmann3@amd.com>,
discuss@x86-64.org, "Andi Kleen" <ak@suse.de>,
linux-kernel@vger.kernel.org,
"Richard Gooch" <rgooch@safe-mbox.com>
Subject: Re: [discuss] [patch] mtrr: fix issues with large addresses
Date: Tue, 6 Feb 2007 20:25:33 +0100 [thread overview]
Message-ID: <20070206192533.GB5647@amd.com> (raw)
In-Reply-To: <m1zm7rrtnn.fsf@ebiederm.dsl.xmission.com>
On Tue, Feb 06, 2007 at 12:08:12PM -0700, ebiederm@xmission.com wrote:
> "Andreas Herrmann" <andreas.herrmann3@amd.com> writes:
> > You are referring to current Linux implementation?
> > The AMD64 architecture increased physical address size in PSE mode to
> > 40 bits. So at least it would be possible to use more than 32 bits.
>
> How do you get 40 physical bits in a 32bit page table entry? My memory
> is that the low bits in the page table entry were well defined and
> accounted for. I'm pretty certain I can account for 6 of the low bits
> off the top of my head. PSE is the page size extension allowing pages 2MB/4MB
> pages.
The access to 40 physical address bits is only possible using large pages
(4MB on 32bit without PAE). In those page tables entrys you only use
bits 22:31 for encoding the physical address. The bits 12:21 are
unused. These unused bits are reused to encode bits 32:39 of the 40 bit
physical address.
Joerg
--
Joerg Roedel
Operating System Research Center
AMD Saxony LLC & Co. KG
next prev parent reply other threads:[~2007-02-06 19:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 17:19 [patch] mtrr: fix issues with large addresses Andreas Herrmann
2007-02-05 22:50 ` Siddha, Suresh B
2007-02-06 7:53 ` Andi Kleen
2007-02-06 9:31 ` [discuss] " Jan Beulich
2007-02-06 9:45 ` Andi Kleen
2007-02-06 9:53 ` Jan Beulich
2007-02-06 10:54 ` Andi Kleen
2007-02-06 16:25 ` Andreas Herrmann
2007-02-06 16:16 ` Andreas Herrmann
2007-02-06 0:26 ` Eric W. Biederman
2007-02-06 16:08 ` Andreas Herrmann
2007-02-06 17:54 ` Eric W. Biederman
2007-02-06 18:42 ` [discuss] " Andreas Herrmann
2007-02-06 19:08 ` Eric W. Biederman
2007-02-06 19:25 ` Joerg Roedel [this message]
2007-02-06 19:44 ` Eric W. Biederman
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=20070206192533.GB5647@amd.com \
--to=joerg.roedel@amd.com \
--cc=ak@suse.de \
--cc=andreas.herrmann3@amd.com \
--cc=discuss@x86-64.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rgooch@safe-mbox.com \
/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