lkml.org 
[lkml]   [2014]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.12 120/133] KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()
    Date
    3.12-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Mihai Caraman <mihai.caraman@freescale.com>

    commit 70713fe315ed14cd1bb07d1a7f33e973d136ae3d upstream.

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

    Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
    Signed-off-by: Alexander Graf <agraf@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/powerpc/kvm/e500_mmu.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- 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
    }

    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;



    \
     
     \ /
      Last update: 2014-02-05 00:01    [W:4.070 / U:1.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site