Lines Matching refs:arch
86 vcpu->arch.mmio_vsx_copy_nums = 0; in kvmppc_emulate_loadstore()
87 vcpu->arch.mmio_vsx_offset = 0; in kvmppc_emulate_loadstore()
88 vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE; in kvmppc_emulate_loadstore()
89 vcpu->arch.mmio_sp64_extend = 0; in kvmppc_emulate_loadstore()
90 vcpu->arch.mmio_sign_extend = 0; in kvmppc_emulate_loadstore()
91 vcpu->arch.mmio_vmx_copy_nums = 0; in kvmppc_emulate_loadstore()
92 vcpu->arch.mmio_vmx_offset = 0; in kvmppc_emulate_loadstore()
93 vcpu->arch.mmio_host_swabbed = 0; in kvmppc_emulate_loadstore()
96 vcpu->arch.regs.msr = vcpu->arch.shared->msr; in kvmppc_emulate_loadstore()
97 if (analyse_instr(&op, &vcpu->arch.regs, ppc_inst(inst)) == 0) { in kvmppc_emulate_loadstore()
123 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
143 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
144 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
147 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
150 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
153 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
156 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
161 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
162 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
165 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
170 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
190 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
194 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
197 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
201 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
204 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
211 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
214 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()
244 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
245 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
249 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
265 vcpu->arch.vaddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
266 vcpu->arch.paddr_accessed &= ~((unsigned long)size - 1); in kvmppc_emulate_loadstore()
268 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
269 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
272 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
275 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
278 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
281 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
286 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
287 (vcpu->arch.vaddr_accessed & 0xf)/size; in kvmppc_emulate_loadstore()
290 vcpu->arch.mmio_vmx_copy_nums = 2; in kvmppc_emulate_loadstore()
294 vcpu->arch.mmio_vmx_copy_nums = 1; in kvmppc_emulate_loadstore()
313 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore()
314 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
318 vcpu->arch.mmio_sp64_extend = 1; in kvmppc_emulate_loadstore()
321 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
324 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
331 vcpu->arch.mmio_vsx_copy_nums = 1; in kvmppc_emulate_loadstore()
334 vcpu->arch.mmio_vsx_copy_nums = in kvmppc_emulate_loadstore()