x86/CPU: Modify detect_extended_topology() to return result
Current implementation does not communicate whether it can successfully detect CPUID function 0xB information. Therefore, modify the function to return success or error codes. This will be used by subsequent patches. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1524865681-112110-2-git-send-email-suravee.suthikulpanit@amd.com CVE-2018-3620 CVE-2018-3646 (cherry picked from commit 4779a53c61a198a46525df708071d29d6b14c813) Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Showing
Please register or sign in to comment