Lines Matching refs:arch
109 vcpu->arch.mmio_vsx_copy_nums = 0; in kvmppc_emulate_loadstore()
110 vcpu->arch.mmio_vsx_offset = 0; in kvmppc_emulate_loadstore()
111 vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE; in kvmppc_emulate_loadstore()
112 vcpu->arch.mmio_sp64_extend = 0; in kvmppc_emulate_loadstore()
113 vcpu->arch.mmio_sign_extend = 0; in kvmppc_emulate_loadstore()
114 vcpu->arch.mmio_vmx_copy_nums = 0; in kvmppc_emulate_loadstore()
115 vcpu->arch.mmio_vmx_offset = 0; in kvmppc_emulate_loadstore()
116 vcpu->arch.mmio_host_swabbed = 0; in kvmppc_emulate_loadstore()
119 vcpu->arch.regs.msr = vcpu->arch.shared->msr; in kvmppc_emulate_loadstore()
120 vcpu->arch.regs.ccr = vcpu->arch.cr; in kvmppc_emulate_loadstore()
121 if (analyse_instr(&op, &vcpu->arch.regs, inst) == 0) { in kvmppc_emulate_loadstore()
147 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
167 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
168 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
171 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
174 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
177 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
180 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
185 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
186 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
189 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
194 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
214 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
218 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
221 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
225 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
228 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
235 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
238 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()
269 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
270 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
274 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
290 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
291 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
293 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
294 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
297 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
300 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
303 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
306 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
311 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
312 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
315 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
319 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
338 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
339 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
343 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
346 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
349 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
356 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
359 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()