| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| |
| | |
from defined(__ia64__) && !defined(CONFIG_XEN_IA64_DOM0_VP)
to defined(XEN_IA64_DOM0_NON_VP).
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
to xen without traversing init_mm.
This change is needed for xen/ia64 vp model.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| | |
Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
on every page structure before returning.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
any more. xen/ia64 dom0 vp model is a big change so that xen/ia64
with the old model (P=M) still remains as the compile option.
Hopefully the work around will be eliminated in the future completely.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| | |
xenLinux/ia64 with dom0 vp model needs arch/i386/kernel/swiotlb.o
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| | |
for IOCTL_PRIVCMD_MMAPBATCH.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| | |
Signed-off-by Kevin Tian <kevin.tian@intel.com>
|
| | |
| |
| |
| |
| |
| |
| | |
are function macros rather than define/declare macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
When xen_feature(XENFEAT_auto_translated_physmap) = 1,
phys_to_machine_mapping_valid(pfn) always returns true.
Relaxed BUG_ON() for xen_feature(XENFEAT_auto_translated_physmap) = 1 case.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| | |
structural guest handles.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
in Linux and libxc.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of the structures on the capability list. Specifically, this patch adds
support for reading data through the Vital Product Data capability
structure and for manipulating power management of a card. A driver
domain is not allowed to enable Power Management Events (the PME trace
may be shared across devices in many domains), but it can put a device
in its control to sleep or query it for power usage statistics. This
code could possibly be expanded in the future to add support for AGP,
PCI-X, and MSI/MSIX (all of which are controlled through structures on
the capability list).
This patch also corrects some formatting issues in the PCI backend and
adds some comments to the code regarding permissive mode.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
pirq range is reserved for physical devices. This saves
unnecessary checks on pirq range.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In theory, after Guest executes "cover", incomplete frame changes to complete
frame. So Guest should set INCOMPL to 0 just after "cover". At least before
guest psr.ic and psr.i are turned on.
Previously, only when Guest executes "rfi", INCOMPL is set to 0. The window
between "cover" and "rfi" causes trouble in below scenario.
1. Application A calls system call.
2. In OS breaks handler entry, INCOMPL is 0. Due to its system call,
Linux kernel doesn't execute "cover".
3. Before returning to Application A, schedule happens, Application B begins
to run.
4. A TLB miss happens on the context of B, this may make INCOMPL 1, before
Returning to B, (that means "rfi" is not executed, and INCOMPL is still 1)
schedule happens again. A resumes to run with INCOMPL 1 (this is incorrect now).
5. As mentioned before, this is system call, "cover" is executed in
ia64_leave_kernel path. Because INCOMPL is 1, this "cover" is not actually
executed, but this "cover" should be executed.
5. Thus application A's frame is destroyed. Issue appears.
From: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
|
| |/
|
|
|
|
|
|
| |
Move hyperprivop definitions into arch-ia64.h
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
symbols as they are used in a variety of ubiquitous
kernel macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
linux default implementations of dma_declare_coheremnt_memory() and its
families which is defined in include/linux/dma-mapping.h.
So those in pci-dma-xen.c are unnecessary. #ifdef out them.
PATCHNAME: pci-dma-xen-common
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| |\| |
|
| | |
| |
| |
| |
| | |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
space handlers were making calls into ACPI code which uses semaphores.
Since semaphores can not be locked while atomic (because they could
sleep), I changed the way the PCI backend responds to requests from the
frontend. Previously, the virtual configuration space handlers ran in
the same context as the event channel interrupt handler (which was often
atomic if not always atomic). Now the interrupt handler schedules a
callback function (a bottom half) in the system work queue (keventd)
that will get called in process context at a slightly later time. This
allows the handlers in the virtual configuration space to run in process
context and to call any core PCI function regardless of whether it will
sleep or not.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| | |
that it is buildable as a module.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
checksums into already encrypted packets (esp4) in dom0. Obviously,
it is not possible to insert a checksum into an already encrypted
packet, so this patch inserts the checksum prior to encrypting
packets in net/ipv4/xfrm4_output.c.
To do this cleanly, the TCP/UDP header pointers need to be pointed to
the correct spot, so this functionality has been abstracted into a new
function.
This patch fixes bug 143 (verified by Jim Dykman). Earlier version
verified by Jon McCune.
Signed-off-by: James Dykman <dykman@us.ibm.com>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Isaku Yamahata.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
problem.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
usage since the TSS is not used under Xen.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This support is only active when supervisor_mode_kernel is enabled
in the Xen build (and when the hardware supports sysenter).
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
of chipset IO-APICs to Xen. If REGSEL is bad (some old SiS
chipsets) then we have a slower read-modify-write routine.
Loosely based on an original patch from Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Also fix the loop that allocates users pmds.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
issues needed to be resolved by executing certain code early/later
Restore the physical to machine array such that balloon-allocated
pages can be deallocated.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
having the potential of missing synchronization there,
as I suspect exists in native Linux) is not needed with the hypercall
approach. In the hypervisor, the patch adds the
needed synchronization.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
|
| | |
| |
| |
| |
| | |
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
update linux-2.6-xen-sparse/arch/ia64/xen/Makefile
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| | |
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
adds the dom0vp hypercall interfaces.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
introduce XEN_IA64_DOM0_VP config.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Final SMP-guest patch: add IPI and boot rendez-vous support.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| | |
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
|
| |\| |
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
tls libraries.
Signed-off-by: Keir Fraser <keir@xensource.com>
|