Looks like a hunk got put in the wrong place. Signed-off-by: Rusty Russell <rusty.russell@xxxxxxxxxx> diff --git a/arch/arm/kvm/coproc.c b/arch/arm/kvm/coproc.c index 61c3eff..42f8043 100644 --- a/arch/arm/kvm/coproc.c +++ b/arch/arm/kvm/coproc.c @@ -185,6 +185,9 @@ static bool access_dcsw(struct kvm_vcpu *vcpu, u32 val; int cpu; + if (!p->is_write) + return false; + cpu = get_cpu(); cpumask_setall(&vcpu->arch.require_dcache_flush); @@ -196,9 +199,6 @@ static bool access_dcsw(struct kvm_vcpu *vcpu, goto done; } - if (!p->is_write) - return false; - val = *vcpu_reg(vcpu, p->Rt1); switch (p->CRm) { _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm