x86/cpu/mtrr: Add Hygon Dhyana support to get TOP_MEM2
authorPu Wen <puwen@hygon.cn>
Thu, 4 Apr 2019 13:45:56 +0000 (21:45 +0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 6 Jun 2019 14:28:20 +0000 (15:28 +0100)
commit1c07b0135a715021142c549eae6ad5c52acd9eb6
tree28c3d61945911f89ac0d2c58a326d9c9061ece9f
parent6bdbc321f2c26049e8f6f35db85bb6f7f0f1ee93
x86/cpu/mtrr: Add Hygon Dhyana support to get TOP_MEM2

The Hygon Dhyana CPU supports the MSR way to get TOP_MEM2. So add Hygon
Dhyana support to print the value of TOP_MEM2.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mtrr/generic.c