From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Avi Kivity <avi@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
kvm@vger.kernel.org, qemu-devel@nongnu.org,
Richard Henderson <rth@twiddle.net>
Subject: Re: [PATCH] memory: use signed arithmetic
Date: Wed, 03 Aug 2011 21:48:41 +1000 [thread overview]
Message-ID: <1312372121.8598.1.camel@pasglop> (raw)
In-Reply-To: <4E390642.5050402@redhat.com>
On Wed, 2011-08-03 at 11:26 +0300, Avi Kivity wrote:
> On 08/03/2011 01:15 AM, Richard Henderson wrote:
> > On 08/02/2011 03:06 PM, Avi Kivity wrote:
> > > I don't think there's any cpu which has a real 64-bit physical
> > > address space? Don't they all truncate it?
> >
> > I don't know. You're right that x86_64 does, at 48 bits.
> > The alpha system I'm trying to emulate does, at 50 bits.
> >
> > I guess if IBM agrees wrt p-series and z-series emulation, then
> > I'd be ok, so long as you add a comment above that structure that
> > says no existing hw implementation actually uses 63 address bits.
>
> Ben, can you confirm that pseries physical addresses are 63 bits wide or
> smaller?
>
> IIRC zseries has no mmio, and Zettabyte machines are still rare.
We are fine yes. We might grow to 50 bits but I doubt we'll ever do the
full 64, especially since we have some hard-wired assumptions that in
real mode (MMU off) the top 2 bits are ignored.
Cheers,
Ben.
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Avi Kivity <avi@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
kvm@vger.kernel.org, qemu-devel@nongnu.org,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] memory: use signed arithmetic
Date: Wed, 03 Aug 2011 21:48:41 +1000 [thread overview]
Message-ID: <1312372121.8598.1.camel@pasglop> (raw)
In-Reply-To: <4E390642.5050402@redhat.com>
On Wed, 2011-08-03 at 11:26 +0300, Avi Kivity wrote:
> On 08/03/2011 01:15 AM, Richard Henderson wrote:
> > On 08/02/2011 03:06 PM, Avi Kivity wrote:
> > > I don't think there's any cpu which has a real 64-bit physical
> > > address space? Don't they all truncate it?
> >
> > I don't know. You're right that x86_64 does, at 48 bits.
> > The alpha system I'm trying to emulate does, at 50 bits.
> >
> > I guess if IBM agrees wrt p-series and z-series emulation, then
> > I'd be ok, so long as you add a comment above that structure that
> > says no existing hw implementation actually uses 63 address bits.
>
> Ben, can you confirm that pseries physical addresses are 63 bits wide or
> smaller?
>
> IIRC zseries has no mmio, and Zettabyte machines are still rare.
We are fine yes. We might grow to 50 bits but I doubt we'll ever do the
full 64, especially since we have some hard-wired assumptions that in
real mode (MMU off) the top 2 bits are ignored.
Cheers,
Ben.
next prev parent reply other threads:[~2011-08-03 11:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 20:50 [PATCH] memory: use signed arithmetic Avi Kivity
2011-08-02 20:50 ` [Qemu-devel] " Avi Kivity
2011-08-02 21:15 ` malc
2011-08-02 21:15 ` malc
2011-08-02 21:21 ` Avi Kivity
2011-08-02 21:21 ` Avi Kivity
2011-08-02 21:59 ` Richard Henderson
2011-08-02 21:59 ` [Qemu-devel] " Richard Henderson
2011-08-02 22:06 ` Avi Kivity
2011-08-02 22:06 ` [Qemu-devel] " Avi Kivity
2011-08-02 22:15 ` Richard Henderson
2011-08-02 22:15 ` [Qemu-devel] " Richard Henderson
2011-08-03 8:26 ` Avi Kivity
2011-08-03 8:26 ` [Qemu-devel] " Avi Kivity
2011-08-03 11:48 ` Benjamin Herrenschmidt [this message]
2011-08-03 11:48 ` Benjamin Herrenschmidt
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=1312372121.8598.1.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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.