Christian Limpach
29b9be5a67
[linux] remove gratuitous differences with plain linux.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-24 14:36:03 +00:00
Christian Limpach
badba3ddde
[linux] Disable GENERIC_TIME until we have a xen clocksource.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-24 12:02:56 +00:00
john.levon@sun.com
95d3856e97
Close save-after-restore race.
...
Make xc_linux_save() wait for the frame_list_list MFN to be updated by the
domain before trying to use it. Make Linux set the top-level MFN /after/
updating the other MFN lists.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-23 19:06:31 -08:00
kfraser@localhost.localdomain
44a156d31f
linux/i386: relax highpte pinning/write-protecting
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-22 15:42:13 +00:00
kaf24@localhost.localdomain
08e6d14357
linux: Fix x86/64 build (which is failing on some systems).
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-21 16:29:18 +00:00
Christian Limpach
c6a0a466fa
[merge] with xen-unstable
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-19 14:48:57 +00:00
Christian Limpach
1a9914c007
[linux networking] Remove the code to allocate page sized skbs.
...
This is no longer used much since the default is to always copy packets
to guests.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-18 18:40:30 +00:00
kfraser@localhost.localdomain
0511df5aec
Merge with xen-ia64-unstable.hg
2007-01-18 18:25:04 +00:00
Christian Limpach
361f8004cb
[merge] with xen-unstable
2007-01-18 15:18:07 +00:00
Christian Limpach
10c910a7b5
[linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-18 09:54:33 +00:00
awilliam@xenbuild2.aw
9b7ae1d44f
merge with xen-unstable.hg
2007-01-17 21:31:22 -07:00
awilliam@xenbuild2.aw
2dc7e7b707
[IA64] Remove duplicate check is_running_on_xen
...
When these functions are called, it is running on XEN.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-17 19:51:40 -07:00
Christian Limpach
54a1273470
[linux] Update to linux-2.6.18.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
--HG--
rename : linux-2.6-xen-sparse/include/asm-i386/mach-xen/setup_arch_pre.h => linux-2.6-xen-sparse/include/asm-i386/mach-xen/setup_arch.h
rename : patches/linux-2.6.17/blktap-aio-16_03_06.patch => patches/linux-2.6.18/blktap-aio-16_03_06.patch
rename : patches/linux-2.6.17/fix-ide-cd-pio-mode.patch => patches/linux-2.6.18/fix-ide-cd-pio-mode.patch
rename : patches/linux-2.6.17/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch => patches/linux-2.6.18/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch
rename : patches/linux-2.6.17/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch => patches/linux-2.6.18/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch
rename : patches/linux-2.6.17/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch => patches/linux-2.6.18/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch
rename : patches/linux-2.6.17/i386-mach-io-check-nmi.patch => patches/linux-2.6.18/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.17/ipv6-no-autoconf.patch => patches/linux-2.6.18/ipv6-no-autoconf.patch
rename : patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch => patches/linux-2.6.18/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch
rename : patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch => patches/linux-2.6.18/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch
rename : patches/linux-2.6.17/net-csum.patch => patches/linux-2.6.18/net-csum.patch
rename : patches/linux-2.6.17/net-gso-5-rcv-mss.patch => patches/linux-2.6.18/net-gso-5-rcv-mss.patch
rename : patches/linux-2.6.17/net-gso-6-linear-segmentation.patch => patches/linux-2.6.18/net-gso-6-linear-segmentation.patch
rename : patches/linux-2.6.17/pmd-shared.patch => patches/linux-2.6.18/pmd-shared.patch
rename : patches/linux-2.6.17/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.18/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch
rename : patches/linux-2.6.17/series => patches/linux-2.6.18/series
rename : patches/linux-2.6.17/x86-elfnote-as-preprocessor-macro.patch => patches/linux-2.6.18/x86-elfnote-as-preprocessor-macro.patch
rename : patches/linux-2.6.17/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.18/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.17/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.18/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.17/xen-hotplug.patch => patches/linux-2.6.18/xen-hotplug.patch
rename : patches/linux-2.6.17/xenoprof-generic.patch => patches/linux-2.6.18/xenoprof-generic.patch
2007-01-17 18:41:22 +00:00
kfraser@localhost.localdomain
bba72b94d7
linux: Allow microcode updates of smaller than default size.
...
Signed-off-by: Kurt Garloff <kurt@garloff.de >
2007-01-17 14:58:53 +00:00
kfraser@localhost.localdomain
f8871496b9
linux/i386: enhance dump_fault_path() in the highpte case
...
As long as the pte page isn't really located in highmem, there is no
reason to not access it, in order to print the complete page table
hierarchy. A functionally similar patch will go to lkml for native
Linux.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-17 14:45:00 +00:00
awilliam@xenbuild2.aw
08577542ec
[IA64] Paravirtualize syscall path in file fsys.S
...
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-16 12:01:03 -07:00
awilliam@xenbuild2.aw
8d0eae20ed
[IA64] Add fsys.S to sparse tree
...
From 2.6.16.33
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-01-16 11:51:45 -07:00
Christian Limpach
9cc42dd899
[linux] remove gratuitous differences with plain linux.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-18 15:33:59 +00:00
awilliam@xenbuild2.aw
b5a65552a9
merge with xen-unstable.hg
2007-01-15 15:15:26 -07:00
awilliam@xenbuild2.aw
e24fb235e0
[IA64] Fix save/restore
...
Using the new hypercall path, scratch registers are not saved/restored.
So after returning from hypercall, r20 may contain garbage data.
This triggered General Exception.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-14 22:18:38 -07:00
awilliam@xenbuild2.aw
e6f3ffe5a0
[IA64] Implement hyper_get_psr
...
Mov from psr is used frequently by xeno.
Signed-of-by: Anthony Xu <anthony.xu@intel.com >
2007-01-12 13:01:25 -07:00
awilliam@xenbuild2.aw
81e756d415
[IA64] Fix xencomm_arch_hypercall_suspend
...
This hypercall is changed to new hypercall mechanism
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-12 12:56:20 -07:00
awilliam@xenbuild2.aw
ee74bcacd5
[IA64] Simplify lazy cover algorithm
...
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-12 12:11:11 -07:00
kfraser@localhost.localdomain
87f272150c
linux: Add trivial forwarding of dma_{,un}map_page when not using highmem
...
Use non-trivial dma_{un,}map_page only when CONFIG_HIGHMEM, allowing
to not compile swiotlb_{un,}map_page in that case, which in neither
case need exporting.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 15:35:52 +00:00
kfraser@localhost.localdomain
d779bf9529
linux: Reduce restrictions on address width for DMA operations
...
Use address width needed by device rather than dma_bits in
dma_alloc_coherent().
Probe supported address width in swiotlb initialization.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 15:34:30 +00:00
kfraser@localhost.localdomain
043158a97f
x86/PAE linux: don't restrict upper half of page table entries to 3 bits
...
when dumping the page table contents during an oops.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 14:48:06 +00:00
Christian Limpach
432e7b62cb
[linux] Update to linux-2.6.17.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
--HG--
rename : patches/linux-2.6.16.33/blktap-aio-16_03_06.patch => patches/linux-2.6.17/blktap-aio-16_03_06.patch
rename : patches/linux-2.6.16.33/fix-hz-suspend.patch => patches/linux-2.6.17/fix-hz-suspend.patch
rename : patches/linux-2.6.16.33/fix-ide-cd-pio-mode.patch => patches/linux-2.6.17/fix-ide-cd-pio-mode.patch
rename : patches/linux-2.6.16.33/git-2a8a3d5b65e86ec1dfef7d268c64a909eab94af7.patch => patches/linux-2.6.17/git-2a8a3d5b65e86ec1dfef7d268c64a909eab94af7.patch
rename : patches/linux-2.6.16.33/git-2efe55a9cec8418f0e0cde3dc3787a42fddc4411.patch => patches/linux-2.6.17/git-2efe55a9cec8418f0e0cde3dc3787a42fddc4411.patch
rename : patches/linux-2.6.16.33/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch => patches/linux-2.6.17/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch
rename : patches/linux-2.6.16.33/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch => patches/linux-2.6.17/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch
rename : patches/linux-2.6.16.33/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch => patches/linux-2.6.17/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch
rename : patches/linux-2.6.16.33/i386-mach-io-check-nmi.patch => patches/linux-2.6.17/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16.33/ipv6-no-autoconf.patch => patches/linux-2.6.17/ipv6-no-autoconf.patch
rename : patches/linux-2.6.16.33/kasprintf.patch => patches/linux-2.6.17/kasprintf.patch
rename : patches/linux-2.6.16.33/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch => patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch
rename : patches/linux-2.6.16.33/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch => patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch
rename : patches/linux-2.6.16.33/net-csum.patch => patches/linux-2.6.17/net-csum.patch
rename : patches/linux-2.6.16.33/net-gso-0-base.patch => patches/linux-2.6.17/net-gso-0-base.patch
rename : patches/linux-2.6.16.33/net-gso-1-check-dodgy.patch => patches/linux-2.6.17/net-gso-1-check-dodgy.patch
rename : patches/linux-2.6.16.33/net-gso-2-checksum-fix.patch => patches/linux-2.6.17/net-gso-2-checksum-fix.patch
rename : patches/linux-2.6.16.33/net-gso-3-fix-errorcheck.patch => patches/linux-2.6.17/net-gso-3-fix-errorcheck.patch
rename : patches/linux-2.6.16.33/net-gso-4-kill-warnon.patch => patches/linux-2.6.17/net-gso-4-kill-warnon.patch
rename : patches/linux-2.6.16.33/net-gso-5-rcv-mss.patch => patches/linux-2.6.17/net-gso-5-rcv-mss.patch
rename : patches/linux-2.6.16.33/net-gso-6-linear-segmentation.patch => patches/linux-2.6.17/net-gso-6-linear-segmentation.patch
rename : patches/linux-2.6.16.33/pmd-shared.patch => patches/linux-2.6.17/pmd-shared.patch
rename : patches/linux-2.6.16.33/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.17/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch
rename : patches/linux-2.6.16.33/series => patches/linux-2.6.17/series
rename : patches/linux-2.6.16.33/vsnprintf.patch => patches/linux-2.6.17/vsnprintf.patch
rename : patches/linux-2.6.16.33/x86-elfnote-as-preprocessor-macro.patch => patches/linux-2.6.17/x86-elfnote-as-preprocessor-macro.patch
rename : patches/linux-2.6.16.33/x86-increase-interrupt-vector-range.patch => patches/linux-2.6.17/x86-increase-interrupt-vector-range.patch
rename : patches/linux-2.6.16.33/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.17/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.33/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.17/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.33/xen-hotplug.patch => patches/linux-2.6.17/xen-hotplug.patch
rename : patches/linux-2.6.16.33/xenoprof-generic.patch => patches/linux-2.6.17/xenoprof-generic.patch
2007-01-12 14:30:49 +00:00
kfraser@localhost.localdomain
e8922851b5
[LINUX] swiotlb: eliminate KM_SWIOTLB and thus the need for a Xen-specific kmap_types.h.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 10:31:16 +00:00
kfraser@localhost.localdomain
9f7105d6ac
linux/i386: allow CONFIG_HIGHPTE on i386
...
While, as discussed, the performance impact of this option is
certainly higher than on native Linux, the option should not be
entirely disallowed if people want to sacrifice performance for less
lowmem pressure.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 10:28:54 +00:00
kfraser@localhost.localdomain
8f529b5deb
[LINUX] x86/64: Sync pagetable management with i386 Xen code.
...
PUDs,PMDs,PTEs are all marked as ForeignPage so that they can be
grabbed from tlb_remove_page() at the appropriate time and freed in a
special way.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-12 10:22:36 +00:00
awilliam@xenbuild2.aw
68fa1896bb
[IA64] Hypercall optimizations
...
provide hypercall the same path with system
most of scrach registers don't need to be saved/restored
it is good for performance
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-11 16:56:58 -07:00
awilliam@xenbuild2.aw
5d5be531d0
[IA64] Make crash command happy
...
As Dave requested, call unw_init_running() and save ksp before SHUTDOWN_crash.
Signed-off-by: Dave Anderson <anderson@redhat.com >
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-01-12 12:14:05 -07:00
awilliam@xenbuild2.aw
a77c31c882
merge with xen-unstable.hg
2007-01-10 08:40:47 -07:00
awilliam@xenbuild2.aw
03cc744bdb
[IA64] Use rum psr.be instead of XEN_HYPER_RSM_BE
...
Good for guest syscall performance
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-04 16:17:37 -07:00
awilliam@xenbuild2.aw
003fd895c4
[IA64] allocate contiguous_bitmap sparsely like virtual memmap.
...
With dom0 memory assignment changed, memory might be sparse, so simple bitmap
may waste too much memory.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-01-04 15:45:10 -07:00
Christian Limpach
7c6b36118d
[linux] Remove some gratuitous differences with plain 2.6.16.33.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-04 13:05:09 +00:00
Steven Hand
1033df9144
Make sure we always have a sensible idle function; this fixes problems
...
booting dom0 on AMD introduced by -unstable cset 13213:bf25488db8eb.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-01-04 10:58:01 +00:00
kfraser@localhost.localdomain
0550678b74
[LINUX] Implement the idle=poll option in the kernel when running on Xen.
...
This causes the kernel to use a polling loop rather than hypercall
down to block. I have found this useful to profile the amount of sleep
cycles when using xenoprof, there may be other uses.
Signed-off-by: Amitabha Roy <amitabha.roy@gmail.com >
2007-01-03 14:08:42 +00:00
awilliam@xenbuild2.aw
571d6c1772
[IA64] remove the requirement (vpsr.ic==0) from hyperprivop
...
remove the requirement (vpsr.ic==0) from hyperprivop
There two reasons for this.
1. make xen-parse code more readable.
2. a little bit performance improvement
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-01-02 16:27:50 -07:00
kfraser@localhost.localdomain
576a882bc5
[LINUX] dma: Use swiotlb mask for coherent mappings too
...
The recent change to use a default DMA bit width of 30 bits (required
by chips like the b44) only converted the streaming DMA primitives.
The coherent mappings are still hard-coded to 31 bits. This means
that b44 still doesn't work under Xen.
This patch makes the io_tlb_dma_bits variable global and uses it for
coherent memory mappings.
Thanks to Calvin Webster for providing a machine with a b44 and 2G
of memory I've been able to verify that this finally makes the b44
work under Xen.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Rename 'io_tlb_dma_bits' to the more correct 'dma_bits'. This also
affects the name of the boot parameter, which is now 'dma_bits='.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 11:21:04 +00:00
awilliam@xenbuild2.aw
b2f52ec827
[IA64] don't allocate bitmap from low pool
...
No need to allocate contiguous_bitmap out of the low pages pool as all
pages are directly accessible on an ia64.
Signed-off-by: Jes Sorensen <jes@sgi.com >
2006-12-19 12:41:30 -07:00
awilliam@xenbuild2.aw
5fb6147b15
[IA64] evtchn_callback fix and clean
...
Since we had changed to use event callback to deliver interrupts,
1. The pending_interruption is changed to pending_event.
2. get_ivr, set_tpr, get_trp and set_eoi are not used or only used
in the initialization phase. There is no need to write this code
in assembly. This code is deleted.
3. hyper_ssm_i needs to be rewritten to jump to entchn_callback_handler
instead of iva+0x3000 interrupt handler. I will do this later.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-12-18 10:20:34 -07:00
awilliam@xenbuild2.aw
5a170ea5d6
merge with xen-unstable.hg
2006-12-14 08:57:36 -07:00
awilliam@xenbuild2.aw
318b012682
[IA64][BUILD] XEN_XKBUFF needs to depend on NET
...
Signed-Off-By: Simon Horman <horms@verge.net.au >
2006-12-14 08:54:54 -07:00
kfraser@localhost.localdomain
b4439be6e5
[LINUX] Fix seg-fixup warning.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 11:09:27 +00:00
awilliam@xenbuild2.aw
0741834153
merge with xen-unstable.hg
2006-12-08 09:09:18 -07:00
Ian Campbell
c720eb6ab7
[LINUX] Kexec: Remove remainder of kexec-generic.patch
...
Rename xen_machine_kexec() to just machine_kexec() and only compile in
the Xen or native version as appropriate.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
69f0c953b4
[LINUX] Kexec: Reapply kexec patches to sparse tree.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
24a9aad534
[LINUX] Kexec: add kexec files to sparse tree.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
kfraser@localhost.localdomain
a8b5e33ac8
[LINUX] Fail gracefully if we run out of spare IRQs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-07 16:43:08 +00:00