Searched refs:ptcr (Results 1 – 6 of 6) sorted by relevance
10 extern void powernv_set_nmmu_ptcr(unsigned long ptcr);16 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { } in powernv_set_nmmu_ptcr() argument
237 int64_t opal_nmmu_set_ptcr(uint64_t chip_id, uint64_t ptcr);
297 unsigned long ptcr; in mmu_partition_table_init() local305 ptcr = __pa(partition_tb) | (PATB_SIZE_SHIFT - 12); in mmu_partition_table_init()306 set_ptcr_when_no_uv(ptcr); in mmu_partition_table_init()307 powernv_set_nmmu_ptcr(ptcr); in mmu_partition_table_init()
434 unsigned long ptcr; in kvmhv_nested_init() local454 ptcr = __pa(pseries_partition_tb) | (ptb_order - 12); in kvmhv_nested_init()455 rc = plpar_hcall_norets(H_SET_PARTITION_TABLE, ptcr); in kvmhv_nested_init()533 unsigned long ptcr = kvmppc_get_gpr(vcpu, 4); in kvmhv_set_partition_table() local539 if ((ptcr & PRTS_MASK) + 12 - 4 > KVM_MAX_NESTED_GUESTS_SHIFT || in kvmhv_set_partition_table()540 !kvm_is_visible_gfn(vcpu->kvm, (ptcr & PRTB_MASK) >> PAGE_SHIFT)) in kvmhv_set_partition_table()544 kvm->arch.l1_ptcr = ptcr; in kvmhv_set_partition_table()
581 u64 ptcr; member678 sprs.ptcr = mfspr(SPRN_PTCR); in power9_idle_stop()759 mtspr(SPRN_PTCR, sprs.ptcr); in power9_idle_stop()
1224 void powernv_set_nmmu_ptcr(unsigned long ptcr) in powernv_set_nmmu_ptcr() argument1229 rc = opal_nmmu_set_ptcr(-1UL, ptcr); in powernv_set_nmmu_ptcr()