diff options
author | Babu Moger | 2020-08-31 20:42:11 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-09-02 13:29:25 +0200 |
commit | fb49865d26d18a7a39c3de49f81874e218a64e81 (patch) | |
tree | f9d71be07398708c8e8257dc43e7e34e523a44d9 /hw/i386/pc.c | |
parent | tls-cipher-suites: Correct instance_size (diff) | |
download | qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.tar.gz qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.tar.xz qemu-fb49865d26d18a7a39c3de49f81874e218a64e81.zip |
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 5d8d5ef8b3..6b708f4341 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, |