i386: Fix pkg_id offset for EPYC cpu models
commit7b225762c8c05fd31d4c2be116aedfbc00383f8b
authorBabu Moger <babu.moger@amd.com>
Wed, 11 Mar 2020 22:54:15 +0000 (11 17:54 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 31 Mar 2020 22:13:32 +0000 (31 19:13 -0300)
tree82c34907bd1c201e6b22df5b421bc9404dcfcc64
parent247b18c593ec298446645af8d5d28911daf653b1
i386: Fix pkg_id offset for EPYC cpu models

If the system is numa configured the pkg_offset needs
to be adjusted for EPYC cpu models. Fix it calling the
model specific handler.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <158396725589.58170.16424607815207074485.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
target/i386/cpu.c
target/i386/cpu.h