aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | bitkeeper revision 1.1619.1.1 (429ce20czCzWvLkTZEZqyN2iK_13sw)cl349@firebug.cl.cam.ac.uk2005-05-312-61/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sched.h, domain.c: Make {exec_,}domain_{un,}pause and ..._by_systemcontroller variants non-inline. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | bitkeeper revision 1.1621 (429cd9bcA05F-_kvHhepys2ZfsrX8Q)kaf24@firebug.cl.cam.ac.uk2005-05-311-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | mm debug cleanup. Signed-off-by: Scott Parish <srparish@us.ibm.com>
* | | | bitkeeper revision 1.1620 (429cd85fOKc8jD7MTDCcMvlczZhiDg)kaf24@firebug.cl.cam.ac.uk2005-05-312-21/+20
|/ / / | | | | | | | | | | | | | | | x86_capability[] array is 32-bit ints, not longs. Signed-off-by: Scott Parish <srparish@us.ibm.com>
* | | bitkeeper revision 1.1619 (429c9b29FRKSmd2yrMG2w6-PtHnc7Q)cl349@firebug.cl.cam.ac.uk2005-05-3132-559/+865
|\ \ \ | | | | | | | | | | | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * | | bitkeeper revision 1.1615.1.3 (429c99ecG3lpbZMR_ulpeFavnrTbcQ)kaf24@firebug.cl.cam.ac.uk2005-05-313-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix get_pte_flags/put_pte_flags macros. Limit 32-bit PAE to 44-bit physical addresses (maximum PFN that will fit in a 32-bit word). Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | bitkeeper revision 1.1615.1.2 (429c8826fS2FuIKb-STmuvL0Hl6awQ)kaf24@firebug.cl.cam.ac.uk2005-05-312-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ioemu fixes: do not install into /usr/share/qemu as it conflicts with real qemu installations. Also, do not link x86/64 with a special linker script -- breaks on SLES9 and ought to be unnecessary. The linker scripts and configuration/Makefile environment all need stripping out at some point. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | bitkeeper revision 1.1615.1.1 (429c8530L_ZtVuxsQcKwKB3yPuljog)kaf24@firebug.cl.cam.ac.uk2005-05-3130-557/+832
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: PAE support This patch adds initial support for PAE paging to xen. This patch does: * boot Xen itself with PAE paging enabled. * add PAE support to the dom0 domain builder. Some notes on the design and the changes: * There are two new config options: CONFIG_X86_PAE (boolean, same name Linux uses to simply things) and CONFIG_PAGING_LEVELS (int, possible values are 2,3,4). I've used #if CONFIG_PAGING_LEVELS for stuff which simply depends on the number of paging levels in the code common for x86-32/64, and CONFIG_X86_PAE for special PAE quirks or i386-only stuff. I've tried to avoid ifdefs if possible though, often I rearranged code to make it work in both PAE and non-PAE case instead. * idle_pg_table: 3rd level is statically initialized, 2nd level is contignous in physical and virtual memory, so it can be addressed linear (the dom0 builder uses the same trick to simplify things a bit btw.). There are two new symbols: idle_pg_table_l3 and idle_pg_table_l2 for the two tables. idle_pg_table is aliased to the toplevel page table, i.e. idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae mode. The idle l3 table is actually never ever touched after boot, the l2 table is accessed via idle_pg_table_l2 and addressed linear in both PAE and non-PAE mode. * I've added a "intpte_t" type and a PRIpte define, modeled after the C99 inttypes.h header, for page table entries. Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
* | | | bitkeeper revision 1.1618 (429c9b21TCCZatsEzYuIU4HRcrJtyA)cl349@firebug.cl.cam.ac.uk2005-05-311-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendDomain.py: Allow migration to localhost. g/c XendDomain.domain_exists(). Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | bitkeeper revision 1.1617 (429c8920BjgVBzWyVe6fs4GTiKD5Yw)cl349@firebug.cl.cam.ac.uk2005-05-312-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | XendDomainInfo.py, XendDomain.py: tmp_restore_create_domain is vm_restore now. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | bitkeeper revision 1.1616 (429c8121AG7l1hMWaCYDFMFSyUtKMA)cl349@firebug.cl.cam.ac.uk2005-05-311-2/+0
|/ / / | | | | | | | | | | | | | | | | | | XendDomainInfo.py: g/c ipaddrs: no longer needed. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1615 (429c80cbvtnzneyg7GyZAmZlQNm-Yg)cl349@firebug.cl.cam.ac.uk2005-05-311-22/+0
| | | | | | | | | | | | | | | | | | | | | XendDomainInfo.py: g/c vm_restore: no longer used. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1614 (429c80a0GOB6P2mG94bxVMLZE34VdA)cl349@firebug.cl.cam.ac.uk2005-05-311-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | XendDomainInfo.py: g/c vif_up: it's the guest's responsibility to take appropriate actions to get its network working again, i.e. send ARP packets when it's resumed. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1613 (429c6e1eexBYav7WpRxH77Hcyh4PLQ)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | XendDomainInfo.py: Should use int(cpu) here to test if it's valid. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1612 (429c6dd5DZf10_GWDT3DTiTom7Mb1g)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | XendDomainInfo.py: cpu == 0 is the 1st cpu, allow pinning a domain to it. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1611 (429c6853QfpsOT-V0bESe-1WhWLOWw)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * \ \ bitkeeper revision 1.1604.1.1 (429c35e2KuWnzd9bfhKRv0nY4yq4Rw)kaf24@firebug.cl.cam.ac.uk2005-05-311-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | bitkeeper revision 1.1602.1.1 (429c35dbocwkNUKh8dzTXqsSFlVFog)kaf24@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix gcc4 build. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | bitkeeper revision 1.1610 (429c6844gwqwv-oCcjfTguJRDbgCXQ)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendRoot.py: Fix get_xend_relocation_port comment. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | bitkeeper revision 1.1609 (429c6790TWBysBM5eFTwmssbNmB69g)cl349@firebug.cl.cam.ac.uk2005-05-311-4/+5
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * | | | bitkeeper revision 1.1159.258.161 (429c6785ldESInztrl6dDaEZHXUyZg)cl349@firebug.cl.cam.ac.uk2005-05-311-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendRoot.py: Document loglevel_default and change default interface address for listening at for console connections. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | bitkeeper revision 1.1608 (429c646erSBefwnCqVeHKzsRTMIwjA)cl349@firebug.cl.cam.ac.uk2005-05-314-22/+22
|\| | | | | | | | | | | | | | | | | | | | | | | | Merge.
| * | | | bitkeeper revision 1.1159.258.160 (429c6406X0OUPVHTFIkpoqSmFue5nQ)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile: Install xen-syms-${version-number} not xen-${version-number}-syms. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * | | | bitkeeper revision 1.1159.258.159 (429c6342A2HJ4wUj0nM5MNauX7azZQ)cl349@firebug.cl.cam.ac.uk2005-05-313-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vnet-xend.txt, user.tex, README: Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11 in several places in documentation. Original patch provided by Andrew Thompson <andrewkt@aktzero.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | bitkeeper revision 1.1607 (429c2f231bx3kugLWzaDsPB4OQMBAA)cl349@firebug.cl.cam.ac.uk2005-05-311-3/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | Merge
| * | | | bitkeeper revision 1.1159.258.158 (429c2ed9fqwHGLXrjJlLr96kpvW_UA)cl349@firebug.cl.cam.ac.uk2005-05-311-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendConsole.py: Remove unused code. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | bitkeeper revision 1.1606 (429c2af45-eQkEjNUi7xp8oigsbTSg)cl349@firebug.cl.cam.ac.uk2005-05-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendProtocol.py: Make XendProtocol.py use XendRoot to get the path to xend domain-socket. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | | bitkeeper revision 1.1605 (429c2a02hn35DARfsEykCzpBrPrMhw)cl349@firebug.cl.cam.ac.uk2005-05-311-2/+0
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | SrvDaemon.py: Remove unused code. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | bitkeeper revision 1.1604 (429c27853YjCcOkLEnjS5rFvk6ORlQ)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * | | bitkeeper revision 1.1159.258.157 (429c276eHQwfuqCUJJBnQeDTzUz3lg)cl349@firebug.cl.cam.ac.uk2005-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XendRoot.py: XendRoot::logDebug wrongly set the message format to 'info', instead of 'debug'. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | | bitkeeper revision 1.1603 (429c25daAxv8CzKG49dW0khs2wyBew)cl349@firebug.cl.cam.ac.uk2005-05-312-4/+2
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | xc_ptrace_core.c, xc_ptrace.c: SLES9 has a problem with it's <asm/elf.h> and other headers associated with it. Since we are only using one thing from this (that we really don't need) we can just stop including it. http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34 Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1602 (429c2005b_phBM8VV-zUAH99jBwhMw)kaf24@firebug.cl.cam.ac.uk2005-05-311-12/+52
| | | | | | | | | | | | | | | | | | Updated process.c for x86-64. Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* | | bitkeeper revision 1.1601 (429c1ed4wKexKmX-ibC6x3hHrciDNQ)kaf24@firebug.cl.cam.ac.uk2005-05-313-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fix CPU detection and initialisation. We now do early detection very early, but pushed full initialisation to somewhat later when other infrastructure is properly ready. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1600 (429ba505NfUdL-sQ8-FAIhULwXSaHQ)smh22@tempest.cl.cam.ac.uk2005-05-302-0/+56
|\| | | | | | | | | | | | | | | | | Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk into tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
| * | bitkeeper revision 1.1159.258.156 (429ba4d3T2WmSlhY2aTmV6KN88hZHw)smh22@tempest.cl.cam.ac.uk2005-05-302-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | Solve badness problem when udp_poll() receives fragmented skbuff w/ CONFIG_HIGHMEM Upstream patch (now in -net tree) from Herbert Xu. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Steven Hand <steven@xensource.com>
* | | bitkeeper revision 1.1599 (429b828aL4XKwdaPjLGObI37F4hwiw)kaf24@firebug.cl.cam.ac.uk2005-05-304-49/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default do not enable local APIC if disabled by the BIOS. This matches Linux behaviour and ought to improve stability on buggy hardware/firmware (laptops in particular). As in Linux, you can forcibly enable the APIC with 'lapic' command-line option, or forcibly ignore it with 'nolapic'. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1598 (429b7933SwjyJJbULLC4ZT800edwvQ)iap10@freefall.cl.cam.ac.uk2005-05-302-318/+885
|\| | | | | | | | | | | | | | | | | 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-xenod/BK/xen-unstable.bk
| * | bitkeeper revision 1.1159.258.155 (429b7918fdegxe1sz_LxgKSA-WkOkA)iap10@freefall.cl.cam.ac.uk2005-05-302-318/+885
| | | | | | | | | | | | | | | | | | Upgrade to Linux patch 2.6.11.11 Signed-off-by: ian@xensource.com
* | | bitkeeper revision 1.1597 (429b4898xNVUuBPMVXKa545qSx7i7A)smh22@firebug.cl.cam.ac.uk2005-05-304-10/+14
| | | | | | | | | | | | | | | | | | | | | fix xm vif-list and xm vbd-list (modulo error reporting for domain 0) Signed-off-by: Steven Hand <steven@xensource.com>
* | | bitkeeper revision 1.1596 (429b3fa2RgeJZgQIRrT4oHa-PKg4zg)smh22@firebug.cl.cam.ac.uk2005-05-301-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | 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
| * | | bitkeeper revision 1.1593.1.1 (429b3f9dAiHnKq38m74zg-HSQnYfwQ)smh22@firebug.cl.cam.ac.uk2005-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | partial fix for vbd-list and vif-list
* | | | bitkeeper revision 1.1595 (429b3970iSiBE6JNLmeO-KDY_v3Hdg)kaf24@firebug.cl.cam.ac.uk2005-05-301-37/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | bitkeeper revision 1.1594 (429b32ebzaQqk1iPvkQPHa7u9hft-g)cl349@firebug.cl.cam.ac.uk2005-05-301-0/+10
|/ / / | | | | | | | | | | | | | | | | | | console.c: Bring back console_{getc,putc}. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1593 (429aec8bP8S_iGAVT8JuCkjdgPLCCg)kaf24@firebug.cl.cam.ac.uk2005-05-301-41/+35
| | | | | | | | | | | | | | | | | | Manual update for rcu changes in 2.0-testing. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1592 (429ae8ff33cT5EmG9lUTaMO920vjKg)kaf24@firebug.cl.cam.ac.uk2005-05-303-12/+22
|\| | | | | | | | | | | | | | Manual merge.
| * | bitkeeper revision 1.1159.258.154 (429ae8764I9WsS60DkRARFDRTCFT1Q)kaf24@firebug.cl.cam.ac.uk2005-05-304-36/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | bitkeeper revision 1.1591 (4299ea37xQ46OSnnhSi-IyVI2uATLw)kaf24@firebug.cl.cam.ac.uk2005-05-292-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | bitkeeper revision 1.1590 (4299cc0csX0iKRxZs-S3QRYAtXSapQ)kaf24@firebug.cl.cam.ac.uk2005-05-291-2/+3
| | | | | | | | | | | | | | | | | | Fix default root Makefile target. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1589 (4299ca474xuIi4-NBh-bI0ilQ8Sw7w)kaf24@firebug.cl.cam.ac.uk2005-05-293-93/+141
| | | | | | | | | | | | | | | | | | More bitop cleanups and code improvements. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1588 (42999d00gxHg_hThncByjrGk7labNA)kaf24@firebug.cl.cam.ac.uk2005-05-292-29/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | bitkeeper revision 1.1587 (429914fc4wycjm1BHhUK9gZ0LL0sIg)maf46@burn.cl.cam.ac.uk2005-05-291-1/+1
| | | | | | | | | | | | | | | VMX domains should not have SHM_write_all enabled.