]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: use capabilities instead of fake cpuid values for acc
authorJuergen Gross <jgross@suse.com>
Wed, 12 Apr 2017 07:24:01 +0000 (09:24 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:13:53 +0000 (11:13 +0200)
commitcfe521c764a72e6ef05d60e973938b1678bbeecc
treeedd2a52945b8affb77c641132d6c92c4884e5c0a
parent3a6d968d5f07aa2714603ef6f25485de5e2cacf8
x86/xen: use capabilities instead of fake cpuid values for acc

When running as pv domain xen_cpuid() is being used instead of
native_cpuid(). In xen_cpuid() the acc feature (thermal monitoring)
is indicated as not being present by special casing the related
cpuid leaf.

Instead of delivering fake cpuid values clear the cpu capability bit
for acc instead.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pv.c