Home
last modified time | relevance | path

Searched refs:srr1 (Results 1 – 25 of 26) sorted by relevance

12

/arch/powerpc/platforms/powernv/
Didle.c322 unsigned long srr1; in __power7_idle_type() local
328 srr1 = power7_idle_insn(type); in __power7_idle_type()
333 return srr1; in __power7_idle_type()
338 unsigned long srr1; in power7_idle_type() local
340 srr1 = __power7_idle_type(type); in power7_idle_type()
341 irq_set_pending_from_srr1(srr1); in power7_idle_type()
356 unsigned long srr1; in __power9_idle_type() local
365 srr1 = power9_idle_stop(psscr); in __power9_idle_type()
370 return srr1; in __power9_idle_type()
376 unsigned long srr1; in power9_idle_type() local
[all …]
Dsmp.c146 unsigned long srr1, wmask; in pnv_smp_cpu_kill_self() local
178 srr1 = pnv_cpu_offline(cpu); in pnv_smp_cpu_kill_self()
193 if (((srr1 & wmask) == SRR1_WAKEEE) || in pnv_smp_cpu_kill_self()
194 ((srr1 & wmask) == SRR1_WAKEHVI)) { in pnv_smp_cpu_kill_self()
202 } else if ((srr1 & wmask) == SRR1_WAKEHDBELL) { in pnv_smp_cpu_kill_self()
211 if (srr1 && !generic_check_cpu_restart(cpu)) in pnv_smp_cpu_kill_self()
213 cpu, srr1); in pnv_smp_cpu_kill_self()
/arch/powerpc/platforms/pasemi/
Dsetup.c260 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
265 srr1 = regs->msr; in pas_machine_check_handler()
276 printk(KERN_ERR "SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler()
284 if (srr1 & 0x200000) in pas_machine_check_handler()
287 if (srr1 & 0x100000) { in pas_machine_check_handler()
305 if (srr1 & 0x80000) in pas_machine_check_handler()
308 if (srr1 & 0x40000) { in pas_machine_check_handler()
313 if (srr1 & 0x20000) in pas_machine_check_handler()
339 return !!(srr1 & 0x2); in pas_machine_check_handler()
/arch/powerpc/include/asm/
Dkvm_booke_hv_asm.h57 .macro DO_KVM intno srr1
62 b kvmppc_handler_\intno\()_\srr1
Dlppaca.h148 __be64 srr1; member
Dhw_irq.h134 extern void irq_set_pending_from_srr1(unsigned long srr1);
Dmce.h122 uint64_t srr1; /* 0x18 */ member
Dkvm_ppc.h820 SHARED_SPRNG_WRAPPER(srr1, 64, SPRN_GSRR1)
/arch/powerpc/kvm/
Dbook3s_hv_ras.c74 unsigned long srr1 = vcpu->arch.shregs.msr; in kvmppc_realmode_mc_power7() local
78 if (srr1 & SRR1_MC_LDSTERR) { in kvmppc_realmode_mc_power7()
99 switch ((srr1 >> SRR1_MC_IFETCH_SH) & SRR1_MC_IFETCH_MASK) { in kvmppc_realmode_mc_power7()
Dtrace_pr.h226 __field( unsigned long, srr1 )
235 __entry->srr1 = vcpu->arch.shadow_srr1;
250 __entry->srr1,
Dbookehv_interrupts.S181 .macro kvm_handler intno type scratch, paca_ex, ex_r10, ex_r11, srr0, srr1, flags
182 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
214 mfspr r6, \srr1
291 .macro kvm_handler intno srr0, srr1, flags
292 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
305 mfspr r6, \srr1
317 .macro kvm_lvl_handler intno scratch srr0, srr1, flags
318 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
332 mfspr r6, \srr1
Dbooke.c83 vcpu->arch.shared->srr1); in kvmppc_dump_vcpu()
360 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
363 kvmppc_set_srr1(vcpu, srr1); in set_guest_srr()
366 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
369 vcpu->arch.csrr1 = srr1; in set_guest_csrr()
372 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
376 vcpu->arch.dsrr1 = srr1; in set_guest_dsrr()
378 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
382 static void set_guest_mcsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_mcsrr() argument
385 vcpu->arch.mcsrr1 = srr1; in set_guest_mcsrr()
[all …]
De500mc.c140 mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1); in kvmppc_core_vcpu_load_e500mc()
164 vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); in kvmppc_core_vcpu_put_e500mc()
Dbooke_emulate.c38 kvmppc_set_msr(vcpu, vcpu->arch.shared->srr1); in kvmppc_emul_rfi()
Dbook3s.c510 regs->srr1 = kvmppc_get_srr1(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
538 kvmppc_set_srr1(vcpu, regs->srr1); in kvm_arch_vcpu_ioctl_set_regs()
Dpowerpc.c158 shared->srr1 = swab64(shared->srr1); in kvmppc_swab_shared()
/arch/powerpc/kernel/
Dmce_power.c208 #define SRR1_MC_LOADSTORE(srr1) ((srr1) & PPC_BIT(42)) argument
428 uint64_t srr1 = regs->msr; in mce_handle_ierror() local
435 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror()
596 uint64_t srr1 = regs->msr; in mce_handle_error() local
599 if (SRR1_MC_LOADSTORE(srr1)) in mce_handle_error()
Dirq.c410 void irq_set_pending_from_srr1(unsigned long srr1) in irq_set_pending_from_srr1() argument
412 unsigned int idx = (srr1 & SRR1_WAKEMASK_P8) >> 18; in irq_set_pending_from_srr1()
Dkvm.c455 kvm_patch_ins_ld(inst, magic_var(srr1), inst_rt); in kvm_check_ins()
558 kvm_patch_ins_std(inst, magic_var(srr1), inst_rt); in kvm_check_ins()
Dmce.c101 mce->srr1 = regs->msr; in save_mce_event()
Dhead_booke.h446 unsigned long srr1; member
Dasm-offsets.c337 DEFINE(_SRR1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr1)); in main()
438 OFFSET(VCPU_SRR1, kvm_vcpu, arch.shregs.srr1); in main()
Dexceptions-64e.S247 .macro ret_from_level srr0 srr1 paca_ex scratch
268 mtspr \srr1,r11
/arch/powerpc/include/uapi/asm/
Dkvm_para.h46 __u64 srr1; member
Dkvm.h44 __u64 srr1; member

12