Commit Graph
3073 Commits
Author SHA1 Message Date
kaf24@scramble.cl.cam.ac.uk bc05bbc8f7 bitkeeper revision 1.1159.187.58 (41b88ba7ZjuJcwYxAL5HR5J_1FXMYw)
sysrq hacks from Matt Bloch
2004-12-09 17:30:15 +00:00
kaf24@scramble.cl.cam.ac.uk aee8954955 bitkeeper revision 1.1159.187.57 (41b5eb65x_JxVnjR7uA3FzGZDy11Hw)
xend fixes.
2004-12-07 17:41:57 +00:00
kaf24@scramble.cl.cam.ac.uk fdea3f84ab bitkeeper revision 1.1159.187.56 (41af859alAU2_flUOUDG6VyGkjJ8Kg)
More balloon fixes.
2004-12-02 21:14:02 +00:00
kaf24@scramble.cl.cam.ac.uk dbff0b77ad bitkeeper revision 1.1159.187.55 (41af81710ePtgtFPsGTTUHYqD1qviA)
Simpler balloon proc entry.
2004-12-02 20:56:17 +00:00
kaf24@scramble.cl.cam.ac.uk 0e5be44a10 bitkeeper revision 1.1159.187.54 (41af4acdZ4YHAyUW9HeJOhMYWMiB1g)
More ballon driver changes/fixes.
2004-12-02 17:03:09 +00:00
kaf24@scramble.cl.cam.ac.uk b75183d336 bitkeeper revision 1.1159.187.53 (41af4581GTHH1sJIbO5TqzuAB2ifOg)
Fix 2.4 build. Minor mods to the balloon driver.
2004-12-02 16:40:33 +00:00
kaf24@scramble.cl.cam.ac.uk 9d857d771b bitkeeper revision 1.1159.187.52 (41af401feJ8RiM76UNPjXCq_P54GJQ)
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-12-02 16:17:35 +00:00
kaf24@scramble.cl.cam.ac.uk c71e2fce22 bitkeeper revision 1.1159.203.1 (41af4018fV44p80Jw5YxFLlk5sh8jg)
Cleaned balloon driver internals. Better integration with device
drivers that also inc/dec memory reservation. Should be more
informative (cat /proc/xen/balloon) and more stable. Needs testing
with Linux 2.4...
2004-12-02 16:17:28 +00:00
cl349@arcadians.cl.cam.ac.uk 37f78e8860 bitkeeper revision 1.1159.187.51 (41aeed6bzN1zaGFaAP8KEzkGD9sW_A)
Makefile:
  Rename install_* targets to install-* -- matching the targets we had already.
2004-12-02 10:24:43 +00:00
kaf24@scramble.cl.cam.ac.uk 89c6d52aaf bitkeeper revision 1.1159.187.50 (41aede9butKaW-WoEitdCDyiPTD0mg)
Export ctrl_if API to modules.
2004-12-02 09:21:31 +00:00
kaf24@scramble.cl.cam.ac.uk 2639d4fd5c bitkeeper revision 1.1159.187.49 (41aede81IBQOThmH0W0AYSHb2Gt7sA)
Split out install targets in root Makefile.
2004-12-02 09:21:05 +00:00
kaf24@scramble.cl.cam.ac.uk ae51438ac6 bitkeeper revision 1.1159.187.48 (41adc6420WlNaaoUkvfgNxl44rpYYg)
Export Xen s/w perfctrs to DOM0 via new 'xenperf' utility.
2004-12-01 13:25:22 +00:00
kaf24@scramble.cl.cam.ac.uk 3752c7fe16 bitkeeper revision 1.1159.187.47 (41ada9dbh_spg2MhqENrhyi6SP00Kg)
Enable some more kernel debugging. Remember to turn off before
pushing to the stable repository!
2004-12-01 11:24:11 +00:00
kaf24@scramble.cl.cam.ac.uk 40adb35757 bitkeeper revision 1.1159.187.46 (41ada9acdxj1sndHML6zY6jvbR0CFg)
Fix netback driver to correctly free the net device struct.
2004-12-01 11:23:24 +00:00
kaf24@scramble.cl.cam.ac.uk e44d6d5992 bitkeeper revision 1.1159.187.45 (41ad915efwXemCBvpJ9zlx5AhK28qw)
Header and EXPORT_SYMBOL() fixes so that more stuff builds.
2004-12-01 09:39:42 +00:00
kaf24@scramble.cl.cam.ac.uk 3f6541107d bitkeeper revision 1.1159.187.44 (41acb9f65Nu4_LCJgeyWLgtrvxeqoA)
Version bumb on control libraries.
2004-11-30 18:20:38 +00:00
kaf24@scramble.cl.cam.ac.uk 637e5764e5 bitkeeper revision 1.1159.187.43 (41acb922MGgCQ71HoZ-M1-vpezLXKQ)
More simplifications to p.t. management.
2004-11-30 18:17:06 +00:00
kaf24@scramble.cl.cam.ac.uk f5f1e2a8d2 bitkeeper revision 1.1159.187.42 (41acab13co1dnyoD3jJfv5m4ox_FFg)
Major balloon driver cleanups. This has required some moderately large
changes to start-of-day code in Linux 2.4 and 2.6.
2004-11-30 17:17:07 +00:00
kaf24@scramble.cl.cam.ac.uk 18bbf10459 bitkeeper revision 1.1159.187.41 (41ac8baanJQsmqG9w2jw_lNTjLGswA)
Fix Xen crash.
2004-11-30 15:03:06 +00:00
kaf24@scramble.cl.cam.ac.uk eaaafa8ef5 bitkeeper revision 1.1159.187.40 (41ac36a5yZurzjumuK6eZfIthngj5Q)
Fix ptep_set_access_flags() macro.
2004-11-30 09:00:21 +00:00
kaf24@scramble.cl.cam.ac.uk 9e34879530 bitkeeper revision 1.1159.187.39 (41ab6fa6Y09a8uLTIgCHmRV5IVqoRA)
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-29 18:51:18 +00:00
kaf24@scramble.cl.cam.ac.uk cfb60f4ea0 bitkeeper revision 1.1159.201.1 (41ab6fa1bs5vtddKGV1tNJawdZEZdw)
New /dev/mem patch moves the Xen specifics out to an arch-specific
file. Read/writes of /dev/mem now access I/O space rather than kernel
space. Fixed ioremap.c a whole lot to now use the rather more robust
direct_remap_area_pages(). 'dmidecode' now works in DOM0. :-)
2004-11-29 18:51:13 +00:00
cl349@arcadians.cl.cam.ac.uk 6098b15ac3 bitkeeper revision 1.1159.187.38 (41ab528ec1Xx-3qp9gmVGB75WNTj9g)
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-29 16:47:10 +00:00
cl349@arcadians.cl.cam.ac.uk 9ea843ee2d bitkeeper revision 1.1159.200.1 (41ab5283wLmdIWOfwXbjBnwp7bSLKg)
entry.S:
  Use macros for loading %esi and for saving the upcall mask.
2004-11-29 16:46:59 +00:00
kaf24@scramble.cl.cam.ac.uk e0596851e8 bitkeeper revision 1.1159.187.37 (41ab4bfa7TgCvGs1cJ6OXr2xhCpYhg)
Enable FXSR usage in XenLinux.
2004-11-29 16:19:06 +00:00
kaf24@scramble.cl.cam.ac.uk f8c21913ce bitkeeper revision 1.1159.187.36 (41ab4bcbSa7RKAWie1XtrxBdva1gCA)
isa_bus_to_virt fixes
2004-11-29 16:18:19 +00:00
kaf24@scramble.cl.cam.ac.uk b77c39cbdc bitkeeper revision 1.1159.187.35 (41ab44466PjrfuHbuNH4oKGm-TGC5w)
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-29 15:46:14 +00:00
kaf24@scramble.cl.cam.ac.uk 3ef3ee4b43 bitkeeper revision 1.1159.199.1 (41ab4412dnDymGEqZNhEzt67Yzgmxw)
MTRR support for privileged kernels. Should help our X-server support.
2004-11-29 15:45:22 +00:00
cl349@arcadians.cl.cam.ac.uk 2b9c469bec bitkeeper revision 1.1159.187.34 (41ab39fcX9O7MQ23ZZswDbS6Tx80Sw)
Use uname -m instead of uname -i to get the build hosts architecture.
2004-11-29 15:02:20 +00:00
kaf24@scramble.cl.cam.ac.uk b582b9903a bitkeeper revision 1.1159.187.33 (41ab10f0GLXR1qCvGRT8TTbIpm5j7A)
Fix ioremap() to only expect the lowmem ISA region to be fixmap()ed
in privileged builds.
2004-11-29 12:07:12 +00:00
kaf24@scramble.cl.cam.ac.uk d053e60583 bitkeeper revision 1.1159.187.32 (41aaf567IYxx6S0v45_yrK6nVpncuA)
Pull Linux MTRR driver into Xen. This ensures that MTRRs are consistent
across all CPUs at boot time. We still need to export MTRR setting via
the control interface, and virtualise the XenLinux MTRR driver.
2004-11-29 10:09:43 +00:00
kaf24@scramble.cl.cam.ac.uk 001350e508 bitkeeper revision 1.1159.187.31 (41aae997XDuKlMRBqUZZiaPiGiIgMg)
Fix ioremap() to check for local non-highmem.
2004-11-29 09:19:19 +00:00
kaf24@scramble.cl.cam.ac.uk e9654731d4 bitkeeper revision 1.1159.187.30 (41aa44b030qAJVNUn8PU9jeLVHS9sA)
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-28 21:35:44 +00:00
kaf24@scramble.cl.cam.ac.uk 6ea2f64395 bitkeeper revision 1.1159.198.1 (41aa44a7joSgzez98niBGEZAU1bASg)
Get rid of all our uses of virt_to_phys():
 1. Many were buggy, so the code needed fixing or clarifying anyway
 2. It means we can now experiment with kludging virt_to_phys() to be
    the same as virt_to_bus(), to get more buggy drivers working. I haven't
    included the kludge in this patch.
2004-11-28 21:35:35 +00:00
iap10@labyrinth.cl.cam.ac.uk 3aa4b9a228 bitkeeper revision 1.1159.187.29 (41aa39b5rEXDtAPSGqjacTncT2yxNQ)
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-28 20:48:53 +00:00
iap10@labyrinth.cl.cam.ac.uk 35b2cd4e49 bitkeeper revision 1.1159.197.1 (41aa39a8_y7hSW5OrZc3_OWAfukaNw)
Add link to ttylinux homepage in the documentation.
2004-11-28 20:48:40 +00:00
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