Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Didle.c319 unsigned long srr1; in power7_idle_insn() local
416 return srr1; in power7_idle_insn()
478 return srr1; in power7_idle_insn()
502 return srr1; in power7_idle_insn()
543 srr1 = idle_kvm_start_guest(srr1); in power7_offline()
548 return srr1; in power7_offline()
802 return srr1; in power9_idle_stop()
987 return srr1; in power10_idle_stop()
1000 return srr1; in arch300_offline_stop()
1078 srr1 = 0; in pnv_cpu_offline()
[all …]
A Dsmp.c166 unsigned long srr1, unexpected_mask, wmask; in pnv_cpu_offline_self() local
226 srr1 = pnv_cpu_offline(cpu); in pnv_cpu_offline_self()
242 if (((srr1 & wmask) == SRR1_WAKEEE) || in pnv_cpu_offline_self()
243 ((srr1 & wmask) == SRR1_WAKEHVI)) { in pnv_cpu_offline_self()
245 } else if ((srr1 & wmask) == SRR1_WAKEHDBELL) { in pnv_cpu_offline_self()
248 } else if ((srr1 & wmask) == SRR1_WAKERESET) { in pnv_cpu_offline_self()
249 irq_set_pending_from_srr1(srr1); in pnv_cpu_offline_self()
277 if (srr1 && !generic_check_cpu_restart(cpu)) in pnv_cpu_offline_self()
279 cpu, srr1); in pnv_cpu_offline_self()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dmce_power.c135 #define SRR1_MC_LOADSTORE(srr1) ((srr1) & PPC_BIT(42)) argument
701 unsigned long srr1, in mce_handle_error() argument
709 if (SRR1_MC_LOADSTORE(srr1)) in mce_handle_error()
741 unsigned long srr1 = regs->msr; in __machine_check_early_realmode_p9() local
763 if (SRR1_MC_LOADSTORE(srr1) && in __machine_check_early_realmode_p9()
766 srr1 &= ~PPC_BIT(42); in __machine_check_early_realmode_p9()
769 return mce_handle_error(regs, srr1, in __machine_check_early_realmode_p9()
775 unsigned long srr1 = regs->msr; in __machine_check_early_realmode_p10() local
784 if (SRR1_MC_LOADSTORE(srr1) && in __machine_check_early_realmode_p10()
786 srr1 &= ~PPC_BIT(42); in __machine_check_early_realmode_p10()
[all …]
A Dinterrupt.c101 unsigned long trap, srr0, srr1; in check_return_regs_valid() local
132 srr1 = mfspr(SPRN_HSRR1); in check_return_regs_valid()
142 srr1 = mfspr(SPRN_SRR1); in check_return_regs_valid()
147 if (srr0 == regs->nip && srr1 == regs->msr) in check_return_regs_valid()
172 printk("%sSRR1 was: %lx should be: %lx\n", h, srr1, regs->msr); in check_return_regs_valid()
A Dirq_64.c456 void irq_set_pending_from_srr1(unsigned long srr1) in irq_set_pending_from_srr1() argument
458 unsigned int idx = (srr1 & SRR1_WAKEMASK_P8) >> 18; in irq_set_pending_from_srr1()
A Dkvm.c445 kvm_patch_ins_ld(inst, magic_var(srr1), inst_rt); in kvm_check_ins()
548 kvm_patch_ins_std(inst, magic_var(srr1), inst_rt); in kvm_check_ins()
A Dhead_booke.h114 .macro SYSCALL_ENTRY trapno intno srr1
125 b kvmppc_handler_\intno\()_\srr1
/linux-6.3-rc2/arch/powerpc/platforms/pasemi/
A Dsetup.c314 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
319 srr1 = regs->msr; in pas_machine_check_handler()
330 pr_err("SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler()
338 if (srr1 & 0x200000) in pas_machine_check_handler()
341 if (srr1 & 0x100000) { in pas_machine_check_handler()
359 if (srr1 & 0x80000) in pas_machine_check_handler()
362 if (srr1 & 0x40000) { in pas_machine_check_handler()
367 if (srr1 & 0x20000) in pas_machine_check_handler()
393 return !!(srr1 & 0x2); in pas_machine_check_handler()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_booke_hv_asm.h56 .macro DO_KVM intno srr1
61 b kvmppc_handler_\intno\()_\srr1
A Ddtl.h20 __be64 srr1; member
A Dmce.h126 u64 srr1; member
A Dptrace.h89 unsigned long srr1; member
A Dhw_irq.h403 extern void irq_set_pending_from_srr1(unsigned long srr1);
A Dprocessor.h153 unsigned long srr1; member
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_ras.c70 unsigned long srr1 = vcpu->arch.shregs.msr; in kvmppc_realmode_mc_power7() local
73 if (srr1 & SRR1_MC_LDSTERR) { in kvmppc_realmode_mc_power7()
93 switch ((srr1 >> SRR1_MC_IFETCH_SH) & SRR1_MC_IFETCH_MASK) { in kvmppc_realmode_mc_power7()
A Dbookehv_interrupts.S170 .macro kvm_handler intno type scratch, paca_ex, ex_r10, ex_r11, srr0, srr1, flags
171 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
203 mfspr r6, \srr1
280 .macro kvm_handler intno srr0, srr1, flags
281 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
294 mfspr r6, \srr1
306 .macro kvm_lvl_handler intno scratch srr0, srr1, flags
307 _GLOBAL(kvmppc_handler_\intno\()_\srr1)
321 mfspr r6, \srr1
A Dtrace_pr.h226 __field( unsigned long, srr1 )
235 __entry->srr1 = vcpu->arch.shadow_srr1;
250 __entry->srr1,
A Dbook3s_hv_nested.c46 hr->srr1 = vcpu->arch.shregs.srr1; in kvmhv_save_hv_regs()
91 hr->srr1 = swab64(hr->srr1); in byteswap_hv_regs()
114 hr->srr1 = vcpu->arch.shregs.srr1; in save_hv_return_state()
156 vcpu->arch.shregs.srr1 = hr->srr1; in restore_hv_regs()
184 vcpu->arch.shregs.srr1 = hr->srr1; in kvmhv_restore_hv_return_state()
A Dbooke.c99 vcpu->arch.shared->srr1); in kvmppc_dump_vcpu()
383 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument
386 kvmppc_set_srr1(vcpu, srr1); in set_guest_srr()
389 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument
392 vcpu->arch.csrr1 = srr1; in set_guest_csrr()
395 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument
399 vcpu->arch.dsrr1 = srr1; in set_guest_dsrr()
401 set_guest_csrr(vcpu, srr0, srr1); in set_guest_dsrr()
408 vcpu->arch.mcsrr1 = srr1; in set_guest_mcsrr()
1453 regs->srr1 = kvmppc_get_srr1(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
[all …]
A Dbook3s_emulate.c265 unsigned long srr1 = kvmppc_get_srr1(vcpu); in kvmppc_core_emulate_op_pr() local
276 ((srr1 & MSR_TM) == 0) && in kvmppc_core_emulate_op_pr()
278 !MSR_TM_ACTIVE(srr1)) in kvmppc_core_emulate_op_pr()
279 srr1 |= MSR_TS_S; in kvmppc_core_emulate_op_pr()
282 kvmppc_set_msr(vcpu, srr1); in kvmppc_core_emulate_op_pr()
A Dbook3s_hv_tm_builtin.c40 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
A De500mc.c136 mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1); in kvmppc_core_vcpu_load_e500mc()
160 vcpu->arch.shared->srr1 = mfspr(SPRN_GSRR1); in kvmppc_core_vcpu_put_e500mc()
A Dbook3s_hv_tm.c72 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dkvm_para.h46 __u64 srr1; member
/linux-6.3-rc2/drivers/tty/serial/
A Dsh-sci.c2369 unsigned int brr1 = 255, cks1 = 0, srr1 = 15, dl1 = 0; in sci_set_termios() local
2418 err = sci_sck_calc(s, baud, &srr1); in sci_set_termios()
2424 srr = srr1; in sci_set_termios()
2433 &srr1); in sci_set_termios()
2440 srr = srr1; in sci_set_termios()
2449 &srr1); in sci_set_termios()
2456 srr = srr1; in sci_set_termios()
2463 err = sci_scbrr_calc(s, baud, &brr1, &srr1, &cks1); in sci_set_termios()
2469 srr = srr1; in sci_set_termios()

Completed in 55 milliseconds

12