Commit Graph
4775 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk bb5ae6b5cc bitkeeper revision 1.1389.5.37 (427f9fd5lvofpMsmBQ2h16fsuXQH6Q)
Manual merge.
2005-05-09 17:37:25 +00:00
sd386@font.cl.cam.ac.uk ff10f688f9 bitkeeper revision 1.1346.1.4 (427f9553IVi9yymg7Hp6J5wwxNl-7Q)
fixed CPU locking
2005-05-09 16:52:35 +00:00
mafetter@fleming.research 09e2594365 bitkeeper revision 1.1389.5.36 (427f7513GY6Vv1b-toMAsdXzaHGvTQ)
Hand merge
2005-05-09 14:34:59 +00:00
mafetter@fleming.research 33ea028eb0 bitkeeper revision 1.1385.1.7 (427f6405sUeICnIzUJ_HaXbYnLds4A)
Enabling light-weight shadows (especially shadow_mode_dirty).

Light-weight shadows leave all the page ref counts based on the guest p.t. pages,
while heavy-weight shadows do all their ref counts based on the shadow's p.t. pages.
shadow_mode_refcounts(dom) == 1 implies heavy-weight shadows.
2005-05-09 13:22:13 +00:00
kaf24@firebug.cl.cam.ac.uk 96f8844d3d bitkeeper revision 1.1389.5.35 (427e00b2juTv-JMiPdIYinvwaH2N8Q)
Field-name cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-08 12:06:10 +00:00
kaf24@firebug.cl.cam.ac.uk a0cc4ba202 bitkeeper revision 1.1389.5.34 (427df40e93QBBJSf6UjtUfrHOApBXA)
Fix process destruction: we should clear the LDT before calling
destroy_context().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-08 11:12:14 +00:00
kmacy@netapp.com[kaf24] e76b32de9d bitkeeper revision 1.1389.5.33 (427dd05a9r9PEjJTAexFhIB1u7f7Sw)
[PATCH] [PATCH] AP boot support

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/05/07 21:32:49-07:00 kmacy@curly.lab.netapp.com
#   get AP booting working
#   currently crashing in init_secondary - will fix after adding SMP debug support
#   Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# freebsd-5.3-xen-sparse/i386-xen/include/xenfunc.h
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +4 -0
#   add declaration for per-cpu clock init
#
# freebsd-5.3-xen-sparse/i386-xen/include/pmap.h
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +1 -0
#   make pmap_lazyfix_action global
#
# freebsd-5.3-xen-sparse/i386-xen/include/pcpu.h
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +6 -1
#   add IPI fields
#
# freebsd-5.3-xen-sparse/i386-xen/include/hypervisor.h
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +16 -0
#   add boot_vcpu call
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/xen_machdep.c
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +0 -2
#   make PANIC_IF declaration global
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/pmap.c
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +0 -1
#   make pmap_lazyfix_action global
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/mp_machdep.c
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +229 -55
#   add support for booting APs
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/machdep.c
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +78 -46
#   do per-cpu GDT initialization up-front
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/evtchn.c
#   2005/05/07 21:32:47-07:00 kmacy@curly.lab.netapp.com +15 -8
#   special case AST IPI
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/clock.c
#   2005/05/07 21:32:46-07:00 kmacy@curly.lab.netapp.com +60 -14
#   add per-cpu clock support
#
2005-05-08 08:39:54 +00:00
kaf24@firebug.cl.cam.ac.uk af6be9c0e9 bitkeeper revision 1.1389.5.32 (427dd050vCHxq0uiJZz1uFqkyfzA0w)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-05-08 08:39:44 +00:00
lists-xen@pimb.org[kaf24] c4d7a1af8e bitkeeper revision 1.1159.258.114 (427dcfb8HaNsKoCdNjOQCEM_vCEWTA)
[PATCH] [PATCH] Increase size of sxpr parser input buffer

Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).

Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>
2005-05-08 08:37:12 +00:00
kaf24@firebug.cl.cam.ac.uk c613638f31 bitkeeper revision 1.1389.5.31 (427c96cfOpa2KErBqa0pO1osWWIb6Q)
pci/direct.c is no longer patched in arch/xen/i386, so arch/xen/x86_64
must symlink straight to arch/i386.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-07 10:22:07 +00:00
kaf24@firebug.cl.cam.ac.uk 904141e5e3 bitkeeper revision 1.1389.5.30 (427c951f6ULpkuxG36TskUioGnRY9w)
x86_64 gcc sometimes doesn't have builtin memmove. Always use the
version we provide.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-07 10:14:55 +00:00
kaf24@firebug.cl.cam.ac.uk 186141a492 bitkeeper revision 1.1389.5.29 (427c91f4-NwTlq2np5GYzwS7yWmzGA)
Move serial definitions into serial.h where they can be picked up
by arch-specific code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-07 10:01:24 +00:00
kaf24@firebug.cl.cam.ac.uk a182a0fc6e bitkeeper revision 1.1389.5.28 (427c8ea6vitJqJlB7zCBJ0-DYF9xXQ)
Add 'legacy pty' support to domU default kernel config.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-07 09:47:18 +00:00
kaf24@firebug.cl.cam.ac.uk fcc299e104 bitkeeper revision 1.1389.5.27 (427c8e04Cw1QmPRFKoyXwgtFXzwXjA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-05-07 09:44:36 +00:00
kaf24@firebug.cl.cam.ac.uk 8c750837ad bitkeeper revision 1.1159.258.113 (427c8dddgGYSerAwRWcC_vwqkNujiQ)
Add legacy pty support to domu config.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-07 09:43:57 +00:00
kmacy@netapp.com[kaf24] f6f5d2be1a bitkeeper revision 1.1389.5.26 (427c8812BoSWeQz8YGOr4XZvnAzolA)
[PATCH] [PATCH] remove gdbserver chattiness

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com
#   remove irritating chattiness from gdbserver
#   Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# BitKeeper/etc/logging_ok
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com +1 -0
#   Logging to logging@openlogging.org accepted
#
# tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c
#   2005/05/06 17:39:19-07:00 kmacy@barleywine.eng.netapp.com +2 -1
#   remove debug noise
#
2005-05-07 09:19:14 +00:00
kaf24@firebug.cl.cam.ac.uk 5359167808 bitkeeper revision 1.1389.5.25 (427b4bfb0hm1BJpfIuZivVfQQA7PkQ)
Kill a few dead definitions/declarations.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-06 10:50:35 +00:00
kaf24@firebug.cl.cam.ac.uk a386b5946f bitkeeper revision 1.1389.5.24 (427b3e32MTKLAKufH_gNCYPoIbG71g)
Xen can parse the ACPI tables to get IOAPIC information -- we can rely
on domain0 to fill in information we miss because Xen lacks an ACPI
interpreter.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-06 09:51:46 +00:00
kaf24@firebug.cl.cam.ac.uk a2cebae2dc bitkeeper revision 1.1389.5.23 (427b3dc4c8anY4S2HYLD7oWhGpg-bw)
Fix guest_ioapic_write() to properly set the irq_2_pin mapping.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-06 09:49:56 +00:00
kaf24@firebug.cl.cam.ac.uk af26daf317 bitkeeper revision 1.1389.5.22 (427b29c5KNOxlBYIMC4Z37mPKVY6HA)
More acpi cleanups. Fix 'acpi=ht'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-06 08:24:37 +00:00
kaf24@firebug.cl.cam.ac.uk 9e11829aa9 bitkeeper revision 1.1389.5.21 (427a5ee3rBlRFupS4xBvv_nWVHQlsA)
Clean up IO-APIC handling in domain0, and the hypercall interface
exported by Xen (inc. removal of PCI-related calls). This hopefully
fixes acpi=off.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 17:58:59 +00:00
cl349@firebug.cl.cam.ac.uk 11e4944eda bitkeeper revision 1.1389.5.20 (427a4dcf057tQfMOhrkAUtc9VOgOyw)
Remove __set_fixmap_ma and handle difference in installing machine-address
and pseudo-physical-address fixmap entries inside __set_fixmap.
fixmap.h:
  Remove __set_fixmap_ma and handle difference in installing machine-address
  and pseudo-physical-address fixmap entries inside __set_fixmap.
ioremap.c:
  Change set_fixmap_ma call to set_fixmap call.
init.c:
  Remove __set_fixmap_ma and handle difference in installing machine-address
  and pseudo-physical-address fixmap entries inside __set_fixmap.
  Change __set_fixmap_ma calls to set_fixmap calls and set_fixmap_ma_ro call
  to __set_fixmap(,, PAGE_KERNEL_RO) call.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-05 16:46:07 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 6dd6d3c9d4 bitkeeper revision 1.1389.5.19 (427a4637g44Zsgumd50KMgMbI7bt2g)
Remove __set_fixmap_ma and handle difference in installing machine-address
and pseudo-physical-address fixmap entries inside __set_fixmap.
fixmap.h, pgtable.c:
  Remove __set_fixmap_ma and handle difference in installing machine-address
  and pseudo-physical-address fixmap entries inside __set_fixmap.
reboot.c, gnttab.c, ioremap.c:
  Change set_fixmap_ma call to set_fixmap call.
init.c:
  Change set_fixmap_ma calls to set_fixmap calls and set_fixmap_ma_ro call to
  __set_fixmap(,, PAGE_KERNEL_RO) call.
boot.c:
  Change __set_fixmap_ma calls to set_fixmap calls.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-05 16:13:43 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 254b5cd2ee bitkeeper revision 1.1389.5.18 (427a2ed3wZDMDcH71U2S3QbL5plxLA)
ignore:
  Cleanup ignore list.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-05 14:33:55 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 1c7704de88 bitkeeper revision 1.1389.5.17 (427a2e3dMxo6jmtcFafKR_cMZizuvw)
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-05-05 14:31:25 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 6d9f9db20b bitkeeper revision 1.1389.7.6 (427a2dc4uvULKDgRmcgQy7DMxlAt_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-clean
2005-05-05 14:29:24 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] f6324a7ce2 bitkeeper revision 1.1389.8.1 (427a2dc0yjvEz3OVwiOMxO61skasFg)
Fix installing fixmap_nocache entries, as used by PCI_MMCONFIG.
fixmap.h:
  Address passed to set_fixmap_nocache is a machine-address -- install
  it as such.
Kconfig:
  Re-enable PCI_MMCONFIG.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-05 14:29:20 +00:00
smh22@tempest.cl.cam.ac.uk 1d5464775f bitkeeper revision 1.1389.5.16 (427a2d48fB11IAeFlv0AL07RxME0vg)
build privcmd even in unpriv domains; minor libxc fix

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-05 14:27:20 +00:00
smh22@firebug.cl.cam.ac.uk 5914e44056 bitkeeper revision 1.1389.5.15 (427a1f89783q7rsxC220wc9YSyIgxg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
2005-05-05 13:28:41 +00:00
kaf24@firebug.cl.cam.ac.uk e286f60403 bitkeeper revision 1.1389.7.5 (4279f582pwUD_gXMbX8w4RQ2aYmGDA)
Fix return code from xc_domain_create.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 10:29:22 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] eccd37105a bitkeeper revision 1.1389.7.4 (42792d1dpWcMoYEkCeHotKk4mVnZfg)
boot.c:
  Fix assignment warning.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 20:14:21 +00:00
cl349@firebug.cl.cam.ac.uk b24cf30a19 bitkeeper revision 1.1389.7.3 (42792bb0bqVz6IEYKWbCD7d63K-6ew)
fixmap.h, boot.c, tables.c, io_apic.h:
  Cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 20:08:16 +00:00
cl349@firebug.cl.cam.ac.uk 5973359f07 bitkeeper revision 1.1389.7.2 (42792827eIDpZENcmPicVv96afzrMQ)
io_apic.c:
  Pull in code from original Linux i386 io_apic.c.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 19:53:11 +00:00
cl349@firebug.cl.cam.ac.uk 8c516a56c8 bitkeeper revision 1.1389.7.1 (42792251SplesejDTu6f_fw9_bLJHw)
Disable PCI_MMCONFIG for now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 19:28:17 +00:00
smh22@firebug.cl.cam.ac.uk 639c379ed5 bitkeeper revision 1.1389.5.14 (4279091dnpBW4lj9MvVqawaMwCC8pA)
initialize primcmd even in domU in preparation for access control checkin
2005-05-04 17:40:45 +00:00
smh22@firebug.cl.cam.ac.uk d6baa8837e bitkeeper revision 1.1389.5.13 (42790489SjF8fj4T9jNcZdksbNpR4g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
2005-05-04 17:21:13 +00:00
smh22@firebug.cl.cam.ac.uk bc11d71bf2 bitkeeper revision 1.1389.6.1 (42790324T75TVIQlwC1A7Hv6Thn0bA)
fix 2.4 build again 

Signed-off-by: <steven@xensource.com>
2005-05-04 17:15:16 +00:00
kaf24@firebug.cl.cam.ac.uk 868317e48d bitkeeper revision 1.1389.5.12 (4278fd8aAcM8aY0Is5jjOrEXTe74tQ)
Clean up Kconfig configuration files.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-04 16:51:22 +00:00
kaf24@firebug.cl.cam.ac.uk 1142fa360d bitkeeper revision 1.1389.5.11 (4278fd69QwxUePkKl_WI29DSDv8_kA)
Fix MP-table parsing to correctly use ISA fixmap area.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-04 16:50:49 +00:00
cl349@firebug.cl.cam.ac.uk 959fe5eb0e bitkeeper revision 1.1389.5.10 (4278d6c2PICykk7zJw1Q6ijXxta3Dw)
Fix link order.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 14:05:54 +00:00
cl349@firebug.cl.cam.ac.uk 8fc02537fa bitkeeper revision 1.1389.5.9 (4278c4f0VAeQPVGBi1M71vwTpeJ-nQ)
acpi_scan_rsdp's parameters are (start, len) and not (start, end).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 12:49:52 +00:00
cl349@firebug.cl.cam.ac.uk 70d8d1004d bitkeeper revision 1.1389.5.8 (4278a1034rHdLS-yTnpszKhLLp4oGw)
Add debugger_trap_immediate to in-xen-debugger stub.
Signed-off-by: Christian Limpach <Christian Limpach@cl.cam.ac.uk>
2005-05-04 10:16:35 +00:00
cl349@firebug.cl.cam.ac.uk 3af1f7f3de bitkeeper revision 1.1389.5.7 (4278a0a5VglnG7l7fg9gkM9E52ZXfQ)
Make slab.h not pull in other header files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 10:15:01 +00:00
cl349@firebug.cl.cam.ac.uk 6bfd44da73 bitkeeper revision 1.1389.5.6 (427898d4o1E6hrH0W0u6j1RHmjFkVw)
Revert gratuitous Linux changes and fix maxcpus mess properly.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-04 09:41:40 +00:00
kaf24@firebug.cl.cam.ac.uk ef090afbe6 bitkeeper revision 1.1389.5.5 (42788bdeo6dq0hEkwcye0RH_ljmY1Q)
Remove dead code from Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-04 08:46:22 +00:00
kaf24@firebug.cl.cam.ac.uk 2b4f10d4cb bitkeeper revision 1.1389.5.4 (4277b86czqxlqC40s7HyXb3A25SZkQ)
Fix domU SMP build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-03 17:44:12 +00:00
kaf24@firebug.cl.cam.ac.uk 3b7bb814ca bitkeeper revision 1.1389.5.3 (4277b3d9n4kOkJhg5l2rwlVwgxfYBg)
New files in sparse tree are made via 'obj-y' variable, not 'c-obj-y'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-03 17:24:41 +00:00
kaf24@firebug.cl.cam.ac.uk e77d842a78 bitkeeper revision 1.1389.5.2 (4277ac0bRfcjvqM6q2Y_NDC_6SkzAQ)
Fix 'make clean' in linux-2.6 build directory.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-03 16:51:23 +00:00
kaf24@firebug.cl.cam.ac.uk b32c50fec8 bitkeeper revision 1.1389.5.1 (4277a7497F1hK5nYlFqibtXDq_Uo5A)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xxx.bk
2005-05-03 16:31:05 +00:00
ydroneaud@mandriva.com[kaf24] ae5f05ef20 bitkeeper revision 1.1159.258.112 (4277a730mvnFSFXrxJpVRNk8hjD4Vg)
[PATCH] Mkbuildtree little fix

Hi, here is a really small fix for mkbuildtree.

With my 'find' version [1], I get many of these warning when using mkbuildtree:

find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after it).
Please specify options before other arguments.

My patch just correct the ordering of the options, it should be
harmless, but I didn't test with other versions of find.

Regards

[1] find --version
GNU find version 4.2.20
Features enabled: D_TYPE O_NOFOLLOW(enabled)

xen-unstable-mkbuildtree-find-maxpath.patch:
2005-05-03 16:30:40 +00:00