Home
last modified time | relevance | path

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

12

/Linux-v5.10/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()
/Linux-v5.10/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
57 mfspr r3, \srr0
66 .macro KVM_HANDLER ivor_nr scratch srr0
68 __KVM_HANDLER \ivor_nr \scratch \srr0
71 .macro KVM_DBG_HANDLER ivor_nr scratch srr0
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()
Dbooke.c72 printk("srr0: %08llx srr1: %08llx\n", vcpu->arch.shared->srr0, in kvmppc_dump_vcpu()
357 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
359 kvmppc_set_srr0(vcpu, srr0); in set_guest_srr()
363 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
365 vcpu->arch.csrr0 = srr0; in set_guest_csrr()
369 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
372 vcpu->arch.dsrr0 = srr0; in set_guest_dsrr()
375 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
379 static void set_guest_mcsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_mcsrr() argument
381 vcpu->arch.mcsrr0 = srr0; in set_guest_mcsrr()
[all …]
Dbook3s_hv_tm_builtin.c47 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation_early()
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.c71 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.c514 regs->srr0 = kvmppc_get_srr0(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
542 kvmppc_set_srr0(vcpu, regs->srr0); in kvm_arch_vcpu_ioctl_set_regs()
/Linux-v5.10/arch/powerpc/kernel/
Dmce.c119 mce->srr0 = nip; in save_mce_event()
548 if (ea && evt->srr0 != ea) { in machine_check_print_event_info()
566 in_guest ? "Guest " : "", evt->srr0, pa_str); in machine_check_print_event_info()
569 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.c134 OFFSET(SRR0, thread_struct, srr0); in main()
372 DEFINE(_SRR0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr0)); in main()
474 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main()
/Linux-v5.10/arch/powerpc/platforms/pasemi/
Dsetup.c316 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
320 srr0 = regs->nip; in pas_machine_check_handler()
332 pr_err("SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler()
/Linux-v5.10/arch/powerpc/include/asm/
Ddtl.h19 __be64 srr0; member
Dmce.h125 u64 srr0; member
Dspu_csa.h80 struct spu_reg128 srr0; member
Dprocessor.h162 unsigned long srr0; member
Dhvcall.h554 u64 srr0; member
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dkvm_para.h45 __u64 srr0; member
Dkvm.h43 __u64 srr0; member
/Linux-v5.10/Documentation/filesystems/spufs/
Dspufs.rst154 /npc, /decr, /decr_status, /spu_tag_mask, /event_mask, /srr0
169 srr0 Interrupt Return address register
174 spu_tag_mask, event_mask or srr0 file are:
/Linux-v5.10/Documentation/virt/kvm/
Dppc-pv.rst158 mfsrr0 rX ld rX, magic_page->srr0
168 mtsrr0 rX std rX, magic_page->srr0
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h43 __u64 srr0; member

12