Home
last modified time | relevance | path

Searched refs:psscr (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/platforms/powernv/
Didle.c605 static unsigned long power9_idle_stop(unsigned long psscr, bool mmu_on) in power9_idle_stop() argument
617 if (!(psscr & (PSSCR_EC|PSSCR_ESL))) { in power9_idle_stop()
626 srr1 = isa300_idle_stop_noloss(psscr); /* go idle */ in power9_idle_stop()
642 local_paca->requested_psscr = psscr; in power9_idle_stop()
660 if ((psscr & PSSCR_RL_MASK) >= pnv_first_spr_loss_level) { in power9_idle_stop()
691 srr1 = isa300_idle_stop_mayloss(psscr); /* go idle */ in power9_idle_stop()
697 psscr = mfspr(SPRN_PSSCR); in power9_idle_stop()
743 pls = (psscr & PSSCR_PLS) >> PSSCR_PLS_SHIFT; in power9_idle_stop()
809 static unsigned long power9_offline_stop(unsigned long psscr) in power9_offline_stop() argument
815 srr1 = power9_idle_stop(psscr, true); in power9_offline_stop()
[all …]
/arch/powerpc/include/asm/
Dkvm_host.h597 ulong psscr; member
/arch/powerpc/kvm/
Dbook3s_hv.c1727 *val = get_reg_val(id, vcpu->arch.psscr); in kvmppc_get_one_reg_hv()
1944 vcpu->arch.psscr = set_reg_val(id, *val) & PSSCR_GUEST_VIS; in kvmppc_set_one_reg_hv()
3433 mtspr(SPRN_PSSCR, vcpu->arch.psscr | PSSCR_EC | in kvmhv_load_hv_regs_and_go()
3467 vcpu->arch.psscr = mfspr(SPRN_PSSCR) & PSSCR_GUEST_VIS; in kvmhv_load_hv_regs_and_go()
3598 mtspr(SPRN_PSSCR_PR, vcpu->arch.psscr); in kvmhv_p9_guest_entry()
3617 vcpu->arch.psscr = mfspr(SPRN_PSSCR_PR); in kvmhv_p9_guest_entry()
/arch/powerpc/kernel/
Dasm-offsets.c569 OFFSET(VCPU_PSSCR, kvm_vcpu, arch.psscr); in main()