Commit Graph
1931 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain a3546dd2fc linux: Fix backward compatibility in page table handling
A 3.0.2 compatibility requirement slipped my attention before
submitting the original page table handling changes.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-26 14:09:08 +00:00
kfraser@localhost.localdomain 5d606a4e68 Remove duplicate #includes from Linux sparese-tree file.
From: Chuck Short <zulcss@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-26 09:12:55 +00:00
Keir Fraser da97fcd329 Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2007-02-24 14:10:27 +00:00
Ian Campbell f380fac05a [LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-02-23 16:56:45 +00:00
Ian Campbell 8c994baaf3 [PV-on-HVM] Fix gnttab_map to not run off the bottom of the gnttab space.
Cleanup a few warnings: reached end of void function and unused variables.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-02-23 16:56:42 +00:00
kfraser@localhost.localdomain 634febdae7 linux, tpm: Fix argument to grant table operation
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-02-23 16:24:07 +00:00
kfraser@localhost.localdomain 2b1b3844b2 linux: Fix current_vcpu_info for UP case
Under !CONFIG_SMP, smp.h is not always included and hence
smp_processor_id() not always visible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-23 10:43:00 +00:00
awilliam@xenbuild2.aw a04aaff350 merge with xen-unstable.hg 2007-02-22 10:15:29 -07:00
Jake Wires 88b9531ce0 [BLKTAP] fix sysfs cleanup on error case
Signed-off-by: Jake Wires <jwires@xensource.com>
2007-02-21 18:38:11 -08:00
kfraser@localhost.localdomain eac290c978 linux: Use hard tabs and Linux coding style.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-21 20:03:56 +00:00
Jake Wires 5f7fc2a275 [BLKBACK/BLKTAP] add sysfs throughput profiling to blk{back/tap} 2007-02-21 11:42:04 -08:00
awilliam@xenbuild2.aw 1d9600cfd1 [IA64] Update xencommize_mini_grant_table_op for GNTTABOP_query_size
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-02-20 15:12:11 -07:00
awilliam@xenbuild2.aw 5a0cbf9162 merge with xen-unstable.hg 2007-02-20 12:58:22 -07:00
kfraser@localhost.localdomain 99f8ff2844 linux: Fix swiotlb bug-out due to uninitialised end_pfn/max_mapnr.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-20 12:27:03 +00:00
kfraser@localhost.localdomain 6cf88c4309 linux/x86: Advertise which page table entries contain MFNs and hence
need to be (un)canonicalized during save/restore.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-20 12:18:29 +00:00
kfraser@localhost.localdomain 2d59634928 linux/x86: Clean up page table handling headers
- remove dead code
- fix line breaking and space vs. tab usage
- remove redundant parentheses

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-20 09:41:32 +00:00
kfraser@localhost.localdomain eee7931c83 linux/x86: Adjust and fix page table handling.
Ensure that all and only those page table entries that have their
present bit set undergo p2m/m2p translation in all relevant places.
This should fix migration issues with _PAGE_PROTNONE pages which
previously could retain MFNs in PTEs while having the present bit
clear (and thus were not getting (un)canonicalized during save/
restore).

Many thanks to Keir Fraser for his analysis, suggestions, and
corrections.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-20 09:33:14 +00:00
kfraser@localhost.localdomain 5f855af627 linux: Fix 32-bit build after changeset 13993:168030c8e0a93d8401cf5e783e10ecdf0938abda
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-19 22:50:07 +00:00
kfraser@localhost.localdomain 408c8a79de linux: Introduce {current_,}vcpu_info.
Also consolidate time-xen.c in giving get_time_values_from_xen() a
'cpu' parameter to match other functions (this consolidation could of
course also be done the other way around, but I think this way the
resulting code can be more efficient).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-19 16:11:56 +00:00
awilliam@xenbuild2.aw 9f12e09de4 [IA64] Paravirtualize mmap handlers of /proc/bus/pci
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-02-18 16:00:52 -07:00
awilliam@xenbuild2.aw 3a3c96ff3f [IA64] Import arch/ia64/pci/pci.c into sparse tree
Necessary for paravirtualizing mmap handler for /proc/bus/pci

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-02-18 15:57:38 -07:00
Keir Fraser bbf3a3eebd linux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.
Also vmalloc_sync_all() is only defined for x86 architectures so make
use of it in driver code conditional on CONFIG_X86.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-17 13:26:33 +00:00
kfraser@localhost.localdomain e77ed40f70 linux/x86_64: miscellaneous initialization code cleanup
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-16 16:05:01 +00:00
kfraser@localhost.localdomain 090fa70b37 linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-16 11:24:10 +00:00
awilliam@xenbuild2.aw 4af0dad516 merge with xen-unstable.hg 2007-02-15 14:09:39 -07:00
kfraser@localhost.localdomain 56c508cce0 Bring TPM driver files to 2.6.18 level. Remove the tpm.c so that the
one from the kernel can be used and reduce changes to a minimum
required to compile the xen-specific driver.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-02-15 14:21:50 +00:00
kfraser@localhost.localdomain 3169b9cf23 linux: miscellaneous changes after upgrade through 2.6.17.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 14:12:32 +00:00
kfraser@localhost.localdomain ae79131cf1 linux: e820 handling adjustments
In certain places, machine_e820 should be used rather than e820.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 14:05:58 +00:00
kfraser@localhost.localdomain 620b8b957c linux: user user_mode_vm() in place of user_mode() where necessary.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 13:51:25 +00:00
kfraser@localhost.localdomain 07c2f1f3b0 linux: avoid need to modify include/linux/pfn.h
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 13:49:04 +00:00
kfraser@localhost.localdomain a190e7e3da linux: early_printk adjustments
This is a little more than a pure merge with 2.6.17, to remove a few
more non-Xen items.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 13:40:33 +00:00
kfraser@localhost.localdomain 2b41f02c7a linux: proper mutex use in balloon driver
Mutexes are supposed to not use the old semaphore technique anymore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-15 13:38:59 +00:00
kfraser@localhost.localdomain 5ce8fafa94 Dynamic grant-table sizing.
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk>
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-15 10:54:12 +00:00
kfraser@localhost.localdomain ced24e96c7 linux: quieten some driver printk logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-14 16:05:28 +00:00
Ian Campbell 193ca2e8bb [LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
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>
2007-02-13 15:32:25 +00:00
awilliam@xenbuild2.aw b98d4e619b [IA64] dma-mapping.h user our own swiotlb.h header
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
2007-02-12 10:02:10 -07:00
awilliam@xenbuild2.aw 3fb6cbc8f6 [IA64] Remove use of hpsim console
This makes all domain boot messages come out through xencons.  Previously
the hpsim console allowed an early console via Xen.  Also, make xencons
the preferred console unless a console is explicitly provided.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-02-12 09:48:56 -07:00
kfraser@localhost.localdomain 6f7ae0fe6f Merge with xen-ia64-unstable.hg. 2007-02-08 17:27:30 +00:00
Keir Fraser a9a8f70bdf Remove unnecessarily modified a.out.h.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-08 17:21:04 +00:00
Keir Fraser ed293612d5 Move skb_pull_rcsum() to its usual place in skbuff.c 2007-02-08 17:19:49 +00:00
awilliam@xenbuild2.aw 7ae4132e26 merge with xen-unstable.hg 2007-02-07 10:46:18 -07:00
kfraser@localhost.localdomain 6b91de464c pvfb: Split mouse and keyboard into separate devices.
This patch creates two separate input devices for keyboard and mouse
events.  The reason for this is to separate them in the linux input
layer and allow them being routed different ways.

Use case:  Configure the X-Server like this to get the mouse
events directly from the linux input layer, which has the major
advantage that absolute coordinates work correctly:

Section "InputDevice"
  Driver       "evdev"
  Identifier   "Mouse"
  Option       "Device" "/dev/input/event<nr>"
EndSection

This makes the keyboard stop working though in case mouse and
keyboard events are coming through the same input device, at least
with older Xorg (6.9) versions.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>

Assign fake pci product identifiers down from 0xffff. This may help
clarify that the devices are not actually PCI. Also it reduces
probability of accidental conflict if further real PCI assignments
occur in future (0x0002, 0x0003, ... would be obvious next identifiers
to allocate).

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-07 16:12:40 +00:00
Keir Fraser 3310ae17fd linux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-07 00:39:48 +00:00
kfraser@localhost.localdomain 00aabc5c80 linux/i386: Improve critical region handling code
- use symbolics instead of raw numbers (going to help the 2.6.20 port,
as those numbers change there)
- fold instructions where possible
- move fixup table into .rodata

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-06 23:36:53 +00:00
awilliam@xenbuild2.aw a6e547a237 merge with xen-unstable.hg 2007-02-04 12:24:53 -07:00
awilliam@xenbuild2.aw c4c9842abd [IA64] Remove verbosity from xen_pm_power_off
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-02-04 12:18:48 -07:00
awilliam@xenbuild2.aw a91d0a10c5 [IA64] Fix xencons_early_setup build warning
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-02-04 11:37:48 -07:00
awilliam@xenbuild2.aw 4d4ed60a2c [IA64] Fix PAL_HALT for paravirtualized domains
machine_halt() stops the vcpus, but no longer destroys the domain.
This should be more in-line with the behavior on native hardware.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-02-04 11:36:12 -07:00
kfraser@localhost.localdomain e03f6e62c8 linux: Allow xenbus_strstate() to be used from modules.
The function is referenced by a number of DPRINTK()-s. Also, properly
const-ify it.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-02 16:04:11 +00:00
awilliam@xenbuild2.aw 33ff2afbc0 [IA64] Fix compile warnings in xenentry.S
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-02-01 13:54:26 -07:00