[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 05/15] Implement PowerPC slbmfee and slbmfev
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] Re: [PATCH 05/15] Implement PowerPC slbmfee and slbmfev instructions |
Date: |
Sun, 13 Feb 2011 23:46:26 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Feb 12, 2011 at 04:23:39PM +0100, Alexander Graf wrote:
> On 12.02.2011, at 15:54, David Gibson wrote:
[snip]
> > +target_ulong helper_load_slb_esid (target_ulong rb)
> > +{
> > + target_ulong rt;
> > +
> > + if (ppc_load_slb_esid(env, rb, &rt) < 0) {
> > + helper_raise_exception_err(POWERPC_EXCP_PROGRAM,
> > POWERPC_EXCP_INVAL);
>
> The spec doesn't say what to do in this case. Have you checked what
> real hardware does?
Erm, I don't think I've checked this specific case, on this specific
CPU. Generally I've found that invalid parameters to MMU management
instructions results in invalid instruction program checks, so I
assumed that's what would happen in this case.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
- [Qemu-devel] Re: [PATCH 10/15] Use "hash" more consistently in ppc mmu code, (continued)
[Qemu-devel] [PATCH 05/15] Implement PowerPC slbmfee and slbmfev instructions, David Gibson, 2011/02/12
[Qemu-devel] [PATCH 12/15] Support 1T segments on ppc, David Gibson, 2011/02/12
[Qemu-devel] [PATCH 13/15] Add POWER7 support for ppc, David Gibson, 2011/02/12
[Qemu-devel] [PATCH 14/15] Start implementing pSeries logical partition machine, David Gibson, 2011/02/12