Commit Graph
5820 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 88490a29fe Propagate guest MSR writes to machine MSRs immediately
Right now, we have an exposure between the time the MSR is written
and used by an instruction such as syscall. If there is a context
switch and we do vmx_do_restore_msrs(), everything goes fine. But
if we don't, then we execute the syscall with the wrong MSR.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 13:59:08 +00:00
smh22@firebug.cl.cam.ac.uk a63fbe2fb4 Fix bug.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-07-20 19:45:05 +00:00
kaf24@firebug.cl.cam.ac.uk d122e5411f No need to define io_remap_pfn_range in linux/mm.h. 2005-07-20 17:44:29 +00:00
maf46@burn.cl.cam.ac.uk cca4eb996c Merged by hand. 2005-07-19 12:20:24 +00:00
maf46@burn.cl.cam.ac.uk b9f9f42b3f Shadow mode's writable-PTs should only allow guest kernels access to PTs 2005-07-19 10:40:26 +00:00
kaf24@firebug.cl.cam.ac.uk cadfa803a9 Fix wallclock timebase extraction in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-19 09:26:18 +00:00
kaf24@firebug.cl.cam.ac.uk b32508c783 Simplify and fix the error-correction factor during
local timer calibration.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-19 08:52:32 +00:00
kaf24@firebug.cl.cam.ac.uk bbb0eb3225 First cut of new time interfaces and synchronisation mechanisms.
Based on an initial patch from Don Fry at IBM.
Still TODO: 
 1. Testing
 2. NTP synchronisation
 3. Fix wallclock interface a bit
 4. Support for platform timers other than PIT (e.g., HPET, IBM Cyclone)
 5. Scale 64-bit TSC diffs instead of 32-bit, just for sanity
 6. Error-correcting scale factor is still slightly wrong
 6. More testing
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-18 20:22:11 +00:00
ach61@arcadians.cl.cam.ac.uk c5fe655bd2 pdb: read/write registers for process target 2005-07-17 14:16:21 +00:00
kaf24@firebug.cl.cam.ac.uk 25e97c409b Fix 'make uninstall' target. 2005-07-16 16:45:24 +00:00
kaf24@firebug.cl.cam.ac.uk 16edbc9998 Fix 'make mrproper' to remove pristine and ref trees. 2005-07-16 14:14:29 +00:00
kaf24@firebug.cl.cam.ac.uk 530cfcf8d3 Delete resurrected files (from ia64 merge). 2005-07-16 14:02:54 +00:00
kaf24@firebug.cl.cam.ac.uk f59936b620 Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.
2005-07-15 19:57:12 +00:00
kaf24@firebug.cl.cam.ac.uk 82c5826b4b Trivial fixes for numeric arg to head/tail. 2005-07-15 19:34:10 +00:00
djm@kirby.fc.hp.com b79bd5537a Merge with ia64-unstable.hg 2005-07-15 06:39:50 -07:00
kaf24@firebug.cl.cam.ac.uk 6d67f4dff4 Relax the bounce-buffer copying constraints in dma_sync_single_for_*
functions. This fixes certain drivers (e.g., ivtv).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-15 12:52:02 +00:00
sos22@douglas.cl.cam.ac.uk 6a368fe8aa Avoid some unnecessary TLB flushes. This will probably make no real
difference on any sensible guest operating system.

Signed-off-by: Steven Smith, sos22@cl.cam.ac.uk.
2005-07-15 09:24:29 +00:00
kaf24@firebug.cl.cam.ac.uk 6b2d3de1ce Fix exit path from DOM0_CREATEDOMAIN, which I broke earlier
today.
2005-07-15 09:09:57 +00:00
kaf24@firebug.cl.cam.ac.uk d352913aeb Enable VMX domains on a SMP dom0.
Not all vectors go through do_IRQ(). It's possible to look up the handler
in the IDT and call that one, but it'll result in two trap frames.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-15 08:50:48 +00:00
kaf24@firebug.cl.cam.ac.uk 8f7262f9a6 Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-15 08:30:22 +00:00
kaf24@firebug.cl.cam.ac.uk 0a76710a47 Temporary fix for netif ring overflow, until we move
netfront/netback to grant tables.
2005-07-15 08:22:18 +00:00
kaf24@firebug.cl.cam.ac.uk 1a20379683 Simpler domid allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-15 07:53:46 +00:00
iap10@freefall.cl.cam.ac.uk c742c2e652 Update x86_64 -xen config for Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 23:48:06 +00:00
iap10@freefall.cl.cam.ac.uk ba8ef785e8 Update the -xen default config to Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 21:03:41 +00:00
iap10@freefall.cl.cam.ac.uk 3299c3f678 Incorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
individual partitions held within whole disk images.
 
Original source from http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/l
omount/lomount.c
 
 * Copyright (c) 2004 Jim Brown 
 * Copyright (c) 2004 Brad Watson
 * Copyright (c) 2004 Mulyadi Santosa
 
Signed-off-by: ian@xensource.com
2005-07-14 21:02:05 +00:00
djm@kirby.fc.hp.com 9996d95f75 Fix for new ns16550 serial code in xen-unstable.hg 2005-07-14 10:46:11 -07:00
kaf24@firebug.cl.cam.ac.uk 83ea48507f Missing quirks.c file. 2005-07-14 14:01:21 +00:00
kaf24@firebug.cl.cam.ac.uk dddd88c891 Auto-disable IRQ balancing/affinity on buggy chipsets.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 11:09:21 +00:00
kaf24@firebug.cl.cam.ac.uk 08daf6e614 Allow IRQ balancing to be disabled with 'noirqbalance'
boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:37:49 +00:00
kaf24@firebug.cl.cam.ac.uk 563fb4e94c Add debug-key for printing IRQ/IOAPIC info.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:16:45 +00:00
iap10@freefall.cl.cam.ac.uk dc2e874399 Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-14 10:12:51 +00:00
kaf24@firebug.cl.cam.ac.uk 25de1f6920 Allow arch-specific defaults to be specified for ns16550
uart configuration. Based on a patch from Hollis Blanchard
at IBM.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 09:05:22 +00:00
kaf24@firebug.cl.cam.ac.uk 9c03922da5 The VMCS control bits in the current tree are not optimal. Attached is
a patch to improve the VMCS control bits setting. It also adds checks to
detect any non-optimal or incompatible settings for the VMCS control
bits based on MSRs, and fixes a bug associated with vmcs region freeing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-07-14 08:00:55 +00:00
kaf24@firebug.cl.cam.ac.uk a14f9ede68 Cleanup mov to CR4 handling.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-14 08:00:35 +00:00
kaf24@firebug.cl.cam.ac.uk cb111972c4 Enable CR4.VME to improve the performance of vm86 emulation.
Setting this bit eliminates the calls to the vm86 monitor to handle
interrupts and exceptions that occur while executing programs in vm86
mode.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-14 08:00:23 +00:00
vh249@arcadians.cl.cam.ac.uk c388f523a6 repair legacy Makefile targets linux26 and linux24
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-14 07:39:18 +00:00
djm@kirby.fc.hp.com 9b63984dd1 Oops remove debug output from last changeset 2005-07-13 13:18:04 -07:00
djm@kirby.fc.hp.com e4cc50f7a4 Fix PAL_PTCE_INFO and cpuid (pfmon now works) 2005-07-13 13:12:00 -07:00
ach61@arcadians.cl.cam.ac.uk b65c26e65f pdb: reconcile register manipulation between processes and domains 2005-07-13 15:37:08 +00:00
kaf24@firebug.cl.cam.ac.uk 4b043a942c Initial tools support for 32-bit x86 pae.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-13 15:04:49 +00:00
kaf24@firebug.cl.cam.ac.uk 8833f0bb92 Force PAE build of Xen by specifying 'pae=y' to make, or
by setting XEN_TARGET_X86_PAE=y (e.g., in Config.mk).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 15:02:49 +00:00
kaf24@firebug.cl.cam.ac.uk 10c0f0a6c8 Remove CONFIG_X86_PAE hack from config.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 14:37:58 +00:00
vh249@arcadians.cl.cam.ac.uk 022fb4e978 Readd pristine-% rules that went MIA.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-13 13:45:41 +00:00
djm@kirby.fc.hp.com 109baf1c8e Add easy way to turn off all fast paths to rule them out when debugging 2005-07-13 06:43:49 -07:00
kaf24@firebug.cl.cam.ac.uk 650061e195 Enable NX/XD feature for 32-bit PAE Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 12:58:41 +00:00
kaf24@firebug.cl.cam.ac.uk 41641edf73 Build hotplug by default in dom0. 2005-07-13 08:45:26 +00:00
kaf24@firebug.cl.cam.ac.uk 3a9274f320 The patch attached restores NX/XD support in x86_64 xenlinux. When the
port was being done, Xen did not want to see the bit 63 in ptes, and it
now allows the guests to set it. Also include cleanups (warning when
compiling domU).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-07-13 08:37:38 +00:00
kaf24@firebug.cl.cam.ac.uk 4066d7272e Need to save and restore MSRs for VMX domains across context switches.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-13 08:36:38 +00:00
kaf24@firebug.cl.cam.ac.uk e48a41ef53 Fix NX/XD enable on secondary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 08:25:08 +00:00
ach61@arcadians.cl.cam.ac.uk ac49b9ae89 pdb: get rid of absolute path in module makefile 2005-07-12 17:31:16 +00:00