Commit Graph
4382 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk[cl349] 72b1fd4c80 bitkeeper revision 1.1236.54.1 (424f001fylJD_smguTvRssBAMspunA)
First code drop for x86-64 support; further clenaups still required.

Signed-Off-By: Asit Mallick <asit.k.mallick@intel.com>
Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
Signed-Off-By: Benjamin Liu <Benjamin.liu@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-04-02 20:27:11 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 2244934123 bitkeeper revision 1.1236.1.199 (424ef4eahp9zc9DUf9tycOmpkfA2Bw)
Add TARGET_ARCH suffix to defconfig files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-04-02 19:39:22 +00:00
leendert@watson.ibm.com[kaf24] 39d08bc1ba bitkeeper revision 1.1236.1.198 (424e4a89leX7XO7bU7Dkch4KS5zLhQ)
[PATCH] [PATCH] VMX support for MMIO/PIO in VM8086 mode

Memory mapped and port I/O is currently broken under VMX when the
partition is running in VM8086 mode. The reason is that the instruction
decoding support uses 32-bit opcode/address decodes rather 16-bit
decodes. This patch fixes that. In addition, the patch adds support for
the "stos" instruction decoding because this is a frequently used way
to clear MMIO areas such as the screen.

As an aside, vmx_platform.c should really reuse x86_emulate.c as much
as possible.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>

===== tools/ioemu/iodev/cpu.cc 1.7 vs edited =====
2005-04-02 07:32:25 +00:00
leendert@watson.ibm.com[kaf24] b67d9ea723 bitkeeper revision 1.1236.1.197 (424e4a83Uiv2R3w5XZIvsLYfRc7fhQ)
[PATCH] [PATCH] tools/libxc/xc_vmx_build.c broken

xc_vmx_build pins the level 2 page table too early so that subsequent maps
(like those in zap_mmio_ranges) fail and consequently xc_vmx_build fails.
To solve this, this patch pins the l2pt at the end of the function when
all memory initializations are finalized.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
2005-04-02 07:32:19 +00:00
djm@sportsman.spdomain 58eb7f8d5b bitkeeper revision 1.1236.1.196 (424db561VR_6nEc21FjFYEo8bC8SkQ)
ia64: catch up with latest -unstable
2005-04-01 20:56:01 +00:00
djm@sportsman.spdomain ecbcea5336 bitkeeper revision 1.1236.1.195 (424db3316-ouw6gxuWPhF6gqVLr5kQ)
Merge http://xen-ia64.bkbits.net/xeno-unstable-ia64.bk
into sportsman.spdomain:/home/djm/xeno-unstable-ia64.bk
2005-04-01 20:46:41 +00:00
xen-ia64.adm@bkbits.net b3dcbcb71f bitkeeper revision 1.1236.1.194 (424db315wN-6WLb5nifJ_SZs9-2r6A)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-04-01 20:46:13 +00:00
djm@sportsman.spdomain d57ed1b19d bitkeeper revision 1.1236.49.4 (424daeb9mhwcMe-HsktqHZfvMFrb0A)
ia64: update xen address space for VTi compatibility
2005-04-01 20:27:37 +00:00
djm@sportsman.spdomain a1d6b5b539 bitkeeper revision 1.1236.49.3 (424da694hs_tmhgylCZkHbyJJqNXIg)
update to latest -unstable
2005-04-01 19:52:52 +00:00
kaf24@firebug.cl.cam.ac.uk 5489c226a0 bitkeeper revision 1.1236.1.193 (424d888a262A5Ir_HqRljU1mKSNUsQ)
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-04-01 17:44:42 +00:00
kaf24@firebug.cl.cam.ac.uk 9ef012c70b bitkeeper revision 1.1159.258.87 (424d8879K9lhGxxSZd9bVE9LZZ2YDw)
Fix page scrubbing when fewer than 16 pages remain in the scrub list.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 17:44:25 +00:00
kaf24@firebug.cl.cam.ac.uk 217bffd352 bitkeeper revision 1.1236.1.192 (424d7fc8NKHAtqM1BwOleYYeAIj6uw)
Remove more bogus uses of bd_sem, and unnecessary blkif_check and
blkif_revalidate functions from Linux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 17:07:20 +00:00
vh249@arcadians.cl.cam.ac.uk c8befe0916 bitkeeper revision 1.1236.1.191 (424d7be0e1YspeLAWBWse044dLabag)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
2005-04-01 16:50:40 +00:00
vh249@arcadians.cl.cam.ac.uk e143102ea2 bitkeeper revision 1.1236.53.1 (424d7bd1NXn4oTBcD8LpLpWSaFGwyw)
exporting full device now works

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-01 16:50:25 +00:00
kaf24@firebug.cl.cam.ac.uk d453cf0987 bitkeeper revision 1.1236.1.190 (424d7799Fdmy2lgwgEC3NOA1bzXAfg)
Un-PACK the dom0_op structures and bump the interface version number.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 16:32:25 +00:00
kaf24@firebug.cl.cam.ac.uk cea60ac25d bitkeeper revision 1.1236.1.189 (424d776cRx8rE1fz0drKAs8qp8AVVw)
I/O rings may now be dynamically sized: instead of declaring size
at struct definition time, declare it in FRONT/BACK_RING_INIT().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 16:31:40 +00:00
kaf24@firebug.cl.cam.ac.uk 7dd95e149a bitkeeper revision 1.1236.1.188 (424d5d9bWJxugg2qyufAbqW_Iw8ing)
Fix 2.4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 14:41:31 +00:00
kaf24@firebug.cl.cam.ac.uk b7d48a8914 bitkeeper revision 1.1236.1.187 (424d5d8cR-dhzBJoJYstmA_JbmRm5g)
Batch cr3 and ldt switches into a single mmuext_op hypercall. This will
also avoid one unnecessary TLB flush per context switch.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 14:41:16 +00:00
kaf24@firebug.cl.cam.ac.uk 015a5c5ccd bitkeeper revision 1.1236.1.186 (424d5359kAhRjA4t3oq3aye_393FaQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-04-01 13:57:45 +00:00
kaf24@firebug.cl.cam.ac.uk 1cf78bc5f8 bitkeeper revision 1.1236.52.1 (424d53535i5qoHsSZWrLD8tQJZG12w)
Fix FS/GS saving on Linux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 13:57:39 +00:00
vh249@arcadians.cl.cam.ac.uk dea11106fd bitkeeper revision 1.1236.1.185 (424d4eb3GRbQvjFst4j4MoRRngC5dg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
2005-04-01 13:37:55 +00:00
vh249@arcadians.cl.cam.ac.uk 4a0b5ba481 bitkeeper revision 1.1236.51.2 (424d4e45s3_LSUrubUDpgLTFNoQ2xw)
add support for refreshing vbds

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-01 13:36:05 +00:00
vh249@arcadians.cl.cam.ac.uk 7d2cb3e380 bitkeeper revision 1.1236.51.1 (424d4abbioGk0SKwa5bmceZTTxLTTg)
big cleanup. better support for refresh.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-01 13:20:59 +00:00
kaf24@firebug.cl.cam.ac.uk e8f64f24c7 bitkeeper revision 1.1236.1.184 (424d4a00y8MNt89B4nCZ8LKcrTcZUw)
Fix multi-VCPU TLB shootdown interface -- specify pointer to VCPU
bitmap, so it is read at time of flush and not before (which might be
too early, before all updates are flushed, leading to races). Also
add selective multi-VCPU shootdown capability to update_va_mapping()
and use this to make ptep_set_access_flags() a single hypercall.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 13:17:52 +00:00
kaf24@firebug.cl.cam.ac.uk 76d7931a0b bitkeeper revision 1.1236.1.183 (424d1ccaDlUUQZ1KrVHubRYFS5AKQA)
Batch p.t. pin requests during guest restore (after being suspended, or
after migration). Allow L1 tables to be pinned even after their va
backptr is fixed (no longer mutable).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 10:04:58 +00:00
kaf24@firebug.cl.cam.ac.uk 157be1efec bitkeeper revision 1.1236.1.182 (424d1709I2BepRFmTt3ZX8gxYVBdrQ)
sync_lazy_execstate functions are now all arch-specific. We may want
to finetune their behaviour later.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 09:40:25 +00:00
kaf24@firebug.cl.cam.ac.uk 00e8ef7605 bitkeeper revision 1.1236.1.181 (424d132aYORx7PllUl-nlTBMndGn4g)
Improved lazy state switching -- flush the state switch through on the
first flush IPI received. This avoids needing to receive any further
ones at little cost (needed to flush TLB anyway). The main extra cost
will be that, when switching back to a guest, we won't save the 
ctxt switch. But we may have saved an unbounded number of IPI flushes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 09:23:54 +00:00
kaf24@firebug.cl.cam.ac.uk 354e7e4b6a bitkeeper revision 1.1236.1.180 (424d0cc0fMbtHkfJJ78Iu20ay7GbmA)
Clean up blkback data path -- each scatter-gather request maps to
a contiguous extent of a single disk (we no longer directly create
VBDs out of multiple physical extents but leave that kind of thing to
LVM). Also the 2.6 datapath creates the smallest number of bio's that
it can, to avoid unnecessary remerging in the lower block layers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 08:56:32 +00:00
kaf24@firebug.cl.cam.ac.uk 78d691bfa9 bitkeeper revision 1.1236.1.179 (424cff8aq22M6hToflNlSiSDAf7UEA)
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-04-01 08:00:10 +00:00
kaf24@firebug.cl.cam.ac.uk 0dbd084899 bitkeeper revision 1.1159.258.86 (424cff6c82IPl2w_FuJj_0tdGUdFiw)
Correctly account for our reference to plugged_queue in blkback.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 07:59:40 +00:00
kaf24@firebug.cl.cam.ac.uk e709e8d408 bitkeeper revision 1.1236.1.178 (424c71ffL0fO0Lled7Iksns4CZgUlw)
manual merge.
2005-03-31 21:56:15 +00:00
kaf24@firebug.cl.cam.ac.uk f332800617 bitkeeper revision 1.1159.258.85 (424c70fbxU577zq5Tnh2knti4haWSA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-03-31 21:51:55 +00:00
kaf24@firebug.cl.cam.ac.uk 6120ae1e35 bitkeeper revision 1.1159.279.1 (424c70f4QCqyymdEdrsWpGJWoWos9A)
Fix queue unplugging in blkback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 21:51:48 +00:00
iap10@freefall.cl.cam.ac.uk 83e85c9213 bitkeeper revision 1.1236.1.177 (424c6d618owgwMOuAqt8Gn8X7pnDCw)
Merge
2005-03-31 21:36:33 +00:00
iap10@freefall.cl.cam.ac.uk 4e3892396f bitkeeper revision 1.1159.258.84 (424c6a06y0iRheV72bjPbD5lRslQRQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
2005-03-31 21:22:14 +00:00
iap10@freefall.cl.cam.ac.uk b4d3bc3dbb bitkeeper revision 1.1159.278.1 (424c69fdsFkm7FZ7SYMwK1Y6v6p1Og)
Make default CPU placement of domains a bit smarter on systems with
hyperthreading: only dom0 gets to use hyperthreading by default, we
effectively ignore it on all other CPUs by allocating domains to
the same hyperthread. If you don't like this, use 'xm pincpu' to
change it. [note: we probably need to make pincpu more expressive,
providing a list of CPUs that the domain can be scheduled on.]

Signed-off-by: ian@xensource.com
2005-03-31 21:22:05 +00:00
kaf24@firebug.cl.cam.ac.uk 0931cb9078 bitkeeper revision 1.1236.1.176 (424c2d3fy4zylRn8ctgTwLuwa-5b1Q)
Fix SMP TLB flushing in XenLinux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 17:02:55 +00:00
kaf24@firebug.cl.cam.ac.uk 16a5d77205 bitkeeper revision 1.1236.1.175 (424c1ad8A9ykDMzCII6Xz6XXEAqRCg)
noop merge
2005-03-31 15:44:24 +00:00
kaf24@firebug.cl.cam.ac.uk a2628ee068 bitkeeper revision 1.1159.258.83 (424c1abd7LgWMiaskLEEAAX7ffdkXQ)
Backport of batched request_queue unplugging in blkback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 15:43:57 +00:00
kaf24@firebug.cl.cam.ac.uk d73b185634 bitkeeper revision 1.1236.1.174 (424bf73dRPXTiuGP-qQmSHwGKGOyRQ)
Improved TLB flushing of subsets of CPUs. Can now do remote invlpg
as well as complete flush.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 13:12:29 +00:00
kaf24@firebug.cl.cam.ac.uk 7b7eedda27 bitkeeper revision 1.1236.1.173 (424bd85e5lo6-hlVKAhgf-Zu85iruw)
Clean up ctrl msg handling in Linux. Remove VBD_GROW/SHRINK -- a VBD
now maps onto a single complete major/minor that is specified at
VBD_CREATE time. Also improve blkdev request_queue unplugging in the
2.6 backend driver to promote better batching.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 11:00:46 +00:00
kaf24@firebug.cl.cam.ac.uk dacaf11601 bitkeeper revision 1.1236.1.172 (424bc942fd6538s_Er3ugXStTdd5Nw)
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-03-31 09:56:18 +00:00
kaf24@firebug.cl.cam.ac.uk ba77d5acc9 bitkeeper revision 1.1159.258.82 (424bc92fEcWwZjH-px6jvpApRHiBmQ)
fix the broken xen build
2005-03-31 09:55:59 +00:00
kaf24@firebug.cl.cam.ac.uk dd16531356 bitkeeper revision 1.1236.1.171 (424bbaa4hQe-DqWXkaydpYrAVLtpFA)
noop merge.
2005-03-31 08:53:56 +00:00
kaf24@firebug.cl.cam.ac.uk 8d4adc5120 bitkeeper revision 1.1159.258.81 (424bba4091aV1FuNksY_4w_z4Tvr3g)
Backport of Jens blkdev performance patch. I accidentally applied it
first to unstable.
2005-03-31 08:52:16 +00:00
kaf24@firebug.cl.cam.ac.uk 2ddbf56f89 bitkeeper revision 1.1236.1.170 (424bb695wKVs1smMSH8FpgWxT9Gkow)
Fix mbootpack deps.
2005-03-31 08:36:37 +00:00
kaf24@firebug.cl.cam.ac.uk d569c0383f bitkeeper revision 1.1236.1.169 (424bb04eB0_EeDkZ4a4b3PYM1jw59Q)
Patch from Jens Axboe to synchronously flush block requests from our
backend driver down to the disk(s). Big improvement in blkdev
performance.
2005-03-31 08:09:50 +00:00
kaf24@firebug.cl.cam.ac.uk b4c34f2e39 bitkeeper revision 1.1236.1.168 (424baf28WMoJ5y8ZfokGG38qKUacvg)
memset arg ordering.
2005-03-31 08:04:56 +00:00
kaf24@firebug.cl.cam.ac.uk f2ea273302 bitkeeper revision 1.1236.1.167 (424baeff58gP1oFB2UAaXGjoE5zTmw)
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-03-31 08:04:15 +00:00
kaf24@firebug.cl.cam.ac.uk cb666ced1a bitkeeper revision 1.1159.258.80 (424baef1fEkcfSfQH4BQ1MHHtsEiYQ)
Fix memset arg ordering.
2005-03-31 08:04:01 +00:00