Commit Graph
5322 Commits
Author SHA1 Message Date
djm@kirby.fc.hp.com 800a239fd3 bitkeeper revision 1.1668.1.11 (42a8bd5aCFsumaFg9rk2nWmEBa7opA)
Oops, yet another file for Greg's checkin
2005-06-09 22:06:18 +00:00
djm@kirby.fc.hp.com 6f882270c7 bitkeeper revision 1.1668.1.10 (42a8bceaXDRFCmwf1Omenu_lCITiag)
Oops, left new file out of Greg's sn patch
2005-06-09 22:04:26 +00:00
djm@kirby.fc.hp.com 3c178b4c82 bitkeeper revision 1.1668.1.9 (42a8b831tFH6fPqu6A9bd_8WkrQHxg)
sn2 console patch
Signed-off-by: Greg Edwards <edwardsg@sgi.com>
2005-06-09 21:44:17 +00:00
djm@kirby.fc.hp.com b8c6de5a8b bitkeeper revision 1.1668.1.8 (42a8ab2d2hMDGWkEyEFVRMJaIQWGdQ)
Add floating-point save/restore support on domain switch
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-09 20:48:45 +00:00
djm@kirby.fc.hp.com 26a6bd3700 bitkeeper revision 1.1668.1.7 (42a8a4de9UsUPhyAknlQBRJ3xbTHtw)
Zero out newly allocated xenheap pages for page tables,
also newly allocated domheap pages.
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-09 20:21:50 +00:00
djm@kirby.fc.hp.com 7bf4906ead bitkeeper revision 1.1668.1.6 (42a855abmDUqg5YrgIMWSBLOJP_HYg)
Fast reflecting now working for breaks
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-09 14:43:55 +00:00
djm@kirby.fc.hp.com 12b06e6521 bitkeeper revision 1.1668.1.5 (42a7aa43Fmo2V-QK6GDh3TF5foWBdQ)
Initial work on fast reflection (break), still disabled
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-09 02:32:35 +00:00
djm@kirby.fc.hp.com 725a7eeb7f bitkeeper revision 1.1668.1.4 (42a61917UcK9_yMNGefxIVZZpXkEpQ)
More hyperprivop work
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-07 22:00:55 +00:00
djm@kirby.fc.hp.com f901b3953b bitkeeper revision 1.1668.1.3 (42a4b83eZHwXGwvsDXM7zJdyI_ZhNQ)
Oops, fix parameter ordering for console PCDP
2005-06-06 20:55:26 +00:00
djm@kirby.fc.hp.com dc6be85831 bitkeeper revision 1.1668.1.2 (42a4904fwO30IinqLPqfFaI7md-pLA)
Merge corrections
2005-06-06 18:05:03 +00:00
djm@kirby.fc.hp.com 63dcf61ddf bitkeeper revision 1.1668.1.1 (42a4842f6oumXgOUTTVUMx7uABT97w)
More hyperprivop stuff
Signed-off by : Dan Magenheimer <dan.magenheimer@hp.com>
2005-06-06 17:13:19 +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
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
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
cl349@firebug.cl.cam.ac.uk 7b9361498f bitkeeper revision 1.1653 (429f7931iJ8kgS9qBlBbtyY9irorQA)
Many files:
  More include cleanups towards "include where it's used".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 21:25:05 +00:00
kaf24@firebug.cl.cam.ac.uk 550e86d463 bitkeeper revision 1.1648.1.1 (429f74a466gMuUJnqOh6jpVeBCjqyg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xxx.bk
2005-06-02 21:05:40 +00:00
kaf24@firebug.cl.cam.ac.uk dc33311d82 bitkeeper revision 1.1644.1.1 (429f749dKFzVUg9NXDMVu4apHJvpNQ)
The last annoying rename:
 struct exec_domain *ed -> struct vcpu *v
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 21:05:33 +00:00
cl349@firebug.cl.cam.ac.uk 983789122c bitkeeper revision 1.1652 (429f70f9moC9qZBswXttF9sYcHtxTA)
sched.h:
  g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:50:01 +00:00
cl349@firebug.cl.cam.ac.uk f0b36257f4 bitkeeper revision 1.1651 (429f70102tptpkVKU9_mkUC4olK_-Q)
Many files:
  More include cleanups towards "include where it's used".
sched.h:
  g/c unneeded include.
  include xen/spinlock.h once should be enough.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:46:08 +00:00
cl349@firebug.cl.cam.ac.uk 15a452392c bitkeeper revision 1.1650 (429f6be0yhaLJSkViUR2RPj8TUVeIA)
console.c, sched.h:
  g/c unneeded includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:28:16 +00:00
cl349@firebug.cl.cam.ac.uk 42825bdf1d bitkeeper revision 1.1649 (429f6bb65KQm70mnFwO33ykh9n1qag)
sched.h:
  g/c unneeded include.
Many files:
  Rename xen/slab.h to xen/xmalloc.h and fix resulting fallout.
xmalloc.h:
  Rename: xen/include/xen/slab.h -> xen/include/xen/xmalloc.h
sched.h, multicall.c, dom_mem_ops.c, asm-offsets.c:
  cleanup incorrect includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:27:34 +00:00
cl349@firebug.cl.cam.ac.uk 4e8fab61b5 bitkeeper revision 1.1648 (429f66691itoasLMLtaAWyPKnHVINg)
sched.h, seg_fixup.c:
  g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:04:57 +00:00
cl349@firebug.cl.cam.ac.uk 182081c09a bitkeeper revision 1.1647 (429f65565B2MImxe97HP-SSMYr5JPw)
sched.h:
  g/c unneeded include and prototype for function which doesn't even exist.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:00:22 +00:00
cl349@firebug.cl.cam.ac.uk d26ed5e0be bitkeeper revision 1.1646 (429f647ejz5YEoIPEm_Y2iLwylO84A)
page.h:
  Keep it simple.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 19:56:46 +00:00
cl349@firebug.cl.cam.ac.uk bef01829ee bitkeeper revision 1.1645 (429f63fb6JW1K1LYjnjnswN1KOd0Jg)
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 19:54:35 +00:00
cl349@firebug.cl.cam.ac.uk c5494ce304 bitkeeper revision 1.1642.1.1 (429f63f1jJ1MDBYeqjO8tWNOxXwFYw)
Fix x86_64 build.
usercopy.c:
  Fix build.
  Sync w/ x86_64 version.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 19:54:25 +00:00
kaf24@firebug.cl.cam.ac.uk b5290d3405 bitkeeper revision 1.1644 (429f5bbcdEHtCPmUE0h_BEwN9vBiKQ)
Fix x86/64 build.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-02 19:19:24 +00:00
kaf24@firebug.cl.cam.ac.uk a12ff66914 bitkeeper revision 1.1643 (429f4488tj590Fmn5s5Gd_pv8fLXeg)
The merge of PAE support introduced the intpte_t type and PRIpte format
specifier.  Most of the shadow mode code was fixed, but debugging
printks were not; this broke the compile if shadow mode debugging was
enabled.

The attached patch should fix the problem.  Not tested with PAE enabled,
but it shouldn't make anything worse than it already is.

Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
2005-06-02 17:40:24 +00:00
kaf24@firebug.cl.cam.ac.uk bf6fe7ee2e bitkeeper revision 1.1642 (429f43a9Urbk2TjIlm7NZJ_Z8LDQQQ)
l?e_from_paddr() expects the physical address to already be page
aligned. Fix map_domain_mem() to do this, and add an assertion to the
macros to check for it in debug builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 17:36:41 +00:00
vh249@arcadians.cl.cam.ac.uk 31d46bd2a1 bitkeeper revision 1.1641 (429f3b38tjTPpWx1UAEWtuvYiFH0Qw)
serial.h needs spinlock.h

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-02 17:00:40 +00:00
kaf24@firebug.cl.cam.ac.uk e0e918a18b bitkeeper revision 1.1640 (429f380cmOBrQfCPrfaJptORVNmNSQ)
Fix page-table initialisation (MPT, linear mappings, and mapcache).
In particular, we were mapping garbage pages into the idle page
directory which caused bogus unflushable mappings to get speculatively
loaded into the TLB (nasty crashes).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 16:47:08 +00:00
cl349@firebug.cl.cam.ac.uk b7cd155cf5 bitkeeper revision 1.1639 (429f10138AGmYb8WkpDuXWG6NvuSjQ)
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 13:56:35 +00:00