]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
13 years agoMerge remote-tracking branch 'pci/linux-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:20 +0000 (08:27 +1100)]
Merge remote-tracking branch 'pci/linux-next'

13 years agoMerge remote-tracking branch 'xfs/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:16 +0000 (08:27 +1100)]
Merge remote-tracking branch 'xfs/master'

13 years agoMerge remote-tracking branch 'v9fs/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:14 +0000 (08:27 +1100)]
Merge remote-tracking branch 'v9fs/for-next'

13 years agoMerge remote-tracking branch 'squashfs/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:12 +0000 (08:27 +1100)]
Merge remote-tracking branch 'squashfs/master'

13 years agoMerge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:09 +0000 (08:27 +1100)]
Merge remote-tracking branch 'ocfs2/linux-next'

13 years agoMerge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:07 +0000 (08:27 +1100)]
Merge remote-tracking branch 'nfsd/nfsd-next'

13 years agoMerge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:06 +0000 (08:27 +1100)]
Merge remote-tracking branch 'nfs/linux-next'

13 years agoMerge remote-tracking branch 'logfs/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:27:03 +0000 (08:27 +1100)]
Merge remote-tracking branch 'logfs/master'

13 years agoMerge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:59 +0000 (08:26 +1100)]
Merge remote-tracking branch 'gfs2/master'

13 years agoMerge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:56 +0000 (08:26 +1100)]
Merge remote-tracking branch 'ext4/dev'

13 years agoMerge remote-tracking branch 'ext3/for_next'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:54 +0000 (08:26 +1100)]
Merge remote-tracking branch 'ext3/for_next'

13 years agoMerge remote-tracking branch 'cifs/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:50 +0000 (08:26 +1100)]
Merge remote-tracking branch 'cifs/master'

13 years agoMerge remote-tracking branch 'ceph/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:47 +0000 (08:26 +1100)]
Merge remote-tracking branch 'ceph/for-next'

13 years agoMerge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:45 +0000 (08:26 +1100)]
Merge remote-tracking branch 'xtensa/master'

13 years agoMerge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:44 +0000 (08:26 +1100)]
Merge remote-tracking branch 'unicore32/unicore32'

13 years agoMerge remote-tracking branch 'tile/master'
Stephen Rothwell [Mon, 24 Oct 2011 21:26:42 +0000 (08:26 +1100)]
Merge remote-tracking branch 'tile/master'

Conflicts:
arch/tile/kernel/intvec_32.S
arch/tile/lib/atomic_asm_32.S

13 years agoMerge remote-tracking branch 'rmobile/rmobile-latest'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:21 +0000 (08:25 +1100)]
Merge remote-tracking branch 'rmobile/rmobile-latest'

13 years agoMerge remote-tracking branch 'sh/sh-latest'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:19 +0000 (08:25 +1100)]
Merge remote-tracking branch 'sh/sh-latest'

13 years agoMerge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:18 +0000 (08:25 +1100)]
Merge remote-tracking branch 's390/features'

13 years agoMerge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:11 +0000 (08:25 +1100)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'

13 years agoMerge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:09 +0000 (08:25 +1100)]
Merge remote-tracking branch 'powerpc/next'

13 years agoMerge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:07 +0000 (08:25 +1100)]
Merge remote-tracking branch 'parisc/for-next'

13 years agoMerge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:06 +0000 (08:25 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'

13 years agoMerge remote-tracking branch 'microblaze/next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:04 +0000 (08:25 +1100)]
Merge remote-tracking branch 'microblaze/next'

13 years agoMerge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:03 +0000 (08:25 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'

13 years agoMerge remote-tracking branch 'ia64/next'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:01 +0000 (08:25 +1100)]
Merge remote-tracking branch 'ia64/next'

13 years agoMerge branch 'quilt/hexagon'
Stephen Rothwell [Mon, 24 Oct 2011 21:25:00 +0000 (08:25 +1100)]
Merge branch 'quilt/hexagon'

13 years agoMerge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:51 +0000 (08:24 +1100)]
Merge remote-tracking branch 'cris/for-next'

13 years agoMerge remote-tracking branch 'c6x/for-linux-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:49 +0000 (08:24 +1100)]
Merge remote-tracking branch 'c6x/for-linux-next'

13 years agoMerge remote-tracking branch 'blackfin/for-linus'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:48 +0000 (08:24 +1100)]
Merge remote-tracking branch 'blackfin/for-linus'

13 years agoMerge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:46 +0000 (08:24 +1100)]
Merge remote-tracking branch 'tegra/for-next'

13 years agoMerge remote-tracking branch 's5p/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:45 +0000 (08:24 +1100)]
Merge remote-tracking branch 's5p/for-next'

13 years agoMerge remote-tracking branch 'i.MX/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 21:24:39 +0000 (08:24 +1100)]
Merge remote-tracking branch 'i.MX/for-next'

Conflicts:
arch/arm/mach-mx5/clock-mx51-mx53.c
arch/arm/mach-mx5/devices-imx53.h
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/include/mach/hardware.h

13 years agoMerge remote-tracking branch 'at91/at91-next'
Stephen Rothwell [Mon, 24 Oct 2011 20:56:04 +0000 (07:56 +1100)]
Merge remote-tracking branch 'at91/at91-next'

13 years agoMerge remote-tracking branch 'arm-soc/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 20:55:59 +0000 (07:55 +1100)]
Merge remote-tracking branch 'arm-soc/for-next'

Conflicts:
arch/arm/Kconfig
arch/arm/common/gic.c
arch/arm/mach-exynos4/Kconfig
arch/arm/mach-exynos4/include/mach/entry-macro.S
arch/arm/mach-exynos4/mct.c
arch/arm/mach-msm/board-msm8x60.c
arch/arm/mach-nuc93x/Makefile.boot
arch/arm/mach-s3c2416/s3c2416.c
arch/arm/mach-u300/Makefile.boot
arch/arm/plat-mxc/include/mach/memory.h

13 years agoMerge remote-tracking branch 'arm-lpae/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 20:13:56 +0000 (07:13 +1100)]
Merge remote-tracking branch 'arm-lpae/for-next'

Conflicts:
arch/arm/include/asm/page.h
arch/arm/include/asm/pgtable-hwdef.h
arch/arm/include/asm/pgtable.h
arch/arm/kernel/head.S
arch/arm/kernel/sleep.S
arch/arm/mm/dma-mapping.c
arch/arm/mm/mmu.c

13 years agoMerge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Mon, 24 Oct 2011 20:13:53 +0000 (07:13 +1100)]
Merge remote-tracking branch 'arm/for-next'

13 years agoMerge remote-tracking branch 'ide/master'
Stephen Rothwell [Mon, 24 Oct 2011 20:13:48 +0000 (07:13 +1100)]
Merge remote-tracking branch 'ide/master'

13 years agoMerge remote-tracking branch 'net/master'
Stephen Rothwell [Mon, 24 Oct 2011 20:13:41 +0000 (07:13 +1100)]
Merge remote-tracking branch 'net/master'

13 years agoAdd extra arch overrides to asm-generic/checksum.h
Richard Kuo [Wed, 19 Oct 2011 03:48:27 +0000 (22:48 -0500)]
Add extra arch overrides to asm-generic/checksum.h

There are plausible reasons for architectures to provide their own
versions of csum_partial_copy_nocheck and csum_tcpudp_magic.
By protecting these, the architecture can still re-use the
asm-generic checksum.h, instead of copying it.

Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add self to MAINTAINERS
Richard Kuo [Wed, 19 Oct 2011 03:48:06 +0000 (22:48 -0500)]
Hexagon: Add self to MAINTAINERS

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add basic stacktrace functionality for Hexagon architecture.
Richard Kuo [Wed, 19 Oct 2011 03:47:46 +0000 (22:47 -0500)]
Hexagon: Add basic stacktrace functionality for Hexagon architecture.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add configuration and makefiles for the Hexagon architecture.
Richard Kuo [Wed, 19 Oct 2011 03:47:26 +0000 (22:47 -0500)]
Hexagon: Add configuration and makefiles for the Hexagon architecture.

Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Comet platform support
Richard Kuo [Wed, 19 Oct 2011 03:46:25 +0000 (22:46 -0500)]
Hexagon: Comet platform support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: kgdb support files
Richard Kuo [Wed, 19 Oct 2011 03:45:40 +0000 (22:45 -0500)]
Hexagon: kgdb support files

Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add page-fault support.
Richard Kuo [Wed, 19 Oct 2011 03:45:15 +0000 (22:45 -0500)]
Hexagon: Add page-fault support.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add page table header files & etc.
Richard Kuo [Wed, 19 Oct 2011 03:44:53 +0000 (22:44 -0500)]
Hexagon: Add page table header files & etc.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add ioremap support
Richard Kuo [Wed, 19 Oct 2011 03:44:33 +0000 (22:44 -0500)]
Hexagon: Add ioremap support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Provide DMA implementation
Richard Kuo [Wed, 19 Oct 2011 03:44:09 +0000 (22:44 -0500)]
Hexagon: Provide DMA implementation

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Implement basic TLB management routines for Hexagon.
Richard Kuo [Wed, 19 Oct 2011 03:43:46 +0000 (22:43 -0500)]
Hexagon: Implement basic TLB management routines for Hexagon.

Mostly all stubs, as the TLB is managed by the hypervisor.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Implement basic cache-flush support
Richard Kuo [Wed, 19 Oct 2011 03:43:20 +0000 (22:43 -0500)]
Hexagon: Implement basic cache-flush support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Provide basic implementation and/or stubs for I/O routines.
Richard Kuo [Wed, 19 Oct 2011 03:41:36 +0000 (22:41 -0500)]
Hexagon: Provide basic implementation and/or stubs for I/O routines.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add user access functions
Richard Kuo [Wed, 19 Oct 2011 03:41:06 +0000 (22:41 -0500)]
Hexagon: Add user access functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add locking types and functions
Richard Kuo [Wed, 19 Oct 2011 03:39:41 +0000 (22:39 -0500)]
Hexagon: Add locking types and functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add SMP support
Richard Kuo [Wed, 19 Oct 2011 03:39:11 +0000 (22:39 -0500)]
Hexagon: Add SMP support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoHexagon: Provide basic debugging and system trap support.
Richard Kuo [Wed, 19 Oct 2011 03:38:36 +0000 (22:38 -0500)]
Hexagon: Provide basic debugging and system trap support.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add ptrace support
Richard Kuo [Wed, 19 Oct 2011 03:37:14 +0000 (22:37 -0500)]
Hexagon: Add ptrace support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add time and timer functions
Richard Kuo [Wed, 19 Oct 2011 03:36:40 +0000 (22:36 -0500)]
Hexagon: Add time and timer functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add interrupts
Richard Kuo [Wed, 19 Oct 2011 03:35:23 +0000 (22:35 -0500)]
Hexagon: Add interrupts

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add startup code
Richard Kuo [Wed, 19 Oct 2011 03:23:53 +0000 (22:23 -0500)]
Hexagon: Add startup code

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add init_task and process functions
Richard Kuo [Wed, 19 Oct 2011 03:21:47 +0000 (22:21 -0500)]
Hexagon: Add init_task and process functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add signal functions
Richard Kuo [Wed, 19 Oct 2011 03:21:23 +0000 (22:21 -0500)]
Hexagon: Add signal functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Support dynamic module loading.
Richard Kuo [Wed, 19 Oct 2011 03:19:24 +0000 (22:19 -0500)]
Hexagon: Support dynamic module loading.

Modules should be compiled as ordinary .o's; shared objects are not
supported.

Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Export ksyms defined in assembly files.
Richard Kuo [Wed, 19 Oct 2011 03:17:36 +0000 (22:17 -0500)]
Hexagon: Export ksyms defined in assembly files.

Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add hypervisor interface
Richard Kuo [Wed, 19 Oct 2011 03:14:28 +0000 (22:14 -0500)]
Hexagon: Add hypervisor interface

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add memcpy and memset accelerated functions
Richard Kuo [Wed, 19 Oct 2011 03:13:05 +0000 (22:13 -0500)]
Hexagon: Add memcpy and memset accelerated functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add checksum functions
Richard Kuo [Wed, 19 Oct 2011 03:12:25 +0000 (22:12 -0500)]
Hexagon: Add checksum functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add delay functions
Richard Kuo [Wed, 19 Oct 2011 03:11:28 +0000 (22:11 -0500)]
Hexagon: Add delay functions

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add threadinfo
Richard Kuo [Wed, 19 Oct 2011 02:43:29 +0000 (21:43 -0500)]
Hexagon: Add threadinfo

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add processor and system headers
Richard Kuo [Wed, 19 Oct 2011 02:31:51 +0000 (21:31 -0500)]
Hexagon: Add processor and system headers

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add syscalls
Richard Kuo [Wed, 19 Oct 2011 02:31:17 +0000 (21:31 -0500)]
Hexagon: Add syscalls

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add atomic ops support
Richard Kuo [Wed, 19 Oct 2011 02:29:34 +0000 (21:29 -0500)]
Hexagon: Add atomic ops support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add bitops support
Richard Kuo [Wed, 19 Oct 2011 02:23:25 +0000 (21:23 -0500)]
Hexagon: Add bitops support

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Core arch-specific header files
Richard Kuo [Wed, 19 Oct 2011 02:22:12 +0000 (21:22 -0500)]
Hexagon: Core arch-specific header files

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agoHexagon: Add generic headers
Richard Kuo [Wed, 19 Oct 2011 02:17:19 +0000 (21:17 -0500)]
Hexagon: Add generic headers

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
13 years agom68k: Finally remove leftover markers sections
Kirill Tkhai [Sat, 3 Sep 2011 23:18:37 +0000 (03:18 +0400)]
m68k: Finally remove leftover markers sections

Markers have removed already twice:

1: fc5377668c3d808e1d53c4aee152c836f55c3490
2: eb878b3bc0349344dbf70c51bf01fc734d5cf2d3

But a little bit is still here.

Signed-off-by: Tkhai Kirill <tkhai@yandex.ru>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
13 years agom68k/mac: Fix mac_irq_pending() for PSC MACE and SCC
Finn Thain [Mon, 18 Jul 2011 09:44:17 +0000 (19:44 +1000)]
m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC

Add missing return statement. The docs say that the level 4 PSC IRQs
relate to MACE DMA and SCC. Since those drivers don't call
mac_irq_pending() this patch has no affect. But it should be fixed all the
same, since it can be useful for MACE debugging.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
13 years agom68k/mac: Fix compiler warning in via_read_time()
Finn Thain [Sun, 17 Jul 2011 14:06:10 +0000 (00:06 +1000)]
m68k/mac: Fix compiler warning in via_read_time()

The algorithm described in the comment compares two reads from the RTC but
the code actually reads once and compares the result to an uninitialized
value. This causes the compiler to warn, "last_result maybe used
uninitialized". Make the code match the comment, fix the warning and
perhaps improve reliability. Tested on a Quadra 700.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
13 years agozorro: Fix four checkpatch warnings
Jim Rotmalm [Sun, 17 Jul 2011 21:12:30 +0000 (23:12 +0200)]
zorro: Fix four checkpatch warnings

zorro-driver.c: fix four checkpatch warnings of:
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable

I had a cat. The cat was mine.
His name was Zorro. Amiga is fine.

Signed-off-by: Jim Rotmalm <jim.rotmalm@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
13 years agoCIFS: Make cifs_push_locks send as many locks at once as possible
Pavel Shilovsky [Sat, 22 Oct 2011 11:33:32 +0000 (15:33 +0400)]
CIFS: Make cifs_push_locks send as many locks at once as possible

that reduces a traffic and increases a performance.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
13 years agoCIFS: Send as many mandatory unlock ranges at once as possible
Pavel Shilovsky [Sat, 22 Oct 2011 11:33:31 +0000 (15:33 +0400)]
CIFS: Send as many mandatory unlock ranges at once as possible

that reduces a traffic and increases a performance.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
13 years agoCIFS: Implement caching mechanism for posix brlocks
Pavel Shilovsky [Sat, 22 Oct 2011 11:33:30 +0000 (15:33 +0400)]
CIFS: Implement caching mechanism for posix brlocks

to handle all lock requests on the client in an exclusive oplock case.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
13 years agoCIFS: Implement caching mechanism for mandatory brlocks
Pavel Shilovsky [Sat, 22 Oct 2011 11:33:29 +0000 (15:33 +0400)]
CIFS: Implement caching mechanism for mandatory brlocks

If we have an oplock and negotiate mandatory locking style we handle
all brlock requests on the client.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
13 years ago9p: fix 9p.txt to advertise msize instead of maxdata
Nicolae Mogoreanu [Mon, 3 Oct 2011 20:03:53 +0000 (20:03 +0000)]
9p: fix 9p.txt to advertise msize instead of maxdata

9p.txt advertises that maxdata mount option should be used to specify
msize, in the code though we use msize option and completely ignore
maxdata if passed

Signed-off-by: Nicolae Mogoreanu <mogoreanu@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agonet/9p: Convert net/9p protocol dumps to tracepoints
Aneesh Kumar K.V [Sat, 6 Aug 2011 19:16:59 +0000 (00:46 +0530)]
net/9p: Convert net/9p protocol dumps to tracepoints

This helps in more control over debugging.
root@qemu-img-64:~# ls /pass/123
ls: cannot access /pass/123: No such file or directory
root@qemu-img-64:~# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
#           TASK-PID    CPU#    TIMESTAMP  FUNCTION
#              | |       |          |         |
              ls-1536  [001]    70.928584: 9p_protocol_dump: clnt 18446612132784021504 P9_TWALK(tag = 1)
000: 16 00 00 00 6e 01 00 01 00 00 00 02 00 00 00 01
010: 00 03 00 31 32 33 00 00 00 ff ff ff ff 00 00 00

              ls-1536  [001]    70.928587: <stack trace>
 => trace_9p_protocol_dump
 => p9pdu_finalize
 => p9_client_rpc
 => p9_client_walk
 => v9fs_vfs_lookup
 => d_alloc_and_lookup
 => walk_component
 => path_lookupat
              ls-1536  [000]    70.929696: 9p_protocol_dump: clnt 18446612132784021504 P9_RLERROR(tag = 1)
000: 0b 00 00 00 07 01 00 02 00 00 00 4e 03 00 02 00
010: 00 00 00 00 03 00 02 00 00 00 00 00 ff 43 00 00

              ls-1536  [000]    70.929697: <stack trace>
 => trace_9p_protocol_dump
 => p9_client_rpc
 => p9_client_walk
 => v9fs_vfs_lookup
 => d_alloc_and_lookup
 => walk_component
 => path_lookupat
 => do_path_lookup

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agofs/9p: change an int to unsigned int
Dan Carpenter [Fri, 26 Aug 2011 16:57:40 +0000 (19:57 +0300)]
fs/9p: change an int to unsigned int

Without this msize=4294967295 will result in a crash

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agofs/9p: Cleanup option parsing in 9p
Aneesh Kumar K.V [Tue, 30 Aug 2011 06:49:34 +0000 (12:19 +0530)]
fs/9p: Cleanup option parsing in 9p

Instead of saying all integer argument option should be listed in the beginning
move integer parsing to each option type.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years ago9p: move dereference after NULL check
Dan Carpenter [Fri, 26 Aug 2011 16:55:59 +0000 (19:55 +0300)]
9p: move dereference after NULL check

We dereferenced "req->tc" and "req->rc" before checking for NULL.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agofs/9p: inode file operation is properly initialized init_special_inode
Aneesh Kumar K.V [Tue, 30 Aug 2011 06:01:21 +0000 (11:31 +0530)]
fs/9p: inode file operation is properly initialized init_special_inode

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agofs/9p: Update zero-copy implementation in 9p
Aneesh Kumar K.V [Tue, 16 Aug 2011 05:20:10 +0000 (10:50 +0530)]
fs/9p: Update zero-copy implementation in 9p

* remove lot of update to different data structure
* add a seperate callback for zero copy request.
* above makes non zero copy code path simpler
* remove conditionalizing TREAD/TREADDIR/TWRITE in the zero copy path
* Fix the dotu p9_check_errors with zero copy. Add sufficient doc around
* Add support for both in and output buffers in zero copy callback
* pin and unpin pages in the same context
* use helpers instead of defining page offset and rest of page ourself
* Fix mem leak in p9_check_errors
* Remove 'E' and 'F' in p9pdu_vwritef

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
13 years agolibceph: fix double-free of page vector
Sage Weil [Mon, 24 Oct 2011 16:05:47 +0000 (09:05 -0700)]
libceph: fix double-free of page vector

ceph_release_page_vector() kfrees the vector; we shouldn't do it here too.

Reported-by: Jeff Wu <cpwu@tnsoft.com.cn>
Signed-off-by: Sage Weil <sage@newdream.net>
13 years ago[S390] add missing __tlb_flush_global() for !CONFIG_SMP
Jan Glauber [Mon, 24 Oct 2011 09:48:07 +0000 (11:48 +0200)]
[S390] add missing __tlb_flush_global() for !CONFIG_SMP

Fix this compiler error for !CONFIG_SMP:

  CC      arch/s390/mm/pgtable.o
arch/s390/mm/pgtable.c: In function ‘gmap_flush_tlb’:
arch/s390/mm/pgtable.c:202:3: error: implicit declaration of function ‘__tlb_flush_global’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse symbol shadow warning
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:06 +0000 (11:48 +0200)]
[S390] sparse: fix sparse symbol shadow warning

to_kvmdev and dev_to_virtio both use container_of. Avoid to nest the
two macros to quiet the following sparse warning:

drivers/s390/kvm/kvm_virtio.c:337:20: warning: symbol '__mptr' shadows an earlier one
drivers/s390/kvm/kvm_virtio.c:337:20: originally declared here

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse NULL pointer warnings
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:05 +0000 (11:48 +0200)]
[S390] sparse: fix sparse NULL pointer warnings

Fix two NULL pointer warnings in the dasd driver:

drivers/s390/block/dasd_eckd.c:2353:20: warning: Using plain integer as NULL pointer
drivers/s390/block/dasd_eckd.c:2415:44: warning: Using plain integer as NULL pointer

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse warnings with __user pointers
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:04 +0000 (11:48 +0200)]
[S390] sparse: fix sparse warnings with __user pointers

Use __force to quiet sparse warnings about user address space.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse warnings in math-emu
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:03 +0000 (11:48 +0200)]
[S390] sparse: fix sparse warnings in math-emu

Fix three sparse warnings in math-emu / sysinfo:

arch/s390/kernel/sysinfo.c:448:17: error: return expression in void function
arch/s390/kernel/sysinfo.c:445:25: warning: shift too big (32) for type unsigned int
arch/s390/kernel/sysinfo.c:445:25: warning: shift too big (32) for type unsigned int

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse warnings about missing prototypes
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:02 +0000 (11:48 +0200)]
[S390] sparse: fix sparse warnings about missing prototypes

Add prototypes and includes for functions used in different modules.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse ANSI-C warnings
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:01 +0000 (11:48 +0200)]
[S390] sparse: fix sparse ANSI-C warnings

Fix prototype of some functions in arch/s390/oprofile to avoid non-ANSI
warnings from sparse.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix sparse static warnings
Martin Schwidefsky [Mon, 24 Oct 2011 09:48:00 +0000 (11:48 +0200)]
[S390] sparse: fix sparse static warnings

Make functions and data static to avoid sparse warnings.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 years ago[S390] sparse: fix access past end of array warnings
Martin Schwidefsky [Mon, 24 Oct 2011 09:47:59 +0000 (11:47 +0200)]
[S390] sparse: fix access past end of array warnings

Remove unnecessary code to avoid false positives from sparse, e.g.

arch/s390/kernel/compat_signal.c:221:61: warning: invalid access past the end of 'set32' (8 8)

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>