Home
last modified time | relevance | path

Searched refs:get_lppaca (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Didle.h27 wait_cycles = be64_to_cpu(get_lppaca()->wait_state_cycles); in update_idle_purr_accounting()
29 get_lppaca()->wait_state_cycles = cpu_to_be64(wait_cycles); in update_idle_purr_accounting()
49 get_lppaca()->idle = 1; in pseries_idle_prolog()
56 get_lppaca()->idle = 0; in pseries_idle_epilog()
68 if (unlikely(get_lppaca()->idle == 1)) { in read_this_idle_purr()
73 return be64_to_cpu(get_lppaca()->wait_state_cycles); in read_this_idle_purr()
84 if (get_lppaca()->idle == 1) { in read_this_idle_spurr()
Dpmc.h28 get_lppaca()->pmcregs_in_use = inuse; in ppc_set_pmu_inuse()
Dplpar_wrappers.h21 return get_lppaca()->cede_latency_hint; in get_cede_latency_hint()
26 get_lppaca()->cede_latency_hint = latency_hint; in set_cede_latency_hint()
Dpaca.h49 #define get_lppaca() (get_paca()->lppaca_ptr) macro
/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle-pseries.c224 get_lppaca()->donate_dedicated_cpu = 1; in dedicated_cede_loop()
225 old_latency_hint = get_lppaca()->cede_latency_hint; in dedicated_cede_loop()
226 get_lppaca()->cede_latency_hint = cede_latency_hint[index]; in dedicated_cede_loop()
232 get_lppaca()->donate_dedicated_cpu = 0; in dedicated_cede_loop()
233 get_lppaca()->cede_latency_hint = old_latency_hint; in dedicated_cede_loop()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dkexec.c33 if (get_lppaca()->dtl_enable_mask) { in pseries_kexec_cpu_down()
Dlparcfg.c208 if (lppaca_shared_proc(get_lppaca())) { in parse_ppp_data()
532 lppaca_shared_proc(get_lppaca())); in pseries_lparcfg_data()
Dsetup.c803 if (lppaca_shared_proc(get_lppaca())) { in pSeries_setup_arch()
Dlpar.c645 if (!lppaca_shared_proc(get_lppaca())) { in vcpudispatch_stats_procfs_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dfault.c294 page_ins = be32_to_cpu(get_lppaca()->page_ins); in cmo_account_page_fault()
296 get_lppaca()->page_ins = cpu_to_be32(page_ins); in cmo_account_page_fault()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtime.c257 if (get_paca()->dtl_ridx != be64_to_cpu(get_lppaca()->dtl_idx)) in calculate_stolen_time()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c3642 get_lppaca()->pmcregs_in_use = lp->pmcregs_in_use; in kvmhv_p9_guest_entry()
3644 get_lppaca()->pmcregs_in_use = 1; in kvmhv_p9_guest_entry()
3789 get_lppaca()->pmcregs_in_use = ppc_get_pmu_inuse(); in kvmhv_p9_guest_entry()