[PATCH] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

Subsystems: kernel virtual machine for powerpc (kvm/powerpc), linux for powerpc (32-bit and 64-bit), the rest

STALE4604d

2 messages, 2 authors, 2014-01-09 · open the first message on its own page

[PATCH] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

From: Mihai Caraman <hidden>
Date: 2014-01-09 15:01:17

Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss().

Signed-off-by: Mihai Caraman <redacted>
---
 arch/powerpc/kvm/e500_mmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/kvm/e500_mmu.c b/arch/powerpc/kvm/e500_mmu.c
index ebca6b8..50860e9 100644
--- a/arch/powerpc/kvm/e500_mmu.c
+++ b/arch/powerpc/kvm/e500_mmu.c
@@ -127,7 +127,7 @@ static int kvmppc_e500_tlb_index(struct kvmppc_vcpu_e500 *vcpu_e500,
 }
 
 static inline void kvmppc_e500_deliver_tlb_miss(struct kvm_vcpu *vcpu,
-		unsigned int eaddr, int as)
+		gva_t eaddr, int as)
 {
 	struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu);
 	unsigned int victim, tsized;
-- 
1.7.3.4

Re: [PATCH] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

From: Alexander Graf <hidden>
Date: 2014-01-09 15:29:47

On 09.01.2014, at 16:01, Mihai Caraman [off-list ref] wrote:
Use gva_t instead of unsigned int for eaddr in deliver_tlb_miss().

Signed-off-by: Mihai Caraman <redacted>
Thanks, applied to kvm-ppc-queue.


Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help