Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dkvm_host.h94 #define KVM_MAX_PHYID 256 macro
103 struct kvm_phyid_info phys_map[KVM_MAX_PHYID];
/linux/arch/loongarch/kvm/
H A Dvcpu.c456 if (val >= KVM_MAX_PHYID) in kvm_set_cpuid()
463 if ((cpuid < KVM_MAX_PHYID) && map->phys_map[cpuid].enabled) { in kvm_set_cpuid()
510 if (cpuid >= KVM_MAX_PHYID) in kvm_drop_cpuid()
517 kvm_write_sw_gcsr(csr, LOONGARCH_CSR_CPUID, KVM_MAX_PHYID); in kvm_drop_cpuid()
526 if (cpuid >= KVM_MAX_PHYID) in kvm_get_vcpu_by_cpuid()
1490 kvm_write_sw_gcsr(csr, LOONGARCH_CSR_CPUID, KVM_MAX_PHYID); in kvm_arch_vcpu_create()