| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch implements TPM frontend driver resume after checkpointing a
domain. I also now let the front-end wait for the response from the
TPM until the response is there. A response must come due to the
strict request/response nature of the protocol, but the time until the
responses arrives depends on the type of operation that is executed by
the vTPM. Resending a request is not possible with this type of device.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
|
| |
This changes netback to use struct page's mapping field instead of the
index one, and the PageForeign logic the other way around. That way,
CONFIG_SPLIT_PTLOCK_CPUS doesn't have to be suppressed anymore for x86.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| |
|
|
|
|
| |
similarly to be consistent.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| |
|
|
|
| |
hotplug all auxiliary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
workqueue_mutex. This is a new deadlock since the workqueue_mutex is
acquired in the workqueue_cpu_calbback() function across
CPU_UP_PREPARE->CPU_ONLINE.
The fix is for us not to rudely grab the cpu_hotplug_lock() during
save/restore -- it's really not necessary.
This patch is applicable to any of our 2.6 kernels, but is absolutely
required from 2.6.18 onwards.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
| |
ACPI and APM idle functions in particular are not suitable choices
when running on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
| |
This clarifies their usage and relationship with request_mutex and
response_mutex.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
|
|
|
| |
Related changesets:
14148:b67c253d1cdb4f502dec2
13519:b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
| |
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
|
| |
|
|
|
|
| |
save/restore. This patch is an essential companion to
13519:b4a8000e76db6b4b27341.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
| |
A 3.0.2 compatibility requirement slipped my attention before
submitting the original page table handling changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| |
|
|
|
| |
From: Chuck Short <zulcss@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
| |
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
|
| |
|
|
| |
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| |
|
|
|
|
| |
Cleanup a few warnings: reached end of void function and unused variables.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| |
|
|
| |
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
|
| |
|
|
|
|
|
| |
Under !CONFIG_SMP, smp.h is not always included and hence
smp_processor_id() not always visible.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Jake Wires <jwires@xensource.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | | |
|
| | |
| |
| |
| | |
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
|
| |\| |
|
| | |
| |
| |
| | |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| | |
need to be (un)canonicalized during save/restore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- remove dead code
- fix line breaking and space vs. tab usage
- remove redundant parentheses
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure that all and only those page table entries that have their
present bit set undergo p2m/m2p translation in all relevant places.
This should fix migration issues with _PAGE_PROTNONE pages which
previously could retain MFNs in PTEs while having the present bit
clear (and thus were not getting (un)canonicalized during save/
restore).
Many thanks to Keir Fraser for his analysis, suggestions, and
corrections.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| | |
13993:168030c8e0a93d8401cf5e783e10ecdf0938abda
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Also consolidate time-xen.c in giving get_time_values_from_xen() a
'cpu' parameter to match other functions (this consolidation could of
course also be done the other way around, but I think this way the
resulting code can be more efficient).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| | |
Also vmalloc_sync_all() is only defined for x86 architectures so make
use of it in driver code conditional on CONFIG_X86.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| | |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| | |
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
one from the kernel can be used and reduce changes to a minimum
required to compile the xen-specific driver.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
|
| | |
| |
| |
| | |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| | |
In certain places, machine_e820 should be used rather than e820.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| | |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| | |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This is a little more than a pure merge with 2.6.17, to remove a few
more non-Xen items.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| | |
Mutexes are supposed to not use the old semaphore technique anymore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| | |
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk>
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| | |
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
|
| | |
| |
| |
| |
| |
| | |
Necessary for paravirtualizing mmap handler for /proc/bus/pci
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
|