All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper
@ 2014-02-14  8:15 Alexander Graf
  2014-02-14  8:53 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2014-02-14  8:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc

We now have to pass an address space to our _phys helpers. During the
transition apparently the EPR exit path missed out, so let's put it there.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-ppc/kvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
index 015ca82..84aa4e4 100644
--- a/target-ppc/kvm.c
+++ b/target-ppc/kvm.c
@@ -1232,7 +1232,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run)
 #endif
     case KVM_EXIT_EPR:
         DPRINTF("handle epr\n");
-        run->epr.epr = ldl_phys(env->mpic_iack);
+        run->epr.epr = ldl_phys(cs->as, env->mpic_iack);
         ret = 0;
         break;
     case KVM_EXIT_WATCHDOG:
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper
  2014-02-14  8:15 [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper Alexander Graf
@ 2014-02-14  8:53 ` Peter Maydell
  2014-02-14  9:13   ` Alexander Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2014-02-14  8:53 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-ppc, QEMU Developers

On 14 February 2014 08:15, Alexander Graf <agraf@suse.de> wrote:
> We now have to pass an address space to our _phys helpers. During the
> transition apparently the EPR exit path missed out, so let's put it there.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>

I assume this is a compile failure -- do you want it applied
directly or are you happy to just let it go through the ppc queue?

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper
  2014-02-14  8:53 ` Peter Maydell
@ 2014-02-14  9:13   ` Alexander Graf
  2014-02-14 11:17     ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2014-02-14  9:13 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-ppc, QEMU Developers


On 14.02.2014, at 09:53, Peter Maydell <peter.maydell@linaro.org> wrote:

> On 14 February 2014 08:15, Alexander Graf <agraf@suse.de> wrote:
>> We now have to pass an address space to our _phys helpers. During the
>> transition apparently the EPR exit path missed out, so let's put it there.
>> 
>> Signed-off-by: Alexander Graf <agraf@suse.de>
> 
> I assume this is a compile failure -- do you want it applied
> directly or are you happy to just let it go through the ppc queue?

It'd be awesome if you could pick it up directly. Compile breakages always make bisecting hard.


Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper
  2014-02-14  9:13   ` Alexander Graf
@ 2014-02-14 11:17     ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2014-02-14 11:17 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-ppc, QEMU Developers

On 14 February 2014 09:13, Alexander Graf <agraf@suse.de> wrote:
>
> On 14.02.2014, at 09:53, Peter Maydell <peter.maydell@linaro.org> wrote:
>
>> On 14 February 2014 08:15, Alexander Graf <agraf@suse.de> wrote:
>>> We now have to pass an address space to our _phys helpers. During the
>>> transition apparently the EPR exit path missed out, so let's put it there.
>>>
>>> Signed-off-by: Alexander Graf <agraf@suse.de>
>>
>> I assume this is a compile failure -- do you want it applied
>> directly or are you happy to just let it go through the ppc queue?
>
> It'd be awesome if you could pick it up directly. Compile breakages always make bisecting hard.

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-14 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14  8:15 [Qemu-devel] [PATCH] PPC: KVM: Add missing address space to ldl_phys helper Alexander Graf
2014-02-14  8:53 ` Peter Maydell
2014-02-14  9:13   ` Alexander Graf
2014-02-14 11:17     ` Peter Maydell

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.