aboutsummaryrefslogtreecommitdiffstats
path: root/patches
Commit message (Collapse)AuthorAgeFilesLines
...
* [NET]: Added GSO supportkaf24@firebug.cl.cam.ac.uk2006-06-281-0/+2907
| | | | | | | Imported GSO patch. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* Add Xenoprof passive domain supportkaf24@firebug.cl.cam.ac.uk2006-06-271-50/+199
| | | | | | Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com> Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
* [LINUX] Kernel should not send out IPv6 autoconfig multicastkaf24@firebug.cl.cam.ac.uk2006-06-171-0/+23
| | | | | | packets if the interface is not marked as multicast-capable. Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
* [LINUX] Fix interaction between idle loop and RCU subsystem.kaf24@firebug.cl.cam.ac.uk2006-06-121-0/+33
| | | | | | | | | | | | | There is a problem with the current implementation of stop_hz_timer in arch/i386/kernel/time-xen.c where the hz timer can be stopped on a CPU which has RCU callbacks pending. This patch backports a new RCU API created to fix this problem for the s390 implementation of stop_hz_timer and also updates the time-xen.c implementation of stop_hz_timer to call the new API. Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
* Fix IDE CD-drive PIO mode.cl349@firebug.cl.cam.ac.uk2006-05-241-0/+18
| | | | | | | | | | | | | | CD drives in PIO mode don't work under Xen because of a change in Linux between 2.6.12 and 2.6.16, as a result of the following thread: http://lists.parisc-linux.org/pipermail/parisc-linux/2005-August/027197.html The change breaks systems which have highmem and a swiotlb because the ide-cd driver doesn't use the swiotlb, resulting in read/writes to/from highmem pages in PIO mode not working any longer. Xen kernels usually have both highmem and a swiotlb. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Patch linux so that /proc/stat shows all -- not just online -- CPUs.ack@kneesa.uk.xensource.com2006-05-221-0/+11
| | | | | This way, tools such as TOP don't freak out when CPUs are hotplugged.
* Fixes to the xenoprofile Linux driver.kaf24@firebug.cl.cam.ac.uk2006-05-161-41/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The active_domains code has race conditions: * oprofile_set_active() calls set_active() method without holding start_sem. This is clearly wrong, as xenoprof_set_active() makes several hypercalls. oprofile_start(), for instance, could run in the middle of xenoprof_set_active(). * adomain_write(), adomain_read() and xenoprof_set_active() access global active_domains[] and adomains without synchronization. I went for a simple, obvious fix and created another mutex. Instead, one could move the shared data into oprof.c and protect it with start_sem, but that's more invasive. Also clean up the code dealing with /dev/oprofile/active_domains: * Use parameters instead of global variables to pass domain ids around. Give those globals internal linkage. * Allocate buffers dynamically to conserve stack space. * Treat writes with size zero exactly like a write containing no domain id. Before, zero-sized write was ignored, which is not the same. * Parse domain ids as unsigned numbers. Before, the first one was parsed as signed number. Because ispunct()-punctuation is ignored between domain ids, signs are still silently ignored except for the first number. Hmm. * Make parser accept whitespace as domain separator, because that's what you get when reading the file. * EINVAL on domain ids overflowing domid_t. Before, they were silently truncated. * EINVAL on too many domain ids. Before, the excess ones were silently ignored. * Reset active domains on failure halfway through setting them. * Fix potential buffer overflow in adomain_read(). Couldn't really happen because buffer was sufficient for current value of MAX_OPROF_DOMAINS. Signed-off-by: Markus Armbruster <armbru@redhat.com>
* Linux: upgrade patches to 2.6.16.13.cl349@firebug.cl.cam.ac.uk2006-05-049-208/+190
| | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16/device_bind.patch => patches/linux-2.6.16.13/device_bind.patch rename : patches/linux-2.6.16/i386-mach-io-check-nmi.patch => patches/linux-2.6.16.13/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16/net-csum.patch => patches/linux-2.6.16.13/net-csum.patch rename : patches/linux-2.6.16/pmd-shared.patch => patches/linux-2.6.16.13/pmd-shared.patch rename : patches/linux-2.6.16/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.16.13/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch rename : patches/linux-2.6.16/smp-alts.patch => patches/linux-2.6.16.13/smp-alts.patch rename : patches/linux-2.6.16/x86-increase-interrupt-vector-range.patch => patches/linux-2.6.16.13/x86-increase-interrupt-vector-range.patch rename : patches/linux-2.6.16/xenoprof-generic.patch => patches/linux-2.6.16.13/xenoprof-generic.patch
* The Xen checksum offload feature attempts to insert a TCP/UDPkaf24@firebug.cl.cam.ac.uk2006-04-221-0/+23
| | | | | | | | | | | | | | | | | | checksums into already encrypted packets (esp4) in dom0. Obviously, it is not possible to insert a checksum into an already encrypted packet, so this patch inserts the checksum prior to encrypting packets in net/ipv4/xfrm4_output.c. To do this cleanly, the TCP/UDP header pointers need to be pointed to the correct spot, so this functionality has been abstracted into a new function. This patch fixes bug 143 (verified by Jim Dykman). Earlier version verified by Jon McCune. Signed-off-by: James Dykman <dykman@us.ibm.com> Signed-off-by: Jon Mason <jdmason@us.ibm.com>
* Rename TSS_sysenter_esp0 to SYSENTER_stack_esp0 to reflect the actualIan.Campbell@xensource.com2006-04-211-0/+31
| | | | | | | usage since the TSS is not used under Xen. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Add xenoprof supportack@kneesa.uk.xensource.com2006-04-061-0/+384
| | | | | | Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
* Fix do_IRQ high bit masking.cl349@firebug.cl.cam.ac.uk2006-03-311-0/+107
| | | | | | | | | Instead of setting the highest bit (which isn't easily done on native x86_64), negate the interrupt vector stored in orig_{e,r}ax. Also add patch for native build. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Fix a Linux bug in the driver core in regards to the bind sysfs driverkaf24@firebug.cl.cam.ac.uk2006-03-231-0/+14
| | | | | | | | | attribute. I've submitted this to lkml, but it should be included in Xen now for people who will use the pciback late binding capability. Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
* Update to Linux 2.6.16.cl349@firebug.cl.cam.ac.uk2006-03-204-62/+62
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch => patches/linux-2.6.16/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16-rc6/net-csum.patch => patches/linux-2.6.16/net-csum.patch rename : patches/linux-2.6.16-rc6/pmd-shared.patch => patches/linux-2.6.16/pmd-shared.patch rename : patches/linux-2.6.16-rc6/smp-alts.patch => patches/linux-2.6.16/smp-alts.patch
* Update to Linux 2.6.16-rc6.cl349@firebug.cl.cam.ac.uk2006-03-184-60/+60
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16-rc5/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16-rc5/net-csum.patch => patches/linux-2.6.16-rc6/net-csum.patch rename : patches/linux-2.6.16-rc5/pmd-shared.patch => patches/linux-2.6.16-rc6/pmd-shared.patch rename : patches/linux-2.6.16-rc5/smp-alts.patch => patches/linux-2.6.16-rc6/smp-alts.patch
* Update to Linux 2.6.16-rc5.cl349@firebug.cl.cam.ac.uk2006-02-274-63/+63
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Update to Linux 2.6.16-rc4.cl349@firebug.cl.cam.ac.uk2006-02-214-0/+0
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16-rc3/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc4/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16-rc3/net-csum.patch => patches/linux-2.6.16-rc4/net-csum.patch rename : patches/linux-2.6.16-rc3/pmd-shared.patch => patches/linux-2.6.16-rc4/pmd-shared.patch rename : patches/linux-2.6.16-rc3/smp-alts.patch => patches/linux-2.6.16-rc4/smp-alts.patch
* Update to Linux 2.6.16-rc3.cl349@firebug.cl.cam.ac.uk2006-02-154-53/+51
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16-rc2/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc3/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16-rc2/net-csum.patch => patches/linux-2.6.16-rc3/net-csum.patch rename : patches/linux-2.6.16-rc2/pmd-shared.patch => patches/linux-2.6.16-rc3/pmd-shared.patch rename : patches/linux-2.6.16-rc2/smp-alts.patch => patches/linux-2.6.16-rc3/smp-alts.patch
* The NAT checksum fixes in patches/linux-2.6.16-rc2/net-csum.patch dokaf24@firebug.cl.cam.ac.uk2006-02-091-11/+6
| | | | | | | | | | | | | | | | | not work when port numbers are modified (bug 447). tcp_manip_pkt()/udp_manip_pkt() modify the protocol checksum to reflect the changes to ip addresses and port numbers. When dev_queue_xmit() finds a message with proto_csum_blank set, it calculates a new tcp/udp checksum that includes both the modified port numbers and the modified protocol checksum field... so the change to the port numbers affects the protocol checksum twice. This patch modifies net-csum.patch to remove the checksum mangling for port numbers in tcp_manip_pkt()/udp_manip_pkt() Signed-off-by: Jim Dykman <dykman@us.ibm.com>
* Update patches for Linux 2.6.16-rc2.cl349@firebug.cl.cam.ac.uk2006-02-034-37/+37
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.16-rc1-git4/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc2/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.16-rc1-git4/net-csum.patch => patches/linux-2.6.16-rc2/net-csum.patch rename : patches/linux-2.6.16-rc1-git4/pmd-shared.patch => patches/linux-2.6.16-rc2/pmd-shared.patch rename : patches/linux-2.6.16-rc1-git4/smp-alts.patch => patches/linux-2.6.16-rc2/smp-alts.patch
* Update to Linux 2.6.16-rc1-git4.cl349@firebug.cl.cam.ac.uk2006-02-024-78/+78
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.15/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc1-git4/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.15/net-csum.patch => patches/linux-2.6.16-rc1-git4/net-csum.patch rename : patches/linux-2.6.15/pmd-shared.patch => patches/linux-2.6.16-rc1-git4/pmd-shared.patch rename : patches/linux-2.6.15/smp-alts.patch => patches/linux-2.6.16-rc1-git4/smp-alts.patch
* Update patches for linux 2.6.15.cl349@firebug.cl.cam.ac.uk2006-02-024-68/+98
| | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : patches/linux-2.6.14/i386-mach-io-check-nmi.patch => patches/linux-2.6.15/i386-mach-io-check-nmi.patch rename : patches/linux-2.6.14/net-csum.patch => patches/linux-2.6.15/net-csum.patch rename : patches/linux-2.6.14/pmd-shared.patch => patches/linux-2.6.15/pmd-shared.patch rename : patches/linux-2.6.14/smp-alts.patch => patches/linux-2.6.15/smp-alts.patch
* No need for the rcu-nohz patch any more, as rcupdate.c waskaf24@firebug.cl.cam.ac.uk2006-02-011-16/+0
| | | | | | | | | made tickless-mode aware long ago. We do need to be a bit more careful about ordering in stop_hz_timer() though. Signed-off-by: Keir Fraser <keir@xensource.com>
* Update to Linux 2.6.14.cl349@firebug.cl.cam.ac.uk2006-01-319-2542/+162
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* Factor re-enabling the IOCK line out of io_check_error()Ian.Campbell@xensource.com2006-01-111-0/+43
| | | | | | | | and into a machine specific function to. Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
* More cleanups to the pmd-shared patch.kaf24@firebug.cl.cam.ac.uk2005-11-261-39/+34
| | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Big reworking of SHARED_KERNEL_PMD logic. Includes severalkaf24@firebug.cl.cam.ac.uk2005-11-241-49/+50
| | | | | | | | | bug fixes for PAE, and reverts my previous changeset that broke non-pae. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix CPU hotplug -- cpu initialisation functions must be declaredkaf24@firebug.cl.cam.ac.uk2005-11-011-0/+34
| | | | | | | | __cpuinit or later hotplug references freed code and data. Signed-off-by: Keir Fraser <keir@xensource.com>
* Upgrade tree to 2.6.12.6.kaf24@firebug.cl.cam.ac.uk2005-10-211-13/+137
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Rename 2.6.12.5 patch so it actually gets applied. Failkaf24@firebug.cl.cam.ac.uk2005-10-191-0/+0
| | | | | | the build if 'patch' is missing. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix NAT for domU checksum offload.kaf24@firebug.cl.cam.ac.uk2005-10-151-0/+45
| | | | | | Signed-off-by: Jon Mason <jdmason@us.ibm.com>
* The attached patch places an updated TPM driver into the sparse directory. kaf24@firebug.cl.cam.ac.uk2005-10-051-74/+0
| | | | | | | | | | | | | | This driver allows to build a Xen0 kernel with TPM front- and backend support and use it as a user domain kernel - something that is not possible to do with the current TPM driver in the 2.6.12 kernel. Once this driver appears in similar form in the kernel, I will remove it from the sparse directory. Signed-off-by: Stefan Berger <stefanb@us.ibm.com> Signed-off-by: Kylene Hall <kjhall@us.ibm.com> Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
* Remove native tpm drivers from the linux sparse tree and replacekaf24@firebug.cl.cam.ac.uk2005-09-171-0/+74
| | | | | | | | with minimal patch in the automatically-applied patches/ directory. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Remove broken patch preventing net device unregister.cl349@firebug.cl.cam.ac.uk2005-08-251-11/+0
| | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* This patch provides a workaround for bugzilla #90 which shows up far tookaf24@firebug.cl.cam.ac.uk2005-08-191-0/+11
| | | | | | | | | | | | | often when creating and then destroying lots of domUs and dom0 is SMP. Details are in the [1]bug. With this patch, I now can create/destroy domains in a tight loop for hours where previously every 3 to 10 cycles would blow up. 1. http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=90 Signed-off-by: Ryan Harper <ryanh@us.ibm.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>
* 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
* Fix x86/64 xenlinux build. Remove stupid patch.kaf24@firebug.cl.cam.ac.uk2005-08-081-68/+0
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Add linux 2.6.12.3 patchiap10@freefall.cl.cam.ac.uk2005-08-031-0/+1047
| | | | | | Signed-off-by: ian@xensource.com
* regenerate smp-alt.patch for 2.6.12vh249@arcadians.cl.cam.ac.uk2005-07-251-37/+37
| | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com>
* Delete resurrected files (from ia64 merge).kaf24@firebug.cl.cam.ac.uk2005-07-168-3953/+0
|
* Merge with ia64-unstable.hgdjm@kirby.fc.hp.com2005-07-158-0/+3953
|\
* | This adds a patch for the vanilla kernel, to be pushed upstream somekaf24@firebug.cl.cam.ac.uk2005-07-111-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | day. It adds a #define which is 1 or 0 depending on whether the pmd for the kernel address space is shared or not. Xen can't use a shared pmd due to linear mappings in the Xen private area. Also includes patches for modified files in the sparse tree. Signed-off-by: Gerd Knorr <kraxel@suse.de> Signed-off-by: Keir Fraser <keir@xensource.com>
* | Remove 2.6.11 patches directory.kaf24@firebug.cl.cam.ac.uk2005-07-119-4516/+0
| |
* | Manual merge.kaf24@firebug.cl.cam.ac.uk2005-07-119-0/+4516
|\|
* | upgrade linux sparse tree from 2.6.11 to 2.6.12vh249@kneesaa.uk.xensource.com2005-07-119-3368/+91
|/ | | | | | | | | | | | | Signed-off-by: Vincent Hanquez <vincent@xensource.com> --HG-- rename : patches/linux-2.6.11/i386-cpu-hotplug-updated-for-mm.patch => patches/linux-2.6.12/i386-cpu-hotplug-updated-for-mm.patch rename : patches/linux-2.6.11/net-csum.patch => patches/linux-2.6.12/net-csum.patch rename : patches/linux-2.6.11/rcu-nohz.patch => patches/linux-2.6.12/rcu-nohz.patch rename : patches/linux-2.6.11/smp-alts.patch => patches/linux-2.6.12/smp-alts.patch rename : patches/linux-2.6.11/x86_64-linux.patch => patches/linux-2.6.12/x86_64-linux.patch
* Fix SMP_ALTERNATIVES to cope with discarded init data.sos22@douglas.cl.cam.ac.uk2005-07-061-1/+10
| | | | | | Signed-off-by: steven.smith@cl.cam.ac.uk
* bitkeeper revision 1.1713.1.13 (42b16610ojQcHPRC6Ao_1CKXClza9A)sos22@douglas.cl.cam.ac.uk2005-06-161-0/+554
| | | | | | | | | | Slightly disgusting hack to avoid using lots of lock instructions on a uniprocessor machine just because we happened to compile with CONFIG_SMP. Essentially, we make a big table of all of the instruction sequences which differ in ``easy'' ways between UP and SMP kernels, and then select which one to use at run time. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* bitkeeper revision 1.1713.1.2 (42ad8793XA-gObRPsPuWlI4gxZ7j5Q)iap10@freefall.cl.cam.ac.uk2005-06-131-2/+277
|\ | | | | | | | | | | 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.167 (42ad874eIWwyPd8tmJO5tkGQ2JoYXQ)iap10@freefall.cl.cam.ac.uk2005-06-131-2/+277
| | | | | | | | | | | | Upgrade to linux patch 2.6.11.12 Signed-off-by: ian@xensource.com