aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Tweaks to network-bridge script.iap10@firebug.cl.cam.ac.uk2005-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | | PDB: watchpoints for process contextach61@arcadians.cl.cam.ac.uk2005-08-1515-83/+787
| | | | | | | | |
* | | | | | | | | Enable magic sysrq in -xen x86_64 kerneliap10@firebug.cl.cam.ac.uk2005-08-151-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | | Update x86_64 Linux kernels to add SMP to -xen and -xenU plus magic sysrq to ↵iap10@firebug.cl.cam.ac.uk2005-08-153-27/+66
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all. Signed-off-by: ian@xensource.com
* | | | | | | | Upgrade to Linux 2.6.12.5 patchvh249@arcadians.cl.cam.ac.uk2005-08-151-1/+349
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-152-0/+4
|\ \ \ \ \ \ \
| * | | | | | | Trivial fixes for a couple of xenlinux compile warnings.akw27@arcadians.cl.cam.ac.uk2005-08-152-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: <andrew.warfield@cl.cam.ac.uk>
* | | | | | | | Quieten down grant table code.iap10@freefall.cl.cam.ac.uk2005-08-151-2/+2
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | Add generic_page_range() -- generic page table operation.akw27@arcadians.cl.cam.ac.uk2005-08-157-101/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux has several instances of repeated code to do updates to a range of PTEs. Mapping memory between domains in Xen also tends to need to do this quite frequently, to ensure page tables have been constructed and to look up PTE addresses when making mapping-related hypercalls. This patch adds a generic PTE walk-and-fill operation that takes a function pointer to call on leaf entries. direct_remap_area_pages() is updated to use the new call, ass are abuses of __direct_remap_area_pages. This patch also introduces two new helper functions for working with page tables when mapping memory between domains: create_lookup_pte_addr() returns the machine address of a PTE, allocating intermediate page tables as necessary. touch_pte_range() ensures that page tables exist for a virtual address range. Many of the existing linux page table operations (e.g. zap/remap/etc) could be modified to use this interface, which would potentially shorten up mm/memory.c a bit.
* | | | | | | Add a far more complete -xen config file for x86_64, based on FC3.iap10@firebug.cl.cam.ac.uk2005-08-151-563/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Chengyuan Li chengyuan.li@intel.com NB: We should probably advertise the existence of the -xen configs. These are almost certainly what end-users should be using rather than -xen0 and -xenU, which are really for the convenience of developers. Signed-off-by: ian@xensource.com
* | | | | | | mergeiap10@firebug.cl.cam.ac.uk2005-08-151-3/+3
|\ \ \ \ \ \ \
| * | | | | | | Small change to remove difference between Xen and mainline deactivate_mm.vh249@arcadians.cl.cam.ac.uk2005-08-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While there, cleanup prepare_arch_switch as well. This generates identical code. Signed-off-by: Chris Wright <chrisw@osdl.org>
* | | | | | | | Add a few options to the Linux x86_64 domU config.iap10@firebug.cl.cam.ac.uk2005-08-151-4/+26
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | Just a very simple patch that removes:kaf24@firebug.cl.cam.ac.uk2005-08-152-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rch/xen/x86_64/mm/init.c: In function `xen_init_pt': arch/xen/x86_64/mm/init.c:560: warning: unused variable `old_level4 rch/xen/x86_64/kernel/apic.c: In function `smp_local_timer_interrupt': arch/xen/x86_64/kernel/apic.c:48: warning: unused variable `cpu' Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | | | | | The patch cleans up (ugly) setup.c that I wanted to fix for a long timekaf24@firebug.cl.cam.ac.uk2005-08-152-161/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (but did not have time for that). It should be compiled for the native x86_64 Linux as well (but not tested yet, so I don't guarantee): - no #if 0 or comment out - use CONFIG_XEN for xen specific code - preparation for merge to the upstream - tested both dom0 (UP and SMP) and domU Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | | | | | The patch attached removes pda.h and asm_offset.c by deleting unused orkaf24@firebug.cl.cam.ac.uk2005-08-155-163/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unnecessary variables (that were used for old codes). Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | | | | | Fix special backptr values on x86/64 to avoid spuriouskaf24@firebug.cl.cam.ac.uk2005-08-151-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrpt emulations. Signed-off-by: Keir Fraser <keir@xensource.com> Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | | | | | Fix cpu_khz reporting in XenLinux.kaf24@firebug.cl.cam.ac.uk2005-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | | merge.kaf24@firebug.cl.cam.ac.uk2005-08-151-1/+220
|\ \ \ \ \ \ \
| * | | | | | | Upgrade to Linux 2.6.12.4 patchiap10@freefall.cl.cam.ac.uk2005-08-141-1/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com --HG-- rename : patches/linux-2.6.12/linux-2.6.12.3.patch => patches/linux-2.6.12/linux-2.6.12.4.patch
* | | | | | | | Enable grant tables by default for network; merge fixes to grant_table.c.smh22@firebug.cl.cam.ac.uk2005-08-140-0/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
| * | | | | | | | Less verbose grant tables when xen is verbose.smh22@firebug.cl.cam.ac.uk2005-08-141-87/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | | Enable grant tables by default for networking. Note that the restore pathsmh22@firebug.cl.cam.ac.uk2005-08-144-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (for resume/migrate) is not yet there, but should be shortly. Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | | Less verbosity from grant_tables.smh22@firebug.cl.cam.ac.uk2005-08-141-87/+91
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | Build fixes for grant tables.smh22@firebug.cl.cam.ac.uk2005-08-143-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | Clean up correct number of grant references on netif destory.smh22@firebug.cl.cam.ac.uk2005-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-149-50/+206
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | mergesmh22@firebug.cl.cam.ac.uk2005-08-141-6/+12
| |\ \ \ \ \ \ \
| * | | | | | | | Allow use of grant tables for netdev tx+rx rings. Code is kinda smh22@firebug.cl.cam.ac.uk2005-08-149-50/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ugly due at least in part to the fact that we still have separate _TX and _RX grant config options - expect this to be unified soon. Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | | | | Make the default network-script to be '' i.e. don't run a network script. ↵iap10@freefall.cl.cam.ac.uk2005-08-142-2/+2
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Makefile to actually install network-bridge script. Signed-off-by: ian@xensource.com
* | | | | | | | Fix __pte,__pmd,__pgd for PAE.kaf24@firebug.cl.cam.ac.uk2005-08-141-6/+12
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | | Reduce Xen noise on x86/64.kaf24@firebug.cl.cam.ac.uk2005-08-141-2/+0
| | | | | | |
* | | | | | | merge.kaf24@firebug.cl.cam.ac.uk2005-08-144-10/+10
|\ \ \ \ \ \ \
| * | | | | | | Now we have verbose=y in Xen by default, tidy up a few unhelpful printk's.iap10@freefall.cl.cam.ac.uk2005-08-144-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | Some arch/x86 gnttab cleanups in Xen.kaf24@firebug.cl.cam.ac.uk2005-08-145-211/+141
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | | Avoid stack overflow in netback by statically allocating thekaf24@firebug.cl.cam.ac.uk2005-08-141-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grant-table map/unmap arrays. Spotted by Michael Vrable. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | | Currently xm list --long only displays info about the last domain. The kaf24@firebug.cl.cam.ac.uk2005-08-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attached patch fixes this so it displays info about each domain. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* | | | | | | This patch fixes the booting problems on machines with >4GB memory, andkaf24@firebug.cl.cam.ac.uk2005-08-141-78/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is applicable to both x86_64 and x86 PAE. Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | | | | | mergekaf24@firebug.cl.cam.ac.uk2005-08-141-0/+1
|\ \ \ \ \ \ \
| * | | | | | | Fix x86_64 build.iap10@freefall.cl.cam.ac.uk2005-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Nakajima, Jun [jun.nakajima@intel.com]
* | | | | | | | merge...iap10@freefall.cl.cam.ac.uk2005-08-132-19/+33
|\| | | | | | |
| * | | | | | | New 'network-bridge' script that uses ifdown/ifup to configure the interface ↵iap10@freefall.cl.cam.ac.uk2005-08-132-19/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than trying to transfer addresses and routes. (Suggested by Gerd Knorr) Although Li Ge has had problems with this script he had trouble with the previous too. I think this new one should work for more people, particularly those using DHCP on their primary dom0 interface. Debugging is currently enabled ("sh -x") so a log of the script's execution is output to /var/log/xend.log Signed-off-by: ian@xensource.com --HG-- rename : tools/examples/network => tools/examples/network-bridge
* | | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-134-5/+54
|\| | | | | | |
| * | | | | | | Add "set_pte_at_sync" (integrated invlpg) in Linux i386/mm/highmem.c to ↵iap10@freefall.cl.cam.ac.uk2005-08-133-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improve performance for domains with >900MB of memory. Signed-off-by: ian@xensource.com
| * | | | | | | Optimize the Linux arch xen implementation of "set_pte_at". iap10@freefall.cl.cam.ac.uk2005-08-133-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-132-5/+5
|\| | | | | | |
| * | | | | | | I missed a couple of files out of the patch to wrap calls to ↵iap10@freefall.cl.cam.ac.uk2005-08-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update_va_mapping with BUG_ON(). [We really need an equivalent of 'citool' for mercurial...] Signed-off-by: ian@xensource.com
* | | | | | | | mergeiap10@freefall.cl.cam.ac.uk2005-08-1310-32/+184
|\| | | | | | |
| * | | | | | | Add some profiling support for writeable pagetables.iap10@freefall.cl.cam.ac.uk2005-08-135-5/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: ian@xensource.com
* | | | | | | | Fix .hgignore to reflect change in parallax directory structure.akw27@arcadians.cl.cam.ac.uk2005-08-131-10/+10
| | | | | | | |