]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/CPU/AMD: Do not check CPUID max ext level before parsing SMP info
authorBorislav Petkov <bp@suse.de>
Fri, 15 Jun 2018 18:48:39 +0000 (20:48 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)
commit4e7adbfd2f4226a9375b0bbc0c3737fde101817e
tree35fd5bd7710a23a8cc15564eb8cd215b473324ae
parent39b25ee1066befcdd5683c4fa0491b6e142b94cb
x86/CPU/AMD: Do not check CPUID max ext level before parsing SMP info

Old code used to check whether CPUID ext max level is >= 0x80000008 because
that last leaf contains the number of cores of the physical CPU.  The three
functions called there now do not depend on that leaf anymore so the check
can go.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
CVE-2018-3620
CVE-2018-3646

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kernel/cpu/amd.c