aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse
Commit message (Collapse)AuthorAgeFilesLines
...
| * [NET] net-gso.patch: Fix up GSO packets with broken checksumskfraser@localhost.localdomain2006-07-102-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is the original changelog: [NET] gso: Fix up GSO packets with broken checksums Certain subsystems in the stack (e.g., netfilter) can break the partial checksum on GSO packets. Until they're fixed, this patch allows this to work by recomputing the partial checksums through the GSO mechanism. Once they've all been converted to update the partial checksum instead of clearing it, this workaround can be removed. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [XENCONSOLE] reference of tty->count in xencons_close() is racy.kfraser@localhost.localdomain2006-07-101-11/+20
| | | | | | | | | | | | | | | | | | It must be protected by tty_sem semaphore like con_close() in drivers/char/vt.c. and prevent re-opening this tty. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Support domU coredump on ia64awilliam@xenbuild.aw2006-07-241-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports domU coredump on ia64. xen_panic_event() is registered to panic_notifier_list, and xen_panic_event() calls HYPERVISOR_shutdown(SHUTDOWN_crash) at panic time. If xend is notified of crash status, xend calls dumpCore() and create domU's core in /var/xen/dump. For sample crash module and usage, see: http://lists.xensource.com/archives/html/xen-ia64-devel/2006-07/msg00230.html Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> [minor code re-arrangement] Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] vDSO paravirtualization: paravirtualize vDSOawilliam@xenbuild.aw2006-07-246-0/+270
| | | | | | | | | | | | | | | | | | | | paravirtualize vdso areabased on Kevin's pointout and Dan's Idea. introduce hyperprivop HYPERPRIVOP_RSM_BE and HYPERPRIVOP_GET_PSR. and paravirtualize vdso area using them. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] vDSO paravirtualization: import linux filesawilliam@xenbuild.aw2006-07-243-0/+668
| | | | | | | | | | | | | | | | | | import gate.S, gate.ld.S and patch.c which are needed to paravirtualize vdso area. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] Save & restore.awilliam@xenbuild.aw2006-07-116-37/+113
| | | | | | | | | | | | | | | | | | | | | | xc_ia64_linux_save.c and xc_ia64_linux_restore.c added. vcpu context has more registers and states (eg: tr registers). Per cpu irqs are deallocated when cpu is switched off. #if/#endif added in reboot.c for ia64. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-07-0523-424/+1251
|\|
| * [NET]: Rename feature-tso to feature-gso-tcpv4kaf24@firebug.cl.cam.ac.uk2006-07-032-4/+5
| | | | | | | | | | | | | | | | This patch renames the name feature-tso to feature-gso-tcpv4 for future expansion. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [NET] front: Zero negotiated bits in xen_set_featureskaf24@firebug.cl.cam.ac.uk2006-07-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When we reconnect to the backend we need to first zero all negotiated bits as the functions xen_set_sg and xen_set_tso do not (and are not supposed to) zero bits when they fail to set them. This patch also permanently enables the NETIF_F_GSO_ROBUST bit as we never parse any GSO fields ourselves (even if we did the backend could not trust us so it's wasted effort). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [NET] back: Add GSO features field and check gso_sizekaf24@firebug.cl.cam.ac.uk2006-07-032-12/+26
| | | | | | | | | | | | | | | | | | | | This patch adds the as-yet unused GSO features which will contain protocol-independent bits such as the ECN marker. It also makes the backend check gso_size to ensure that it is non-zero. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [NET] back: Fix off-by-one error in netbk_tx_errkaf24@firebug.cl.cam.ac.uk2006-07-031-4/+4
| | | | | | | | | | | | | | | | | | The generalised extra request info patch introduced a bug with the use of netbk_tx_err since it advanced the req_cons pointer by one. This patch fixes thing by delaying the increment in netbk_tx_err. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [LINUX] Fix booting with e.g. xencons=tty3, so that tty1/tty2 are valid ↵kfraser@dhcp93.uk.xensource.com2006-07-031-19/+16
| | | | | | | | | | | | | | | | | | | | | | (dummy) devices. Attached patch makes it always create valid devices on tty1-tty63, but all but the one specified by xencons are dummy devices. From: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * Merge with xen-ia64-unstable.hgkaf24@firebug.cl.cam.ac.uk2006-07-0322-402/+1212
| |\
| | * [XENBUS] Another simplification -- bus_for_each_dev() better than ↵kaf24@firebug.cl.cam.ac.uk2006-06-301-10/+5
| | | | | | | | | | | | | | | | | | | | | bus_find_device(). Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [XENBUS] Another fix to the wait-for-device-connection code.kfraser@dhcp93.uk.xensource.com2006-06-301-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | The new method for printing unconnected device status is arguably cleaner and also does not screw up reference counts (previous code called bus_find_device() with no put_device() on the result. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [XENBUS] Do not wait for devices with no driver to connect.kfraser@dhcp93.uk.xensource.com2006-06-301-16/+42
| | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [XENBUS] Improve the code for waiting for devices to connect. Providekaf24@firebug.cl.cam.ac.uk2006-06-301-17/+18
| | | | | | | | | | | | | | | | | | | | | a more useful error when devices fail to connect. From: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [BLK] back: Only remove sysfs attributes if they were previouslykfraser@dhcp93.uk.xensource.com2006-06-301-5/+11
| | | | | | | | | | | | | | | | | | added. Also check for errors during attribute creation. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [LINUX] Replace pagetable walks by simple address calculation.kfraser@dhcp93.uk.xensource.com2006-06-301-18/+2
| | | | | | | | | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| | * [LINUX] A few clean ups and a fix to an error path in ↵kfraser@dhcp93.uk.xensource.com2006-06-301-4/+5
| | | | | | | | | | | | | | | | | | | | | xen_create/destroy_contiguous_region. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * Use explicit accessors to handle unusually-sized atomic operations in grant ↵kaf24@firebug.cl.cam.ac.uk2006-06-303-2/+6
| | | | | | | | | | | | | | | | | | | | | table code. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
| | * evtchn_do_upcall() has a micro optimization which is depends on that xchg is ↵kaf24@firebug.cl.cam.ac.uk2006-06-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a barrier. However xchg of IA64 has acquire semantics so that event channel notification is lost sometimes. This patch fixes it. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| | * [NET]: Remove gso.segs field from netif protocol.kfraser@dhcp93.uk.xensource.com2006-06-302-5/+7
| | | | | | | | | | | | | | | | | | From: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [BLK] back: Clean up sysfs-interfacing code to use VBD_SHOW macro where ↵kaf24@firebug.cl.cam.ac.uk2006-06-301-44/+21
| | | | | | | | | | | | | | | | | | | | | possible. Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
| | * [NET] front: Transmit TSO packets if supportedkfraser@dhcp93.uk.xensource.com2006-06-291-4/+53
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds TSO transmission support to the frontend. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [NET] back: build fixes.kfraser@dhcp93.uk.xensource.com2006-06-291-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [NET] More net protocol and GSO changes.kfraser@dhcp93.uk.xensource.com2006-06-292-13/+53
| | | | | | | | | | | | | | | | | | From: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [LINUX] When ballooning out (returning memory to xen), don't try too hard shand@kneesaa.uk.xensource.com2006-06-291-1/+6
| | | | | | | | | | | | | | | | | | | | | to allocate pages - this reduces the chance of the oom killer being invoked. Signed-off-by: Steven Hand <steven@xensource.com>
| | * Use a static page for the frame_list in the balloon driver. shand@kneesaa.uk.xensource.com2006-06-291-26/+9
| | | | | | | | | | | | | | | | | | | | | Simplifies code and robustifies against oom situations. Signed-off-by: Steven Hand <steven@xensource.com>
| | * Fix the kunmap_atomic() change in ↵kaf24@firebug.cl.cam.ac.uk2006-06-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 10529:4260eb8c08740de0000081c61a6237ffcb95b2d5. Mustn't zap the PTE if the virtual address is not in kmap_atomic range! Signed-off-by: Keir Fraser <keir@xensource.com>
| | * Fix next_timer_interrupt() in patch and update callerack@localhost.localdomain2006-06-281-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | to deal with the case of existing pending timers. Fixes a dom0 hang at boot time on some HPs where some dubious USB code is invoked from pci_init() that potentially calls msleep(10) a few times. Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
| | * New /sys/hypervisor/uuid, containing this domain's UUID.kaf24@firebug.cl.cam.ac.uk2006-06-281-0/+39
| | | | | | | | | | | | | | | Signed-off-by: Markus Armbruster <armbru@redhat.com>
| | * kunmap_atomic() must zap the PTE to avoid dangling referenceskfraser@dhcp93.uk.xensource.com2006-06-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when attempting to free memory back to Xen. We can implement something more efficient in future. Also add debug print message if guest tries to free 'in use' memory. We'll make it a real guest-visible error in future. Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [LINUX] Export flush_tlb_page() to modules in i386-smp builds.kfraser@dhcp93.uk.xensource.com2006-06-281-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * [TPM] Update the TPM drivers in the repository to a newer versionkaf24@firebug.cl.cam.ac.uk2006-06-287-251/+945
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and also fixes the following: - a problem introduced by a recent change to the xenbus_driver structure requires driver-specific data to be stored in another data structures - removes the #define'd MIN by min/min_t - moves the sysfs entry to /sys/devices/xen/<vtpm-%d> - fixes a bug occurring during cancellation of requests - updates the default configuration to also compile the TPM V1.2 driver submitted in part 2 of this patch - all changes made to the generic TPM driver are surrounded by #ifdef CONFIG_XEN's. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* | | [IA64] Implement and use DOM0_DOMAIN_STEUP.awilliam@xenbuild.aw2006-07-052-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOM0_GETMEMLIST now reads ptes and use gpfn. Domain builder reworked: calls DOMAIN_SETUP, setup start_info page. SAL data are now in domain memory. is_vti field added in domain.arch. Many cleanups (indentation, static, warnings). Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* | | [IA64] A few clean ups in __xen_create/destroy_contiguous_region.awilliam@xenbuild.aw2006-07-031-2/+2
|/ / | | | | | | | | | | | | | | | | This is the IA64 counter part of the C/S 10563:a75c1bdfe76146ad591574d805be5be0a3098d2a of xen-unstable.hg Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-06-2818-318/+706
|\|
| * [NET] back: Add TSO supportkaf24@firebug.cl.cam.ac.uk2006-06-283-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds TCP Segmentation Offload (TSO) support to the backend. It also advertises this fact through xenbus so that the frontend can detect this and send through TSO requests only if it is supported. This is done using an extra request slot which is indicated by a flag in the first slot. In future checksum offload can be done in the same way. The extra request slot must not be generated if the backend does not support the appropriate feature bits. For now this is simply feature-tso. If the frontend detects the presence of the appropriate feature bits, it may generate TX requests which have the appropriate request flags set that indicates the presence of an extra request slot with the extra information. On the backend the extra request slot is read if and only if the request flags are set in the TX request. This protocol allows more feature bits to be added in future without breaking compatibility. At least the hardware checksum bit is planned. Even though only TSO is supported for now the code actually supports GSO so it can be applied to any other protocol. The only missing bit is the detection of host support for a specific GSO protocol. Once that is added we can advertise all supported protocols to the guest. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] loopback: Added support for TSOkaf24@firebug.cl.cam.ac.uk2006-06-281-0/+5
| | | | | | | | | | | | | | | | Just like SG, TSO support here is innate. So all we need to do is mark it as such. This patch also adds the ethtool control functions for SG. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [NET]: Give make_tx_response the req pointer instead of idkaf24@firebug.cl.cam.ac.uk2006-06-281-7/+7
| | | | | | | | | | | | | | | | This patch changes the make_tx_response id argument to a request pointer instead. This allows us to test the request flag in future for TSO. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [NET]: Added GSO supportkaf24@firebug.cl.cam.ac.uk2006-06-283-98/+324
| | | | | | | | | | | | | | Imported GSO patch. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [BLKBACK] Output statistics to sysfs.kfraser@dhcp93.uk.xensource.com2006-06-281-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The location is 'statistics' directory under each VBD directory, for example, /sys/devices/xen-backend/vbd-x-xxxx/statistics. The 'statistics' directory includes the following three statistical information: oo_req is the number of requests held up due to full pipeline. rd_req is the number of processed READ requests. wr_req is the number of processed WRITE requests. Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
| * [LINUX] Fix a few compile warnings and memory leaks in the sysfs driver.kaf24@firebug.cl.cam.ac.uk2006-06-271-38/+49
| | | | | | | | | | | | | | Also clean up the general allocate-call-free idiom that is used throughout the file. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX][BLKBACK] Support temporary disconnection from frontend.kaf24@firebug.cl.cam.ac.uk2006-06-273-7/+22
| | | | | | | | | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Allow dma_alloc_coherent() to work for regions up to 2MB.kfraser@dhcp93.uk.xensource.com2006-06-271-1/+1
| | | | | | | | | | | | | | The previous limit of 0.5MB was insufficient for some drivers (e.g., when loading firmware). Signed-off-by: Keir Fraser <keir@xensource.com>
| * [BALLOON] Add fallback code so that e.g. a domain ballooned too far down can ↵kaf24@firebug.cl.cam.ac.uk2006-06-271-16/+27
| | | | | | | | | | | | | | | | | | still (slowly) recover. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [TPM] Fix an occasional problem when doing local migration due to the xenstore'skaf24@firebug.cl.cam.ac.uk2006-06-274-11/+24
| | | | | | | | | | | | | | | | | | | | 'instance' variable not being initialized at the time when it's driver counterpart is accessed. That variable's content was used to initialize the tpmif structure. Instead, now a pointer to the structure is passed whose 'instance' variable will be initialized before the domain is resumed. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * Add Xenoprof passive domain supportkaf24@firebug.cl.cam.ac.uk2006-06-271-10/+120
| | | | | | | | | | | | Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com> Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
| * [VTPM_TOOLS] Hotplug script enabled the vtpm manager and removed thekaf24@firebug.cl.cam.ac.uk2006-06-273-114/+0
| | | | | | | | | | | | | | control messages from the BE. Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>