x86/Centaur: Initialize supported CPU features properly
authorDavid Wang <davidwang@zhaoxin.com>
Fri, 20 Apr 2018 08:29:28 +0000 (16:29 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 20 Apr 2018 10:08:17 +0000 (12:08 +0200)
commit60882cc159e1416fb1d17210de60d4a3ba04e613
tree876516114de4667c04d29447ed39de8ce3200be8
parent87ef12027b9b1dd0e0b12cf311fbcb19f9d92539
x86/Centaur: Initialize supported CPU features properly

Centaur CPUs have some Intel compatible capabilities,including Permformance
Monitoring Counters and CPU virtualization capabilities. Initialize them in
the Centaur specific init code.

Signed-off-by: David Wang <davidwang@zhaoxin.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: lukelin@viacpu.com
Cc: qiyuanwang@zhaoxin.com
Cc: gregkh@linuxfoundation.org
Cc: brucechang@via-alliance.com
Cc: timguo@zhaoxin.com
Cc: cooperyan@zhaoxin.com
Cc: hpa@zytor.com
Cc: benjaminpan@viatech.com
Link: https://lkml.kernel.org/r/1524212968-28998-1-git-send-email-davidwang@zhaoxin.com
arch/x86/kernel/cpu/centaur.c