[3.5.y.z extended stable] Patch "KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Wed Feb 5 10:39:38 UTC 2014


This is a note to let you know that I have just added a patch titled

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

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 4496adf40fa4d61784ab5ef510bb7f67e20686f7 Mon Sep 17 00:00:00 2001
From: Mihai Caraman <mihai.caraman at freescale.com>
Date: Thu, 9 Jan 2014 17:01:05 +0200
Subject: KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()

commit 70713fe315ed14cd1bb07d1a7f33e973d136ae3d upstream.

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

Signed-off-by: Mihai Caraman <mihai.caraman at freescale.com>
Signed-off-by: Alexander Graf <agraf at suse.de>
[ luis: backported to 3.5:
  - kvmppc_e500_deliver_tlb_miss() is defined in arch/powerpc/kvm/e500_tlb.c
    on the 3.5 kernel]
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 arch/powerpc/kvm/e500_tlb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c
index 3580a0c..5871b4e 100644
--- a/arch/powerpc/kvm/e500_tlb.c
+++ b/arch/powerpc/kvm/e500_tlb.c
@@ -358,7 +358,7 @@ static void clear_tlb_refs(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.8.3.2





More information about the kernel-team mailing list