Commit Graph
332 Commits
Author SHA1 Message Date
awilliam@xenbuild.aw 2cb5de3797 [IA64] add missing ia64_trace_syscall privop
This patch adds a missing privop definition for ia64_trace_syscall
when CONFIG_XEN is unset.  It also cleans up some inconsistent
spacing.

Signed-off-by: Aron Griffis <aron@hp.com>
2006-05-21 07:31:02 -06:00
awilliam@xenbuild.aw d05aa5ad74 [IA64] panic when ioremap hypercall fails.
This can occur when dom0 vp model xenlinux is used on P=M model xen/ia64.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-18 14:05:30 -06:00
awilliam@xenbuild.aw 8d9e045fea [IA64] linux: remove dom0vp_populate_physmap hypercall
dom0 vp model: remove populate_physmap hypercall which becomes unnecesarry
because xenmem operation is fully supported by the previous patch.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-12 08:53:49 -06:00
awilliam@xenbuild.aw cc53c58e4e [IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront
add trivial definitions, MULTI_UVMFLAGS_INDEX and MULTI_update_va_mapping()
to compile netback and netfront

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-10 15:58:36 -06:00
awilliam@xenbuild.aw 88c6b93850 [IA64] linux: maddr_t definition to compile netback and netfront
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-10 15:57:04 -06:00
awilliam@xenbuild.aw 9a47e068ff [IA64] linux: HYPERVISR_update_va_mapping()
add the trivial definition, HYPERVISOR_update_va_mapping(), to compile
balloon driver.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:50:27 -06:00
awilliam@xenbuild.aw 4a4bb6bd60 [IA64] linux: XENMEM op work around
xen/ia64 XENMEM_increase_reservation, XENMEM_decrease_reservation,
XENMEM_populate_reservation are broken.
work around for it.
This patch should be removed after those hypercalls are fixed.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:47:15 -06:00
awilliam@xenbuild.aw e29284bb88 [IA64] linux: privcmd_mmap() and direct_remap_pfn_range()
implemented direct_remap_pfn_range() and ia64-specific privcmd_mmap()
for foreing domain page mapping.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:44:26 -06:00
awilliam@xenbuild.aw 9b16af0ce9 [IA64] linux: arch_free_page()
add defeinitions of arch_free_page()
work around for PG_foreign. xen/ia64 uses PG_arch1.
This work around sould be removed once PG_foreign is taken.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:42:26 -06:00
awilliam@xenbuild.aw 9659a82e51 [IA64] linux: grant table hypercall work around
Current xen/ia64 grant table ignores some GNTMAP_xxx flags.
work around for that. This patch will be removed once the flags are supported.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:41:06 -06:00
awilliam@xenbuild.aw 2f9c65691f [IA64] linux: macro clean up
remove bogus macro usage in asm-ia64/hypercall.h

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-09 11:32:08 -06:00
awilliam@xenbuild.aw 3d28171950 merge with xen-unstable.hg 2006-05-08 14:46:11 -06:00
awilliam@xenbuild.aw 56f55a7151 [IA64] cleanup hyperprivop definitions
Move hyperprivop definitions into arch-ia64.h

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-05-08 13:08:37 -06:00
cl349@firebug.cl.cam.ac.uk bc1d3194fa Don't try to write to pmd pages, there is no writeable-pmd support.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-05-05 00:27:10 +01:00
cl349@firebug.cl.cam.ac.uk 44cf443c79 Linux: upgrade to 2.6.16.13.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-05-04 17:38:25 +01:00
kaf24@firebug.cl.cam.ac.uk 55723b70ac This patch
- moves the TPM frontend completely into the char/tpm directory where it
is a plug-in to the generic TPM driver
- removes a now obsolete include file
- adapts part of the documentation
- fixes some locking problems where copy_to/from_user was called with
IRQs blocked

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-05-04 11:22:19 +01:00
kaf24@firebug.cl.cam.ac.uk 2c76a9ef09 Clean up xen-mkbuildtree-pre for ia64 xenlinux.
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
2006-05-03 10:59:54 +01:00
kaf24@firebug.cl.cam.ac.uk 9a10a080aa Balloon driver should hijack the ->lru list field rather than
adding another list field to every page structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-02 17:23:21 +01:00
kaf24@firebug.cl.cam.ac.uk 6a4be408e4 Remove obsolete privcmd_blkmsg struct.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-05-02 09:18:55 +01:00
kaf24@firebug.cl.cam.ac.uk 095470c787 Include string.h in the hypercall header file to ensure that memcpy() is defined.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-01 17:02:43 +01:00
kaf24@firebug.cl.cam.ac.uk 013351bd7a Define new event-channel and physdev hypercalls with a more extensible
interface (the legacy hypercalls would break if subcommands with large
argument structures were added, as it would grow the size of the 
union of all argument structures).

Also, based on a patch from Kevin Tian, add a new physdev op to
signal EOI for a particular irq.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-30 09:16:15 +01:00
kaf24@firebug.cl.cam.ac.uk b46bbfc10c Recent GUEST_HANDLE related cset broke ia64 compilation.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-04-28 14:35:34 +01:00
kaf24@firebug.cl.cam.ac.uk 54b4ddf0d1 Rename {SG}ET_XEN_GUEST_HANDLE to {sg}et_Xen_guest_handle, as they
are function macros rather than define/declare macros.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-28 09:40:07 +01:00
kaf24@firebug.cl.cam.ac.uk 704e9ade0f Wrap all GUEST_HANDLEs in structures, and define SET/GET macros to access them
in Linux and libxc.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-04-27 13:58:50 +01:00
awilliam@xenbuild.aw aaf9402dab merge with xen-unstable.hg 2006-04-25 23:35:55 -06:00
awilliam@localhost 05e3e3c89e [IA64] dma paravirtualization
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 16:53:27 -06:00
awilliam@ldap.hp.com 44ecda1d9d [IA64] add dom0vp hypercall interfaces
adds the dom0vp hypercall interfaces.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 14:02:21 -06:00
kaf24@firebug.cl.cam.ac.uk c0b2433fa9 Change the xenbus_map_ring_valloc() interface and implementation so
that it is buildable as a module.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-04-25 14:20:08 +01:00
Ian.Campbell@xensource.com a3fd8815ef Don't BUG_ON() if we cannot register an NMI callback since it is not a fatal
problem.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-04-21 18:06:06 +01:00
Ian.Campbell@xensource.com 8adc4e5ce7 Remove CONFIG_X86_SYSENTER option.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-04-21 17:19:26 +01:00
Ian.Campbell@xensource.com 8c18405bb3 Merge nmi_op functionality with the callback_op hypercall.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-04-21 17:19:22 +01:00
Ian.Campbell@xensource.com 41d7f059c5 Use set_callbacks hypercall if callback_op is not available.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-04-21 17:18:53 +01:00
awilliam@xenbuild.aw 633da67231 [IA64] Add support to physdev_ops
Add support to physdev ops, and thus give IOSAPIC RTEs
managed by Xen now. Dom0 now issues hypercall to r/w
RTE entry. Another change is the irq vector allocation
which is also owned by xen now.

After this change, the IOSAPIC is almost owned by xen
with only exception as IOSAPIC EOI which is still issued
by dom0 directly. But that's OK since currently dom0 
owns all external physical devices. Later full event
channel mechanism will provide necessary support for
driver domain, and at that time, dom0 instead issues
physdev_op (PHYSDEVOP_IRQ_UNMASK_NOTIFY) naturally as
replace of IOSAPIC EOI.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-04-21 09:03:19 -06:00
awilliam@xenbuild.aw 505cbfa6e7 [IA64] add base iosapic files
Add base iosapic files from Linux-2.6.16 in preparation for
Kevin's iosapic changes.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-04-21 08:56:24 -06:00
kaf24@firebug.cl.cam.ac.uk b9d8354383 Clean up the xenoprofile hypercall interface.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
2006-04-19 18:43:39 +01:00
awilliam@xenbuild.aw dc1c0a8170 merge with xen-unstable.hg 2006-04-18 09:35:40 -06:00
kaf24@firebug.cl.cam.ac.uk eea1cdc7f4 Introduce gnttab_empty_grant_references() to check whether grant
references is empty.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-14 15:05:04 +01:00
kaf24@firebug.cl.cam.ac.uk bf1d9dba35 Make grant table map/unmap argument, host_addr, feature-specific.
Introduce gnttab_set_map_op() and gnttab_set_unmap_op() to initialize.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-13 10:29:27 +01:00
awilliam@xenbuild.aw b4fa7c40e9 merge with xen-unstable.hg 2006-04-11 18:54:18 -06:00
kaf24@firebug.cl.cam.ac.uk d033b064ca Introduce page_to_bus() and use it in pci-dma-xen.c and swiotlb.c. On
xen/ia64 with the P2M/VP model pseudo physical address(gpaddr) is
fully virtualized so it defines
xen_features(XENFEAT_auto_translated_physmap) = 1.  In this case
page_to_phys(page) should return pseudo physical address like
pfn_to_mfn() and its families.  However dma is not virtualized, it
can't be used for pci-dma-xen.c, swiotlb.c.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-10 11:39:32 +01:00
awilliam@xenbuild.aw 6728b1f190 [IA64] dom0 vp model linux part: import agp.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 14:06:44 -06:00
awilliam@xenbuild.aw 4975601849 [IA64] dom0 vp model linux part: import machvec.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 14:05:40 -06:00
awilliam@xenbuild.aw d8db9ef619 [IA64] dom0 vp model linux part: import dma-mapping.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 14:04:28 -06:00
awilliam@xenbuild.aw 06eac1001e [IA64] dom0 vp model linux part: import pgalloc.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 14:02:31 -06:00
awilliam@xenbuild.aw c713fd1cd3 [IA64] dom0 vp model linux part: import page.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 14:01:13 -06:00
awilliam@xenbuild.aw adf86bd46a [IA64] dom0 vp model linux part: import io.h from linux-2.6.16-rc3
[note: verified same as linux-2.6.16]

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-07 13:46:23 -06:00
ack@kneesa.uk.xensource.com c5b774278a Add xenoprof support
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
2006-04-06 18:58:01 +01:00
kaf24@firebug.cl.cam.ac.uk 1da49c151e Cleanups to do_callback_op() new hypercall changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-06 17:25:24 +01:00
Ian.Campbell@xensource.com d366b69d6a Add new hypercall "set_callback" taking a callback identifier and the
callback address.

This new hypercall incorporates the functionality of the existing set_callbacks
hypercall in a more flexible manner. set_callbacks is retained for compatibility.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-04-06 12:03:53 +01:00
kaf24@firebug.cl.cam.ac.uk 21f9f9f916 Remove unused teardown_irq() definition. Removes two files from sparse tree.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-06 09:22:00 +01:00