summary refs log tree commit diff stats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorBabu Moger <babu.moger@amd.com>2018-06-19 17:31:57 -0400
committerEduardo Habkost <ehabkost@redhat.com>2018-06-22 15:01:15 -0300
commit631be32155dbafa1fe886f2488127956c9120ba6 (patch)
treec7c91692d2d58d587bd4efe881eec82d47d6fd0d /include/hw/compat.h
parentf98bbd8304112187cafc3e636c31b2a3865d2717 (diff)
downloadfocaccia-qemu-631be32155dbafa1fe886f2488127956c9120ba6.tar.gz
focaccia-qemu-631be32155dbafa1fe886f2488127956c9120ba6.zip
i386: Fix up the Node id for CPUID_8000_001E
This is part of topoext support. To keep the compatibility, it is better
we support all the combination of nr_cores and nr_threads currently
supported. By allowing more nr_cores and nr_threads, we might end up with
more nodes than we can actually support with the real hardware. We need to
fix up the node id to make this work. We can achieve this by shifting the
socket_id bits left to address more nodes.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <1529443919-67509-2-git-send-email-babu.moger@amd.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/compat.h')
0 files changed, 0 insertions, 0 deletions