awilliam@xenbuild.aw
61337dd1ac
[IA64] MCA support - add include/asm-ia64/sal.h to sparse tree
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:17 -07:00
awilliam@xenbuild.aw
3092011efc
[IA64] MCA support - Add sal emulation
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:16 -07:00
awilliam@xenbuild.aw
1f108dbd81
[IA64] MCA support - Define MCA interrupt vector
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:15 -07:00
awilliam@xenbuild.aw
3614e3523b
[IA64] MCA support - Add binding of virq/ipi to irq
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:14 -07:00
awilliam@xenbuild.aw
cbc0fb77f3
[IA64] MCA support - Fix GET_THIS_PADDR and define log queue struct
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:12 -07:00
awilliam@xenbuild.aw
849a524a96
[IA64] MCA support - Add percpu data physical addr mca_asm.S
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:11 -07:00
awilliam@xenbuild.aw
b83c6a48ae
[IA64] MCA support - interrupt.h changes for MCA support
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:10 -07:00
awilliam@xenbuild.aw
7323460e19
[IA64] MCA support - patch for MCA handler
...
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com >
2006-10-29 09:27:09 -07:00
awilliam@xenbuild.aw
6d58273da8
[LIBXC][IA64] fix build warning
...
With warnings becoming errors, this fixes the libxc build on ia64
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-10-25 15:29:00 -06:00
awilliam@xenbuild.aw
f1c6ac2751
[IA64] NUMA support
...
Based on patch from Tristan Gingold
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-10-25 14:48:55 -06:00
awilliam@xenbuild.aw
506aac287c
merge with xen-unstable.hg
2006-10-25 12:12:01 -06:00
kfraser@localhost.localdomain
74c7bdae6e
[IA64][HVM][QEMU] Add buffer IO mechanism for IA64/VTi domain.
...
Signed-off-by:Zhang xiantao <xiantao.zhang@intel.com >
2006-10-25 15:29:36 +01:00
kfraser@localhost.localdomain
54a5a3c6b9
[IA64][HVM] Add buffer IO mechanism for Xen/VTi domain. Current
...
implementation can accelerate Windows guest's dense IO operations
at boot time.
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com >
2006-10-25 15:29:08 +01:00
kfraser@localhost.localdomain
429764f760
[LIBXC] Add -Wmissing-prototypes to CFLAGS, fix warnings resulting from that.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2006-10-25 15:25:13 +01:00
kfraser@localhost.localdomain
1213fabf9b
[XEN] Clean up NUMA stuff and disable by default ('numa=on' enables it).
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-25 15:17:40 +01:00
Ewan Mellor
9d8bfdc56a
Print the time to xend-debug.log, when starting or restarting Xend.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-10-25 15:01:51 +01:00
Ian Campbell
a0b780220a
PV-to-HVM: Add a compatibility define for the end_that_request_last
...
which changed prototype in 2.6.16.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4a154f7453
PV-on-HVM: Include compatibility kzalloc implementation for kernels
...
before 2.6.14.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
f81a7efad8
PV-to-HVM: Impletement compatibility version of
...
schedule_timeout_interruptible for kernels before 2.6.14
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
cd77de6673
PV-on-HVM: Implement and export a compatibility version of do_exit().
...
Kernels prior to 2.6.12 did not export do_exit().
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
e46b787ee3
PV-on-HVM: Implement compatibilty version of wait_for_completion_timeout
...
for kernels before 2.6.11
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
5a246a6332
PV-on-HVM: Include compatability vmalloc_to_pfn for kernels before 2.6.10
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4bfff95df7
PV-on-HVM: Kernels prior to 2.6.8 did not export strcspn to modules
...
therefore implement our own and export it.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
f3bebe5fec
PV-on-HVM: Define system_state as 1 (SYSTEM_RUNNING) on kernels prior
...
to 2.6.7. These kernels did not export the system_state variable to
modules.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
c957115a57
PV-to-HVM: Implement compatibility nonseekable_open as a nop on
...
kernels before 2.6.9
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
6b8b36040d
PV-to-HVM: Add compatibility definitions of various #defines when they
...
are not present in the kernel we are building against.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
da611bef47
PV-on-HVM: Include compatability headers for asm/pgtable-no{pmd,pud}.h
...
for kernels before 2.6.11.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
212cd2b3a0
PV-on-HVM: Add a compatibility linux/mutex.h for kernels before
...
2.6.16. This implements the new mutex type in terms of the old
semaphore type.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
3dd858632a
PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
06b12ba822
PV-on-HVM: Add infrastructure for a compatibility shim in order to
...
support PV-on-HVM drivers for older kernel releases.
The compatability code is included in the xen-platform-pci module
since this module underpins all the others.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
5631980c09
[LINUX] PV-on-HVM: The elevator_init prototype changed in 2.6.10
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
20b18801a9
[LINUX] PV-on-HVM: Implement HDIO_GETGEO ioctl on kernels before
...
2.6.16.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
0d7bcbe60d
[LINUX] PV-on-HVM: The probe, remove and shutdown methods were added
...
to struct bus_type in 2.6.16. For older kernels use the methods on the
struct device_driver.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
27e0aaa9a7
[LINUX] PV-on-HVM: Only initialize the owner field of struct
...
device_driver on kernels from 2.6.10 onward. The field was not
available until then.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
160e8134cb
[LINUX] Exclude support for /proc/xen/xsd_kva when building a
...
non-privileged guest.
This is useful for PV-on-HVM because it removes code which would
otherwise require extra code in the compatability shim.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
3ac6239a86
[LINUX] PV-on-HVM: Remove the attr parameter from device attribute
...
show methods on kernels prior to 2.6.13. The parameter was not present
before that.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
a7b5ded0d9
[LINUX] Move xenbus backend probing into a separate source file and
...
only build it when CONFIG_XEN_BACKEND is set.
This removes unused code from frontend only configurations and also
makes PV-on-HVM drivers on older kernels simpler by removing code
which would otherwise require extra code in the compatability shim.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
16d6a52754
PV-on-HVM: Include a Makefile in each subdirectory to maintain
...
compatability with kernels from before Kbuild files were introduced.
This follows best practice as described in
Documentation/kbuild/modules.txt
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-10-25 13:58:30 +01:00
Ian Campbell
4f3230eb63
[LINUX] PV-on-HVM: Directly include headers which are used in various
...
files rather than relying on them being included indirectly.
This is required because these headers are not pulled in indirectly on
older kernels.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-10-25 13:58:30 +01:00
kfraser@localhost.localdomain
dfddb95579
[XEN] Make memory hypercalls NUMA-aware.
...
This patch modifies memory ops to use the NUMA-aware page allocator
functions. We use the target domain's VCPU0 placement to determine
which node's memory to use. We expect the system administrator to
utilize the exposed NUMA topology information to help craft guest
config files that are NUMA-friendly (use only processors and memory values
that will fit within a given node).
Signed-off-by: Ryan Harper <ryanh@us.ibm.com >
2006-10-25 12:30:08 +01:00
kfraser@localhost.localdomain
f0738d2d3f
[XEN] NUMA-ify Xen heap and page allocator
...
This patch adds a per-node bucket to the heap structure in Xen.
During heap initialization the patch determines which bucket to place
the memory. We reserve guard pages between node boundaries in the case
that said boundary isn't already guarded by the MAX_ORDER boundary to
prevent the buddy allocator from merging pages between nodes.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com >
2006-10-25 12:28:46 +01:00
kfraser@localhost.localdomain
582724b0ea
[XEN] Add basic NUMA/SRAT support to Xen from Linux 2.6.16.29.
...
Signed-off-by: Ryan Harper <ryanh@us.ibm.com >
2006-10-25 12:25:54 +01:00
kfraser@localhost.localdomain
67ce9409e1
merge
2006-10-25 11:51:23 +01:00
kfraser@localhost.localdomain
fcf4e106d0
[HVM] Move ACPI timer to HV, which is the last platform timer in Qemu.
...
We found Vista polls ACPI timer very frequently (about 15 times
averagely) when handling timer (RTC @ 64HZ) interrupt routine. Though
the exact reason is known, it should be related to system time
adjustment. When it's in Qemu, the overhead is big. After moving,
Vista's idle overhead decreases dramatically from ~10% to 0.9%.=20
Another benefit is that Vista can only pass Performance rating with
this patch. The root cause is that ACPI timer in Qemu isn't
synchronous with other platform timer in HV, which results in Vista
complains "can't measure TSC frequency".
This patch changes vpit.h to vpt.h, for it not only has pit structure
in it, but other platform timer's structure. Another change is moving
ACPI timer and related address from acpi.h to ioreq.h, which can be shared
by HV and ACPI firmware.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
2006-10-25 11:50:54 +01:00
Tim Deegan
3df1dee7fb
[XEND] Be more generous with the default shadow allocation.
...
Allow enough shadow memory to avoid thrashing the shadow pages,
rather than just enough for safety.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-10-25 11:44:58 +01:00
Tim Deegan
e481cc001d
[HVM] Avoid buffer overrun in qemu-dm
...
The array offset in set_bits_in_row here comes from an otherwise un-checked
VNC client request.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-10-25 11:39:57 +01:00
kfraser@localhost.localdomain
94e4fb8a1d
[BLOCK] blkback: Fix potential grant entry leaks on error
...
As it stands grant entries for the actual data are mapped in bulk.
If one of the earlier entries fail to be mapped, it can cause all
subsequent entries to be leaked if they were successfully mapped.
This patch changes it so that we will continue to reap grant entries
even when an error is detected.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2006-10-25 10:59:00 +01:00
kfraser@localhost.localdomain
9f29e9da09
[BLKTAP] Simplify linked-list insertion/deletion.
...
This should also avoid (bogus) compiler warnings, as reported
on IA64.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-10-25 10:56:50 +01:00
kfraser@localhost.localdomain
993552511c
[XEND] Open xend-debug.log in append mode.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-25 10:27:03 +01:00
kfraser@localhost.localdomain
980684c3ce
[TOOLS][XENTOP] Update usage and manpage to include vbd options.
...
Also a couple of whitespace fixes.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com >
2006-10-25 10:25:18 +01:00