Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-15 Thread Richard Henderson
On 01/15/2016 12:32 PM, Artyom Tarasenko wrote: >> If we ever properly implement a sun4v platform, we will implement the bulk of >> the hypervisor within qemu itself, for speed. At which point REAL will in >> fact >> undergo that final layer of translation exactly as expected. >> >> I think the n

Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-15 Thread Artyom Tarasenko
On Fri, Jan 15, 2016 at 7:03 PM, Richard Henderson wrote: > On 01/15/2016 05:17 AM, Artyom Tarasenko wrote: >> Hi Richard, >> >> please ignore my 2 previous mails: I've misread the commit message. >> The actual problem and a possible solution below. >> >> On Thu, Dec 17, 2015 at 9:57 PM, Richard H

Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-15 Thread Richard Henderson
On 01/15/2016 05:17 AM, Artyom Tarasenko wrote: > Hi Richard, > > please ignore my 2 previous mails: I've misread the commit message. > The actual problem and a possible solution below. > > On Thu, Dec 17, 2015 at 9:57 PM, Richard Henderson wrote: >> This gives us a trivial way to access physica

Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-15 Thread Artyom Tarasenko
Hi Richard, please ignore my 2 previous mails: I've misread the commit message. The actual problem and a possible solution below. On Thu, Dec 17, 2015 at 9:57 PM, Richard Henderson wrote: > This gives us a trivial way to access physical addresses > (aka "real addresses", in sun4v terminology) I

Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-11 Thread Artyom Tarasenko
On Mon, Jan 11, 2016 at 12:15 PM, Artyom Tarasenko wrote: > Hi Richard, > > first of all, this is a very nice series. > I really enjoy reading it, thank you very much. > It makes the code is more readable and likely to be more performant. > A nitpick below. > > On Thu, Dec 17, 2015 at 9:57 PM, Ric

Re: [Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2016-01-11 Thread Artyom Tarasenko
Hi Richard, first of all, this is a very nice series. I really enjoy reading it, thank you very much. It makes the code is more readable and likely to be more performant. A nitpick below. On Thu, Dec 17, 2015 at 9:57 PM, Richard Henderson wrote: > This gives us a trivial way to access physical a

[Qemu-devel] [PATCH 12/25] target-sparc: Add MMU_REAL_IDX

2015-12-17 Thread Richard Henderson
This gives us a trivial way to access physical addresses (aka "real addresses", in sun4v terminology) directly from qemu_ld/st, without having to go through another helper. This also fixes a bug in get_physical_address_code where it inferred NUCLEUS from env->tl instead of from mmu_idx. Signed-of