aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse
Commit message (Collapse)AuthorAgeFilesLines
...
* | [IA64] evtchn_callback fix and cleanawilliam@xenbuild2.aw2006-12-185-21/+31
|/ | | | | | | | | | | | | | | Since we had changed to use event callback to deliver interrupts, 1. The pending_interruption is changed to pending_event. 2. get_ivr, set_tpr, get_trp and set_eoi are not used or only used in the initialization phase. There is no need to write this code in assembly. This code is deleted. 3. hyper_ssm_i needs to be rewritten to jump to entchn_callback_handler instead of iva+0x3000 interrupt handler. I will do this later. Signed-off-by: Anthony Xu <anthony.xu@intel.com>
* [NET]: Fix segmentation of linear packetskfraser@localhost.localdomain2006-12-151-5/+4
| | | | | | | | | | | | | | | | skb_segment fails to segment linear packets correctly because it tries to write all linear parts of the original skb into each segment. This will always panic as each segment only contains enough space for one MSS. This was not detected earlier because linear packets should be rare for GSO. In fact it still remains to be seen what exactly created the linear packets that triggered this bug. Basically the only time this should happen is if someone enables GSO emulation on an interface that does not support SG. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
* Merge with xen-ia64-unstable.hgkfraser@localhost.localdomain2006-12-143-16/+16
|\
| * [NET] front: Fix crashes when xenstore watches fire multiple times.kfraser@localhost.localdomain2006-12-142-0/+6
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [XENFB] No need for IRQs to be disabled in critical regions.kfraser@localhost.localdomain2006-12-141-16/+10
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | merge with xen-unstable.hgawilliam@xenbuild2.aw2006-12-142-18/+17
|\|
| * [LINUX] Fix seg-fixup warning.kfraser@localhost.localdomain2006-12-141-5/+5
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Fix build without CONFIG_HOTPLUG_CPUkfraser@localhost.localdomain2006-12-141-13/+12
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* | [IA64][BUILD] XEN_XKBUFF needs to depend on NETawilliam@xenbuild2.aw2006-12-141-0/+1
|/ | | | Signed-Off-By: Simon Horman <horms@verge.net.au>
* [NET] back: Atomic buffer allocations use __GFP_NOWARN.kfraser@localhost.localdomain2006-12-111-2/+3
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2006-12-0818-81/+2392
|\
| * [LINUX] Kexec: Remove remainder of kexec-generic.patchIan Campbell2006-12-085-6/+5
| | | | | | | | | | | | | | Rename xen_machine_kexec() to just machine_kexec() and only compile in the Xen or native version as appropriate. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Kexec: Reapply kexec patches to sparse tree.Ian Campbell2006-12-088-19/+238
| | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Kexec: add kexec files to sparse tree.Ian Campbell2006-12-088-0/+2050
| | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Kexec: Do not bug if a kexec hypercall fails.Ian Campbell2006-12-081-14/+20
| | | | | | | | | | | | | | This is non fatal since we can recover and boot without kexec functionality. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] CONFIG_XEN_BACKEND=m build properly.kfraser@localhost.localdomain2006-12-082-8/+4
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [LINUX] Make CONFIG_XEN_FRAMEBUFFER=m build properly.kfraser@localhost.localdomain2006-12-081-0/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Make xb_waitq static.kfraser@localhost.localdomain2006-12-082-2/+1
| | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [LINUX] Clean up and clarify find_unbound_irq().kfraser@localhost.localdomain2006-12-081-13/+11
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] Fail gracefully if we run out of spare IRQs.kfraser@localhost.localdomain2006-12-074-50/+93
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] The crash note resource should be nested inside the hypervisorIan Campbell2006-12-051-1/+1
| | | | | | | | | | | | | | | | | | resource. This was exposed by 12709:98413fa7826c which corrected the length of the hypervisor resource. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | [IA64] implement free_irq_vector() paravirtualizationawilliam@xenbuild2.aw2006-12-072-0/+17
| | | | | | | | | | | | | | This avoids a double free error message since dom0 isn't actually using the ia64_vector_mask. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
* | [IA64] changed foreign domain page mapping semantic.awilliam@xenbuild.aw2006-12-052-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | x86 foreign HVM domain page mapping semantic was changed to use gmfn instead mfn. It applies to domains with auto_translated_mode enabled, and all ia64 domains enable auto_translated_mode. This patch changes ia64 foreign domain page mapping to use gmfn and fixes ia64 domU buidler. However this patch breaks domain save/restore/dump-core. They should also be fixed-up Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] paraviatualize /dev/mem to enable X.awilliam@xenbuild.aw2006-12-045-4/+104
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] import linux/include/asm-ia64/uaccess.h for /dev/mem paravirtualizationawilliam@xenbuild.aw2006-12-041-0/+401
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-12-0423-21/+1324
|\|
| * [LINUX] dev/mem: Rename Xen's mmap_mem to xen_mmap_mem tokfraser@localhost.localdomain2006-12-011-2/+2
| | | | | | | | | | | | avoid conflict with the definition (which still exists and is used) in drivers/char/mem.c. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] The removal of the console_use_vt hack was premature: it's stillSteven Smith2006-12-016-17/+3289
| | | | | | | | | | | | | | | | required if CONFIG_VT is enabled but the domain isn't currently configured to use the PV framebuffer. Put it back in, in a slightly more palatable form. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
| * This is Anthony Liguori's virtual framebuffer forward ported andSteven Smith2006-12-0111-3271/+1029
| | | | | | | | | | | | | | | | | | | | | | extensively hacked based on feedback from xen-devel. Its architecture is comparable to the common split device driver architecture: xenfb and xenkbd modules serve as frontend in domU, and the user space vncfb or sdlfb process serves as backend in dom0. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * [LINUX] Fix backward compatibility with hypervisors which do not support kexec.Ian Campbell2006-11-301-5/+16
| | | | | | | | | | | | | | Also do not rely on side effects in BUG_ON(x) -- use if(x) BUG() instead. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Only initialise kexec in domain0.Ian Campbell2006-11-301-0/+3
| | | | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Properly trigger XenbusStateClosed in blkfrontkfraser@localhost.localdomain2006-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | In some situations, like when error happens in block attach for a guest in dom0, backend send us XenbusStateClosing notification. However, as frontend were never properly initialized, it fails to change its own state to XenbusStateClosed, leaving the system in a dead-end state. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
| * [LINUX] Missing xenoprof.h header file for x86/64.kfraser@localhost.localdomain2006-11-301-0/+1
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * linux/x86-64: missing agp.hkfraser@localhost.localdomain2006-11-301-0/+35
| | | | | | | | | | | | This causes data corruption and/or crashes when AGP is actually used. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * [XEN] Kexec / Kdump: x86_64 specific codeIan Campbell2006-11-305-2/+28
| | | | | | | | | | | | | | This patch contains the x86_64 implementation of Kexec / Kdump for Xen. Signed-Off-By: Magnus Damm <magnus@valinux.co.jp> Signed-Off-By: Simon Horman <horms@verge.net.au>
| * [XEN] Kexec / Kdump: x86_32 specific codeIan Campbell2006-11-303-2/+27
| | | | | | | | | | | | | | This patch contains the x86_32 implementation of Kexec / Kdump for Xen. Signed-Off-By: Magnus Damm <magnus@valinux.co.jp> Signed-Off-By: Simon Horman <horms@verge.net.au>
| * [XEN] Kexec / Kdump: Generic codeIan Campbell2006-11-302-0/+171
| | | | | | | | | | | | | | This patch implements the generic portion of the Kexec / Kdump port to Xen. Signed-Off-By: Magnus Damm <magnus@valinux.co.jp> Signed-Off-By: Simon Horman <horms@verge.net.au>
* | [IA64] Change to new interrupt deliver mechanism.awilliam@xenbuild.aw2006-12-011-2/+9
| | | | | | | | | | | | Signed-off-by: Anthony Xu <anthony.xu@intel.com>
* | [IA64] Fix sparse tree xenoprof/perfmon/oprofile build dependenciesawilliam@xenbuild.aw2006-11-304-18/+0
| | | | | | | | | | | | | | | | | | | | | | Compile xenoprof perfmon related hypercall even when CONFIG_PERFMON, CONFIG_OPROFILE, CONFIG_OPROFILE_MODULE are disabled. They should be compiled in vmlinux unconditionally because they might be called by other modules in theory. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-293-30/+63
|\|
| * [LINUX] Avoid triggering the softlockup BUG when offline for too long.kfraser@localhost.localdomain2006-11-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | After being offline for a long time, the softlockup watchdog triggers a BUG() on our faces. This is expected, as in fact, we spent more than a fixed 10*HZ amount of time without touching the watchdog. However, by inspecting the contents of stolen inside timer irq handler, we can gain awareness of the fact, and do better than that. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
| * [LINUX] console: Fix comment.kfraser@localhost.localdomain2006-11-291-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [LINUX] console: Add option to use /dev/xvc0, major=204, minor=191.kfraser@localhost.localdomain2006-11-291-24/+42
| | | | | | | | | | | | | | | | | | | | The major/minor has now been allocated to us by lanana.org. This is based on previous patches from: Jeremy Katz <katzj@redhat.com> Amos Waterland <apw@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * Allow DMA address width to be overridden with boot parameters:kfraser@localhost.localdomain2006-11-281-5/+16
| | | | | | | | | | | | | | In Xen: dma_bits=28 (for example) In Linux: swiotlb_bits=28 (for example) Signed-off-by: Keir Fraser <keir@xensource.com>
| * Clean up the DMADOM physical upper limit handling to properly honourkfraser@localhost.localdomain2006-11-281-2/+2
| | | | | | | | | | | | | | | | | | settings in config.h. Set the upper limit for DMADOM and swiotlb allocations to be 30 bits (1G) instead of 31 bits, to allow the b44 NIC driver to work. Signed-off-by: Stephen Tweedie <sct@redhat.com>
* | [IA64] remove undefined debugging lineawilliam@xenbuild.aw2006-11-291-1/+0
| | | | | | | | | | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] xenoprof linux/ia64 partawilliam@xenbuild.aw2006-11-2812-8/+611
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] import perfmon, oprofile related files from linux to linux-sparseawilliam@xenbuild.aw2006-11-284-0/+7000
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Updated to 2.6.16.33 Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-2830-639/+869
|\|
| * [XEN] Cleanups to phys/mach address handling.kfraser@localhost.localdomain2006-11-274-20/+0
| | | | | | | | | | | | | | | | | | | | 1. Balloon driver does not need to set M2P entry. This is done by the populate_physmap hypercall. 2. Xen now translates foreign mappings from GMFN->MFN. Tools are simplified because of this. Signed-off-by: Keir Fraser <keir@xensource.com>