diff options
author | Babu Moger | 2020-09-01 17:57:32 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-09-18 19:50:31 +0200 |
commit | 31ada106d891f56f54d4234ce58c552bc2e734af (patch) | |
tree | f4250e49469f0d12633d2bed18ac467d3a1c2f91 /target/riscv/cpu.c | |
parent | i386: Simplify CPUID_8000_001d for AMD (diff) | |
download | qemu-31ada106d891f56f54d4234ce58c552bc2e734af.tar.gz qemu-31ada106d891f56f54d4234ce58c552bc2e734af.tar.xz qemu-31ada106d891f56f54d4234ce58c552bc2e734af.zip |
i386: Simplify CPUID_8000_001E for AMD
apic_id contains all the information required to build
CPUID_8000_001E. core_id and node_id is already part of
apic_id generated by x86_topo_ids_from_apicid.
Also remove the restriction on number bits on core_id and
node_id.
Remove all the hardcoded values and replace with generalized
fields.
Refer the Processor Programming Reference (PPR) documentation
available from the bugzilla Link below.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206537
Message-Id: <159897585257.30750.5815593918927986935.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/riscv/cpu.c')
0 files changed, 0 insertions, 0 deletions