Skip to contentSkip to conversation

PPC: KVM: Add missing address space to ldl_phys helper

PATCH Applied Alexander Graf 2 participants 4 messages Feb 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PPC: KVM: Add missing address space to ldl_phys helper

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.

---
 target-ppc/kvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-ppc/kvm.c +1 -1
index 015ca82..84aa4e4 100644
@@ -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:
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 4 lines · Alexander Graf

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.

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

#2 lore raw
Quoted 8 lines · Peter Maydell
Quoted 4 lines · Alexander Graf

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.

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

#3 lore raw
Quoted 7 lines · Alexander Graf
Quoted 4 lines · Peter Maydell
Quoted 3 lines · Alexander Graf

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.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

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