Home
last modified time | relevance | path

Searched refs:spr_val (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/kvm/
Dbooke_emulate.c131 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_booke_emulate_mtspr() argument
138 vcpu->arch.shared->dar = spr_val; in kvmppc_booke_emulate_mtspr()
141 vcpu->arch.shared->esr = spr_val; in kvmppc_booke_emulate_mtspr()
144 vcpu->arch.csrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
147 vcpu->arch.csrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
150 vcpu->arch.dsrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
153 vcpu->arch.dsrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
164 vcpu->arch.dbg_reg.iac1 = spr_val; in kvmppc_booke_emulate_mtspr()
175 vcpu->arch.dbg_reg.iac2 = spr_val; in kvmppc_booke_emulate_mtspr()
187 vcpu->arch.dbg_reg.iac3 = spr_val; in kvmppc_booke_emulate_mtspr()
[all …]
De500_emulate.c208 int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_e500() argument
216 kvmppc_set_pid(vcpu, spr_val); in kvmppc_core_emulate_mtspr_e500()
219 if (spr_val != 0) in kvmppc_core_emulate_mtspr_e500()
221 vcpu_e500->pid[1] = spr_val; in kvmppc_core_emulate_mtspr_e500()
224 if (spr_val != 0) in kvmppc_core_emulate_mtspr_e500()
226 vcpu_e500->pid[2] = spr_val; in kvmppc_core_emulate_mtspr_e500()
229 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
232 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500()
235 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
239 vcpu->arch.shared->mas7_3 |= spr_val; in kvmppc_core_emulate_mtspr_e500()
[all …]
Demulate.c96 ulong spr_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_emulate_mtspr() local
100 kvmppc_set_srr0(vcpu, spr_val); in kvmppc_emulate_mtspr()
103 kvmppc_set_srr1(vcpu, spr_val); in kvmppc_emulate_mtspr()
112 vcpu->arch.dec = (u32) spr_val; in kvmppc_emulate_mtspr()
117 kvmppc_set_sprg0(vcpu, spr_val); in kvmppc_emulate_mtspr()
120 kvmppc_set_sprg1(vcpu, spr_val); in kvmppc_emulate_mtspr()
123 kvmppc_set_sprg2(vcpu, spr_val); in kvmppc_emulate_mtspr()
126 kvmppc_set_sprg3(vcpu, spr_val); in kvmppc_emulate_mtspr()
134 spr_val); in kvmppc_emulate_mtspr()
149 ulong spr_val = 0; in kvmppc_emulate_mfspr() local
[all …]
Dbook3s_emulate.c366 int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_pr() argument
374 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()
377 kvmppc_set_dsisr(vcpu, spr_val); in kvmppc_core_emulate_mtspr_pr()
380 kvmppc_set_dar(vcpu, spr_val); in kvmppc_core_emulate_mtspr_pr()
383 to_book3s(vcpu)->hior = spr_val; in kvmppc_core_emulate_mtspr_pr()
392 kvmppc_set_bat(vcpu, bat, !(sprn % 2), (u32)spr_val); in kvmppc_core_emulate_mtspr_pr()
400 to_book3s(vcpu)->hid[0] = spr_val; in kvmppc_core_emulate_mtspr_pr()
403 to_book3s(vcpu)->hid[1] = spr_val; in kvmppc_core_emulate_mtspr_pr()
406 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
409 to_book3s(vcpu)->hid[2] = spr_val; in kvmppc_core_emulate_mtspr_pr()
[all …]
Dbooke.h86 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
87 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
113 ulong spr_val);
115 ulong *spr_val);
121 ulong spr_val);
123 ulong *spr_val);
Dbook3s.h29 int sprn, ulong spr_val);
31 int sprn, ulong *spr_val);
Dbook3s_hv.c3909 ulong spr_val) in kvmppc_core_emulate_mtspr_hv() argument
3915 ulong *spr_val) in kvmppc_core_emulate_mfspr_hv() argument
/arch/powerpc/include/asm/
Dkvm_ppc.h306 int (*emulate_mtspr)(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
307 int (*emulate_mfspr)(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);