aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse
Commit message (Collapse)AuthorAgeFilesLines
...
| * [NET] front: Allow driver to be built for an HVM guest.kfraser@localhost.localdomain2006-08-171-0/+1
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Allow driver to be built against kernels which do notkfraser@localhost.localdomain2006-08-171-6/+7
| | | | | | | | | | | | | | have extended checksum-offload info fields in teh skbuff structure. Based on a patch from Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Make netfront compile against kernels without the GSO patch.kfraser@localhost.localdomain2006-08-171-4/+31
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [LINUX] Fix return value of gnttab_resume().kfraser@localhost.localdomain2006-08-171-0/+2
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [HVM] Allow blkfront driver to be built for an HVM guest.kfraser@localhost.localdomain2006-08-171-0/+1
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [HVM] Allow xenbus to run in an HVM guest.kfraser@localhost.localdomain2006-08-171-1/+11
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [LINUX] Allow xenbus to be built as a module.kfraser@localhost.localdomain2006-08-173-3/+8
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [HVM] Avoid accessing start_info from xenbus as far as possible, sincekfraser@localhost.localdomain2006-08-171-5/+3
| | | | | | | | | | | | HVM domains do things slightly differently. Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [HVM] Make grant tables functions work in PV-on-HVM drivers.kfraser@localhost.localdomain2006-08-171-4/+44
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [NET] Fix ``rx->offset: 10, size: 4294967295'' bug.ssmith@weybridge.uk.xensource.com2006-08-171-0/+1
| | | | | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
| * [NET] back: Initialise first fragment properlykfraser@localhost.localdomain2006-08-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first fragment is used to store the pending_idx of the leading txreq if it doesn't fit in the head area. When it does fit into the head we need to ensure that the first fragment contains a value that is not equal to pending_idx as that's what we use to distinguish between the two cases in a a number of places. This patch sets the first fragment to ~0 which is not equal to any valid pending_idx. Without this initialisation, we may double-free a pending_idx if the first fragment happened to contain a value equal to it (this usually happened with pending_idx 0). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [XEN] vga code cleanups and additions for other architectures.kfraser@localhost.localdomain2006-08-161-0/+110
| | | | | | | | | | | | Based on patches from Hollis Blanchard and Alex Williamson. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Define is_initial_xendomain() to zero for HVM drivers.kfraser@localhost.localdomain2006-08-161-0/+4
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [LINUX] Update the hvm_op wrapper now that the return value of get_param is inkfraser@localhost.localdomain2006-08-161-1/+8
| | | | | | | | | | | | the parameter structure rather than the hypercall return value. Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [NET] front: Fix indentation of a comment.kfraser@localhost.localdomain2006-08-161-20/+20
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Allow packets to be copied on the receive path instead of flipped.kfraser@localhost.localdomain2006-08-161-91/+154
| | | | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', whichkfraser@localhost.localdomain2006-08-161-5/+6
| | | | | | | | | | | | | | is slightly more informative and mirrors the 'feature-rx-copy' name which communicates the feature in the other direction (back->front). Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] back: Support copying packets to the frontend on receive path.kfraser@localhost.localdomain2006-08-164-89/+203
| | | | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Fix features on resume when csum is offkfraser@localhost.localdomain2006-08-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When the netfront driver is resumed the features are renegotiated with the backend. However, I forgot take into account the status of the TX checksum setting. When TX checksum is disabled by the user, we cannot enable SG or TSO since both require checksum offload. This patch makes xennet check the checksum setting before renegotiating SG or TSO. This bug was fixed thanks to a report from Anton Burtsev. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * Whitespace clean-ups. shand@kneesaa.uk.xensource.com2006-08-1611-26/+26
| | | | | | | | | | Signed-off-by: Steven Hand <steven@xensource.com>
| * mergeack@localhost.localdomain2006-08-155-54/+61
| |\
| | * Clean up console fields in start_info structure. Add compat code forkfraser@localhost.localdomain2006-08-155-54/+61
| | | | | | | | | | | | | | | | | | | | | older kernels so they can use the old start_info API. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | Don't copy all incoming fragmented packets.ack@localhost.localdomain2006-08-151-3/+29
| |/ | | | | | | | | | | | | | | | | Some drivers (ie the e1000) hand up packets with the header in the main area and the data in a fragment. Unless there are multiple references on any of the data, we don't need to make a full copy of those packets. Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
| * mergeack@localhost.localdomain2006-08-152-0/+52
| |\
| | * Support for vga text modes bigger than 80x25.kfraser@localhost.localdomain2006-08-152-0/+52
| | | | | | | | | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * | Adjust truesize in netfront to more closely reflect real data payloadack@localhost.localdomain2006-08-151-1/+22
| |/ | | | | | | | | | | plus supervisor overheads but keeping out gross hypervisor overheads. Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
| * [LINUX] Mark /dev/mem regions as VM_PFNMAP.kfraser@localhost.localdomain2006-08-142-4/+3
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Oney 'nosmp' and 'max_cpus=' command line options.kfraser@localhost.localdomain2006-08-141-8/+10
| | | | | | | | | | | | Based on a patch from Jan Beulich. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] back: Fix an __init that should be an __exit in loopback driver.kfraser@localhost.localdomain2006-08-141-1/+1
| | | | | | | | | | | | | | This was pointed out by the newer build system used in 2.6.18-rc4. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [LINUX][ Fix x86/64 entry.S to use paravirtualized sti/cli properly.kfraser@localhost.localdomain2006-08-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes - one instance of using XEN_BLOCK_EVENTS where XEN_UNBLOCK_EVENTS was meant - four instances of left-over cli-s that should have been replaced with XEN_BLOCK_EVENTS - one instance of slightly wrong placement (without resulting in ill behavior, but needlessly making the diff to native more complex) Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [LINUX] Provide a handy macro for detrmining if we are domain0.kfraser@localhost.localdomain2006-08-1421-56/+40
| | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [XENBUS] Avoid direct use of xen_start_info. It's unevailable whenkfraser@localhost.localdomain2006-08-144-19/+24
| | | | | | | | | | | | | | building as a separate driver for an HVM guest. Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] linux: Kill the WARN_ON() calls for checksum fixups.kfraser@localhost.localdomain2006-08-141-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset is from upstream Linux. We need it so Xen users using NAT are not unnecessarily alarmed by these WARN_ON errors especially since they're not in a position to do anything about it. Original changelog: [NET]: Kill the WARN_ON() calls for checksum fixups. We have a more complete solution in the works, involving the seperation of CHECKSUM_HW on input vs. output, and having netfilter properly do incremental checksums. But that is a very involved patch and is thus 2.6.19 material. What we have now is infinitely better than the past, wherein all TSO packets were dropped due to corrupt checksums as soon at the NAT module was loaded. At least now, the checksums do get fixed up, it just isn't the cleanest nor most optimal solution. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [LINUX] Split useful bits of page.h into new header maddr.h.kfraser@localhost.localdomain2006-08-147-259/+305
| | | | | | | | | | | | | | | | | | | | Split the bits of page.h which are needed by PV-on-HVM drivers out into a separate header file, so that it's a bit easier to get the xenolinux machine address functions when compiled against a native kernel. Signed-off-by: Steven Smith <ssmith@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * [HVM][LINUX] Add a header file with wrappers for hvm_op hypercall.kfraser@localhost.localdomain2006-08-141-0/+17
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [HVM] Add stubs to Linux for the new hvm_op hypercall.kfraser@localhost.localdomain2006-08-142-0/+14
| | | | | | | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [NET] back: Tidy up and remove communications via references to global ↵kfraser@localhost.localdomain2006-08-141-39/+79
| | | | | | | | | | | | | | structures. Signed-off-by: Steven Smith <ssmith@xensource.com>
| * [NET] front: Restore 16 bytes of reservationkaf24@localhost.localdomain2006-08-121-1/+2
| | | | | | | | | | | | | | | | | | By replacing dev_alloc_skb with alloc_skb we need to do the 16-byte reservation ourselves. Also, it's unnecessary to align the size when calling alloc_skb since the alignment is an implementation detail of alloc_skb and it already takes care of it for us. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
| * [LINUX][XENBUS] Wait for devices to connect when frontend driver is loaded ↵kaf24@localhost.localdomain2006-08-121-9/+42
| | | | | | | | | | | | | | | | | | | | | | | | as a module. Thsi fixes problems where a driver is loaded from a script, and the following parts of the script depend on devices having connected by the time the modprobe/insmod returns. Based on a tested patch from Rik van Riel at Red Hat. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Do not allocate unnecessary page-sized main data areakfraser@localhost.localdomain2006-08-111-3/+8
| | | | | | | | | | | | for receive skbuffs. The bulk data is stored in fragments. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [CONSOLE] Always specify CON_ENABLED in Linux ocnsole driver.kfraser@localhost.localdomain2006-08-101-3/+1
| | | | | | | | | | | | | | | | | | | | I cannot think of any circumstance that the Xen console device would not have CON_ENABLED. With out this, DomUs that panic() before the init process has started (and maybe even after) do not get output hi priority log_levels (like panic()) from LOG_BUF(). Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
* | [IA64] Add stubs to Linux/IPF for the new hvm_op hypercall.awilliam@xenbuild.aw2006-08-221-0/+7
| | | | | | | | | | | | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
* | [IA64] fix non-CONFIG_XEN sparse tree buildawilliam@xenbuild.aw2006-08-167-1/+50
| | | | | | | | | | | | | | | | | | | | | | This patch fixes some over-zealous code removal with the P==M cleanup. Some of the P==M code was shared with the bare metal kernel. Also cleaned up a couple places we should have used CONFIG_XEN. From: Juan Quintela <quintela@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] copy_from/to_guestawilliam@xenbuild.aw2006-08-142-4/+28
|/ | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the copy_from/to_guest problem. As Akio reported, modularised netback causes dom0's down. The following process is happened in gnttab_transfer()@ xen/common/grant_table.c: gnttab_transfer() => steal_page() => assign_domain_page_cmpxchg_rel() => domain_page_flush() => domain_flush_vtlb_all() // all TLBs are flushed ... => __copy_to_guest_offset() // always fail to copy The embedded netback module has no problem because it uses TR pinned data. But modularised one is out of TR. So copy_from/to_guest issue must be solved in order to modularise drivers. Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
* merge with xen-unstable.hgawilliam@xenbuild.aw2006-08-0911-25/+221
|\
| * Make ballon and backend drivers fail gracefully if they are unable to initializeIan.Campbell@xensource.com2006-08-094-28/+58
| | | | | | | | | | | | due to missing hypervisor support. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * Fix BUG_ON on switch_mm if XENFEAT_writable_page_tables is enabled.Ian.Campbell@xensource.com2006-08-091-1/+2
| | | | | | | | Signed-of-by: Ian Campbell <ian.campbell@xensource.com>
| * [PCI] back: New virtual pci backend: slotkaf24@firebug.cl.cam.ac.uk2006-08-083-1/+162
| | | | | | | | | | | | | | | | | | This backend use a slot per pci device. Contrary to vpci two functions from one slot appear as two slots. This is useful on ia64 because it doesn't scan functions > 0 if function 0 does not exist. Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
| * [LINUX] Fix a couple of benign diffs against vanilla spinlock.h.kaf24@firebug.cl.cam.ac.uk2006-08-071-2/+2
| | | | | | | | | | | | From: Jan Beulich Signed-off-by: Keir Fraser <keir@xensource.com>
| * [NET] front: Check for received packets in network_open0 ack@localhost.localdomain2006-08-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the backend brings up the interface long before the frontend has booted up, it is possible that by the time we get here we already have packets queued up for processing. If we don't process them here, we may delay them more than what is necessary. Worse yet, it is possible to miss the notification interrupt from the backend in such a way that we never get another one until we bring the interface down and up. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>