aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Pull pv_ops-xen into release branchTony Luck2008-10-17
|\
| * ia64/pv_ops: paravirtualized instruction checker.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | This patch implements a checker to detect instructions which should be paravirtualized instead of direct writing raw instruction. This patch does rough check so that it doesn't fully cover all cases, but it can detects most cases of paravirtualization breakage of hand written assembly codes. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: a recipe for using xen/ia64 with pv_ops.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | Recipe for using xen/ia64 with pv_ops domU. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Cc: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops: update Kconfig for paravirtualized guest and xen.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | introduce CONFIG_PARAVIRT_GUEST, CONFIG_PARAVIRT for paravirtualized guest. introduce CONFIG_XEN, CONFIG_IA64_XEN_GUEST for xen. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: preliminary support for save/restore.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | preliminary support for save/restore. Although Save/restore isn't fully working yet, this patch is necessary to compile. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: define xen machine vector for domU.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | define xen machine vector for domU. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: implement xen pv_time_ops.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | implement xen pv_time_ops to account steal time. Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: implement xen pv_irq_ops.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | implement xen pv_irq_ops to paravirtualize irq handling with xen event channel. Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: define the nubmer of irqs which xen needs.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | define arch/ia64/include/asm/xen/irq.h to define the number of irqs which xen needs. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: implement xen pv_iosapic_ops.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | implement xen pv_iosapic_ops for xen paravirtualized iosapic. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: paravirtualize entry.S for ia64/xen.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | paravirtualize entry.S for ia64/xen by multi compile. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: paravirtualize ivt.S for xen.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | paravirtualize ivt.S for xen by multi compile. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: paravirtualize DO_SAVE_MIN for xen.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | paravirtualize DO_SAVE_MIN in minstate.h for xen. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: define xen paravirtualized instructions for hand written ↵Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | assembly code define xen paravirtualized instructions for hand written assembly code. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Cc: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: define xen pv_cpu_ops.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | define xen pv_cpu_ops which implementes xen paravirtualized privileged instructions. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: define xen pv_init_ops for various xen initialization.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements xen version of pv_init_ops to do various xen initialization. This patch also includes ia64 counter part of x86 xen early printk support patches. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops/xen: elf note based xen startup.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | This patch enables elf note based xen startup for IA-64, which gives the kernel an early hint for running on xen like x86 case. In order to avoid the multi entry point, presumably extending booting protocol(i.e. extending struct ia64_boot_param) would be necessary. It probably means that elilo also needs modification. Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: introduce helper function to identify domain mode.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | There are four operating modes Xen code may find itself running in: - native - hvm domain - pv dom0 - pv domU Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: add definitions necessary for xen event channel.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | Xen paravirtualizes interrupt as event channel. This patch defines arch specific part of xen event channel. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: implement arch specific part of xen grant table.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | Xen implements grant tables which is for sharing pages with guest domains. This patch implements arch specific part of grant table initialization. and xen_alloc_vm_area()/xen_free_vm_area() which are helper functions for xen grant table. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: xencomm conversion functions for hypercallsIsaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | On ia64/xen, pointer arguments for hypercall is passed by pseudo physical address(guest physical address.) So such hypercalls needs address conversion functions. This patch implements concrete conversion functions for such hypercalls. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: implement the arch specific part of xencomm.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | On ia64/xen, pointer argument for the hypercall is passed by pseudo physical address (guest physical address.) So it is necessary to convert virtual address into pseudo physical address right before issuing hypercall. The frame work is called xencomm. This patch implements arch specific part. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Cc: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: define helper functions for xen hypercalls.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | introduce helper functions for xen hypercalls which traps to hypervisor. Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: define helper functions for xen related address conversion.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | Xen needs some address conversions between pseudo physical address (guest phsyical address), guest machine address (real machine address) and dma address. Define helper functions for those address conversion. Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: add a necessary header file to compile include/xen/interface/xen.hIsaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create include/asm-ia64/pvclock-abi.h to compile which contains the same definitions of include/asm-x86/pvclock-abi.h because ia64/xen uses same structure. Hopefully include/asm-x86/pvclock-abi.h would be moved to somewhere more generic. Another approach is to include include/asm-x86/pvclock-abi.h from include/asm-ia64/pvclock-abi.h. But this would break if/when x86 header files are moved under arch/x86. So for now, same definitions are duplicated as suggested by Tony. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: define several constants for ia64/xen.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | define several constants for ia64/xen. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: introduce definitions necessary for ia64/xen hypercalls.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | import arch/ia64/include/asm/xen/interface.h to introduce definitions necessary for ia64/xen hypercalls. They are basic structures to communicate with xen hypervisor and will be used later. Cc: Robin Holt <holt@sgi.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: increase IA64_MAX_RSVD_REGIONS.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | Xenlinux/ia64 needs to reserve one more region passed from xen hypervisor as start info. Cc: Robin Holt <holt@sgi.com> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: introduce sync bitops which is necessary for ia64/xen support.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | define sync bitops which is necessary for ia64/xen. This bit operation is used to communicate with VMM or other guest kernel Even when this kernel is built for UP, VMM might be SMP so that those operation must always use atomic operation. Cc: Robin Holt <holt@sgi.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/xen: reserve "break" numbers used for xen hypercalls.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | reserve "break" numbers used for xen hypercalls to avoid reuse for something else. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64: move function declaration, ia64_cpu_local_tick() from .c to .hIsaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | eliminate the function declaration ia64_cpu_local_tick() in process.c by defining in arch/ia64/include/asm/timex.h The same function will be used in a different .c file later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops: update native/inst.h to clobber predicate.Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | add CLOBBER_PRED() to clobber predicate register. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops: avoid name conflict of get_irq_chip().Isaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | | | The macro get_irq_chip() is defined in linux/include/linux/irq.h which cause name conflict with one in linux/arch/ia64/include/asm/paravirt.h. rename the latter to __get_irq_chip(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * ia64/pv_ops: fix paravirtualization of ivt.S with CONFIG_SMP=nIsaku Yamahata2008-10-17
| | | | | | | | | | | | | | | | When CONFIG_SMP=n, three instruction in ivt.S were missed to paravirtualize. paravirtualize them. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
* | Pull utrace into release branchTony Luck2008-10-17
|\ \
| * | [IA64] utrace Convert compat ptrace to use compat_sys_ptraceShaohua Li2008-10-06
| | | | | | | | | | | | | | | | | | | | | Convert IA64 32-bit ptrace to use compat_sys_ptrace. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | [IA64] utrace Enable trace hook configShaohua Li2008-10-06
| | | | | | | | | | | | | | | Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | [IA64] utrace use generic trace hookShaohua Li2008-10-06
| | | | | | | | | | | | | | | | | | | | | Make IA64 use generic trace hook in some paths. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | [IA64] utrace syscall.h support for ia64Shaohua Li2008-10-06
| | | | | | | | | | | | | | | | | | | | | Add asm/syscall.h for IA64. Utrace requires this. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
* | | Pull compat into release branchTony Luck2008-10-17
|\ \ \
| * | | [IA64] kill sys32_pipeChristoph Hellwig2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's just a duplicate of the generic sys_pipe that still lacks the recently added error handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | [IA64] remove sys32_pauseChristoph Hellwig2008-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's just a duplicate of the native sys_pause, which we can use after defining __ARCH_WANT_SYS_PAUSE. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
* | | | [IA64] Fix annoying IA64_TR_ALLOC_MAX message.Tony Luck2008-10-17
|/ / / | | | | | | | | | | | | | | | | | | | | | Madison cpus support 64 TR registers. Increase IA64_TR_ALLOC_MAX to 64. Also fixup the messages that get printed when this limit is exceeded. Repeating for every cpu is too noisy. Signed-off-by: Tony Luck <tony.luck@intel.com>
* | | Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6Linus Torvalds2008-10-17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (25 commits) staging: at76_usb wireless driver Staging: workaround build system bug Staging: Lindent sxg.c Staging: SLICOSS: Call pci_release_regions at driver exit Staging: SLICOSS: Fix remaining type names Staging: SLICOSS: Fix warnings due to static usage Staging: SLICOSS: lots of checkpatch fixes Staging: go7007 v4l fixes Staging: Fix gcc warnings in sxg Staging: add echo cancelation module Staging: add wlan-ng prism2 usb driver Staging: add w35und wifi driver Staging: USB/IP: add host driver Staging: USB/IP: add client driver Staging: USB/IP: add common functions needed Staging: add the go7007 video driver Staging: add me4000 pci data collection driver Staging: add me4000 firmware files Staging: add sxg network driver Staging: add Alacritech slicoss network driver ... Fixed up conflicts due to taint flags changes and MAINTAINERS cleanup in MAINTAINERS, include/linux/kernel.h and kernel/panic.c.
| * | | staging: at76_usb wireless driverPavel Roskin2008-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the at76_usb wireless driver to the staging tree while the other kernel driver (out of tree) gets rewritten to use the internal wireless stack. This patch comes directly from the Fedora kernel tree, with only the directory placement of the files changed. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | | Staging: workaround build system bugGreg Kroah-Hartman2008-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed as CONFIG_STAGING is set to y, yet there is no code in drivers/staging/ to build, so the build-in.o doesn't get created properly. Create a "dummy" module in drivers/staging called staging.c to work around this bug. Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | | Staging: Lindent sxg.cJ.R. Mauro2008-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lindent drivers/staging/sxg/sxg.c Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | | Staging: SLICOSS: Call pci_release_regions at driver exitLior Dotan2008-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slic_entry_probe() calls pci_request_regions() but there's no matching pci_release_regions() at driver's exit or if slic_entry_probe() fails. Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | | Staging: SLICOSS: Fix remaining type namesLior Dotan2008-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the remaining variables that still had '_t' as a postfix and also a couple of checkpatch warnings. Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * | | Staging: SLICOSS: Fix warnings due to static usageLior Dotan2008-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few warning messages that crept in due to conversion of all the functions to static Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>