On Mon, Jan 23, 2017 at 02:39:14PM +0000, Andrew Cooper wrote:
> Leaves 8000000b-18 are reserved.  Leaf 80000019 is 1G TLB information and leaf
> 0x8000001a is performance hints.  These leaves have previously been hidden
> from guests, but are perfectly safe to expose.
> 
> Update libxc to also expose these leaves.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
> ---
> CC: Jan Beulich <jbeul...@suse.com>
> CC: Ian Jackson <ian.jack...@eu.citrix.com>
> CC: Wei Liu <wei.l...@citrix.com>
> 
> v2:
>  * New
> ---
>  tools/libxc/xc_cpuid_x86.c | 2 ++
>  xen/arch/x86/cpuid.c       | 8 +++++---
>  2 files changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
> index 918590f..73a2ded 100644
> --- a/tools/libxc/xc_cpuid_x86.c
> +++ b/tools/libxc/xc_cpuid_x86.c
> @@ -479,6 +479,8 @@ static void xc_cpuid_hvm_policy(xc_interface *xch,
>      case 0x80000005: /* AMD L1 cache/TLB info (dumped by Intel policy) */
>      case 0x80000006: /* AMD L2/3 cache/TLB info ; Intel L2 cache features */
>      case 0x8000000a: /* AMD SVM feature bits */
> +    case 0x80000019: /* AMD 1G TLB */
> +    case 0x8000001a: /* AMD perf hints */

Acked-by: Wei Liu <wei.l...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to