qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Bug 1438144 <1438144@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1438144] [NEW] Page sizes are not interpreted correctly for E500/E500MC
Date: Tue, 7 Apr 2015 14:22:01 -0500	[thread overview]
Message-ID: <1428434521.22867.448.camel@freescale.com> (raw)
In-Reply-To: <20150330112121.23718.61872.malonedeb@wampee.canonical.com>

On Mon, 2015-03-30 at 11:21 +0000, WGH wrote:
> Public bug reported:
> 
> http://cache.freescale.com/files/32bit/doc/ref_manual/E500CORERM.pdf - see 2.12.5.2 MAS Register 1 (MAS1), p. 2-41
> http://cache.freescale.com/files/32bit/doc/ref_manual/E500MCRM.pdf - see 2.16.6.2 MAS Register 1 (MAS1), p. 2-54
> 
> According to these documents, variable page size for TLB1 is computed as
> 4K ** TSIZE.
> 
> However, QEMU always treats it as if it was 1K << TSIZE, even if options
> like "-cpu e500mc" are supplied to qemu.

MMU v2 (implemented in e6500) extended the TSIZE field so that 1K <<
TSIZE is correct.  The extension was on the LSB side so that it works
fine as long as the low bit of the new TSIZE (which is reserved on
e500v2/mc) is zero.

-Scott

  reply	other threads:[~2015-04-07 19:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 11:21 [Qemu-devel] [Bug 1438144] [NEW] Page sizes are not interpreted correctly for E500/E500MC WGH
2015-04-07 19:22 ` Scott Wood [this message]
2015-04-07 19:55 ` [Qemu-devel] [Bug 1438144] " Scott Wood
2015-04-14 17:00 ` WGH

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=1428434521.22867.448.camel@freescale.com \
    --to=scottwood@freescale.com \
    --cc=1438144@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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).