aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse
Commit message (Collapse)AuthorAgeFilesLines
...
| * [LINUX] Import kasprintf patch from upstream.Ian Campbell2006-11-275-38/+8
| | | | | | | | | | | | | | kasprintf has been merged upstream with a slightly different protoype to the one in Xen. Import this patch and fixup the Xen tree to fit. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Update to Linux 2.6.16.32Ian Campbell2006-11-274-46/+103
| | | | | | | | | | | | | | | | | | | | | | Updated patches/linux-2.6.16.32/net-gso-0-base.patch due to changes in net/core/dev.c and net/core/skbuff.c and update the following in the sparse tree: include/linux/skbuff.h mm/memory.c mm/mmap.c Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Update to Linux 2.6.16.31Ian Campbell2006-11-271-0/+1
| | | | | | | | | | | | Updated linux-2.6-xen-sparse/arch/x86_64/kernel/acpi/Makefile Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [NET] back: Fix DPRINTK message.kfraser@localhost.localdomain2006-11-271-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [HVM] Fix building PV-on-HVM drivers on i386.kfraser@localhost.localdomain2006-11-272-34/+39
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [BLKFRONT] Only attempt to recover a device on resume if it was connected whenIan Campbell2006-11-231-2/+2
| | | | | | | | | | | | we suspended. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * [LINUX] Make xen /dev/mem aware of IA64 to use X.kfraser@localhost.localdomain2006-11-223-16/+41
| | | | | | | | | | | | | | | | | | | | The original /dev/mem (linux/drivers/char/mem.c) is aware of IA64 specific issues. On the other hand paravirtualized /dev/mem (linux-2.6-xen-sparse/drivers/xen/char/mem.c) is simplifed not to be aware of IA64. This patch makes it IA64-aware to use X on domain0/IA64. With this patch and ia64-specific patches, X server can boot on domain0/IA64. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * [XENOPROFILE] Make xenoprof arch-generic with dynamic mapping/unmapping xenoprofkfraser@localhost.localdomain2006-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer support and auto translated mode support. renamed xenoprof_get_buffer::buf_maddr, xenoprof_passive::buf_maddr to xenoprof_get_buffer::buf_gmaddr, xenoprof_passive::buf_gmaddr to support auto translated mode. With auto translated mode enabled, it is gmaddr, not maddr. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Simplify the share function. Signed-off-by: Keir Fraser <keir@xensource.com>
| * [XENOPROFILE] Update xenoprof linux side patch following Renato's comment.kfraser@localhost.localdomain2006-11-223-9/+6
| | | | | | | | | | | | | | - compilation fix when CONFIG_OPROFILE=m with minor clean up - don't export xenoprof_is_primary. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * [XENOPROF] Make xenoprof of linux side arch generic with some bug fixes.kfraser@localhost.localdomain2006-11-224-122/+223
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * [XENOPROFILE] Split linux-2.6-xen-sparse/arch/i386/oprofile/xenoprof.c intokfraser@localhost.localdomain2006-11-226-543/+636
| | | | | | | | | | | | | | linux-2.6-xen-sparse/drivers/xen/xenoprof/xenoprofile.c without code changes except slight adjustment to compile. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * [BLK] Handle block devices with more than 2^32 sectors.kfraser@localhost.localdomain2006-11-214-5/+6
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] fix paravirtualization of clone2() system call.awilliam@xenbuild.aw2006-11-224-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | If audit is enabled or the child process is ptraced, non-paravirtualized code path is executed. Thus paravirtualized ifs is left unmodifed so that the child process crashes after clone2(). paravirtualize ia64_ret_from_clone() to fix it. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-203-2/+5
|\|
| * [BLKTAP] fix race between ufe_ring and blk_ring in blktap.cJake Wires2006-11-161-1/+1
| | | | | | | | Signed-off-by: Jake Wires <jwires@xensource.com>
| * [LINUX] Add process profiling hook to timer ISR.kfraser@localhost.localdomain2006-11-171-0/+1
| | | | | | | | Signed-off-by: Rik van Riel <riel@redhat.com>
| * [NET] back: Fix bug in 12262:ac2097d71e06dbbf77279af10d6ae7359d921ab0.kaf24@firebug.cl.cam.ac.uk2006-11-161-1/+3
| | | | | | | | | | Pointed out by Jan Beulich. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Grantcopy added to xcom_mini for netback moduleawilliam@xenbuild.aw2006-11-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | This patch adds grantcopy to xcom_mini allowing netback to work as a module. Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Naoki Takayama <takayama.naoki@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
* | Merge in MCA treeawilliam@xenbuild.aw2006-11-153-1/+968
|\ \ | |/ |/|
| * [IA64] MCA support - fix timer issue, log size issue, and limit logs to dom0awilliam@xenbuild.aw2006-11-151-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
| * [IA64] MCA support - use xencomm to copy SAL error logawilliam@xenbuild.aw2006-10-291-0/+21
| | | | | | | | | | | | | | | | Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
| * [IA64] MCA support - add include/asm-ia64/sal.h to sparse treeawilliam@xenbuild.aw2006-10-291-0/+883
| | | | | | | | | | | | | | | | Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
| * [IA64] MCA support - Define MCA interrupt vectorawilliam@xenbuild.aw2006-10-291-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
| * [IA64] MCA support - Add binding of virq/ipi to irqawilliam@xenbuild.aw2006-10-291-0/+61
| | | | | | | | | | | | | | | | Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
* | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-147-22/+95
|\ \
| * | [LINUX] x86/64: Fix backward compatibility to Xen 3.0.2.kfraser@localhost.localdomain2006-11-143-7/+46
| | | | | | | | | | | | | | | | | | This requires us to explicitly specify _PAGE_USER for kernel mappings. Original patch by Jan Beulich <jbeulich@novell.com> and Gerd Hoffmann. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | [LINUX] Preserve flags when converting PTEs from machine to phys.kfraser@localhost.localdomain2006-11-144-15/+49
| | | | | | | | | | | | Signed-off-by: John Byrne <john.l.byrne@hp.com>
* | | [IA64] Fix xencomm for xm mem-set commandawilliam@xenbuild.aw2006-11-131-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | This patch saves and restores the hypercall parameter within xencomm. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* | | [IA64] Fix HVM interrupts on IPFawilliam@xenbuild.aw2006-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Xen has changed to set-irq-level hypercall from shared-memory PIC stat. This patch makes IPF accomodate this change Signed-off-by: Anthony Xu <anthony.xu@intel.com>
* | | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-1311-32/+41
|\| |
| * | [LINUX] Fix clear_fixmap().kfraser@localhost.localdomain2006-11-132-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On i386-PAE, clear_fixmap() results in ill use of set_pte(). In all contexts, p2m translations shouldn't occur here. Note that this is not really an issue on native linux, as there is (a) no pfn-to-mfn translation and (b) __set_fixmap() takes an unsigned long physical address rather than a paddr_t, which makes it so that bits 32 and up of the physical address are always zero, permitting either order store when clearing the entry. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * | [PRIVCMD] Fix build warning when sizeof(long) > sizeof(int).kaf24@localhost.localdomain2006-11-111-5/+5
| | | | | | | | | | | | | | | Original patch from Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * | [LINUX] Support variable hypervisor_virt_start.kfraser@localhost.localdomain2006-11-109-22/+22
| | | | | | | | | | | | | | | | | | | | | Introduce a new elfnote that specifies the lower boundary the kernel wants to tolerate for the hypervisor hole. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* | | merge with xen-unstable.hgawilliam@xenbuild.aw2006-11-1034-348/+633
|\| |
| * | Revert 12361:32f7b40ace426d3acdf26c21c20cb6b4562d9f10.kfraser@localhost.localdomain2006-11-102-14/+3
| | | | | | | | | | | | | | | | | | We should support the XENMEM_memory_map hypercall properly to fix this issue. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | [LINUX] Extend physical mapping to maxmem instead of memkfraser@localhost.localdomain2006-11-102-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | As currently physical mapping only reaches the initial reservation, we're unable to balloon up to more than mem (even when maxmem > mem) in any situation. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
| * | PV-on-HVM: TSO support prior to 2.6.9 appears to be unreliable,Ian Campbell2006-11-101-2/+10
| | | | | | | | | | | | | | | | | | especially when firewalling is enabled. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * | PV-on-HVM: Do not enable barriers in blkfront before 2.6.16Ian Campbell2006-11-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Barrier support was rewritten after 2.6.15. Perhaps it would be possible to implement support for old kernels as well but for now it is easier to just disable them. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
| * | [BLK] Add support for barrier writes to blkfront/blkback.kfraser@localhost.localdomain2006-11-097-21/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protocol changes: * There is a new operation (BLKIF_OP_WRITE_BARRIER) to pass on barrier requests. * There is a new state (BLKIF_RSP_EOPNOTSUPP) to indicate unsupported operations (barrier writes may fail depending on the underlying block device). * A new xenstore node named "feature-barrier" indicates the backend is able to handle barrier writes. The value can be 1 (all is fine) or 0 (underlying block device doesn't support barriers). blkback changes: Add "feature-barrier" node to indicate barrier support, pass incoming barrier requests to the block layer using submit_bio(WRITE_BARRIER, bio). Some error handling fixes to properly pass through barrier write failures, so the frontend can turn off barriers then. blkfront changes: Check if the backend sets "feature-barrier", if present switch to QUEUE_ORDERED_DRAIN mode. Send off barrier requests to the backend using the new BLKIF_OP_WRITE_BARRIER operation. Also some error handling for the EOPNOTSUPP case. Background: Barriers are needed to make journaling filesystems work reliable. For some requests they need order constrains to make the transactions work correctly. Barrier requests are used to pass that ordering information to the block layer and/or to the device, so the constrains are obeyed when reordering requests for better write performance. Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
| * | [BLK] Expand number of fake-SCSI VBD volumes supported to 120.kfraser@localhost.localdomain2006-11-091-12/+34
| | | | | | | | | | | | | | | | | | Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * | [BLKTAP] ia64 supportkfraser@localhost.localdomain2006-11-072-45/+117
| | | | | | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * | [BLKTAP] avoid race between tapdisk and xvd daemon with ufe_ring.kfraser@localhost.localdomain2006-11-071-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tapdisk updates rsp_cons by ioctl(). on the other hand xvd daemon reads rsp_cons in do_block_io_op() with RING_FULL(). Copy request and memory barrier before updating rsp_cons. - Tapdisk access req_prod_pvt with select(). on the other hand xvd daemon updates it in do_block_io_op(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * | [BLKTAP] Various cleanups necessary for ia64 support.kfraser@localhost.localdomain2006-11-072-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove magic number 8 and 64. page size / sector size is 8 on x86, however on ia64 page size is 16kb. blkring size is 64 on x86. however it's 128 on ia64. - replace 0xFFFF with INVALID_GRANT_HANDLE - don't map io ring into user space with uncachable. kernel access the page with cacable and tapdisk uses memory barrier so that it isn't necessary. - remove printk warning and inserted new line. - remove unused variable, page. - add one BUG() Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * | [NET] back: Fix wrap to zero in transmit credit scheduler.kfraser@localhost.localdomain2006-11-071-4/+5
| | | | | | | | | | | | | | | This could happen when credit_bytes == ~0UL (i.e., scheduling is 'disabled'). Signed-off-by: Kirk Allan <kallan@novell.com>
| * | PV-on-HVM: Fix PV-on-HVM drivers need maddr.h included for defn of maddr_t.kfraser@localhost.localdomain2006-11-071-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
| * | [LINUX] Use pfn_to_page instead of relying in memory assumptionskfraser@localhost.localdomain2006-11-072-4/+4
| | | | | | | | | | | | | | | | | | This makes usage agnostic wrt the memory model being used. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
| * | [LINUX] Don't use uint64_t parameter to gnttab_set_{,un}map_op() whenkfraser@localhost.localdomain2006-11-061-2/+3
| | | | | | | | | | | | | | | the upper 32 bits will never be used (i.e., i386 non-pae). Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * | [LINUX] Clean up header includes (gnttab.h from fixmap.h).kfraser@localhost.localdomain2006-11-033-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | include/asm-{i386,x86_64}/mach-xen/asm/fixmap.h was needlessly including include/xen/gnttab.h. Removing this made necessary explicit inclusion of that header in tpm_xen.c, the build of which should not have succeeded on non-x86 architectures before. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * | [BLKTAP] Fix gnttab unmap call to specify that address contains PTE.kfraser@localhost.localdomain2006-11-031-2/+4
| | | | | | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * | [BLKTAP] Fix Linux and Xen gnttab map operations when mapping intokfraser@localhost.localdomain2006-11-021-2/+2
| | | | | | | | | | | | | | | PTEs above 4GB on PAE systems. Signed-off-by: Steven Rostedt <srostedt@redhat.com>