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
Ian Campbell
3b8a13159a
[LINUX] Update crash-kernel-32-on-64.patch with more sensible version from -mm.
...
The previous version had side effects outside of the crash dump code.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-03-19 14:00:07 +00: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
kfraser@localhost.localdomain
3a4b9dc822
Revert CONFIG_SPLIT_PTLOCK_CPUS change of 14209:1061c7bff38f3e6e66fee96c407977ad55b3f2f2.
...
Jan Beulich points out that it's not safe against mm pinning and unpinning.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-16 15:18:33 +00:00
kfraser@localhost.localdomain
f326023b83
xenbus: Clarify and simplify barrier usage.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-16 10:42:25 +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
kfraser@localhost.localdomain
4da77d5b3f
net back: Quieten loud error path.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-15 14:51:32 +00:00
Jake Wires
5fc295e4de
[BLKTAP] remove spurious error message
...
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-03-14 14:18:51 -07:00
Ian Campbell
a84c4f75e5
[LINUX] Kexec: Ensure that pages allocated for kexec have MFNs which are within
...
the required limits.
Previously we were lucky since most dom0 pages would be low enough but now Xen
is more aggressive in giving out higher MFNs when it can.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-03-14 16:39:32 +00:00
kfraser@localhost.localdomain
26e24b46d1
linux: No need to force pcibios_scan_all_fns() on modern Xen.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-13 13:28:26 +00: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
kfraser@localhost.localdomain
79ae7e51e1
linux: Adjust memory allocation condition in netback to reduce memory
...
pressure on Xen and avoid unnecessarily stalling receives.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-03-12 14:55:02 +00:00
kfraser@localhost.localdomain
415ecbe777
linux: No need to manually bring VCPUs online across 'fast' save/restore.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-12 14:11:43 +00:00
kfraser@localhost.localdomain
e260cd0a07
The Xen console intercepts ^O and prevents it from propagating
...
through to the guest. However, ^O is a useful key in bash and in
Emacs. This patch changes the console to pass a single ^O
through to the guest when it is pressed twice.
Signed-off-by: Ben Pfaff <blp@cs.stanford.edu >
2007-03-12 11:04:34 +00:00
kfraser@localhost.localdomain
aca8807ff0
Fix valid_phys_addr_range() prototype of xen /dev/mem.
...
The second argument is size_t, not size_t *.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-03-12 11:03:07 +00:00
kfraser@localhost.localdomain
ac4fb3c4ec
pci back: Various fixes.
...
- remove superfluous call to pciback_field_is_dup()
- fix a variable type mismatch in pciback_field_is_dup()
- make readability improvements by using the OFFSET macro
- revises quirk data output via the sysfs quirks node so that
- displayed offset information includes base_offset.
Thanks to Jambunathan K. for giving such specific bug diagnosis.
Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil >
2007-03-10 17:01:21 +00: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
kfraser@localhost.localdomain
f064d42ef8
pci back: Fix registration of of filters on subsections of config space.
...
Found by Jambanuthan K.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-09 09:21:31 +00:00
kfraser@localhost.localdomain
cf3e43db4a
linux: Remove an unused data structure from TPM frontend.
...
Some more code style changes.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-08 16:26:17 +00: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
12ace65c63
netback: Disable debug interrupt (accidentally left enabled in
...
previous checkin).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-07 16:16:09 +00:00
kfraser@localhost.localdomain
ef9e4decc4
linux: Use fake carrier flag for netfront/netback rather than the real
...
netif_carrier_XXX() functions. This makes network bringup much faster.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-07 16:00:47 +00:00
kfraser@localhost.localdomain
bca5f6d829
linux: Don't use set_fixmap/clear_fixmap after boot-time. It's not
...
allowed and the functions are marked __init on x86/64.
Use HYPERVISOR_update_va_mapping() directly instead.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-07 10:13:39 +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
kfraser@localhost.localdomain
91d86d5e62
linux: Remove unnecessary locking from pcifront free_root_bus_devs().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-05 14:09:19 +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
3660aa4b7b
linux 2.6.18: constify instances of 'struct file_operations'
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-03-05 14:00:05 +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
Keir Fraser
3a65ca09cd
linux: Some save/restore simplifications and cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 23:01:36 +00:00
kfraser@localhost.localdomain
8ede8a78de
Fix -xen build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 16:57:24 +00:00
kfraser@localhost.localdomain
55fcb979e1
linux: xenbus dev write function resets packet data on *all* error conditions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 16:29:48 +00:00
kfraser@localhost.localdomain
8666439e6a
linux: Fix xenbus device write function.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 16:26:56 +00:00
kfraser@localhost.localdomain
2651400e34
tpm: Code style cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 16:15:28 +00:00