diff options
author | Babu Moger <babu.moger@amd.com> | 2020-08-31 13:42:11 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-02 07:29:25 -0400 |
commit | fb49865d26d18a7a39c3de49f81874e218a64e81 (patch) | |
tree | f9d71be07398708c8e8257dc43e7e34e523a44d9 /hw/i386/pc.c | |
parent | a7c893a1c4df756fdd14413f42d2732150b3e089 (diff) | |
download | qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.zip qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.tar.gz qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.tar.bz2 |
Revert "i386: Fix pkg_id offset for EPYC cpu models"
This reverts commit 7b225762c8c05fd31d4c2be116aedfbc00383f8b.
Remove the EPYC specific apicid decoding and use the generic
default decoding.
Also fix all the references of pkg_offset.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <159889933119.21294.8112825730577505757.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r-- | hw/i386/pc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 5d8d5ef8..6b708f4 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1502,7 +1502,6 @@ static void pc_cpu_pre_plug(HotplugHandler *hotplug_dev, env->nr_dies = x86ms->smp_dies; env->nr_nodes = topo_info.nodes_per_pkg; - env->pkg_offset = x86ms->apicid_pkg_offset(&topo_info); /* * If APIC ID is not set, |