Home
last modified time | relevance | path

Searched refs:srr0 (Results 1 – 25 of 27) sorted by relevance

12

/arch/powerpc/platforms/cell/spufs/
Dspu_restore.c132 unsigned int srr0; in restore_srr0() local
137 offset = LSCSA_QW_OFFSET(srr0); in restore_srr0()
138 srr0 = regs_spill[offset].slot[0]; in restore_srr0()
139 spu_writech(SPU_WrSRR0, srr0); in restore_srr0()
Dspu_save.c100 offset = LSCSA_QW_OFFSET(srr0); in save_srr0()
/arch/powerpc/kvm/
Dbookehv_interrupts.S60 .macro kvm_handler_common intno, srr0, flags
106 .if \srr0 != SPRN_MCSRR0 && \srr0 != SPRN_CSRR0
109 .if \srr0 != SPRN_MCSRR0
170 .macro kvm_handler intno type scratch, paca_ex, ex_r10, ex_r11, srr0, srr1, flags
202 mfspr r5, \srr0
204 kvm_handler_common \intno, \srr0, \flags
280 .macro kvm_handler intno srr0, srr1, flags
289 mfspr r5, \srr0
303 kvm_handler_common \intno, \srr0, \flags
306 .macro kvm_lvl_handler intno scratch srr0, srr1, flags
[all …]
Dbooke_interrupts.S45 .macro __KVM_HANDLER ivor_nr scratch srr0 argument
57 mfspr r3, \srr0
66 .macro KVM_HANDLER ivor_nr scratch srr0 argument
68 __KVM_HANDLER \ivor_nr \scratch \srr0
71 .macro KVM_DBG_HANDLER ivor_nr scratch srr0 argument
100 __KVM_HANDLER \ivor_nr \scratch \srr0
Dbook3s_hv_nested.c43 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs()
85 hr->srr0 = swab64(hr->srr0); in byteswap_hv_regs()
107 hr->srr0 = vcpu->arch.shregs.srr0; in save_hv_return_state()
161 vcpu->arch.shregs.srr0 = hr->srr0; in restore_hv_regs()
187 vcpu->arch.shregs.srr0 = hr->srr0; in kvmhv_restore_hv_return_state()
Dbook3s_hv_tm_builtin.c36 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation_early()
Dbooke.c73 printk("srr0: %08llx srr1: %08llx\n", vcpu->arch.shared->srr0, in kvmppc_dump_vcpu()
358 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
360 kvmppc_set_srr0(vcpu, srr0); in set_guest_srr()
364 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
366 vcpu->arch.csrr0 = srr0; in set_guest_csrr()
370 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
373 vcpu->arch.dsrr0 = srr0; in set_guest_dsrr()
376 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
380 static void set_guest_mcsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_mcsrr() argument
382 vcpu->arch.mcsrr0 = srr0; in set_guest_mcsrr()
[all …]
De500mc.c135 mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0); in kvmppc_core_vcpu_load_e500mc()
159 vcpu->arch.shared->srr0 = mfspr(SPRN_GSRR0); in kvmppc_core_vcpu_put_e500mc()
Dbook3s_hv_tm.c58 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation()
Dbooke_emulate.c26 vcpu->arch.regs.nip = vcpu->arch.shared->srr0; in kvmppc_emul_rfi()
Dbook3s.c547 regs->srr0 = kvmppc_get_srr0(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
575 kvmppc_set_srr0(vcpu, regs->srr0); in kvm_arch_vcpu_ioctl_set_regs()
Dpowerpc.c149 shared->srr0 = swab64(shared->srr0); in kvmppc_swab_shared()
/arch/powerpc/include/uapi/asm/
Dkvm_para.h45 __u64 srr0; member
Dkvm.h43 __u64 srr0; member
/arch/powerpc/kernel/
Dmce.c103 mce->srr0 = nip; in save_mce_event()
517 if (ea && evt->srr0 != ea) { in machine_check_print_event_info()
535 in_guest ? "Guest " : "", evt->srr0, pa_str); in machine_check_print_event_info()
538 level, evt->cpu, evt->srr0, (void *)evt->srr0, pa_str); in machine_check_print_event_info()
Dkvm.c442 kvm_patch_ins_ld(inst, magic_var(srr0), inst_rt); in kvm_check_ins()
545 kvm_patch_ins_std(inst, magic_var(srr0), inst_rt); in kvm_check_ins()
Dasm-offsets.c350 DEFINE(_SRR0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr0)); in main()
453 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main()
Dhead_booke.h522 unsigned long srr0; member
Dexceptions-64e.S233 .macro ret_from_level srr0 srr1 paca_ex scratch
253 mtspr \srr0,r10
/arch/powerpc/platforms/pasemi/
Dsetup.c320 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
324 srr0 = regs->nip; in pas_machine_check_handler()
336 pr_err("SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler()
/arch/powerpc/include/asm/
Dlppaca.h161 __be64 srr0; member
Dmce.h124 u64 srr0; member
Dspu_csa.h80 struct spu_reg128 srr0; member
Dhvcall.h509 u64 srr0; member
Dkvm_ppc.h969 SHARED_SPRNG_WRAPPER(srr0, 64, SPRN_GSRR0)

12