[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 03/14] KVM: MIPS: Increase KVM_MAX_VCPUS and KVM_USER_MEM_
From: |
Aleksandar Markovic |
Subject: |
Re: [PATCH V3 03/14] KVM: MIPS: Increase KVM_MAX_VCPUS and KVM_USER_MEM_SLOTS to 16 |
Date: |
Fri, 8 May 2020 12:16:54 +0200 |
нед, 3. мај 2020. у 12:08 Huacai Chen <address@hidden> је написао/ла:
>
> Loongson-3 based machines can have as many as 16 CPUs, and so does
> memory slots, so increase KVM_MAX_VCPUS and KVM_USER_MEM_SLOTS to 16.
>
> Signed-off-by: Huacai Chen <address@hidden>
> Co-developed-by: Jiaxun Yang <address@hidden>
> ---
> arch/mips/include/asm/kvm_host.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/include/asm/kvm_host.h
> b/arch/mips/include/asm/kvm_host.h
> index caa2b936..a7758c0 100644
> --- a/arch/mips/include/asm/kvm_host.h
> +++ b/arch/mips/include/asm/kvm_host.h
> @@ -78,8 +78,8 @@
> #define KVM_REG_MIPS_CP0_KSCRATCH6 MIPS_CP0_64(31, 7)
>
>
> -#define KVM_MAX_VCPUS 8
> -#define KVM_USER_MEM_SLOTS 8
> +#define KVM_MAX_VCPUS 16
> +#define KVM_USER_MEM_SLOTS 16
> /* memory slots that does not exposed to userspace */
> #define KVM_PRIVATE_MEM_SLOTS 0
>
> --
> 2.7.0
>
Reviewed-by: Aleksandar Markovic <address@hidden>
- [PATCH V3 00/14] KVM: MIPS: Add Loongson-3 support (Host Side), Huacai Chen, 2020/05/03
- [PATCH V3 01/14] KVM: MIPS: Define KVM_ENTRYHI_ASID to cpu_asid_mask(&boot_cpu_data), Huacai Chen, 2020/05/03
- [PATCH V3 02/14] KVM: MIPS: Fix VPN2_MASK definition for variable cpu_vmbits, Huacai Chen, 2020/05/03
- [PATCH V3 03/14] KVM: MIPS: Increase KVM_MAX_VCPUS and KVM_USER_MEM_SLOTS to 16, Huacai Chen, 2020/05/03
- Re: [PATCH V3 03/14] KVM: MIPS: Increase KVM_MAX_VCPUS and KVM_USER_MEM_SLOTS to 16,
Aleksandar Markovic <=
- [PATCH V3 04/14] KVM: MIPS: Add EVENTFD support which is needed by VHOST, Huacai Chen, 2020/05/03
- [PATCH V3 05/14] KVM: MIPS: Use lddir/ldpte instructions to lookup gpa_mm.pgd, Huacai Chen, 2020/05/03
- [PATCH V3 06/14] KVM: MIPS: Introduce and use cpu_guest_has_ldpte, Huacai Chen, 2020/05/03
- [PATCH V3 07/14] KVM: MIPS: Use root tlb to control guest's CCA for Loongson-3, Huacai Chen, 2020/05/03
- [PATCH V3 08/14] KVM: MIPS: Let indexed cacheops cause guest exit on Loongson-3, Huacai Chen, 2020/05/03