Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Didle.c697 psscr = mfspr(SPRN_PSSCR); in power9_idle_stop()
933 psscr = mfspr(SPRN_PSSCR); in power10_idle_stop()
996 srr1 = power10_idle_stop(psscr); in arch300_offline_stop()
998 srr1 = power9_idle_stop(psscr); in arch300_offline_stop()
1007 unsigned long psscr; in arch300_idle_type() local
1013 psscr = mfspr(SPRN_PSSCR); in arch300_idle_type()
1014 psscr = (psscr & ~stop_psscr_mask) | stop_psscr_val; in arch300_idle_type()
1020 srr1 = power9_idle_stop(psscr); in arch300_idle_type()
1064 unsigned long psscr; in pnv_cpu_offline() local
1066 psscr = mfspr(SPRN_PSSCR); in pnv_cpu_offline()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/opal/
A Dpower-mgt.txt73 - ibm,cpu-idle-state-psscr:
78 - ibm,cpu-idle-state-psscr-mask:
80 indicating which psscr fields are set in the corresponding
81 entries of ibm,cpu-idle-state-psscr. This property is
85 ibm,cpu-idle-state-psscr-mask value to 0xf, it implies that
87 in ibm,cpu-idle-state-psscr should be considered by the
89 remaining fields of the psscr to the following sane-default
102 ibm,cpu-idle-state-psscr-mask, the kernel expects all the
103 psscr fields of the corresponding entry in
104 ibm,cpu-idle-state-psscr to be correctly set by the firmware.
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_p9_entry.c635 mtspr(SPRN_PSSCR, vcpu->arch.psscr | PSSCR_EC | in kvmhv_vcpu_entry_p9()
638 if (vcpu->arch.psscr != host_psscr) in kvmhv_vcpu_entry_p9()
639 mtspr(SPRN_PSSCR_PR, vcpu->arch.psscr); in kvmhv_vcpu_entry_p9()
832 vcpu->arch.psscr = mfspr(SPRN_PSSCR_PR); in kvmhv_vcpu_entry_p9()
A Dbook3s_hv.c2306 *val = get_reg_val(id, vcpu->arch.psscr); in kvmppc_get_one_reg_hv()
2549 vcpu->arch.psscr = set_reg_val(id, *val) & PSSCR_GUEST_VIS; in kvmppc_set_one_reg_hv()
4048 if (vcpu->arch.psscr != host_psscr) in kvmhv_vcpu_entry_p9_nested()
4049 mtspr(SPRN_PSSCR_PR, vcpu->arch.psscr); in kvmhv_vcpu_entry_p9_nested()
4093 vcpu->arch.psscr = mfspr(SPRN_PSSCR_PR); in kvmhv_vcpu_entry_p9_nested()
4106 if (vcpu->arch.psscr != host_psscr) in kvmhv_vcpu_entry_p9_nested()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_host.h605 ulong psscr; member

Completed in 38 milliseconds