All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU
@ 2018-02-24  2:30 ` Babu Moger
  0 siblings, 0 replies; 36+ messages in thread
From: Babu Moger @ 2018-02-24  2:30 UTC (permalink / raw)
  To: pbonzini, rth, ehabkost
  Cc: pixo, kvm, mtosatti, Gary.Hook, qemu-devel, babu.moger

These series enable TOPOEXT feature on AMD CPU. These are required to support
hyperthreading on kvm guests. Addresses the issues reported by these bugs
https://bugzilla.redhat.com/show_bug.cgi?id=1481253
https://bugs.launchpad.net/qemu/+bug/1703506 

v2:
Fixed few more minor issues per Gary Hooks comments. Thank you Gary.
Removed the patch#1. We need to handle the instruction cache associativity 
seperately. It varies based on the cpu family. I will comeback to that later.
Added two more typo corrections in patch#1 and patch#5.

v1:
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 a minor typo found while reviwing
  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

 linux-headers/asm-x86/kvm.h |   2 +-
 target/i386/cpu.c           | 104 ++++++++++++++++++++++++++++++++++++++++----
 target/i386/kvm.c           |  31 +++++++++++--
 3 files changed, 124 insertions(+), 13 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2018-03-02 16:51 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-24  2:30 [PATCH v2 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU Babu Moger
2018-02-24  2:30 ` [Qemu-devel] " Babu Moger
2018-02-24  2:30 ` [PATCH v2 1/5] target/i386: Fix a minor typo found while reviwing Babu Moger
2018-02-24  2:30   ` [Qemu-devel] " Babu Moger
2018-02-28 17:38   ` Radim Krčmář
2018-02-28 17:38     ` [Qemu-devel] " Radim Krčmář
2018-02-28 18:49     ` Eric Blake
2018-02-28 18:49       ` [Qemu-devel] " Eric Blake
2018-02-28 21:20       ` Moger, Babu
2018-02-28 21:20         ` [Qemu-devel] " Moger, Babu
2018-02-28 21:12     ` Moger, Babu
2018-02-28 21:12       ` [Qemu-devel] " Moger, Babu
2018-02-24  2:30 ` [PATCH v2 2/5] target/i386: Populate AMD Processor Cache Information Babu Moger
2018-02-24  2:30   ` [Qemu-devel] " Babu Moger
2018-02-28 18:08   ` Radim Krčmář
2018-02-28 18:08     ` [Qemu-devel] " Radim Krčmář
2018-03-01 15:55     ` Moger, Babu
2018-03-01 15:55       ` [Qemu-devel] " Moger, Babu
2018-03-01 19:56       ` Radim Krčmář
2018-03-01 19:56         ` [Qemu-devel] " Radim Krčmář
2018-03-02 16:50         ` Moger, Babu
2018-03-02 16:50           ` [Qemu-devel] " Moger, Babu
2018-02-24  2:30 ` [PATCH v2 3/5] target/i386: Add support for CPUID_8000_001E for AMD Babu Moger
2018-02-24  2:30   ` [Qemu-devel] " Babu Moger
2018-02-28 18:24   ` Radim Krčmář
2018-02-28 18:24     ` [Qemu-devel] " Radim Krčmář
2018-02-28 22:18     ` Moger, Babu
2018-02-28 22:18       ` [Qemu-devel] " Moger, Babu
2018-03-01 19:57       ` Radim Krčmář
2018-03-01 19:57         ` [Qemu-devel] " Radim Krčmář
2018-03-02 16:50         ` Moger, Babu
2018-03-02 16:50           ` [Qemu-devel] " Moger, Babu
2018-02-24  2:30 ` [PATCH v2 4/5] target/i386: Enable TOPOEXT feature on AMD EPYC CPU Babu Moger
2018-02-24  2:30   ` [Qemu-devel] " Babu Moger
2018-02-24  2:30 ` [PATCH v2 5/5] target/i386: Remove generic SMT thread check Babu Moger
2018-02-24  2:30   ` [Qemu-devel] " Babu Moger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.