]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: use capabilities instead of fake cpuid values for acpi
authorJuergen Gross <jgross@suse.com>
Wed, 12 Apr 2017 07:27:47 +0000 (09:27 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:14:00 +0000 (11:14 +0200)
commit9f1c53849a37bf4109139d6c8cd8c23a90011709
treec7b26f9d847d0683f5f78b39a147e7e5fd954e0f
parentcfe521c764a72e6ef05d60e973938b1678bbeecc
x86/xen: use capabilities instead of fake cpuid values for acpi

When running as pv domain xen_cpuid() is being used instead of
native_cpuid(). In xen_cpuid() the acpi feature is indicated as not
being present by special casing the related cpuid leaf in case we
are not the initial domain.

Instead of delivering fake cpuid values clear the cpu capability bit
for acpi 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