Commit Graph
3037 Commits
Author SHA1 Message Date
kaf24@scramble.cl.cam.ac.uk 2dfd28a23f bitkeeper revision 1.1159.187.28 (41aa30ddzQc4QQ8kotJ3RHoG7dhzsQ)
Update the AGP+DRM patches for 2.6.9, and automatically patch the kernels
before we build them. Also avoid using virt_to_phys() in our virtual drivers
as we may change what it does -- better to use __pa().
2004-11-28 20:11:09 +00:00
kaf24@scramble.cl.cam.ac.uk e97d12ad95 bitkeeper revision 1.1159.187.27 (41a99261iejadhs-BVt7TOiimzafww)
Fix IOPL handling.
 1. Both Linux 2.4 and 2.6 were not correctly setting IOPL during context
    switch (they sent a bogus dom0_op with a bad version number).
 2. The switch_vm86 hypercall was corrupting EFLAGS and setting IOPL==0.
2004-11-28 08:54:57 +00:00
kaf24@scramble.cl.cam.ac.uk 93b7067dd7 bitkeeper revision 1.1159.187.26 (41a8c480rckpADNC0Lh2VZmtPTNKeg)
We must load shared_info into %esi at every external entry point into 
entry.S (i.e., every label marked ENTRY()). I was missing at least
resume_userspace which is essential for vm86.
2004-11-27 18:16:32 +00:00
kaf24@scramble.cl.cam.ac.uk 8d3c9d9309 bitkeeper revision 1.1159.187.25 (41a8b0admRKvVdWsmfs_qXGyCg4BZg)
Check virtual interrupt mask rather than real interrupt flag in Linux 2.6
entry.S. Also fix tabbing in failsafe_callback.
2004-11-27 16:51:57 +00:00
kaf24@scramble.cl.cam.ac.uk ab4f5fcb3e bitkeeper revision 1.1159.187.24 (41a8a1cfEx5fQ9XNJg_Yxyv0C74XUA)
Fix stack padding in failsafe callback. Remove an erroneous asm comment.
2004-11-27 15:48:31 +00:00
kaf24@scramble.cl.cam.ac.uk f8f6217c75 bitkeeper revision 1.1159.187.23 (41a89e22M2fDCeiojlBqp-8YIh3N9w)
Small vm86 fix. vm86 mode still crashes Linux.
2004-11-27 15:32:50 +00:00
kaf24@scramble.cl.cam.ac.uk e5e283215b bitkeeper revision 1.1159.187.22 (41a89729VHxMK8Tp4qcLrOPCoZrdog)
First cut for VM86 support, based on Stephan Diestelhorst's patches. It
doesn't actually work yet -- it's possible that e.g., signal delivery is
broken.
2004-11-27 15:03:05 +00:00
kaf24@scramble.cl.cam.ac.uk 3962da061e bitkeeper revision 1.1159.187.21 (41a85113PA1gYVqMumQ4r2S3y6POGw)
Clean up and fix the 2.6 entry.S:
 1. Save and restore the event_mask in SAVE_ALL / restore_all.
 2. No need to keep reloading %esi all oevr the place as we can load it
    once on entry (e.g., SAVE_ALL) and thereafter it is callee-saves.
 3. No need for extra XEN_UNBLOCK_EVENTS() where native isn't doing a 'sti',
    even if the code looks broken -- it is okay to call schedule() with 
    interrupts off, in which case it will reenable them itself.
 4. Fixed another KERNEL_DS -> USER_DS.
 5. Unmacroed the page fault handler.
 6. A bunch of other tiny fixes....
2004-11-27 10:04:03 +00:00
kaf24@scramble.cl.cam.ac.uk d865fcaa3f bitkeeper revision 1.1159.187.20 (41a77433rez_BGuifdBbTI3Y34kiag)
Deal with exception from guest context with real interrupts disabled.
This can happen because IOPL != 0 and even a well-behaved guest may
execute random BIOS code if it is a privileged hardware-controlling
domain (e.g., DOM0 X server).
2004-11-26 18:21:39 +00:00
kaf24@scramble.cl.cam.ac.uk 9ce92d7114 bitkeeper revision 1.1159.187.19 (41a65822miLPeexZ6MOkyk4Usl-Rpw)
Fix multicall preemption.
2004-11-25 22:09:38 +00:00
kaf24@scramble.cl.cam.ac.uk df4685e4ea bitkeeper revision 1.1159.187.18 (41a64945RGajx3hjodoeMCbM8Ky3ZA)
Cleanups.
2004-11-25 21:06:13 +00:00
kaf24@scramble.cl.cam.ac.uk cbc6eb8357 bitkeeper revision 1.1159.187.17 (41a63c69lFw9w4Qh2aZDluR-6MdrkQ)
More hypercall preemption fixes. do_mmu_update() now correctly remembers the
foreigndom across preempt/resume.
2004-11-25 20:11:21 +00:00
cl349@arcadians.cl.cam.ac.uk bd79c802eb bitkeeper revision 1.1159.187.16 (41a61a44Xij1fE3MnjvIv-xHwoKOZg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-2.0-testing.bk
2004-11-25 17:45:40 +00:00
cl349@arcadians.cl.cam.ac.uk 7d2c65d2e3 bitkeeper revision 1.1159.194.5 (41a61a3a3tGHnMob5s6YpzKC0ZK3aA)
memory.c:
  Fix case where we have a conflicting current active p.t.
  Also simplify code flow.
2004-11-25 17:45:30 +00:00
kaf24@scramble.cl.cam.ac.uk a8bcd6b668 bitkeeper revision 1.1159.187.15 (41a61537tODn12flBND8W6jum0b79Q)
Fix hypercall preemption. At the same time I reimplemented most of the
multi-hypercall in arch-independent C code.
2004-11-25 17:24:07 +00:00
kaf24@scramble.cl.cam.ac.uk 3d833e2c3c bitkeeper revision 1.1159.187.14 (41a60a94xRo19V0VSKpxKYHUxJL14Q)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2004-11-25 16:38:44 +00:00
mafetter@fleming.research e21b4c3cce bitkeeper revision 1.1159.187.13 (41a6082272nwAioGViThlz6Of26a3g)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/netos/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/foo
2004-11-25 16:28:18 +00:00
kaf24@scramble.cl.cam.ac.uk f9eff6091d bitkeeper revision 1.1159.196.2 (41a5ff4ct8PP91KB-eAf60440PriAA)
Get rid of MMU_UPDATE_DEBUG in Linux 2.4.
2004-11-25 15:50:36 +00:00
kaf24@scramble.cl.cam.ac.uk ed59407a6d bitkeeper revision 1.1159.196.1 (41a5fefcFQhZEJPIqPpQEw0opKThFw)
Remove MMU_UPDATE_DEBUG stuff.
2004-11-25 15:49:16 +00:00
iap10@labyrinth.cl.cam.ac.uk b4a062c88e bitkeeper revision 1.1159.187.12 (41a5f5ffLANWdJeipO7JLMl8j-6O3Q)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-11-25 15:10:55 +00:00
iap10@labyrinth.cl.cam.ac.uk e42012022b bitkeeper revision 1.1159.187.11 (41a5f544EJGqYIJJBOFjrPctFG4vhA)
Add wildcard capability to the KERNELS= input to the top-level Makefile.
e.g. make KERNELS=*2.4* world
2004-11-25 15:07:48 +00:00
mafetter@fleming.research 0aa5e0e0fe bitkeeper revision 1.1159.192.3 (41a5f022GBi9_4NENr9ydoPoqjQhRA)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/netos/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/foo
2004-11-25 14:45:54 +00:00
iap10@labyrinth.cl.cam.ac.uk 92423cce13 bitkeeper revision 1.1159.187.10 (41a5ee7fINP79uJ4FyQF72a79xTHLQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-11-25 14:38:55 +00:00
iap10@labyrinth.cl.cam.ac.uk e502f6705c bitkeeper revision 1.1159.187.9 (41a5ee69KVaFjE-ukpNOYoRAXKxWvQ)
trivial fix to 2.4.28
2004-11-25 14:38:33 +00:00
cl349@arcadians.cl.cam.ac.uk c584b00571 bitkeeper revision 1.1159.194.4 (41a5e757kS3W0lQ0UXkviQYcgBr7Gg)
XendDomainInfo.py:
  Fix check for no configured block devices.
2004-11-25 14:08:23 +00:00
cl349@arcadians.cl.cam.ac.uk a540583964 bitkeeper revision 1.1159.194.3 (41a5e729R9jXVAOcrKU-Xq81RscJQQ)
vbd.c, block.h:
  Fix mapping from Xen device numbers to Linux device names.
2004-11-25 14:07:37 +00:00
cl349@arcadians.cl.cam.ac.uk 5574c165a2 bitkeeper revision 1.1159.194.2 (41a5e69b3tIuTQ0hJ7dj4VL-MmKxuw)
entry.S:
  Use __USER_DS for %ds/%es in kernel, like regular i386 Linux.
2004-11-25 14:05:15 +00:00
mafetter@fleming.research 2f9d0f3658 bitkeeper revision 1.1159.192.2 (41a5cf2cIBFwbkcA2H3_LcseHWZHmw)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/netos/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/foo
2004-11-25 12:25:16 +00:00
kaf24@scramble.cl.cam.ac.uk 100723a89e bitkeeper revision 1.1159.194.1 (41a5c5c5J8BRAOOMMsDGqEcd_8brmg)
Sort exception tables during Xen boot. This will fix some nasty crashes
that some people have seen in the last day or so.
2004-11-25 11:45:09 +00:00
mjw@wray-m-3.hpl.hp.com 502e58b973 bitkeeper revision 1.1159.193.2 (41a5c4ea-QO7fPUkeH3KKO5W7upn-w)
Fix 'make dist' to install in xen install dir and
not remake gc every time.
2004-11-25 11:41:30 +00:00
mjw@wray-m-3.hpl.hp.com 00061e1671 bitkeeper revision 1.1159.193.1 (41a5c0f5Uc6PRNRtIoxM4YuW1UdQVQ)
Merge xenbk@gandalf:/var/bk/xen-2.0-testing.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xen-2.0-testing.bk
2004-11-25 11:24:37 +00:00
mafetter@fleming.research 2a91f00708 bitkeeper revision 1.1159.192.1 (41a5b616PKr3oSl-gLQrEOCfYSXbTw)
Don't flip a segment unless it will actually help fix the problem.
Also made the insn decoder slightly more real.
Bug fix in detecting expand-down segments.
2004-11-25 10:38:14 +00:00
iap10@labyrinth.cl.cam.ac.uk 1197d871ab bitkeeper revision 1.1159.187.8 (41a51d432HR76Y8JHARv_4I0VHYPYg)
Upgrade to Linux 2.4.28
2004-11-24 23:46:11 +00:00
cl349@arcadians.cl.cam.ac.uk bd28987fc4 bitkeeper revision 1.1159.187.7 (41a4e12eWWEz6Rwd4YlbRFZKcBjaMQ)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-2.0-testing.bk
2004-11-24 19:29:50 +00:00
cl349@arcadians.cl.cam.ac.uk ea832151eb bitkeeper revision 1.1159.190.1 (41a4e124lX16V4SmG8QpfO6jwnCLAw)
Remove changes to toplevel Linux Makefile since it breaks running mkbuildtree
to refresh a build tree.
2004-11-24 19:29:40 +00:00
kaf24@scramble.cl.cam.ac.uk b0a8440dd0 bitkeeper revision 1.1159.187.6 (41a4d15eNLlT3wCGjZ2RZQx7hDushg)
Behave properly with grows-down data segments. Maybe some cleaning up
and merging with Michael Fetterman's patches required. :-)
2004-11-24 18:22:22 +00:00
cl349@arcadians.cl.cam.ac.uk 6e1544ff09 bitkeeper revision 1.1159.187.5 (41a48ea4noDXAKVgDzH9BvR43D1OQg)
Simplify includes.
2004-11-24 13:37:40 +00:00
mjw@wray-m-3.hpl.hp.com 5ef2b0f4fc bitkeeper revision 1.1159.188.1 (41a4822bOXytSqfi2JTuq_ydBfUFRw)
Add braces.
2004-11-24 12:44:27 +00:00
kaf24@scramble.cl.cam.ac.uk 42217cbc5b bitkeeper revision 1.1159.187.4 (41a471c8NjyQJy-vepqpb8H7LdzHzA)
Allow preemption of long-running hypercalls for softirq processing.
2004-11-24 11:34:32 +00:00
kaf24@scramble.cl.cam.ac.uk 3a0b9c57d5 bitkeeper revision 1.1159.187.3 (41a3bdde1DKDiUc_Vvg6h5QrnkHvJg)
Big rewrite of Xen->guest transition code. If we fault during the transition
then we roll back and reenable interrupts before properly handling the
fault. This means, for example, that shadow code always executes with
interrupts enabled.
2004-11-23 22:46:54 +00:00
iap10@labyrinth.cl.cam.ac.uk 172b6660d8 bitkeeper revision 1.1159.187.2 (41a270c1UPbV2BI-dBs9cyad-p32tQ)
Add patch from Rik van Riel to delete include/.asm-ignore from the top-level Linux Makefile during a mkae mrproper.
I think we'll wait until things settle down before sending this one upstream...
2004-11-22 23:05:37 +00:00
iap10@labyrinth.cl.cam.ac.uk dbb22d8262 bitkeeper revision 1.1159.187.1 (41a26ec1W-iw8iKd-EuzGrvNLX-08g)
Initial ia64 checkin.
2004-11-22 22:57:05 +00:00
iap10@labyrinth.cl.cam.ac.uk 62d6a29b71 bitkeeper revision 1.1159.183.4 (41a26aceaXU8CHj-DqjbnM3q7zLf2g)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-11-22 22:40:14 +00:00
kaf24@scramble.cl.cam.ac.uk 4c24023b97 bitkeeper revision 1.1159.186.1 (41a2662eF1hWrCE7SFR6NRrcnlh3Lg)
xfrd fixes from Charles Coffing.
2004-11-22 22:20:30 +00:00
mjw@wray-m-3.hpl.hp.com 9b16be0d19 bitkeeper revision 1.1159.183.3 (41a2188bAFjxwwkR-Q5G7XglkWtKfQ)
Add vnet files.
2004-11-22 16:49:15 +00:00
mjw@wray-m-3.hpl.hp.com 4b64c0d7ea bitkeeper revision 1.1159.183.2 (41a216ce6YIv6IWbateVWedQylK5rA)
Restructure libxutil to prepare for adding vnets.
Move common files from xfrd into libxutil.
2004-11-22 16:41:50 +00:00
kaf24@scramble.cl.cam.ac.uk c81cf54c19 bitkeeper revision 1.1159.183.1 (41a0fd5c_SO-Z8P4u52CN53Q0eDzqg)
Clean up cacheline-alignment attribute usage. Also add an extra byte to the
TSS I/O bitmap as required by the arch manual.
2004-11-21 20:41:00 +00:00
cl349@arcadians.cl.cam.ac.uk 9b7223024d bitkeeper revision 1.1159.170.53 (419e7eb2DUhjF-0rtAuKlW6KTzFV2A)
Increase padding of tss_struct after size of io_bitmap was slightly reduced.
Without the padding, the tss_struct for other CPUs is not cacheline-aligned.
2004-11-19 23:16:02 +00:00
kaf24@scramble.cl.cam.ac.uk d1cbbf0e5d bitkeeper revision 1.1159.170.52 (419e281dxhj2vE4hBYI-_Ud4rCMAWg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into scramble.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
2004-11-19 17:06:37 +00:00
cl349@arcadians.cl.cam.ac.uk 7f7754a947 bitkeeper revision 1.1159.180.4 (419e1ce3xP6qsH24SA4ybMEapaR_LQ)
g/c empty.c
2004-11-19 16:18:43 +00:00