Commit Graph
989 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 8e90ca4a3d Merge with xen-ia64-unstable.hg 2007-03-28 10:38:41 +01:00
kfraser@localhost.localdomain f3bdb5082b linux/x86-64: cleanup the Xen-specific macros in entry-xen.S
- SWITCH_TO_KERNEL is dead (and was broken)
- comments to HYPERVISOR_IRET were somewhat outdated
- updates of selecor RPLs shouldn't be done with byte size to avoid
  store-to-load forwarding issues

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-27 17:23:33 +01:00
awilliam@xenbuild2.aw 5b73247b5a [IA64] Remove P2M workaround
The ia64 p2m semantic is now fixed. remove unnecessary work around patch.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-26 09:17:25 -06:00
awilliam@xenbuild2.aw 5ea306faca merge with xen-unstable.hg 2007-03-22 09:30:54 -06:00
Ian Campbell 27c451323a LINUX: x86_64: start_pfn should be initialised even when XENFEAT_auto_translated_physmap is set.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-21 08:51:51 +00:00
awilliam@xenbuild2.aw ebdb5845be merge with xen-unstable.hg 2007-03-20 15:19:38 -06:00
Keir Fraser c95d97855e Fix up nosegneg vsyscall elfnote.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-17 12:24:32 +00:00
kfraser@localhost.localdomain fbf7473b3a linux: Various cleanup and locking clarification (and fixing!)
of mm pinning/unpinning logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-16 15:19:08 +00:00
Ian Campbell 6b0c303dfe [LINUX] Don't pin the initial page tables on x86_64 when XENFEAT_writable_page_tables.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-16 10:24:56 +00:00
awilliam@xenbuild2.aw bd56728806 merge with xen-unstable.hg 2007-03-15 09:04:23 -06:00
Ian Campbell f63d9525d5 [LINUX] Fix typo so 3.0.4 compatability works.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-13 09:07:55 +00:00
awilliam@xenbuild2.aw 04a0164bad merge with xen-unstable.hg 2007-03-12 10:07:08 -06:00
awilliam@xenbuild2.aw 5171dd3120 [IA64] PV steal time accounting
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
2007-03-12 09:39:59 -06:00
kfraser@localhost.localdomain 505ef3ea86 Add flags field to VCPUOP_set_singlsehot_timer.
Flag 'future' causes Xen to check if the timeout is in the past and
return -ETIME if so.
From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-10 16:58:11 +00:00
kfraser@localhost.localdomain 04710d73b0 linux: Use new time hypercalls.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 19:36:24 +00:00
kfraser@localhost.localdomain 4a0790cf99 linux: fix build warnings
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 19:33:43 +00:00
kfraser@localhost.localdomain 16ea519d6c linux: Upgrade to latest Xen interface version (0x00030205).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 11:44:31 +00:00
awilliam@xenbuild2.aw 115488f1ea [IA64] Add HYPERVISOR_vcpu_op
For support of steal time accounting, only supports
VCPUOP_register_runstate_memory_area right now.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
2007-03-08 09:50:25 -07:00
awilliam@xenbuild2.aw 14a49304d5 [IA64] Add arch/ia64/kernel/time.c to spare tree for steal time accounting
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
2007-03-07 12:45:08 -07:00
awilliam@xenbuild2.aw 00af17ba90 [IA64] Xen/ia64 XENMEM_exchange bug work around
xen-unstable.hg c/s 13366:ed73ff8440d8 revealed that
XENMEM_exchange has been broken on Xen/ia64.
This is work around for it until the right fix.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-07 12:42:32 -07:00
kfraser@localhost.localdomain 757f568bbf linux: Restore time on APs if they are not hotplugged on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-07 16:21:21 +00:00
kfraser@localhost.localdomain 40ff940abf linux x86/64: No need to pre-allocate all fixmap pagetables:
just those for bt_ioremap().
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-06 13:41:05 +00:00
kfraser@localhost.localdomain fb4f0a0421 linux x86/64: Clean up mm initialisation a little.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-05 18:10:41 +00:00
kfraser@localhost.localdomain 93a0e490f2 linux: no pc speaker device in domUs
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 15:53:18 +00:00
kfraser@localhost.localdomain 74bca0b6e8 linux: scan DMI early
While shuffling quite a few things around, this gets us closer to
native, which clearly had a reason to do the DMI scan early.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 15:46:33 +00:00
kfraser@localhost.localdomain 2e4ef0d6fd linux/x86-64 2.6.18: reserve bootmem differently
Do init memory reservation in a single step rather then piece-wise.
This is not really addressing a problem, but simplifies things a
little.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 15:08:17 +00:00
kfraser@localhost.localdomain bba72daaae linux/x86-64 2.6.18: do away with pud_offset_k()
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 15:06:13 +00:00
kfraser@localhost.localdomain 744703ccb7 linux/x86_64 2.6.18: remove orig_ist
orig_ist is bound to presence of a TSS, hence is meaningless on Xen
kernels.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 15:04:28 +00:00
kfraser@localhost.localdomain 63d7a82fae linux: Prefer testing io_bitmap_ptr to the TIF_IO_BITMAP.
Former is safer (in case TIF_IO_BITMAP is out-of-sync with actual
existence of an I/O bitmap for this process) and more readable, and
probably results in faster code too.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-05 14:20:26 +00:00
Ian Campbell 62c679ef7f [LINUX] CONFIG_X86_TSC is defined upstream in arch/i386/Kconfig.cpu so use that
instead of duplicating it in arch/i386/Kconfig.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-05 14:04:45 +00:00
kfraser@localhost.localdomain 12b8d19b31 linux 2.6.18: miscellaneous
Various minor changes not fitting elsewhere and not warranting
separate patches.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:57:11 +00:00
kfraser@localhost.localdomain cd93260c63 linux 2.6.18: assembly annotations
This adds (or moves to the proper place) annotations paralleling those
added in native code in 2.6.18. To make this look less ugly, it
required moving around a few things.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:49:11 +00:00
kfraser@localhost.localdomain efebe9a73e linux 2.6.18: eliminate Xen special: x8664_ksyms.c
The differences of arch/x86_64/kernel/x8664_ksyms-xen.c over its
native original are benign - the Xen special can therefore be
removed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:33:42 +00:00
kfraser@localhost.localdomain e1bfccbe5a linux 2.6.18: eliminate Xen special: alternative.c
The sole (x86-64 specific) difference of
arch/i386/kernel/alternative-xen.c
over its native original can be eliminated by slightly adjusting
x86-64's make_readonly(), and the Xen special can then be removed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:32:50 +00:00
kfraser@localhost.localdomain 4d660bb597 linux 2.6.18: eliminate Xen special: intel_cacheinfo.c
arch/i386/kernel/cpu/intel_cacheinfo-xen.c is identical to
arch/i386/kernel/cpu/intel_cacheinfo.c, hence the Xen special can be
removed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:30:52 +00:00
kfraser@localhost.localdomain 546bba8ad5 linux/x86-64: allow kernel init memory to be freed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-05 13:27:51 +00:00
kfraser@localhost.localdomain 738c5625ac linux: Clean up mm_pin/unpin.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-05 10:26:45 +00:00
kfraser@localhost.localdomain e6de910c4d linux/x86: avoid a re-definition warning on x86-64 and change i386
similarly to be consistent.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-02 15:12:54 +00:00
kfraser@localhost.localdomain 9e1f289303 linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-01 15:56:45 +00:00
kfraser@localhost.localdomain 82972d6f10 linux: Disable idle-loop alternatives.
ACPI and APM idle functions in particular are not suitable choices
when running on Xen.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-28 14:34:25 +00:00
kfraser@localhost.localdomain 7954a48c41 Add suspend_cancel flag to linux elf notes.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-02-28 09:41:02 +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
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 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 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