Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv.c414 unsigned long host_pcr_bit = 0, guest_pcr_bit = 0, cap = 0; in kvmppc_set_arch_compat() local
430 guest_pcr_bit = host_pcr_bit; in kvmppc_set_arch_compat()
434 guest_pcr_bit = PCR_ARCH_205; in kvmppc_set_arch_compat()
438 guest_pcr_bit = PCR_ARCH_206; in kvmppc_set_arch_compat()
441 guest_pcr_bit = PCR_ARCH_207; in kvmppc_set_arch_compat()
444 guest_pcr_bit = PCR_ARCH_300; in kvmppc_set_arch_compat()
448 guest_pcr_bit = PCR_ARCH_31; in kvmppc_set_arch_compat()
456 if (guest_pcr_bit > host_pcr_bit) in kvmppc_set_arch_compat()
465 cap = map_pcr_to_cap(guest_pcr_bit); in kvmppc_set_arch_compat()
477 vc->pcr = (host_pcr_bit - guest_pcr_bit) | PCR_MASK; in kvmppc_set_arch_compat()