Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/arch/powerpc/kernel/
Dinterrupt.c101 unsigned long trap, srr0, srr1; in check_return_regs_valid() local
131 srr0 = mfspr(SPRN_HSRR0); in check_return_regs_valid()
141 srr0 = mfspr(SPRN_SRR0); in check_return_regs_valid()
147 if (srr0 == regs->nip && srr1 == regs->msr) in check_return_regs_valid()
169 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()
566 if (ea && evt->srr0 != ea) { in machine_check_print_event_info()
584 in_guest ? "Guest " : "", evt->srr0, pa_str); in machine_check_print_event_info()
587 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()
316 STACK_PT_REGS_OFFSET(_SRR0, srr0); in main()
376 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main()
/linux-6.6.21/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.c45 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs()
90 hr->srr0 = swab64(hr->srr0); in byteswap_hv_regs()
113 hr->srr0 = vcpu->arch.shregs.srr0; in save_hv_return_state()
155 vcpu->arch.shregs.srr0 = hr->srr0; in restore_hv_regs()
183 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()
386 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
388 kvmppc_set_srr0(vcpu, srr0); in set_guest_srr()
392 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
394 vcpu->arch.csrr0 = srr0; in set_guest_csrr()
398 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
401 vcpu->arch.dsrr0 = srr0; in set_guest_dsrr()
404 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
408 static void set_guest_mcsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_mcsrr() argument
410 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.c140 mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0); in kvmppc_core_vcpu_load_e500mc()
164 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.c566 regs->srr0 = kvmppc_get_srr0(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
594 kvmppc_set_srr0(vcpu, regs->srr0); in kvm_arch_vcpu_ioctl_set_regs()
/linux-6.6.21/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-6.6.21/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.h152 unsigned long srr0; member
Dhvcall.h608 u64 srr0; member
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dkvm_para.h45 __u64 srr0; member
/linux-6.6.21/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-6.6.21/Documentation/virt/kvm/
Dppc-pv.rst158 mfsrr0 rX ld rX, magic_page->srr0
168 mtsrr0 rX std rX, magic_page->srr0

12