Commit Graph
6083 Commits
Author SHA1 Message Date
vh249@arcadians.cl.cam.ac.uk b25ac30e08 regenerate smp-alt.patch for 2.6.12
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-25 09:56:50 +00:00
sd386@font.cl.cam.ac.uk bc8af12377 Local merge
Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-07-22 17:58:52 +00:00
kaf24@firebug.cl.cam.ac.uk c1f454ab0c Port kallsyms to Xen, as 'symbols'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-22 16:44:33 +00:00
sd386@font.cl.cam.ac.uk 100346c84d Fixed extratime scheduling bug, which caused a prioritised dom0 to overtake the whole cpu.
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-07-22 15:32:31 +00:00
sos22@douglas.cl.cam.ac.uk b6d8dea8bf In 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try
to use their return values anywhere.

Signed-off-by: Steven Smith, sos22@cam.ac.uk.
2005-07-22 14:25:10 +00:00
kaf24@firebug.cl.cam.ac.uk 55c771f676 Here is a patch to enable Xen to run on a Unisys ES7000 x86_64 system.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
2005-07-21 15:50:11 +00:00
kaf24@firebug.cl.cam.ac.uk eadf155ee3 Fix problem of can not create two or more vmx guest.
The original gdb server patch will cause the new vmx guest break the=20
old one. This patch make the arch_set_guest_info modify the correct
vmcs and also skip modifying during  creating.


Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>^
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 14:15:35 +00:00
kaf24@firebug.cl.cam.ac.uk 448ea5b78e Save per cpu IDT information into the VMCS host area.
Without this, we may be saving the IDT info from the wrong cpu into the
vmcs.
This makes domU work in the presence of VMX domains on SMP/HT enabled
machines.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>=20
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 13:59:49 +00:00
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
djm@kirby.fc.hp.com c64151839f Fix and turn back on unat checking in fast paths 2005-07-18 17:44:14 -07:00
djm@kirby.fc.hp.com 84c2249daf Get FPU working on context_switch 2005-07-18 14:05:04 -07:00
djm@kirby.fc.hp.com c1c7fbd0c1 Use hda1, not sda1 2005-07-18 13:23:36 -07: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
djm@kirby.fc.hp.com ebdbf5d84e Properly implement PAL_PTCE_INFO for Xen
Pull out PAL_VM_SUMMARY, reimplement later
Turn off ar.unat code in fast paths by default for now
Fix vcpu_fc
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-07-18 11:48:21 -07: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
djm@kirby.fc.hp.com 932ae6d072 Fix ar.unat handling for fast paths 2005-07-15 15:27:06 -07: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