Commit Graph
5207 Commits
Author SHA1 Message Date
smh22@firebug.cl.cam.ac.uk bef12ffef7 bitkeeper revision 1.1596 (429b3fa2RgeJZgQIRrT4oHa-PKg4zg)
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-30 16:30:26 +00:00
smh22@firebug.cl.cam.ac.uk 4df6f3bbbe bitkeeper revision 1.1593.1.1 (429b3f9dAiHnKq38m74zg-HSQnYfwQ)
partial fix for vbd-list and vif-list
2005-05-30 16:30:21 +00:00
kaf24@firebug.cl.cam.ac.uk 0f732c946e bitkeeper revision 1.1595 (429b3970iSiBE6JNLmeO-KDY_v3Hdg)
Better locking strategy in serial rx interrupt handler and getc. Release
the spinlock after each loop iteration to prevent starvation of other
cpus and of interrupt handling. Also neatly folds byte_matches() into
serial_getc().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-30 16:04:00 +00:00
cl349@firebug.cl.cam.ac.uk e26aba7c65 bitkeeper revision 1.1594 (429b32ebzaQqk1iPvkQPHa7u9hft-g)
console.c:
  Bring back console_{getc,putc}.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-30 15:36:11 +00:00
kaf24@firebug.cl.cam.ac.uk ec61263b9c bitkeeper revision 1.1593 (429aec8bP8S_iGAVT8JuCkjdgPLCCg)
Manual update for rcu changes in 2.0-testing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-30 10:35:55 +00:00
kaf24@firebug.cl.cam.ac.uk 65ac2b823b bitkeeper revision 1.1592 (429ae8ff33cT5EmG9lUTaMO920vjKg)
Manual merge.
2005-05-30 10:20:47 +00:00
kaf24@firebug.cl.cam.ac.uk 1b3ead1336 bitkeeper revision 1.1159.258.154 (429ae8764I9WsS60DkRARFDRTCFT1Q)
Fix Xen idle loop to enter/exit tickless mode in same way as s390,
which interfaces properly with the RCU subsystem.

This includes a patch that fixes a race in the generic RCU code: it
was created by IBM for s390, and is being pushed upstream by them.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-30 10:18:30 +00:00
kaf24@firebug.cl.cam.ac.uk 24f634099d bitkeeper revision 1.1591 (4299ea37xQ46OSnnhSi-IyVI2uATLw)
Bit-scanning function take offset/size as an int, not a long, and
return an int. This allows some small optimisation in code produced
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-29 16:13:43 +00:00
kaf24@firebug.cl.cam.ac.uk a32aebc212 bitkeeper revision 1.1590 (4299cc0csX0iKRxZs-S3QRYAtXSapQ)
Fix default root Makefile target.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-29 14:05:00 +00:00
kaf24@firebug.cl.cam.ac.uk f67376a0dc bitkeeper revision 1.1589 (4299ca474xuIi4-NBh-bI0ilQ8Sw7w)
More bitop cleanups and code improvements.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-29 13:57:27 +00:00
kaf24@firebug.cl.cam.ac.uk 9be9caedcb bitkeeper revision 1.1588 (42999d00gxHg_hThncByjrGk7labNA)
Tidy up and fix the bit-scanning operations. In particular,
find_{first,next}_[zero_]bit(addr, max) may return any value >= max
if no suitable bit is found. This is now also the case for first_cpu()
and next_cpu() (unlike Linux!). I don't believe that any callers
care -- they always check for >= NR_CPUS, and I fixed any_online_cpu()
separately. This reduces code size and will improve performance.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-29 10:44:16 +00:00
maf46@burn.cl.cam.ac.uk e7f2dc7e85 bitkeeper revision 1.1587 (429914fc4wycjm1BHhUK9gZ0LL0sIg)
VMX domains should not have SHM_write_all enabled.
2005-05-29 01:03:56 +00:00
kaf24@firebug.cl.cam.ac.uk f6b93d0cc6 bitkeeper revision 1.1586 (4298e019QH28MgGwaw0jHPWEeEnyoA)
Clean up serial driver in Xen: separate ns16550 driver from generic
serial code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-28 21:18:17 +00:00
leendert@watson.ibm.com[kaf24] 87ade57ac4 bitkeeper revision 1.1585 (42988c63d2BDHoRycJzKDjIR50X5Sw)
[PATCH] [PATCH] VMX world switch does not handle all cases

The latest world switch modification does not handle all cases. Specifically,
when a partition enables CR0.PG|CR0.PE and performs a world switch at the
the same time. The patch below handles this case.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-28 15:21:07 +00:00
kaf24@firebug.cl.cam.ac.uk aecd25280f bitkeeper revision 1.1584 (42984f31pkIsDJAxZBlaJgFWP9L2QA)
Assembly code cleanups. gcc doesn't need very many hints to get the
operand size and register names correct for both x86/32 and x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-28 11:00:01 +00:00
kaf24@firebug.cl.cam.ac.uk 6f3176eb12 bitkeeper revision 1.1583 (42983f5dF7YXNy2i-9EFwNZ_eZer4g)
Clean up bitops.h: all the basic atomic bitops access a 32-bit
memory location, even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-28 09:52:29 +00:00
kaf24@firebug.cl.cam.ac.uk 7d103c7505 bitkeeper revision 1.1582 (429838acDJZ12SHZ0oEfuJwBD4FoqQ)
Make cpuid() less fussy about the type of its pointer parameters.
This fixes the build with gcc4.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-28 09:23:56 +00:00
kaf24@firebug.cl.cam.ac.uk 88fa6c0b24 bitkeeper revision 1.1581 (42983526-uYH3-ev0arYC-GCKopWHg)
This patch should make x86-64 XenLinux more stable. Please apply.

#   Cleanups and improving stability by avoiding complex fixup at
critical section.
#   Also fix error_entry with error set.
#   Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
#   Signed-off-by: Li B Xin <li.b.xin@intel.com>

I think the other was dropped (i.e. not applied in BK):
pfn_pte_ma.patch. Please apply it as well.
2005-05-28 09:08:54 +00:00
kaf24@firebug.cl.cam.ac.uk fe105abbd2 bitkeeper revision 1.1580 (429833a4G8EJ0jx6AoXE77WbZwwrQQ)
Debug build dumps guest state to emergency console if it crashes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-28 09:02:28 +00:00
leendert@watson.ibm.com[kaf24] 40855e46e0 bitkeeper revision 1.1579 (429831c4g3vltIzzOokMmu5rtSZAcQ)
[PATCH] [PATCH] ioemu: enable Cirrus VGA emulation

At some point the Cirrus VGA driver was commented out. Probably
for debugging. The patch below adds it back in. It works just fine.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-28 08:54:28 +00:00
arun.sharma@intel.com[kaf24] a9797bef81 bitkeeper revision 1.1578 (429831b4aG5GnPML1pSzeV9PiOlFAA)
[PATCH] vmx-smsw.patch

Handle vmexits from the SMSW instruction correctly.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-05-28 08:54:12 +00:00
arun.sharma@intel.com[kaf24] 17e89f8169 bitkeeper revision 1.1577 (429831a31IZvEeEnalH3oKUTY7jV7A)
[PATCH] vmx-worldswitch-1-to-1.patch

Fix VMX world switch to use 1:1 page tables when the guest has paging
disabled. Also do a printk instead of VMX_DBG_LOG() anytime we crash
a domain.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-05-28 08:53:55 +00:00
arun.sharma@intel.com[kaf24] e699269ef3 bitkeeper revision 1.1576 (42983193Zhd1D5IEn8s4gplr_BeXnQ)
[PATCH] vmx-io.patch

Fix some of the race conditions that show up when the device models are
running on one CPU and the VMX domain is running on another on a SMP
system.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-05-28 08:53:39 +00:00
kaf24@firebug.cl.cam.ac.uk 1590d44963 bitkeeper revision 1.1575 (4296fb9akkrLM8bKzQ1I7T3Dy3Uu9w)
Patch ipv4 netfilter code to avoid checksumming CHECKUM_UNNCECESSARY
packets. On Xen the check could fail, as packets from domU have a blank
checksum field.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-27 10:51:06 +00:00
kaf24@firebug.cl.cam.ac.uk 7b97cafdde bitkeeper revision 1.1574 (4296fa5erB8OK0RVQ0VDZFNWsbl4Qg)
xm's pincpu has a problem handling the cpu parameter if the cpu number
is more than one digit. This patch fixes it.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-05-27 10:45:50 +00:00
leendert@watson.ibm.com[kaf24] 3acd35a031 bitkeeper revision 1.1573 (4296dbfdboYgUQZDJC6lNdNzKGXKag)
[PATCH] [PATCH] ioemu device-model ignores variables

Trivial patch. The device-model wrapper ignores cdrom and boot variables.
This patch adds them.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-27 08:36:13 +00:00
leendert@watson.ibm.com[kaf24] bd5af41ce4 bitkeeper revision 1.1572 (4296dbecanEyZdOxxZEuQ7szhriF5g)
[PATCH] [PATCH] (missing) More accurate address decoding for

This patch works a lot better when you have all the modified files.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-27 08:35:56 +00:00
leendert@watson.ibm.com[kaf24] 32a53c47c6 bitkeeper revision 1.1571 (4296dbdcx0p8kMuQ9I0m0bHZ7K1BuQ)
[PATCH] [PATCH] More accurate address decoding for VMX string

This patch includes two patches. The major patch is the improved address
decoding for ins/outs instructions. In the previous version, segment
overrides were ignored which caused a lot of problems for parts of the
ROMBIOS code where they are used heavily. Address decoding has been
made slightly easier now that GUEST_LINEAR_ADDRESS is documented. We
still need to work around a bug in the current stepping and make sure
that in protected mode the selector is not null.

The second patch removes the ASSERT(cr3). cr3==0 is a perfectly legal
value and Xen should not crash when its read.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-27 08:35:40 +00:00
leendert@watson.ibm.com[kaf24] d0c895a199 bitkeeper revision 1.1570 (4296dbcdhFdFajOGxHJCyEMvDA0TWg)
[PATCH] [PATCH] Missing start_vmx call

Start_vmx was removed by accident. This patch puts it back. start_vmx
is used to initialize the VMX subsystem, without it VMX operations result
in bad opcode traps and crash Xen.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-05-27 08:35:25 +00:00
kaf24@firebug.cl.cam.ac.uk eba5dac1e0 bitkeeper revision 1.1569 (4296329bfi2iosJzMmIh7KglSdchjQ)
Clean up SMP bootstrap, and fix uniprocessor/APIC-less booting.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 20:33:31 +00:00
kaf24@firebug.cl.cam.ac.uk aacaa43ac8 bitkeeper revision 1.1568 (42960d67jYin00CdEGWDPCLZ5h6Hnw)
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-05-26 17:54:47 +00:00
kaf24@firebug.cl.cam.ac.uk d1cd92d695 bitkeeper revision 1.1567 (4295fc0dckrpqmqbCHpAHRHUcTGMTQ)
Nicer pretty printing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 16:40:45 +00:00
kaf24@firebug.cl.cam.ac.uk 2a2bd8de16 bitkeeper revision 1.1566 (4295f4d0ecoRI1FVDrCqrrfgF5j8ug)
Clean up NMI watchdog handler. No need to hack into ac_timer structs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 16:09:52 +00:00
djm@kirby.fc.hp.com 294f780948 bitkeeper revision 1.1564.1.3 (4295f31bXXSt2FVu5PG4ForW7oosIw)
One-liner to resolve link error due to recent core changes to idle
2005-05-26 16:02:35 +00:00
djm@kirby.fc.hp.com c50eaae8d6 bitkeeper revision 1.1564.1.2 (4295f1bdtwYKVieig5E--rSWauq7Kg)
Merge djm@sportsman.fc.hp.com:/home/djm/xeno-unstable-ia64.bk
into kirby.fc.hp.com:/home/djm/src/xen/xeno-unstable-ia64.bk
2005-05-26 15:56:45 +00:00
xen-ia64.adm@bkbits.net 8f5527ad81 bitkeeper revision 1.1564.1.1 (4295f12eiFrDNUdC-D7-zJOe_Af1fA)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into  bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-05-26 15:54:22 +00:00
vh249@arcadians.cl.cam.ac.uk cc351a6ce9 bitkeeper revision 1.1565 (4295f00bFZpvoNyqpCONmIknfolDLg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/other/xen-unstable.bk
2005-05-26 15:49:31 +00:00
vh249@arcadians.cl.cam.ac.uk d7908aa09a bitkeeper revision 1.1562.1.1 (4295effbUWTVBipGBrKsyDh6-2FoaQ)
add name and pid of app that is using TLS

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-05-26 15:49:15 +00:00
djm@kirby.fc.hp.com 5de3fef23a bitkeeper revision 1.1509.1.5 (4295ee88HY2abQVcdhSuV8au7cjYDA)
First fast hyperprivop support (hyper_rfi)

Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-05-26 15:43:04 +00:00
kaf24@firebug.cl.cam.ac.uk 1aa6feb63b bitkeeper revision 1.1564 (4295ecb2jzOPE0em5dg6Hu_4rbzFCg)
Port CPU setup code from Linux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 15:35:14 +00:00
akw27@arcadians.cl.cam.ac.uk f6b4946f94 bitkeeper revision 1.1563 (4295e70c6gPBeUtVURfaYnxTU_GbrA)
Make disconnect/destroy messages from xend to the backend drivers wait for 
responses to allow backends to shut down the connection properly.
2005-05-26 15:11:08 +00:00
kaf24@firebug.cl.cam.ac.uk 72745b479d bitkeeper revision 1.1562 (4295c663e2dmLlYutTmiDxZ2_Qkpnw)
Fix ac_timer initialisation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 12:51:47 +00:00
kaf24@firebug.cl.cam.ac.uk 2db005c58d bitkeeper revision 1.1561 (42958369EO5iAgCrbpIrx-hK8jzMWQ)
Fix install path for qemu-dm.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-26 08:06:01 +00:00
kaf24@firebug.cl.cam.ac.uk 02d1147de9 bitkeeper revision 1.1560 (4294fb66-WHHJCdXRRXp-4dTrGuiLw)
Trivial fix to email contact address.
2005-05-25 22:25:42 +00:00
kaf24@firebug.cl.cam.ac.uk 29a355e904 bitkeeper revision 1.1559 (4294fab4CMjRyJfuEBP1lUbAC6G9GA)
- pygrub/README provides information on packages needed to compile pygrub
- support reiserfs {2,3} filesystem
- dynamically build modules based on which filesystem libraries the
system has (proposed by Jeremy)
- pump up pygrub to version 0.2


Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-05-25 22:22:44 +00:00
kaf24@firebug.cl.cam.ac.uk 1e3c2c1671 bitkeeper revision 1.1558 (4294f9a2Vif6PUYZMV6j1GuP-Mn6Xg)
gcc4 build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-25 22:18:10 +00:00
djm@kirby.fc.hp.com 3db90e1075 bitkeeper revision 1.1509.1.4 (4294ddbdS0zXLWNl7GY3vmRtzKddcQ)
Implement virtual short format VHPT walker

Signed-off-by: Matthew Chapman <matthewc@hp.com>
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-05-25 20:19:09 +00:00
kaf24@firebug.cl.cam.ac.uk 4e9ae8c366 bitkeeper revision 1.1557 (4294b94bIF7VSJm4DWqLidHZJXHecQ)
x86/64 build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-25 17:43:39 +00:00
kaf24@firebug.cl.cam.ac.uk 6a7439fcbc bitkeeper revision 1.1556 (4294b84bRLO0dqxUhCbkQfM8qt1UoA)
NR_IRQS should be a bit bigger, in anticipation of PCI-MSI support.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-25 17:39:23 +00:00
kaf24@firebug.cl.cam.ac.uk 7cd2aeee94 bitkeeper revision 1.1555 (4294b5f0B3iu-SnB9loIMnLXO0loTA)
Ported genapic to Xen: support for bigsmp and numa platforms such as
es7000.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-25 17:29:20 +00:00