From: Babu Moger Subject: [PATCH 0/5] Enable TOPOEXT to support hyperthreading on AMD CPU Date: Fri, 26 Jan 2018 16:39:39 -0500 Message-ID: <20180126213944.7594-1-babu.moger@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: mtosatti@redhat.com, babu.moger@amd.com, qemu-devel@nongnu.org, kvm@vger.kernel.org To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com, pixo@polepetko.eu Return-path: Received: from mail-by2nam01on0070.outbound.protection.outlook.com ([104.47.34.70]:19812 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751940AbeAZVj7 (ORCPT ); Fri, 26 Jan 2018 16:39:59 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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