Lines Matching refs:arch
85 vcpu->arch.mmio_vsx_copy_nums = 0; in kvmppc_emulate_loadstore()
86 vcpu->arch.mmio_vsx_offset = 0; in kvmppc_emulate_loadstore()
87 vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE; in kvmppc_emulate_loadstore()
88 vcpu->arch.mmio_sp64_extend = 0; in kvmppc_emulate_loadstore()
89 vcpu->arch.mmio_sign_extend = 0; in kvmppc_emulate_loadstore()
90 vcpu->arch.mmio_vmx_copy_nums = 0; in kvmppc_emulate_loadstore()
91 vcpu->arch.mmio_vmx_offset = 0; in kvmppc_emulate_loadstore()
92 vcpu->arch.mmio_host_swabbed = 0; in kvmppc_emulate_loadstore()
95 vcpu->arch.regs.msr = kvmppc_get_msr(vcpu); in kvmppc_emulate_loadstore()
96 if (analyse_instr(&op, &vcpu->arch.regs, inst) == 0) { in kvmppc_emulate_loadstore()
114 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore()
124 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
134 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore()
144 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
145 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
148 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
151 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
154 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
157 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
162 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
163 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
166 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
171 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
191 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
195 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
198 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
202 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
205 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
212 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
215 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()
233 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore()
246 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
247 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
251 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
257 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore()
267 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
268 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
270 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
271 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
274 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
277 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
280 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
283 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
288 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
289 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
292 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
296 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
315 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
316 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
320 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
323 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
326 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
333 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
336 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()