[Qemu-devel] [PATCH 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU

Babu Moger posted 5 patches 6 years, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
target/i386/cpu.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++-----
target/i386/kvm.c |  29 +++++++++++++--
2 files changed, 122 insertions(+), 11 deletions(-)
[Qemu-devel] [PATCH 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU
Posted by Babu Moger 6 years, 2 months ago
These series enable TOPOEXT feature on AMD CPU. These are required to support
hyperthreading on kvm guests. 

Stanislav Lanci posted few patches earlier. 
https://patchwork.kernel.org/patch/10040903/

Rebased his patches with few changes.
1. Spit the patches into two, separating cpuid functions 
   0x8000001D and 0x8000001E (Patch 2 and 3).
2. Removed the generic non-intel check and made a separate patch
   with some changes(Patch 5).
3. Fixed L3_N_SETS_AMD(from 4096 to 8192) based on CPUID_Fn8000001D_ECX_x03.

Added 2 more patches.
Patch 1. Fixes cache associativity.
Patch 4. Adds TOPOEXT feature on AMD EPYC CPU.

Babu Moger (3):
  target/i386: Fix instruction cache associativity for AMD
  target/i386: Enable TOPOEXT feature on AMD EPYC CPU
  target/i386: Remove generic SMT thread check

Stanislav Lanci (2):
  target/i386: Populate AMD Processor Cache Information
  target/i386: Add support for CPUID_8000_001E for AMD

 target/i386/cpu.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 target/i386/kvm.c |  29 +++++++++++++--
 2 files changed, 122 insertions(+), 11 deletions(-)

-- 
2.16.0


Re: [Qemu-devel] [PATCH 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU
Posted by Moger, Babu 6 years, 2 months ago
Ping..
Looks like these patches got lost in the mix. Any comments on these patches?
Thanks
Babu

> -----Original Message-----
> From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org]
> On Behalf Of Babu Moger
> Sent: Friday, January 26, 2018 3:40 PM
> To: pbonzini@redhat.com; rth@twiddle.net; ehabkost@redhat.com;
> pixo@polepetko.eu
> Cc: mtosatti@redhat.com; Moger, Babu <Babu.Moger@amd.com>; qemu-
> devel@nongnu.org; kvm@vger.kernel.org
> Subject: [PATCH 0/5] Enable TOPOEXT to support hyperthreading on AMD
> CPU
> 
> These series enable TOPOEXT feature on AMD CPU. These are required to
> support
> hyperthreading on kvm guests.
> 
> Stanislav Lanci posted few patches earlier.
> https://patchwork.kernel.org/patch/10040903/
> 
> Rebased his patches with few changes.
> 1. Spit the patches into two, separating cpuid functions
>    0x8000001D and 0x8000001E (Patch 2 and 3).
> 2. Removed the generic non-intel check and made a separate patch
>    with some changes(Patch 5).
> 3. Fixed L3_N_SETS_AMD(from 4096 to 8192) based on
> CPUID_Fn8000001D_ECX_x03.
> 
> Added 2 more patches.
> Patch 1. Fixes cache associativity.
> Patch 4. Adds TOPOEXT feature on AMD EPYC CPU.
> 
> Babu Moger (3):
>   target/i386: Fix instruction cache associativity for AMD
>   target/i386: Enable TOPOEXT feature on AMD EPYC CPU
>   target/i386: Remove generic SMT thread check
> 
> Stanislav Lanci (2):
>   target/i386: Populate AMD Processor Cache Information
>   target/i386: Add support for CPUID_8000_001E for AMD
> 
>  target/i386/cpu.c | 104
> +++++++++++++++++++++++++++++++++++++++++++++++++-----
>  target/i386/kvm.c |  29 +++++++++++++--
>  2 files changed, 122 insertions(+), 11 deletions(-)
> 
> --
> 2.16.0