/Linux-v5.10/arch/powerpc/platforms/powernv/ |
D | idle.c | 319 unsigned long srr1; in power7_idle_insn() local 385 srr1 = isa206_idle_insn_mayloss(type); /* go idle */ in power7_idle_insn() 388 WARN_ON_ONCE(!srr1); in power7_idle_insn() 392 if ((srr1 & SRR1_WAKESTATE) != SRR1_WS_NOLOSS) { in power7_idle_insn() 404 if (unlikely((srr1 & SRR1_WAKEMASK_P8) == SRR1_WAKEHMI)) in power7_idle_insn() 407 if (likely((srr1 & SRR1_WAKESTATE) != SRR1_WS_HVLOSS)) { in power7_idle_insn() 417 return srr1; in power7_idle_insn() 479 return srr1; in power7_idle_insn() 501 return srr1; in power7_idle_insn() 504 extern unsigned long idle_kvm_start_guest(unsigned long srr1); [all …]
|
D | smp.c | 166 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-v5.10/arch/powerpc/platforms/pasemi/ |
D | setup.c | 316 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local 321 srr1 = regs->msr; in pas_machine_check_handler() 332 pr_err("SRR0 0x%016lx SRR1 0x%016lx\n", srr0, srr1); in pas_machine_check_handler() 340 if (srr1 & 0x200000) in pas_machine_check_handler() 343 if (srr1 & 0x100000) { in pas_machine_check_handler() 361 if (srr1 & 0x80000) in pas_machine_check_handler() 364 if (srr1 & 0x40000) { in pas_machine_check_handler() 369 if (srr1 & 0x20000) in pas_machine_check_handler() 395 return !!(srr1 & 0x2); in pas_machine_check_handler()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | kvm_booke_hv_asm.h | 56 .macro DO_KVM intno srr1 61 b kvmppc_handler_\intno\()_\srr1
|
D | dtl.h | 20 __be64 srr1; member
|
D | mce.h | 126 u64 srr1; member
|
D | hw_irq.h | 293 extern void irq_set_pending_from_srr1(unsigned long srr1);
|
D | processor.h | 163 unsigned long srr1; member
|
D | hvcall.h | 555 u64 srr1; member
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_hv_ras.c | 70 unsigned long srr1 = vcpu->arch.shregs.msr; in kvmppc_realmode_mc_power7() local 74 if (srr1 & SRR1_MC_LDSTERR) { in kvmppc_realmode_mc_power7() 94 switch ((srr1 >> SRR1_MC_IFETCH_SH) & SRR1_MC_IFETCH_MASK) { in kvmppc_realmode_mc_power7()
|
D | bookehv_interrupts.S | 170 .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
|
D | trace_pr.h | 226 __field( unsigned long, srr1 ) 235 __entry->srr1 = vcpu->arch.shadow_srr1; 250 __entry->srr1,
|
D | book3s_hv_nested.c | 44 hr->srr1 = vcpu->arch.shregs.srr1; in kvmhv_save_hv_regs() 86 hr->srr1 = swab64(hr->srr1); in byteswap_hv_regs() 108 hr->srr1 = vcpu->arch.shregs.srr1; in save_hv_return_state() 162 vcpu->arch.shregs.srr1 = hr->srr1; in restore_hv_regs() 188 vcpu->arch.shregs.srr1 = hr->srr1; in kvmhv_restore_hv_return_state()
|
D | booke.c | 73 vcpu->arch.shared->srr1); in kvmppc_dump_vcpu() 357 static void set_guest_srr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_srr() argument 360 kvmppc_set_srr1(vcpu, srr1); in set_guest_srr() 363 static void set_guest_csrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_csrr() argument 366 vcpu->arch.csrr1 = srr1; in set_guest_csrr() 369 static void set_guest_dsrr(struct kvm_vcpu *vcpu, unsigned long srr0, u32 srr1) in set_guest_dsrr() argument 373 vcpu->arch.dsrr1 = srr1; 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 382 vcpu->arch.mcsrr1 = srr1; in set_guest_mcsrr() [all …]
|
D | book3s_emulate.c | 269 unsigned long srr1 = kvmppc_get_srr1(vcpu); in kvmppc_core_emulate_op_pr() local 280 ((srr1 & MSR_TM) == 0) && in kvmppc_core_emulate_op_pr() 282 !MSR_TM_ACTIVE(srr1)) in kvmppc_core_emulate_op_pr() 283 srr1 |= MSR_TS_S; in kvmppc_core_emulate_op_pr() 286 kvmppc_set_msr(vcpu, srr1); in kvmppc_core_emulate_op_pr()
|
D | book3s_hv_tm_builtin.c | 40 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
|
D | e500mc.c | 136 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()
|
D | book3s_hv_tm.c | 63 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | mce_power.c | 129 #define SRR1_MC_LOADSTORE(srr1) ((srr1) & PPC_BIT(42)) argument 483 uint64_t srr1 = regs->msr; in mce_handle_ierror() local 490 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror() 691 uint64_t srr1 = regs->msr; in mce_handle_error() local 694 if (SRR1_MC_LOADSTORE(srr1)) in mce_handle_error()
|
D | head_booke.h | 86 .macro SYSCALL_ENTRY trapno intno srr1 97 b kvmppc_handler_\intno\()_\srr1 527 unsigned long srr1;
|
D | irq.c | 500 void irq_set_pending_from_srr1(unsigned long srr1) in irq_set_pending_from_srr1() argument 502 unsigned int idx = (srr1 & SRR1_WAKEMASK_P8) >> 18; in irq_set_pending_from_srr1()
|
D | kvm.c | 445 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()
|
/Linux-v5.10/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 46 __u64 srr1; member
|
/Linux-v5.10/drivers/tty/serial/ |
D | sh-sci.c | 2374 unsigned int brr1 = 255, cks1 = 0, srr1 = 15, dl1 = 0; in sci_set_termios() local 2419 err = sci_sck_calc(s, baud, &srr1); in sci_set_termios() 2425 srr = srr1; in sci_set_termios() 2434 &srr1); in sci_set_termios() 2441 srr = srr1; in sci_set_termios() 2450 &srr1); in sci_set_termios() 2457 srr = srr1; in sci_set_termios() 2464 err = sci_scbrr_calc(s, baud, &brr1, &srr1, &cks1); in sci_set_termios() 2470 srr = srr1; in sci_set_termios()
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | ppc-pv.rst | 159 mfsrr1 rX ld rX, magic_page->srr1 169 mtsrr1 rX std rX, magic_page->srr1
|