OSDN Git Service

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)
commitb778d6bf63e0a07ceb2258ce9bd996dbaaa11bfa
treec7b26f9d847d0683f5f78b39a147e7e5fd954e0f
parentaa1071562937d1b66b07db48e3dbafe136027f01
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