Justin T. Gibbs 5fdd34ee20 Formalize the concept of virtual CPU ids by adding a per-cpu vcpu_id
field.  Perform vcpu enumeration for Xen PV and HVM environments
and convert all Xen drivers to use vcpu_id instead of a hard coded
assumption of the mapping algorithm (acpi or apic ID) in use.

Submitted by:	Roger Pau Monné
Sponsored by:	Citrix Systems R&D
Reviewed by:	gibbs
Approved by:	re (blanket Xen)

amd64/include/pcpu.h:
i386/include/pcpu.h:
	Add vcpu_id to the amd64 and i386 pcpu structures.

dev/xen/timer/timer.c
x86/xen/xen_intr.c
	Use new vcpu_id instead of assuming acpi_id == vcpu_id.

i386/xen/mp_machdep.c:
i386/xen/mptable.c
x86/xen/hvm.c:
	Perform Xen HVM and Xen full PV vcpu_id mapping.

x86/xen/hvm.c:
x86/acpica/madt.c
	Change SYSINIT ordering of acpi CPU enumeration so that it
	is guaranteed to be available at the time of Xen HVM vcpu
	id mapping.
2013-10-05 23:11:01 +00:00
..
2013-07-17 01:34:25 +00:00
2013-04-30 18:29:05 +00:00
2013-08-26 17:38:36 +00:00
2013-09-04 18:42:05 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-02-19 18:22:25 +00:00
2013-10-05 19:17:56 +00:00
2013-08-28 20:10:56 +00:00
2013-08-28 14:49:36 +00:00
2013-09-05 16:38:26 +00:00
2013-03-01 01:42:31 +00:00
2013-10-05 19:17:56 +00:00
2013-02-19 19:25:50 +00:00
2013-07-07 19:47:22 +00:00
2013-07-20 07:24:01 +00:00
2013-05-10 16:41:26 +00:00
2013-09-05 23:14:27 +00:00
2013-02-21 12:40:52 +00:00
2013-06-17 20:11:04 +00:00
2013-06-28 14:41:06 +00:00
2013-08-03 21:24:52 +00:00
2013-08-19 05:48:42 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-06-17 20:11:04 +00:00
2013-07-27 20:47:01 +00:00