Commit Graph
5337 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk b9ed424f28 bitkeeper revision 1.1691 (42a5bd892a-21ifB8kNwgNvEid-K_Q)
Reove IRQ balancer from Xen. It is unused, and balancing will be done
by the guests themselves.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-07 15:30:17 +00:00
kaf24@firebug.cl.cam.ac.uk d10f7373d3 bitkeeper revision 1.1690 (42a5a8ffLN-D5XsB4IKFmZTjaHRH-Q)
More PAE cleanups, this time for the page-type management.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-07 14:02:39 +00:00
kaf24@firebug.cl.cam.ac.uk 8794e31768 bitkeeper revision 1.1689 (42a58901_lkUvZPbAZcV8H9a9NNmtg)
Clean up the domain_page.h interfaces. One common header file
<xen/domain_page.h> and map_domain_mem() -> map_domain_page(), takes
a pfn rather than a paddr.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-07 11:46:09 +00:00
kaf24@firebug.cl.cam.ac.uk 5fd4fa3fb3 bitkeeper revision 1.1688 (42a561d8CR-Fck16qBCLCOs9F40q3g)
Give the map_dom_mem_cache a better name, and fix a bug in
unmap_domain_mem_with_cache() [it shouldn't actually unmap the page!].
The bug was spotted by George Dunlap.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-07 08:59:04 +00:00
arun.sharma@intel.com[kaf24] 829cf7292d bitkeeper revision 1.1687 (42a54554WlNG2upO1_XkGsTZKFcGnQ)
[PATCH] vmx-pit-reset-vector.patch

If the guest resets irq_base in the PIC, we should reset the vector
in the hypervisor as well.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-07 06:57:24 +00:00
kaf24@firebug.cl.cam.ac.uk d95843ec18 bitkeeper revision 1.1686 (42a473f3lFCz32vzD_NzxLZBkAfJ0A)
cpu_gdt_init() could allocate a frame array one element too small. Now
it is fixed size and guaranteed big enough. Spotted by George Dunlap.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-06 16:04:03 +00:00
kaf24@firebug.cl.cam.ac.uk a8d02340e0 bitkeeper revision 1.1685 (42a46917Mo_RODMmBbBtgwKKV-2YLg)
Clean up show_registers().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-06 15:17:43 +00:00
kaf24@firebug.cl.cam.ac.uk dc632dd8af bitkeeper revision 1.1684 (42a468f4PvUu-iWAyhHxfE-JnhHVYw)
Remove strrchr/strnlen/memscan from x86-specific string.h. They are not
used so not worth optimising (strnlen is used only in vsprintf which is
not performance critical).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-06 15:17:08 +00:00
kaf24@firebug.cl.cam.ac.uk 0ecaac059d bitkeeper revision 1.1683 (42a4622ekYvso9kv8cisS5m2QiUqiQ)
Merge x86/32 and x86/64 string functions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-06 14:48:14 +00:00
kaf24@firebug.cl.cam.ac.uk c00ea59fcc bitkeeper revision 1.1682 (42a42b05Cvw3LyFcUHH4i1_9HWbLBA)
Merge x86/32 and x86/64 usercopy routines.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-06 10:52:53 +00:00
cl349@firebug.cl.cam.ac.uk 4f7a49d8d0 bitkeeper revision 1.1681 (42a4172fYhXBx6d4aXa2ofB5qVB2Ww)
xc_gnttab.c, xc_evtchn.c:
  Cleanup error message printing and error exit code path.
xc_vmx_build.c, xc_private.c, xc_plan9_build.c, xc_linux_build.c:
  Cleanup error message printing.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 09:28:15 +00:00
cl349@firebug.cl.cam.ac.uk b94f8b3861 bitkeeper revision 1.1680 (42a4100bIstutWsVAoi7aPO8tLbFkA)
xc_load_elf.c, xc_load_bin.c:
  Fix missing rename (xc_*_probe -> probe_*) from previous commit.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 08:57:47 +00:00
cl349@firebug.cl.cam.ac.uk ce52246261 bitkeeper revision 1.1679 (42a40cfaZ0Dy-HjTM0W3L10VllkAnw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-06-06 08:44:42 +00:00
cl349@firebug.cl.cam.ac.uk aac7970f26 bitkeeper revision 1.1665.4.1 (42a40cf0EmwulK0I8hNEb2dVbDEkvQ)
xc_private.h, xc_linux_build.c, Makefile:
  Add support for loading ``bin'' format images, as used by ReactOS.
  Move image probing/parsing/loading code out of domain builder to allow
  multiple image formats without having to duplicate the domain building
  code.
xc_load_elf.c, xc_load_bin.c:
  new file
xc_vmx_build.c:
  Cleanup.
Signed-Off-By: Ge van Geldorp <gvg@reactos.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 08:44:32 +00:00
kaf24@firebug.cl.cam.ac.uk 361f01aebc bitkeeper revision 1.1678 (42a405d8raiThtAq9NRXuuFg6ur1qA)
Attached patch fixes FP initialization bug with x86-64 xenlinux.=20

With this patch, # of testcase failures with LTP is < 5 (out of 800),
almost same results as the native x86-64 Linux. The other two patches
for LTP are coming soon; with these, all the testcases will pass (except
the ones that fail on the native x86-64 Linux).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-06-06 08:14:16 +00:00
kaf24@firebug.cl.cam.ac.uk 7a2b6e131c bitkeeper revision 1.1677 (42a312b3NoXLv1fa_qVHaQXgt_JhLw)
Fix smp_call_function race (introduced a couple of days ago).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-05 14:56:51 +00:00
kaf24@firebug.cl.cam.ac.uk 01fd68a4ee bitkeeper revision 1.1676 (42a306a07UKpLq27_iCaJyxJBbKedg)
More console cleanups. The console ring now overwrites its tail when
it fills, rather than stop recording output. The guest serial output
is only allowed to half-fill the serial output buffer, and now
respects hypercall preemption requests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-05 14:05:20 +00:00
kaf24@firebug.cl.cam.ac.uk 6eda19e5e4 bitkeeper revision 1.1675 (42a2d9c5PelbdNceuL1qXullGOrtHA)
ns16550 interrupt handler should not return until the IIR indicates
no pending interrupts. Also a few generic serial driver cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-05 10:53:57 +00:00
kaf24@firebug.cl.cam.ac.uk c1c0a2f39a bitkeeper revision 1.1674 (42a2cfb9WFgnh2K4Xr5ev3pSEASVbw)
Extend EVTCHNOP_alloc_unbound to allocate a specified port, if
non-zero value is passed in.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-05 10:11:05 +00:00
ach61@arcadians.cl.cam.ac.uk d87728d8c5 bitkeeper revision 1.1673 (42a2cd13JNEgDSNAp-J9mJ3S4u2KQg)
add missing break
2005-06-05 09:59:47 +00:00
akw27@arcadians.cl.cam.ac.uk f94d92f6ed bitkeeper revision 1.1672 (42a2199aWb1yMoooGXGKBzopSe6WDw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-06-04 21:14:02 +00:00
kaf24@firebug.cl.cam.ac.uk 4b6d488ea0 bitkeeper revision 1.1671 (42a1e8cdI_f9OiPqscVnjrOWWEVTmw)
Add a manual 'sync_console' boot parameter that forces synchronous
console output. May be useful for systems that crash unexpectedly
and lose the last chunk of console output.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-04 17:45:49 +00:00
kaf24@firebug.cl.cam.ac.uk d549c7550d bitkeeper revision 1.1670 (42a1e657B8Qurf6JEQIMURchxp90FA)
Interrupt-driven serial transmit for 8250/16550 UARTs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-04 17:35:19 +00:00
kaf24@firebug.cl.cam.ac.uk b60d404f1e bitkeeper revision 1.1669 (42a1c87fJjvGo-daXN_d0s-Pg-eAEQ)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
2005-06-04 15:27:59 +00:00
akw27@arcadians.cl.cam.ac.uk 724be23798 bitkeeper revision 1.1665.1.6 (42a1b3f6-O_jFlmQorlf72427fTfmw)
bug fixes to tap and parallax.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-06-04 14:00:22 +00:00
kaf24@firebug.cl.cam.ac.uk 7254a301ec bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)
Rationalise debugger stuff in the tree.

Within Xen itself, remove PDB references and fold into domu_debug.
When domu_debug hits a breakpoint, it pauses all vcpus of the domain
and raises VIRQ_DEBUGGER (not VIRQ_PDB). The debugger in domain0 can
either poll pause status or bind to VIRQ_DEBUGGER. Before debugging
a breakpointed domain the debugger should issue PAUSEDOMAIN itself, or
it is not guaranteed to see paused state of the domain!

Outside Xen there's a new dir tools/debugger, containing gdb, pdb and
a new library libxendebug (used by pdb). I also think the ptrace
functions in libxc also ought to be moved out: either to libxendebug
or to a new library libxenptrace.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-04 13:07:05 +00:00
djm@sportsman.spdomain 9748591e27 bitkeeper revision 1.1668 (42a0d81fuv3OiLvByFITCzhO06k4OQ)
Merge http://xen-ia64.bkbits.net/xeno-unstable-ia64.bk
into sportsman.spdomain:/home/djm/xeno-unstable-ia64.bk
2005-06-03 22:22:23 +00:00
djm@kirby.fc.hp.com c842ce0c9f bitkeeper revision 1.1667 (42a0d723C0nVc96mE2UHsAZH4ZSJJA)
Add EFI PCDP support to automatically find console
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-03 22:18:11 +00:00
ach61@arcadians.cl.cam.ac.uk 87751a10c9 bitkeeper revision 1.1665.1.4 (42a0d193Tw6bR81EGNl7tuvqTTqdCw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/debugger
2005-06-03 21:54:27 +00:00
iap10@freefall.cl.cam.ac.uk a1f6364776 bitkeeper revision 1.1665.3.2 (42a0d0beY3Jku2hxgPBX6_mz23Ha3g)
[patch] libxc x86-64
I've redone the patch to add domU launching support to libxc for x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-06-03 21:50:54 +00:00
iap10@freefall.cl.cam.ac.uk 8f32ca21d1 bitkeeper revision 1.1665.3.1 (42a0cec19GKZHbCwpHO5h-vYt_an-w)
[PATCH] missing put_domain in DOM0_IOPORT_PERMISSION

There appears to be a missing put_domain() in the failure case. The code
doesn't seem to be used by anyone, but anyway...

Signed-off-by: John Levon <levon@movementarian.org>
Signed-off-by: ian@xensource.com
2005-06-03 21:42:25 +00:00
ach61@arcadians.cl.cam.ac.uk 539087215e bitkeeper revision 1.1665.1.3 (42a0c916S8M4GCtph6DmI_QigXvneA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/debugger
2005-06-03 21:18:14 +00:00
ach61@arcadians.cl.cam.ac.uk 3e93d04b1c bitkeeper revision 1.1665.2.1 (42a0c8fc5ayKCKfMu8Oo5dUccP4STA)
PDB 0.3
2005-06-03 21:17:48 +00:00
mafetter@fleming.research 34ae09820e bitkeeper revision 1.1665.1.2 (42a09c3c5379JgWLZ0YowQ5DA_wjHg)
Fix compilation problem when perf counters are enabled.
2005-06-03 18:06:52 +00:00
kaf24@firebug.cl.cam.ac.uk e3b4b1baf9 bitkeeper revision 1.1665.1.1 (42a0886byKTQHg1vpeYMDgve2Vz6GA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-06-03 16:42:19 +00:00
kaf24@firebug.cl.cam.ac.uk d1be12dd76 bitkeeper revision 1.1664.1.1 (42a08862ToP8uoeBgUzDwAQBMXo4wg)
Event-channel CPU affinity. Currently all event channels still bind to
VCPU#0 at start of day, and have their binding automatically changed
when bound to a VIRQ or IPI source. XenLinux maintains a per-cpu
evtchn mask denoting which event channels are bound to each cpu.
Todo: Allow guests to change binding of of non-ipi and non-virq evtchns.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 16:42:10 +00:00
djm@kirby.fc.hp.com e1d0db1246 bitkeeper revision 1.1666 (42a087d7jWz6dz5gEHhjSiLqLjqGvA)
Basic update to new ns16550 driver (not all working yet)

Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
Signed-off-by Kevin Tian <Kevin.tian@intel.com>
2005-06-03 16:39:51 +00:00
djm@sportsman.spdomain 7328a5bf39 bitkeeper revision 1.1665 (42a07586HA9yxpF1JLzGs-3hmLbG5g)
More include file cleanup fixes (for CONFIG_VTI)
Also a cpumask cleanup fix
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-03 15:21:42 +00:00
kaf24@firebug.cl.cam.ac.uk 2db05f29eb bitkeeper revision 1.1664 (42a064ddVMYCAab_WQM9CcyTOyYMgQ)
Simplify implementation of map_domain_mem.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 14:10:37 +00:00
kaf24@firebug.cl.cam.ac.uk 440fe2cdff bitkeeper revision 1.1663 (42a06245ee2G6mCs2baAK3_UiolIcQ)
Fix Linux for cpuset -> vcpumask rename.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 13:59:33 +00:00
kaf24@firebug.cl.cam.ac.uk f2f4f0e234 bitkeeper revision 1.1662 (42a057ceLMHS_nHxLb-mZCG6csf27A)
All cpu bitmasks in Xen now use the cpumask_t type and its operators.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 13:14:54 +00:00
sos22@douglas.cl.cam.ac.uk ec8deab9df bitkeeper revision 1.1661 (42a03d7dMwgNdNW-UfchOZEUQsYy9w)
Make sure we only look at the unpinned list for mms which are actually
unpinned.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2005-06-03 11:22:37 +00:00
kaf24@firebug.cl.cam.ac.uk 9703899a94 bitkeeper revision 1.1660 (42a027a8dd_EUm7b7XhKL_lNM4H_Rg)
Add support for memory-mapped ns16550 uart.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 09:49:28 +00:00
kaf24@firebug.cl.cam.ac.uk 75c3a20365 bitkeeper revision 1.1659 (42a010dfU0RKWV-1WrueKEs8brwyOg)
Ensure that _PAGE_GLOBAL bit is never set in any pagetable if the CPU
does not support PGE (Page Global Extension).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-03 08:12:15 +00:00
kaf24@firebug.cl.cam.ac.uk 5ee6ae223b bitkeeper revision 1.1658 (42a00cf2Cgpej1px1OeZJMp9dbdX8g)
IO DMA isn't bound by physical address, but it is by machine address.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-03 07:55:30 +00:00
cl349@freefall.cl.cam.ac.uk 67470d1071 bitkeeper revision 1.1657 (429fb3bdy_w-Djv7N3uJ1qp_Sdc2cQ)
domain.h, xenmem.c, mkbuildtree, slab.h, setup.c:
  Fix ia64 build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-03 01:34:53 +00:00
cl349@firebug.cl.cam.ac.uk e1ce8dd545 bitkeeper revision 1.1656 (429faf35S2AxCkpEkHXZalLVSWNI_g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-03 01:15:33 +00:00
cl349@firebug.cl.cam.ac.uk 3e46e7f839 bitkeeper revision 1.1654.1.1 (429fae97234jWOO8DPN-542taVuZBQ)
sched.h:
  Bring back includes of xen/time.h and xen/ac_timer.h since we use types
  defined in those.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-03 01:12:55 +00:00
iap10@freefall.cl.cam.ac.uk 3cc33b87b6 bitkeeper revision 1.1655 (429f9c02qVlZ13S-reG9GUvOJtT9tA)
Current -unstable doesn't build, it's missing one exec_domain -> vcpu cleanup.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: ian@xensource.com
2005-06-02 23:53:38 +00:00
cl349@firebug.cl.cam.ac.uk b7a0fb87b9 bitkeeper revision 1.1654 (429f793bJpez_x78azX5iKCsmtPMUQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-02 21:25:15 +00:00