aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
Commit message (Collapse)AuthorAgeFilesLines
* merge with xen-unstable.hgAlex Williamson2008-02-143-0/+59
|\
| * pv-on-hvm: Signal crash to Xen tools when HVM guest panics.Keir Fraser2008-02-133-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attached patch adds a function to automatically dump core file when guest linux on HVM domain panics, in the same way as PV domain. I tested this patch with kernel 2.6.9 and 2.6.18 on both of x86 and ia64 (to buid for ia64, some patches in the ia64 tree are needed) by the following steps, and confirmed it works well: 1. Build xen-platform-pci.ko. 2. In /etc/xen/xend-config.sxp, set (enable-dump yes). 3. On guest linux, execute insmod: # insmod xen-platform-pci.ko 4. When guest linux panics, a core file is dumped. Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
* | [IA64] Add EXTRA_AFLAGS for platform-pci/xcom_asm.SAlex Williamson2008-02-051-0/+1
| | | | | | | | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com> Acked-by: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
* | [IA64] Add xencomm_arch_hypercall_suspend to fix module loadAlex Williamson2008-02-042-1/+2
|/ | | | | | | | | | | | | Make use of split out xencomm_arch_hypercall_suspend to fix the following module load error: Loading xen-platform-pci.ko module xen_platform_pci: Unknown symbol xencomm_hypercall_suspend insmod: error inserting '/lib/xen-platform-pci.ko': -1 Unknown symbol in module ERROR: /bin/insmod exited abnormally! (pid 210) Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* [PV-on-HVM] Process event channels notifications in round-robin orderKeir Fraser2008-01-251-7/+55
| | | | | Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com> Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* pv-on-hvm: Fix up linux code after hypercall-type-checking changes.Keir Fraser2008-01-232-5/+6
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* pv-on-hvm: fix/adjust pv driver's mkbuildtreeKeir Fraser2008-01-181-27/+32
| | | | | | | | | | | | | | | Allow invoking the script from other than the current directory (the script now infers the tree is where the script lives). Print which trees are actually being used. Fix the linking of sources from Linux tree's drivers/xen/ - this was needlessly invoking lndir on various sub-directories, in some cases even twice. Adjust the script to be able to deal with Linux 2.6.24's unified x86 include directory. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* PV-on-HVM: Fix build for RHEL/SLES.Keir Fraser2007-12-051-0/+15
| | | | Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
* [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler()Keir Fraser2007-11-061-1/+1
| | | | | | | | | | | When xm block-detach command was done on PV-ON-HVM, the response of other disks was lost. It is because a wrong event channel was invalidated when detaching it. Not the evtchn number but the irq number is invalidated specifying it. Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
* PV-on-HVM: Define BLOCKING_NOTIFIER_HEAD macro for old Linux kernels.Keir Fraser2007-11-011-1/+8
| | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* pv-on-hvm: fixes for unmodified drivers build and modern LinuxKeir Fraser2007-10-256-14/+33
| | | | | | | | | | | | | | | | | | - The adjustments to README and overrides.mk are generic. - The removal of explicit linux/config.h inclusion should also not cause any issues. - The introduction of irq_handler_t should eliminiate warnings on 2.6.19+ kernels (I didn't check they're there, but since the request_irq prototype changed, I'm sure there's at least one. However, as a result changes to the Linux tree are expected to be required. - The change setup_xen_features -> xen_setup_features follows the naming in mainline 2.6.23 but would apparently also require changes to the Linux tree. - The changes SA_* -> IRQF_ and pci_module_init -> pci_register_driver should also not cause issues. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [IA64] Fix unmodified drivers.Alex Williamson2007-09-122-1/+2
| | | | | | xcom_mini.c is integrated into xcom_hcall.c so that platform-pci needs it. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* PV-on-HVM: Fix non-SMP build warning for PV-on-HVM drivers.kfraser@localhost.localdomain2007-09-071-1/+11
| | | | | | | | | | | smp_call_function() compiles to nothing on non-SMP, so we had a defined-but-not-used static function. Based on an original patch by: Signed-off-by: Ben Guthro <bguthro@virtualiron.com> Signed-off-by: Robert Phillips <rphillips@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: Define DEFINE_RWLOCK() macro for older Linux kernels.kfraser@localhost.localdomain2007-08-301-0/+9
| | | | Signed-off-by: Ben Guthro <bguthro@virtualron.com>
* PV-on-HVML: Remove extra parentheses in netif_tx_lock_bh and netif_tx_unlock_bhkfraser@localhost.localdomain2007-08-301-2/+2
| | | | | | macros, as it caused problems when compiling against a SLES9 tree. Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
* [IA64] xencomm - compilation fix of unmodified driverAlex Williamson2007-08-164-5/+5
| | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* [PV-on-HVM]: Add missing includeskfraser@localhost.localdomain2007-08-131-1/+2
| | | | | | | | This patch adds missing includes that currently work through indirect inclusions. This cannot be relied on and indeed does break on older kernels (2.4 for PV-on-HVM). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* hvm: Fix PV-on-HVM drivers to not execuite hypercall page while it iskfraser@localhost.localdomain2007-08-061-0/+10
| | | | | being re-initialised. Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
* Fix PV-on-HVM driver build.kfraser@localhost.localdomain2007-07-122-0/+10
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix compile errors in PV-on-HVM drivers because of missing asm/gnttab_dma.h.Keir Fraser2007-06-151-0/+3
| | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* pv-on-hvm: Allow Linux and Xen paths to be overridden by the environment.kfraser@localhost.localdomain2007-06-062-4/+19
| | | | | Signed-off-by: Ben Guthro <bguthro@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix pv-on-hvm mkbuildtree script for new repo layout.kfraser@localhost.localdomain2007-06-061-3/+3
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* pv-on-hvm: Re-init hypercall stubs page after HVM save/restore.kfraser@localhost.localdomain2007-05-251-15/+61
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: More carefully synchronise with APs when putting them tokfraser@localhost.localdomain2007-04-121-7/+27
| | | | | sleep in a spin loop. Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: Fix 64-bit build.kfraser@localhost.localdomain2007-04-121-3/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: Fixes for module loading.kfraser@localhost.localdomain2007-04-112-3/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: More save/restore fixes.kfraser@localhost.localdomain2007-04-114-88/+172
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: Fixes for save/restore. Also gets rid of separate moduleskfraser@localhost.localdomain2007-04-1012-124/+215
| | | | | reboot.ko and xenbus.ko. These are now part of xen-platform-pci.ko. Signed-off-by: Keir Fraser <keir@xensource.com>
* merge with xen-unstable.hgAlex Williamson2007-04-092-2/+6
|\
| * PV-on-HVM: A bit more re-jigging so the build gets further againstKeir Fraser2007-04-062-2/+6
| | | | | | | | | | native Linux 2.6.5. It's not quite there still, but closer. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Fix PV-on-HVM VNIF to work without using balloon on IPFAlex Williamson2007-04-091-0/+13
|/ | | | | | Temporary patch until we support the the balloon driver on HVM domains. Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* LINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.Ian Campbell2007-04-051-1/+13
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahekfraser@localhost.localdomain2007-04-051-10/+0
| | | | | | | | | | | | | after balloon operations in an HVM guest. This removes the I/O port hack from the guest OS, and from ioemu. Also we flush on reservation *increases* as well as decreases. This is necessary until qemu-dm can demand-fault page mappings into existing valid buckets. Signed-off-by: Steven Hand <steven@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: update build config overrides.kfraser@localhost.localdomain2007-04-051-1/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Various cleanups and fixes for PV-on-HVM drivers.Keir Fraser2007-04-042-1/+8
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Initial check-in to support PV balloon driver within HVM guests.Steven Hand2007-04-045-9/+17
| | | | | | | | | Still todo: - fix mapcache invalidation (should happen in Xen) - support 32-on-64 mode correctly Signed-off-by: Steven Hand <steven@xensource.com>
* [HVM] Save/restore: PV-on-HVM driver save/restore supportTim Deegan2007-03-291-2/+33
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-03-201-1/+2
|\
| * hvm: Fix platform-irq handling in presence of irqbalance daemon.kaf24@firebug.cl.cam.ac.uk2007-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HVM guest did not respond when PV-on-HVM driver was tested on the following conditions. 1. RHEL4u4 2. vcpu 4 3. irqbalance on 4. pv-on-hvm driver used. Eventhandler did not work because IRQ was delivered to another vcpu by irqbalance. Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
* | [IA64] Fix for compiling PV-on-HVM driver on IPFawilliam@xenbuild2.aw2007-03-121-1/+7
|/ | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* [LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.Ian Campbell2007-02-233-2/+2
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from theIan Campbell2007-02-131-0/+6
| | | | | | | | | generic infrastructure for cad_pid etc. Add a ctrl_alt_del() implemenation to the PV on HVM compatibility layer since ctrl_alt_del() is not exported on native kernels. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Small cleanups to PV-on-HVM support code.Keir Fraser2007-02-081-12/+9
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.awilliam@xenbuild2.aw2007-02-061-9/+3
| | | | | | Also delete IA64 specific spec concerned with IA64_CALLBACK_IRQ_RID. Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* [IA64] Fix for compiling PV-on-HVM driver on IPFawilliam@xenbuild2.aw2007-02-052-0/+20
| | | | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Anthony Xu <anthony.xu@intel.com>
* [HVM] Allow HVM guest to request invalidation of foreign mappings viakaf24@localhost.localdomain2007-01-271-0/+10
| | | | | an I/O port write. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Cleanups for unmodified (pv-on-hvm) driver building.kaf24@localhost.localdomain2007-01-263-13/+11
| | | | | | | | | | - some cleanup to mkbuildtree - adjustment to the fake __supported_pte_mask definition (removing the export for x86-64 in native Linux is being discussed, so this shouldn't be i386 specific) - remove odd/unused defines (mostly CONFIG_*) in overrides.mk Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [PV-on-HVM] Make PV drivers on HVM kernels work on older kernels afterIan Campbell2007-01-222-2/+22
| | | | | | update to 2.6.18. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-01-152-12/+20
|\
| * [PV-on-HVM] Allow platform interrupt to be used for entropy.kfraser@localhost.localdomain2007-01-121-3/+3
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>