Home
last modified time | relevance | path

Searched refs:ciabr (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dplpar_wrappers.h308 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr() argument
310 return plpar_set_mode(0, H_SET_MODE_RESOURCE_SET_CIABR, ciabr, 0); in plpar_set_ciabr()
389 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr() argument
Dhvcall.h548 u64 ciabr; member
Dkvm_host.h589 ulong ciabr; member
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_nested.c38 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs()
76 hr->ciabr = swab64(hr->ciabr); in byteswap_hv_regs()
144 if ((hr->ciabr & CIABR_PRIV) == CIABR_PRIV_HYPER) in sanitise_hv_regs()
145 hr->ciabr &= ~CIABR_PRIV; in sanitise_hv_regs()
157 vcpu->arch.ciabr = hr->ciabr; in restore_hv_regs()
Dbook3s_hv.c775 vcpu->arch.ciabr = value1; in kvmppc_h_set_mode()
1757 *val = get_reg_val(id, vcpu->arch.ciabr); in kvmppc_get_one_reg_hv()
1989 vcpu->arch.ciabr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
1991 if ((vcpu->arch.ciabr & CIABR_PRIV) == CIABR_PRIV_HYPER) in kvmppc_set_one_reg_hv()
1992 vcpu->arch.ciabr &= ~CIABR_PRIV; /* disable */ in kvmppc_set_one_reg_hv()
3487 mtspr(SPRN_CIABR, vcpu->arch.ciabr); in kvmhv_load_hv_regs_and_go()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c349 static void write_ciabr(unsigned long ciabr) in write_ciabr() argument
355 mtspr(SPRN_CIABR, ciabr); in write_ciabr()
358 plpar_set_ciabr(ciabr); in write_ciabr()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c553 OFFSET(VCPU_CIABR, kvm_vcpu, arch.ciabr); in main()