aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse
Commit message (Collapse)AuthorAgeFilesLines
...
* linux: Clean up mm_pin/unpin.kfraser@localhost.localdomain2007-03-052-28/+33
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: Some save/restore simplifications and cleanups.Keir Fraser2007-03-022-20/+20
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix -xen build.kfraser@localhost.localdomain2007-03-021-3/+3
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: xenbus dev write function resets packet data on *all* error conditions.kfraser@localhost.localdomain2007-03-021-4/+8
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: Fix xenbus device write function.kfraser@localhost.localdomain2007-03-021-12/+20
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* tpm: Code style cleanups.kfraser@localhost.localdomain2007-03-021-86/+72
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [Linux] [TPM driver] Resume frontend after checkpointingkfraser@localhost.localdomain2007-03-021-12/+16
| | | | | | | | | | | 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>
* linux: Use old-mode of save/restore for uniproc guests (it's faster).kfraser@localhost.localdomain2007-03-021-0/+4
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: allow use of split page table lockskfraser@localhost.localdomain2007-03-023-163/+9
| | | | | | | | 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>
* linux/x86: avoid a re-definition warning on x86-64 and change i386kfraser@localhost.localdomain2007-03-023-11/+8
| | | | | | similarly to be consistent. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* linux: Support new 'fast suspend' mode which does not require us tokfraser@localhost.localdomain2007-03-024-74/+128
| | | | | hotplug all auxiliary CPUs. Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.kfraser@localhost.localdomain2007-03-011-3/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: More save/restore fixes. Fix deadlock of cpu_hotplug_lock vskfraser@localhost.localdomain2007-02-284-45/+31
| | | | | | | | | | | | | | 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>
* linux: Disable idle-loop alternatives.kfraser@localhost.localdomain2007-02-282-9/+4
| | | | | | | ACPI and APM idle functions in particular are not suitable choices when running on Xen. Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: Split suspend_mutex into watch_mutex and transaction_mutex.kfraser@localhost.localdomain2007-02-281-15/+27
| | | | | | This clarifies their usage and relationship with request_mutex and response_mutex. Signed-off-by: Keir Fraser <keir@xensource.com>
* More PV save/restore fixes.kfraser@localhost.localdomain2007-02-283-16/+47
| | | | | | | | | | Related changesets: 14148:b67c253d1cdb4f502dec2 13519:b4a8000e76db6b4b27341 These three changesets must be applied as a set! Signed-off-by: Keir Fraser <keir@xensource.com>
* Add suspend_cancel flag to linux elf notes.kfraser@localhost.localdomain2007-02-282-0/+2
| | | | Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* linux: Don't allow partial message raeds from xenstore acrosskfraser@localhost.localdomain2007-02-273-24/+29
| | | | | | save/restore. This patch is an essential companion to 13519:b4a8000e76db6b4b27341. Signed-off-by: Keir Fraser <keir@xensource.com>
* linux: Fix backward compatibility in page table handlingkfraser@localhost.localdomain2007-02-261-0/+4
| | | | | | | 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>
* Remove duplicate #includes from Linux sparese-tree file.kfraser@localhost.localdomain2007-02-261-3/+0
| | | | | From: Chuck Short <zulcss@gmail.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]Keir Fraser2007-02-241-0/+1
| | | | | | 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>
* [LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.Ian Campbell2007-02-2349-59/+2
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [PV-on-HVM] Fix gnttab_map to not run off the bottom of the gnttab space.Ian Campbell2007-02-231-5/+6
| | | | | | Cleanup a few warnings: reached end of void function and unused variables. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* linux, tpm: Fix argument to grant table operationkfraser@localhost.localdomain2007-02-231-1/+1
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* linux: Fix current_vcpu_info for UP casekfraser@localhost.localdomain2007-02-231-0/+4
| | | | | | | 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>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-02-226-26/+109
|\
| * [BLKTAP] fix sysfs cleanup on error caseJake Wires2007-02-211-2/+9
| | | | | | | | Signed-off-by: Jake Wires <jwires@xensource.com>
| * linux: Use hard tabs and Linux coding style.kfraser@localhost.localdomain2007-02-213-10/+8
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [BLKBACK/BLKTAP] add sysfs throughput profiling to blk{back/tap}Jake Wires2007-02-216-26/+104
| |
* | [IA64] Update xencommize_mini_grant_table_op for GNTTABOP_query_sizeawilliam@xenbuild2.aw2007-02-201-0/+3
| | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | merge with xen-unstable.hgawilliam@xenbuild2.aw2007-02-2045-1628/+472
|\|
| * linux: Fix swiotlb bug-out due to uninitialised end_pfn/max_mapnr.kfraser@localhost.localdomain2007-02-202-2/+2
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * linux/x86: Advertise which page table entries contain MFNs and hencekfraser@localhost.localdomain2007-02-204-1/+10
| | | | | | | | | | | | need to be (un)canonicalized during save/restore. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux/x86: Clean up page table handling headerskfraser@localhost.localdomain2007-02-203-30/+19
| | | | | | | | | | | | | | | | - remove dead code - fix line breaking and space vs. tab usage - remove redundant parentheses Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux/x86: Adjust and fix page table handling.kfraser@localhost.localdomain2007-02-208-71/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * linux: Fix 32-bit build after changeset ↵kfraser@localhost.localdomain2007-02-191-0/+7
| | | | | | | | | | | | 13993:168030c8e0a93d8401cf5e783e10ecdf0938abda Signed-off-by: Keir Fraser <keir@xensource.com>
| * linux: Introduce {current_,}vcpu_info.kfraser@localhost.localdomain2007-02-196-50/+24
| | | | | | | | | | | | | | | | | | 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>
| * linux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.Keir Fraser2007-02-173-2/+4
| | | | | | | | | | | | 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>
| * linux/x86_64: miscellaneous initialization code cleanupkfraser@localhost.localdomain2007-02-162-19/+3
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()kfraser@localhost.localdomain2007-02-168-98/+31
| | | | | | | | | | in alloc_vm_area(). Signed-off-by: Keir Fraser <keir@xensource.com>
| * Bring TPM driver files to 2.6.18 level. Remove the tpm.c so that thekfraser@localhost.localdomain2007-02-154-1250/+1
| | | | | | | | | | | | | | 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>
| * linux: miscellaneous changes after upgrade through 2.6.17.kfraser@localhost.localdomain2007-02-157-18/+12
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux: e820 handling adjustmentskfraser@localhost.localdomain2007-02-153-16/+35
| | | | | | | | | | In certain places, machine_e820 should be used rather than e820. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux: user user_mode_vm() in place of user_mode() where necessary.kfraser@localhost.localdomain2007-02-151-2/+2
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux: avoid need to modify include/linux/pfn.hkfraser@localhost.localdomain2007-02-152-10/+1
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * linux: early_printk adjustmentskfraser@localhost.localdomain2007-02-151-7/+4
| | | | | | | | | | | | | | 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>
| * linux: proper mutex use in balloon driverkfraser@localhost.localdomain2007-02-151-3/+3
| | | | | | | | | | Mutexes are supposed to not use the old semaphore technique anymore. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * Dynamic grant-table sizing.kfraser@localhost.localdomain2007-02-152-58/+196
| | | | | | | | | | | | 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>
* | [IA64] Paravirtualize mmap handlers of /proc/bus/pciawilliam@xenbuild2.aw2007-02-181-0/+16
| | | | | | | | Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
* | [IA64] Import arch/ia64/pci/pci.c into sparse treeawilliam@xenbuild2.aw2007-02-181-0/+820
| | | | | | | | | | | | Necessary for paravirtualizing mmap handler for /proc/bus/pci Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>