summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/probe_32.c
diff options
context:
space:
mode:
authorPu Wen <puwen@hygon.cn>2018-09-23 17:35:28 +0800
committerBorislav Petkov <bp@suse.de>2018-09-27 18:28:58 +0200
commitda33dfef404174b0b452f4d2a9a9e00801794f3a (patch)
tree385e1b5f921f097153551ca54afd1db113e36cbf /arch/x86/kernel/apic/probe_32.c
parentc6babb5806b77c6ca7078c3487bb0a29704a4e38 (diff)
downloadlinux-da33dfef404174b0b452f4d2a9a9e00801794f3a.tar.gz
linux-da33dfef404174b0b452f4d2a9a9e00801794f3a.tar.bz2
linux-da33dfef404174b0b452f4d2a9a9e00801794f3a.zip
x86/apic: Add Hygon Dhyana support
Add Hygon Dhyana support to the APIC subsystem. When running in 32 bit mode, bigsmp should be enabled if there are more than 8 cores online. Signed-off-by: Pu Wen <puwen@hygon.cn> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Cc: tglx@linutronix.de Cc: mingo@redhat.com Cc: hpa@zytor.com Cc: x86@kernel.org Cc: thomas.lendacky@amd.com Link: https://lkml.kernel.org/r/7a557265a8c7c9e842fe60f9d8e064458801aef3.1537533369.git.puwen@hygon.cn
Diffstat (limited to 'arch/x86/kernel/apic/probe_32.c')
-rw-r--r--arch/x86/kernel/apic/probe_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c
index 02e8acb134f8..47ff2976c292 100644
--- a/arch/x86/kernel/apic/probe_32.c
+++ b/arch/x86/kernel/apic/probe_32.c
@@ -185,6 +185,7 @@ void __init default_setup_apic_routing(void)
break;
}
/* If P4 and above fall through */
+ case X86_VENDOR_HYGON:
case X86_VENDOR_AMD:
def_to_bigsmp = 1;
}