x86/cpuid: Effectively remove domain_cpuid()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 4 Jan 2017 12:46:09 +0000 (12:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Jan 2017 13:16:57 +0000 (13:16 +0000)
commitd1bc8380e508a0dc4d5d30de05e4e7c082e39893
treed42cc5f0339a3a2b78ece14bf8cbc1a64c0c4880
parent9db5d75c91dba258a6e834b730d6e13263dcc271
x86/cpuid: Effectively remove domain_cpuid()

The only callers of domain_cpuid() are the legacy cpuid path via
{pv,hvm}_cpuid().  Move domain_cpuid() to being private in cpuid.c, with an
adjusted API to use struct cpuid_leaf rather than individual pointers.

The ITSC clobbering logic is dropped.  It is no longer necessary now that the
logic has moved into recalculate_cpuid_policy()

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/arch/x86/domain.c
xen/include/asm-x86/domain.h