]> 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)
commite75bf1fe2765e71d7788ba06391e9f933027a5c4
treec7b26f9d847d0683f5f78b39a147e7e5fd954e0f
parente1cf104315cd13731444af22a3165f976c04ec44
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