[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 18/21] hw/i386/pc: Support smp.modules for x86 PC machine
From: |
Moger, Babu |
Subject: |
Re: [PATCH v9 18/21] hw/i386/pc: Support smp.modules for x86 PC machine |
Date: |
Thu, 29 Feb 2024 09:11:17 -0600 |
User-agent: |
Mozilla Thunderbird |
On 2/29/24 01:32, Zhao Liu wrote:
> Hi Babu,
>
>>> DEF("smp", HAS_ARG, QEMU_OPTION_smp,
>>> "-smp
>>> [[cpus=]n][,maxcpus=maxcpus][,drawers=drawers][,books=books][,sockets=sockets]\n"
>
> Here the "drawers" and "books" are listed...
>
>>> - "
>>> [,dies=dies][,clusters=clusters][,cores=cores][,threads=threads]\n"
>>> + "
>>> [,dies=dies][,clusters=clusters][,modules=modules][,cores=cores]\n"
>>> + " [,threads=threads]\n"
>>> " set the number of initial CPUs to 'n' [default=1]\n"
>>> " maxcpus= maximum number of total CPUs, including\n"
>>> " offline CPUs for hotplug, etc\n"
>>> @@ -290,7 +291,8 @@ DEF("smp", HAS_ARG, QEMU_OPTION_smp,
>>> " sockets= number of sockets in one book\n"
>>> " dies= number of dies in one socket\n"
>>> " clusters= number of clusters in one die\n"
>>> - " cores= number of cores in one cluster\n"
>>> + " modules= number of modules in one cluster\n"
>>> + " cores= number of cores in one module\n"
>>> " threads= number of threads in one core\n"
>>> "Note: Different machines may have different subsets of the CPU
>>> topology\n"
>>> " parameters supported, so the actual meaning of the supported
>>> parameters\n"
>>> @@ -306,7 +308,7 @@ DEF("smp", HAS_ARG, QEMU_OPTION_smp,
>>> " must be set as 1 in the purpose of correct parsing.\n",
>>> QEMU_ARCH_ALL)
>>> SRST
>>> -``-smp
>>> [[cpus=]n][,maxcpus=maxcpus][,sockets=sockets][,dies=dies][,clusters=clusters][,cores=cores][,threads=threads]``
>>> +``-smp
>>> [[cpus=]n][,maxcpus=maxcpus][,drawers=drawers][,books=books][,sockets=sockets][,dies=dies][,clusters=clusters][,modules=modules][,cores=cores][,threads=threads]``
>>
>> You have added drawers, books here. Were they missing before?
>>
>
> ...so yes, I think those 2 parameters are missed at this place.
ok. If there is another revision then add a line about this change in the
commit message. Otherwise it is fine.
Reviewed-by: Babu Moger <babu.moger@amd.com>
>
> Thank you for reviewing this.
>
> Regards,
> Zhao
>
--
Thanks
Babu Moger
- [PATCH v9 07/21] i386/cpu: Use APIC ID info get NumSharingCache for CPUID[0x8000001D].EAX[bits 25:14], (continued)
- [PATCH v9 07/21] i386/cpu: Use APIC ID info get NumSharingCache for CPUID[0x8000001D].EAX[bits 25:14], Zhao Liu, 2024/02/27
- [PATCH v9 12/21] i386: Introduce module level cpu topology to CPUX86State, Zhao Liu, 2024/02/27
- [PATCH v9 13/21] i386: Support modules_per_die in X86CPUTopoInfo, Zhao Liu, 2024/02/27
- [PATCH v9 14/21] i386: Expose module level in CPUID[0x1F], Zhao Liu, 2024/02/27
- [PATCH v9 15/21] i386: Support module_id in X86CPUTopoIDs, Zhao Liu, 2024/02/27
- [PATCH v9 17/21] tests: Add test case of APIC ID for module level parsing, Zhao Liu, 2024/02/27
- [PATCH v9 18/21] hw/i386/pc: Support smp.modules for x86 PC machine, Zhao Liu, 2024/02/27
- [PATCH v9 16/21] i386/cpu: Introduce module-id to X86CPU, Zhao Liu, 2024/02/27
- [PATCH v9 19/21] i386: Add cache topology info in CPUCacheInfo, Zhao Liu, 2024/02/27
- [PATCH v9 20/21] i386/cpu: Use CPUCacheInfo.share_level to encode CPUID[4], Zhao Liu, 2024/02/27
- [PATCH v9 21/21] i386/cpu: Use CPUCacheInfo.share_level to encode CPUID[0x8000001D].EAX[bits 25:14], Zhao Liu, 2024/02/27
- Re: [PATCH v9 00/21] Introduce smp.modules for x86 in QEMU, Zhao Liu, 2024/02/27
- Re: [PATCH v9 00/21] Introduce smp.modules for x86 in QEMU, Moger, Babu, 2024/02/29