Home
last modified time | relevance | path

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

12

/linux-5.19.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-5.19.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 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.c44 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs()
89 hr->srr0 = swab64(hr->srr0); in byteswap_hv_regs()
112 hr->srr0 = vcpu->arch.shregs.srr0; in save_hv_return_state()
154 vcpu->arch.shregs.srr0 = hr->srr0; in restore_hv_regs()
182 vcpu->arch.shregs.srr0 = hr->srr0; in kvmhv_restore_hv_return_state()
Dbooke.c98 printk("srr0: %08llx srr1: %08llx\n", vcpu->arch.shared->srr0, in kvmppc_dump_vcpu()
383 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
385 kvmppc_set_srr0(vcpu, srr0); in set_guest_srr()
389 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
391 vcpu->arch.csrr0 = srr0; in set_guest_csrr()
395 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
398 vcpu->arch.dsrr0 = srr0; in set_guest_dsrr()
401 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
405 static void set_guest_mcsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_mcsrr() argument
407 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.c80 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.c544 regs->srr0 = kvmppc_get_srr0(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
572 kvmppc_set_srr0(vcpu, regs->srr0); in kvm_arch_vcpu_ioctl_set_regs()
/linux-5.19.10/arch/powerpc/kernel/
Dinterrupt.c260 unsigned long trap, srr0, srr1; in check_return_regs_valid() local
290 srr0 = mfspr(SPRN_HSRR0); in check_return_regs_valid()
300 srr0 = mfspr(SPRN_SRR0); in check_return_regs_valid()
306 if (srr0 == regs->nip && srr1 == regs->msr) in check_return_regs_valid()
330 printk("%sSRR0 was: %lx should be: %lx\n", h, srr0, regs->nip); in check_return_regs_valid()
Dmce.c110 mce->srr0 = nip; in save_mce_event()
562 if (ea && evt->srr0 != ea) { in machine_check_print_event_info()
580 in_guest ? "Guest " : "", evt->srr0, pa_str); in machine_check_print_event_info()
583 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.c127 OFFSET(SRR0, thread_struct, srr0); in main()
315 STACK_PT_REGS_OFFSET(_SRR0, srr0); in main()
375 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main()
/linux-5.19.10/arch/powerpc/platforms/pasemi/
Dsetup.c314 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
318 srr0 = regs->nip; in pas_machine_check_handler()
330 pr_err("SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler()
/linux-5.19.10/arch/powerpc/include/asm/
Ddtl.h19 __be64 srr0; member
Dspu_csa.h80 struct spu_reg128 srr0; member
Dmce.h125 u64 srr0; member
Dptrace.h88 unsigned long srr0; member
Dprocessor.h153 unsigned long srr0; member
Dhvcall.h587 u64 srr0; member
/linux-5.19.10/arch/powerpc/include/uapi/asm/
Dkvm_para.h45 __u64 srr0; member
/linux-5.19.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-5.19.10/Documentation/virt/kvm/
Dppc-pv.rst158 mfsrr0 rX ld rX, magic_page->srr0
168 mtsrr0 rX std rX, magic_page->srr0

12