Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-09 Thread Igor Mammedov
On Mon, 7 Aug 2023 22:31:35 +0800 Zhao Liu wrote: > Hi Igor, > > On Mon, Aug 07, 2023 at 12:11:29PM +0200, Igor Mammedov wrote: > > Date: Mon, 7 Aug 2023 12:11:29 +0200 > > From: Igor Mammedov > > Subject: Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4 >

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-07 Thread Zhao Liu
Hi Igor, On Mon, Aug 07, 2023 at 12:11:29PM +0200, Igor Mammedov wrote: > Date: Mon, 7 Aug 2023 12:11:29 +0200 > From: Igor Mammedov > Subject: Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4 > X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) > > On

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-07 Thread Igor Mammedov
On Mon, 7 Aug 2023 13:06:47 +0300 Michael Tokarev wrote: > 07.08.2023 12:56, Igor Mammedov wrote: > > On Sat, 5 Aug 2023 09:00:41 +0300 > > Michael Tokarev wrote: [...] > The whole thing - provided the preparational patch a1d027be95 > "machine: Add helpers to get cores/threads per socket" is als

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-07 Thread Michael Tokarev
07.08.2023 12:56, Igor Mammedov wrote: On Sat, 5 Aug 2023 09:00:41 +0300 Michael Tokarev wrote: 05.08.2023 08:58, Michael Tokarev wrote: 196ea60a73 hw/smbios: Fix core count in type4 7298fd7de5 hw/smbios: Fix thread count in type4 d79a284a44 hw/smbios: Fix smbios_smp_sockets caculation plu

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-07 Thread Igor Mammedov
On Sat, 5 Aug 2023 09:00:41 +0300 Michael Tokarev wrote: > 05.08.2023 08:58, Michael Tokarev wrote: > > > 196ea60a73 hw/smbios: Fix core count in type4 > > 7298fd7de5 hw/smbios: Fix thread count in type4 > > d79a284a44 hw/smbios: Fix smbios_smp_sockets caculation > > plus this one: > > a1d02

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-04 Thread Michael Tokarev
05.08.2023 08:58, Michael Tokarev wrote: 196ea60a73 hw/smbios: Fix core count in type4 7298fd7de5 hw/smbios: Fix thread count in type4 d79a284a44 hw/smbios: Fix smbios_smp_sockets caculation plus this one: a1d027be95 machine: Add helpers to get cores/threads per socket /mjt

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-08-04 Thread Michael Tokarev
01.06.2023 12:29, Zhao Liu wrote: From: Zhao Liu From SMBIOS 3.0 specification, thread count field means: Thread Count is the total number of threads detected by the BIOS for this processor socket. It is a processor-wide count, not a thread-per-core count. [1] So here we should use threads p

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-06-08 Thread Igor Mammedov
On Thu, 8 Jun 2023 10:51:05 +0800 Zhao Liu wrote: > On Wed, Jun 07, 2023 at 04:49:34PM +0200, Igor Mammedov wrote: > > Date: Wed, 7 Jun 2023 16:49:34 +0200 > > From: Igor Mammedov > > Subject: Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4 > > X-Mailer: Cl

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-06-07 Thread Zhao Liu
On Wed, Jun 07, 2023 at 04:49:34PM +0200, Igor Mammedov wrote: > Date: Wed, 7 Jun 2023 16:49:34 +0200 > From: Igor Mammedov > Subject: Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4 > X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) > > On Thu, 1

Re: [PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-06-07 Thread Igor Mammedov
On Thu, 1 Jun 2023 17:29:51 +0800 Zhao Liu wrote: > From: Zhao Liu > > From SMBIOS 3.0 specification, thread count field means: > > Thread Count is the total number of threads detected by the BIOS for > this processor socket. It is a processor-wide count, not a > thread-per-core count. [1] >

[PATCH v2 2/3] hw/smbios: Fix thread count in type4

2023-06-01 Thread Zhao Liu
From: Zhao Liu >From SMBIOS 3.0 specification, thread count field means: Thread Count is the total number of threads detected by the BIOS for this processor socket. It is a processor-wide count, not a thread-per-core count. [1] So here we should use threads per socket other than threads per cor