]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Enable TOPOEXT feature on AMD EPYC CPU
authorBabu Moger <babu.moger@amd.com>
Tue, 19 Jun 2018 21:31:58 +0000 (17:31 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 22 Jun 2018 18:01:15 +0000 (15:01 -0300)
commite00516475c270dcb6705753da96063f95699abf2
treed674b3b0aad2125e87e8b4ee6193ac6efcdd726e
parent631be32155dbafa1fe886f2488127956c9120ba6
i386: Enable TOPOEXT feature on AMD EPYC CPU

Enable TOPOEXT feature on EPYC CPU. This is required to support
hyperthreading on VM guests. Also extend xlevel to 0x8000001E.

Disable topoext on PC_COMPAT_2_12 and keep xlevel 0x8000000a.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <1529443919-67509-3-git-send-email-babu.moger@amd.com>
[ehabkost: Added EPYC-IBPB.xlevel to PC_COMPAT_2_12]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/hw/i386/pc.h
target/i386/cpu.c