diff options
author | Babu Moger <babu.moger@amd.com> | 2020-04-17 16:55:13 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-10 12:09:42 -0400 |
commit | cac9edfc4dad2a7d2ad7e23e0de4edc41801e346 (patch) | |
tree | b51f9f2ec42d2994c2797de3f7fdf24d95bbb732 /stubs/machine-init-done.c | |
parent | 4dd8a7064b8a6527f99a62be11a5124e65cae270 (diff) | |
download | qemu-cac9edfc4dad2a7d2ad7e23e0de4edc41801e346.zip qemu-cac9edfc4dad2a7d2ad7e23e0de4edc41801e346.tar.gz qemu-cac9edfc4dad2a7d2ad7e23e0de4edc41801e346.tar.bz2 |
target/i386: Fix the CPUID leaf CPUID_Fn80000008
CPUID leaf CPUID_Fn80000008_ECX provides information about the
number of threads supported by the processor. It was found that
the field ApicIdSize(bits 15-12) was not set correctly.
ApicIdSize is defined as the number of bits required to represent
all the ApicId values within a package.
Valid Values: Value Description
3h-0h Reserved.
4h up to 16 threads.
5h up to 32 threads.
6h up to 64 threads.
7h up to 128 threads.
Fh-8h Reserved.
Fix the bit appropriately.
This came up during following thread.
https://lore.kernel.org/qemu-devel/158643709116.17430.15995069125716778943.malonedeb@wampee.canonical.com/#t
Refer the Processor Programming Reference (PPR) for AMD Family 17h
Model 01h, Revision B1 Processors. The documentation is available
from the bugzilla Link below.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206537
Reported-by: Philipp Eppelt <1871842@bugs.launchpad.net>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <20200417215345.64800.73351.stgit@localhost.localdomain>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'stubs/machine-init-done.c')
0 files changed, 0 insertions, 0 deletions