aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
Commit message (Collapse)AuthorAgeFilesLines
* [LINUX] Import kasprintf patch from upstream.Ian Campbell2006-11-272-0/+28
| | | | | | | kasprintf has been merged upstream with a slightly different protoype to the one in Xen. Import this patch and fixup the Xen tree to fit. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [HVM] Update VPIC device model for new interrupt delivery code.kaf24@localhost.localdomain2006-11-261-24/+8
| | | | | | Move BSP VLAPIC initialisation to hvmloader. Remove callback_irq update hack from Linux unmodified drivers. Signed-off-by: Keir Fraser <keir@xensource.com>
* [IA64] Change callback_irq spec of PV-on-HVM for IPFkfraser@localhost.localdomain2006-11-221-3/+19
| | | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* [PV-ON-HVM] Correct some out of date documentation.Steven Smith2006-11-151-2/+2
| | | | | Noticed-by: Nowatzki, Thomas L <Thomas.Nowatzki@UNISYS.com> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* PV-on-HVM: Tweak reboot.c to be compatible with older kernels.Ian Campbell2006-11-021-0/+3
| | | | | | | | call_usermodehelper_keys() was not available until 2.6.13 but since we pass session_keyring as NULL we may as well use call_usermodehelper() anyway. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Fix PV-on-HVM drivers for IA64.Ian Campbell2006-11-022-0/+16
| | | | | | Thanks to Kasai Takanori and Doi Tsunehisa for testing. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Use ln -nsf in mkbuildtree to avoid creating a symlink loopIan Campbell2006-11-021-1/+1
| | | | | | if include/xen/interfaces already exists. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Merge.Steven Smith2006-10-313-0/+5
|\
| * [HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVMSteven Smith2006-10-313-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | domains with PV drivers loaded. This patch creates a new PV-on-HVM module, reboot.ko, which, when loaded, creates control/reboot_module in the store. The tools notice this, and disable the watch which would normally destroy HVM domains which are the target of an xm shutdown command, allowing the reboot module to shut the domain down cleanly. Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com> (Checkin comments by Steven Smith <sos22@cam.ac.uk>)
* | [PV-ON-HVM] Don't generate lots of spurious interrupts when using eventSteven Smith2006-10-311-1/+7
|/ | | | | | | | | | | | | | | | | | channel upcalls. The issue here was that the Xen platform PCI interrupt is only updated when you return from the hypervisor into guest context, and so remained asserted for a short interval after the interrupt handler ran. If it happened that the first subsequent trap to the hypervisor was for unmasking the 8259 interrupt again, the unmasking caused the interrupt to be reinjected. This caused an edge on the chaining interrupt from the slave PIC to the master. The platform interrupt on the slave would then be cleared as we returned to the guest, and so you eventually end up injecting an interrupt on the master chained interrupt with nothing pending on the slave, which shows up as a spurious interrupt in the guest. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* merge with xen-unstable.hgawilliam@xenbuild.aw2006-10-2515-2/+264
|\
| * PV-to-HVM: Add a compatibility define for the end_that_request_lastIan Campbell2006-10-251-0/+4
| | | | | | | | | | | | | | | | which changed prototype in 2.6.16. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Include compatibility kzalloc implementation for kernelsIan Campbell2006-10-252-0/+21
| | | | | | | | | | | | | | | | before 2.6.14. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-to-HVM: Impletement compatibility version ofIan Campbell2006-10-252-0/+13
| | | | | | | | | | | | | | | | schedule_timeout_interruptible for kernels before 2.6.14 Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Implement and export a compatibility version of do_exit().Ian Campbell2006-10-251-0/+15
| | | | | | | | | | | | | | | | Kernels prior to 2.6.12 did not export do_exit(). Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Implement compatibilty version of wait_for_completion_timeoutIan Campbell2006-10-252-0/+36
| | | | | | | | | | | | for kernels before 2.6.11 Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * PV-on-HVM: Include compatability vmalloc_to_pfn for kernels before 2.6.10Ian Campbell2006-10-252-0/+16
| | | | | | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Kernels prior to 2.6.8 did not export strcspn to modulesIan Campbell2006-10-251-0/+20
| | | | | | | | | | | | | | | | therefore implement our own and export it. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Define system_state as 1 (SYSTEM_RUNNING) on kernels priorIan Campbell2006-10-251-0/+7
| | | | | | | | | | | | | | to 2.6.7. These kernels did not export the system_state variable to modules. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * PV-to-HVM: Implement compatibility nonseekable_open as a nop onIan Campbell2006-10-251-0/+4
| | | | | | | | | | | | kernels before 2.6.9 Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * PV-to-HVM: Add compatibility definitions of various #defines when theyIan Campbell2006-10-251-0/+22
| | | | | | | | | | | | | | | | are not present in the kernel we are building against. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Include compatability headers for asm/pgtable-no{pmd,pud}.hIan Campbell2006-10-252-0/+28
| | | | | | | | | | | | | | | | for kernels before 2.6.11. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Add a compatibility linux/mutex.h for kernels beforeIan Campbell2006-10-251-0/+31
| | | | | | | | | | | | | | | | | | 2.6.16. This implements the new mutex type in terms of the old semaphore type. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16Ian Campbell2006-10-251-0/+10
| | | | | | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Add infrastructure for a compatibility shim in order toIan Campbell2006-10-257-2/+24
| | | | | | | | | | | | | | | | | | | | | | support PV-on-HVM drivers for older kernel releases. The compatability code is included in the xen-platform-pci module since this module underpins all the others. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * PV-on-HVM: Include a Makefile in each subdirectory to maintainIan Campbell2006-10-254-0/+12
| | | | | | | | | | | | | | | | | | | | | | compatability with kernels from before Kbuild files were introduced. This follows best practice as described in Documentation/kbuild/modules.txt Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * [LINUX] PV-on-HVM: Directly include headers which are used in variousIan Campbell2006-10-251-0/+1
| | | | | | | | | | | | | | | | | | files rather than relying on them being included indirectly. This is required because these headers are not pulled in indirectly on older kernels. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-10-221-24/+31
|\|
| * Allow default target architecture of PV-on-HVM drivers to be overridden.kfraser@localhost.localdomain2006-10-201-20/+27
| | | | | | | | Signed-off-by: Travis Betak <travis.betak@amd.com>
* | [IA64] Xencomm fixes for HVM PV-driversawilliam@xenbuild.aw2006-10-143-0/+17
|/ | | | | | Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* [HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather thanSteven Smith2006-09-211-2/+4
| | | | | | just making one up. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* Fix unmodified drivers for PV-on-HVM on IA64.kaf24@firebug.cl.cam.ac.uk2006-09-132-1/+10
| | | | | Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
* [HVM] pv drivers: Allocate hypercall area as an executable region.kaf24@firebug.cl.cam.ac.uk2006-09-081-14/+16
| | | | | | We have to use __vmalloc() and __PAGE_KERNEL because vmalloc_exec() and PAGE_KERNEL_EXEC are not exported to modules. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix up cset 11228.ssmith@weybridge.uk.xensource.com2006-09-051-1/+1
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* Fix Intel copyright notice in a single source file.kaf24@localhost.localdomain2006-08-281-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pcikfraser@localhost.localdomain2006-08-222-25/+29
| | | | | driver can now handle multi-page hypercall stub areas. Signed-off-by: Keir Fraser <keir@xensource.com>
* Missing file from unmodified_drivers directory.kfraser@localhost.localdomain2006-08-171-0/+4
|
* [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>
* Add a small readme file explaining how to build PV-on-HVM drivers.kfraser@localhost.localdomain2006-08-171-0/+7
| | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
* [HVM] Allow blkfront driver to be built for an HVM guest.kfraser@localhost.localdomain2006-08-172-0/+6
| | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
* [HVM] Allow xenbus to run in an HVM guest.kfraser@localhost.localdomain2006-08-173-0/+18
| | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
* [HVM] Make grant tables functions work in PV-on-HVM drivers.kfraser@localhost.localdomain2006-08-174-4/+10
| | | | | Signed-off-by: Steven Smith <ssmith@xensource.com>
* [HVM] Linux driver for the xen platform pseudo-PCI device.kfraser@localhost.localdomain2006-08-178-0/+586
Signed-off-by: Steven Smith <ssmith@xensource.com>