]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
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 agoLinux 3.1 v3.1
Linus Torvalds [Mon, 24 Oct 2011 07:10:05 +0000 (09:10 +0200)]
Linux 3.1

13 years agortnetlink: Add missing manual netlink notification in dev_change_net_namespaces
Eric W. Biederman [Fri, 21 Oct 2011 06:24:20 +0000 (06:24 +0000)]
rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces

Renato Westphal noticed that since commit a2835763e130c343ace5320c20d33c281e7097b7
"rtnetlink: handle rtnl_link netlink notifications manually" was merged
we no longer send a netlink message when a networking device is moved
from one network namespace to another.

Fix this by adding the missing manual notification in dev_change_net_namespaces.

Since all network devices that are processed by dev_change_net_namspaces are
in the initialized state the complicated tests that guard the manual
rtmsg_ifinfo calls in rollback_registered and register_netdevice are
unnecessary and we can just perform a plain notification.

Cc: stable@kernel.org
Tested-by: Renato Westphal <renatowestphal@gmail.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agoipv4: fix ipsec forward performance regression
Yan, Zheng [Sat, 22 Oct 2011 21:58:20 +0000 (21:58 +0000)]
ipv4: fix ipsec forward performance regression

There is bug in commit 5e2b61f(ipv4: Remove flowi from struct rtable).
It makes xfrm4_fill_dst() modify wrong data structure.

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Reported-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agojme: fix irq storm after suspend/resume
Clemens Buchacher [Sat, 22 Oct 2011 02:56:20 +0000 (02:56 +0000)]
jme: fix irq storm after suspend/resume

If the device is down during suspend/resume, interrupts are enabled
without a registered interrupt handler, causing a storm of
unhandled interrupts until the IRQ is disabled because "nobody
cared".

Instead, check that the device is up before touching it in the
suspend/resume code.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=39112

Helped-by: Adrian Chadd <adrian@freebsd.org>
Helped-by: Mohammed Shafi <shafi.wireless@gmail.com>
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agoroute: fix ICMP redirect validation
Flavio Leitner [Mon, 24 Oct 2011 06:56:38 +0000 (02:56 -0400)]
route: fix ICMP redirect validation

The commit f39925dbde7788cfb96419c0f092b086aa325c0f
(ipv4: Cache learned redirect information in inetpeer.)
removed some ICMP packet validations which are required by
RFC 1122, section 3.2.2.2:
...
  A Redirect message SHOULD be silently discarded if the new
  gateway address it specifies is not on the same connected
  (sub-) net through which the Redirect arrived [INTRO:2,
  Appendix A], or if the source of the Redirect is not the
  current first-hop gateway for the specified destination (see
  Section 3.3.1).

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agonet: hold sock reference while processing tx timestamps
Richard Cochran [Fri, 21 Oct 2011 00:49:15 +0000 (00:49 +0000)]
net: hold sock reference while processing tx timestamps

The pair of functions,

 * skb_clone_tx_timestamp()
 * skb_complete_tx_timestamp()

were designed to allow timestamping in PHY devices. The first
function, called during the MAC driver's hard_xmit method, identifies
PTP protocol packets, clones them, and gives them to the PHY device
driver. The PHY driver may hold onto the packet and deliver it at a
later time using the second function, which adds the packet to the
socket's error queue.

As pointed out by Johannes, nothing prevents the socket from
disappearing while the cloned packet is sitting in the PHY driver
awaiting a timestamp. This patch fixes the issue by taking a reference
on the socket for each such packet. In addition, the comments
regarding the usage of these function are expanded to highlight the
rule that PHY drivers must use skb_complete_tx_timestamp() to release
the packet, in order to release the socket reference, too.

These functions first appeared in v2.6.36.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Cc: <stable@vger.kernel.org>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agoMerge git://git.infradead.org/iommu-2.6
Linus Torvalds [Mon, 24 Oct 2011 05:08:24 +0000 (07:08 +0200)]
Merge git://git.infradead.org/iommu-2.6

* git://git.infradead.org/iommu-2.6:
  intel-iommu: fix superpage support in pfn_to_dma_pte()
  intel-iommu: set iommu_superpage on VM domains to lowest common denominator
  intel-iommu: fix return value of iommu_unmap() API
  MAINTAINERS: Update VT-d entry for drivers/pci -> drivers/iommu move
  intel-iommu: Export a flag indicating that the IOMMU is used for iGFX.
  intel-iommu: Workaround IOTLB hang on Ironlake GPU
  intel-iommu: Fix AB-BA lockdep report

13 years agoMerge branch 'for-linus' of http://people.redhat.com/agk/git/linux-dm
Linus Torvalds [Mon, 24 Oct 2011 05:05:38 +0000 (07:05 +0200)]
Merge branch 'for-linus' of http://people.redhat.com/agk/git/linux-dm

* 'for-linus' of http://people.redhat.com/agk/git/linux-dm:
  dm kcopyd: fix job_pool leak

13 years agox86: Fix S4 regression
Takashi Iwai [Sun, 23 Oct 2011 21:19:12 +0000 (23:19 +0200)]
x86: Fix S4 regression

Commit 4b239f458 ("x86-64, mm: Put early page table high") causes a S4
regression since 2.6.39, namely the machine reboots occasionally at S4
resume.  It doesn't happen always, overall rate is about 1/20.  But,
like other bugs, once when this happens, it continues to happen.

This patch fixes the problem by essentially reverting the memory
assignment in the older way.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Yinghai Lu <yinghai.lu@oracle.com>
[ We'll hopefully find the real fix, but that's too late for 3.1 now ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agoMerge branch 'devel-stable' into for-next
Russell King [Sun, 23 Oct 2011 20:26:46 +0000 (21:26 +0100)]
Merge branch 'devel-stable' into for-next

Conflicts:
arch/arm/Kconfig
arch/arm/include/asm/localtimer.h
arch/arm/kernel/Makefile
arch/arm/mm/dma-mapping.c
arch/arm/mm/proc-v7.S
arch/arm/plat-omap/Kconfig

13 years agoMerge branch 'misc' into for-next
Russell King [Sun, 23 Oct 2011 20:26:22 +0000 (21:26 +0100)]
Merge branch 'misc' into for-next

Conflicts:
arch/arm/mach-integrator/integrator_ap.c

13 years agoARM: 7133/1: SMP: fix per cpu timer setup before the cpu is marked online
Thomas Gleinxer [Fri, 14 Oct 2011 11:44:41 +0000 (12:44 +0100)]
ARM: 7133/1: SMP: fix per cpu timer setup before the cpu is marked online

The problem is related to the early enabling of interrupts and the
per cpu timer setup before the cpu is marked online. This doesn't
need to be done in order to call calibrate_delay().

calibrate_delay() monitors jiffies, which are updated from the CPU
which is waiting for the new CPU to set the online bit.

So simply calibrate_delay() can be called on the new CPU just from
the interrupt disabled region and move the local timer setup after
stored the cpu data and before enabling interrupts.

This solves both the cpu_online vs. cpu_active problem and the
affinity setting of the per cpu timers.

Signed-off-by: Thomas Gleinxer <tglx@linutronix.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 years agodm kcopyd: fix job_pool leak
Alasdair G Kergon [Sun, 23 Oct 2011 19:55:17 +0000 (20:55 +0100)]
dm kcopyd: fix job_pool leak

Fix memory leak introduced by commit a6e50b409d3f9e0833e69c3c9cca822e8fa4adbb
(dm snapshot: skip reading origin when overwriting complete chunk).

When allocating a set of jobs from kc->job_pool, job->master_job must be
set (to point to itself) so that the mempool item gets freed when the
master_job completes.

master_job was introduced by commit c6ea41fbbe08f270a8edef99dc369faf809d1bd6
(dm kcopyd: preallocate sub jobs to avoid deadlock)

Reported-by: Michael Leun <ml@newton.leun.net>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
13 years agoMerge branch 'ppi-irq-core-for-rmk' of git://github.com/mzyngier/arm-platforms into...
Russell King [Sun, 23 Oct 2011 13:42:30 +0000 (14:42 +0100)]
Merge branch 'ppi-irq-core-for-rmk' of git://github.com/mzyngier/arm-platforms into devel-stable

13 years agoARM: gic, local timers: use the request_percpu_irq() interface
Marc Zyngier [Fri, 22 Jul 2011 11:52:37 +0000 (12:52 +0100)]
ARM: gic, local timers: use the request_percpu_irq() interface

This patch remove the hardcoded link between local timers and PPIs,
and convert the PPI users (TWD, MCT and MSM timers) to the new
*_percpu_irq interface. Also some collateral cleanup
(local_timer_ack() is gone, and the interrupt handler is strictly
private to each driver).

PPIs are now useable for more than just the local timers.

Additional testing by David Brown (msm8250 and msm8660) and
Shawn Guo (imx6q).

Cc: David Brown <davidb@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Brown <davidb@codeaurora.org>
Tested-by: David Brown <davidb@codeaurora.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
13 years agoARM: gic: consolidate PPI handling
Marc Zyngier [Wed, 20 Jul 2011 15:24:14 +0000 (16:24 +0100)]
ARM: gic: consolidate PPI handling

PPI handling is a bit of an odd beast. It uses its own low level
handling code and is hardwired to the local timers (hence lacking
a registration interface).

Instead, switch the low handling to the normal SPI handling code.
PPIs are handled by the handle_percpu_devid_irq flow.

This also allows the removal of some duplicated code.

Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: David Brown <davidb@codeaurora.org>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Brown <davidb@codeaurora.org>
Tested-by: David Brown <davidb@codeaurora.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
13 years agoMerge commit '32cffdd' into ppi-irq-core-for-rmk
Marc Zyngier [Sun, 23 Oct 2011 12:32:19 +0000 (13:32 +0100)]
Merge commit '32cffdd' into ppi-irq-core-for-rmk

13 years agoMerge branch 'samsung-fixes-4' of git://github.com/kgene/linux-samsung
Linus Torvalds [Sun, 23 Oct 2011 07:44:40 +0000 (10:44 +0300)]
Merge branch 'samsung-fixes-4' of git://github.com/kgene/linux-samsung

* 'samsung-fixes-4' of git://github.com/kgene/linux-samsung:
  ARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM
  ARM: S5P: fix offset calculation on gpio-interrupt

13 years agoMerge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groec...
Linus Torvalds [Sun, 23 Oct 2011 07:43:31 +0000 (10:43 +0300)]
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (w83627ehf) Fix negative 8-bit temperature values

13 years agoARM: 7129/1: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY
Tony Lindgren [Wed, 12 Oct 2011 00:02:50 +0000 (01:02 +0100)]
ARM: 7129/1: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY

This allows mapping external memory such as SRAM for use.

This is needed for some small chunks of code, such as reprogramming
SDRAM memory source clocks that can't be executed in SDRAM. Other
use cases include some PM related code.

Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 years agoARM: 7136/1: pl330: Fix a race condition
Javi Merino [Tue, 18 Oct 2011 10:50:07 +0000 (11:50 +0100)]
ARM: 7136/1: pl330: Fix a race condition

If two requests have been submitted and one of them is running, if you
call pl330_chan_ctrl(ch_id, PL330_OP_START), there's a window of time
between the spin_lock_irqsave() and the _state() check in which the
running transaction may finish.  In that case, we don't receive the
interrupt (because they are disabled), but _start() sees that the DMA
is stopped, so it starts it.  The problem is that it sends the
transaction that has just finished again, because pl330_update()
hasn't mark it as done yet.

This patch fixes this race condition by not calling _start() if the
DMA is already executing transactions.  When interrupts are reenabled,
pl330_update() will call _start().

Reference: <1317892206-3600-1-git-send-email-javi.merino@arm.com>

Signed-off-by: Javi Merino <javi.merino@arm.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 years agotg3: fix tigon3_dma_hwbug_workaround()
Eric Dumazet [Sat, 22 Oct 2011 07:29:53 +0000 (03:29 -0400)]
tg3: fix tigon3_dma_hwbug_workaround()

Ari got kernel panics using tg3 NIC, and bisected to 2669069aacc9 "tg3:
enable transmit time stamping."

This is because tigon3_dma_hwbug_workaround() might alloc a new skb and
free the original. We panic when skb_tx_timestamp() is called on freed
skb.

Reported-by: Ari Savolainen <ari.m.savolainen@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 years agoARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM
Domenico Andreoli [Fri, 21 Oct 2011 19:00:53 +0000 (04:00 +0900)]
ARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM

v2:
- register_syscore_ops(&s3c24xx_irq_syscore_ops) does not need to be
  conditionally compiled out, it is already optimized out on !CONFIG_PM
- fix also s3c2412 and s3c2416 affected by the same build issue

v1:
s3c2440.c fails to build if !CONFIG_PM because in such case
s3c2410_pm_syscore_ops is not defined. Same error should happen also
in s3c2410.c and s3c2442.c

Signed-off-by: Domenico Andreoli <cavokz@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'depends/irq/core' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 15:05:50 +0000 (17:05 +0200)]
Merge branch 'depends/irq/core' into for-next

13 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 15:05:35 +0000 (17:05 +0200)]
Merge branch 'next/soc' into for-next

13 years agoMerge branch 'imx/imx6q' into next/soc
Arnd Bergmann [Fri, 21 Oct 2011 15:04:51 +0000 (17:04 +0200)]
Merge branch 'imx/imx6q' into next/soc

Conflicts:
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/mach-mxs/include/mach/gpio.h
arch/arm/plat-mxc/include/mach/gpio.h

13 years agoMerge branches 'highbank/soc' and 'picoxcell/soc' into next/soc
Arnd Bergmann [Fri, 21 Oct 2011 15:04:21 +0000 (17:04 +0200)]
Merge branches 'highbank/soc' and 'picoxcell/soc' into next/soc

13 years agoARM: highbank: add suspend support
Rob Herring [Sun, 15 May 2011 17:44:17 +0000 (12:44 -0500)]
ARM: highbank: add suspend support

Add the platform suspend ops for highbank.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoARM: highbank: Add cpu hotplug support
Martin Bogomolni [Mon, 13 Jun 2011 21:50:33 +0000 (16:50 -0500)]
ARM: highbank: Add cpu hotplug support

This adds cpu hotplug for highbank. On highbank, a core is always reset and
boots up the same path as a cold boot.

Signed-off-by: Martin Bogomolni <martin@calxeda.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoARM: highbank: add SMP support
Rob Herring [Wed, 18 May 2011 02:02:49 +0000 (21:02 -0500)]
ARM: highbank: add SMP support

This enables SMP support on highbank processor.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoMAINTAINERS: add Calxeda Highbank ARM platform
Rob Herring [Wed, 22 Jun 2011 16:28:53 +0000 (11:28 -0500)]
MAINTAINERS: add Calxeda Highbank ARM platform

Adding maintainer for arch/arm/mach-highbank/

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoARM: add Highbank core platform support
Rob Herring [Tue, 7 Jun 2011 15:02:55 +0000 (10:02 -0500)]
ARM: add Highbank core platform support

This adds basic support for the Calxeda Highbank platform.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoARM: highbank: add devicetree source
Rob Herring [Wed, 10 Aug 2011 20:22:11 +0000 (15:22 -0500)]
ARM: highbank: add devicetree source

This adds the devicetree source and documentation for the Calxeda highbank
platform.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
13 years agoARM: gic: add OF based initialization
Arnd Bergmann [Fri, 21 Oct 2011 15:03:21 +0000 (17:03 +0200)]
ARM: gic: add OF based initialization

This adds ARM gic interrupt controller initialization using device tree
data.

The initialization function is intended to be called by of_irq_init
function like this:

const static struct of_device_id irq_match[] = {
{ .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
{}
};

static void __init init_irqs(void)
{
of_irq_init(irq_match);
}

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
13 years agoMerge branch 'next/dt' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:55:53 +0000 (16:55 +0200)]
Merge branch 'next/dt' into for-next

13 years agoMerge branch 'next/devel2' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:55:48 +0000 (16:55 +0200)]
Merge branch 'next/devel2' into for-next

13 years agoMerge branch 'next/cleanup2' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:55:31 +0000 (16:55 +0200)]
Merge branch 'next/cleanup2' into for-next

Conflicts:
drivers/gpio/Makefile

13 years agoMerge branch 'next/cross-platform' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:54:41 +0000 (16:54 +0200)]
Merge branch 'next/cross-platform' into for-next

Conflicts:
arch/arm/Kconfig.debug

13 years agoMerge branch 'next/board' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:54:01 +0000 (16:54 +0200)]
Merge branch 'next/board' into for-next

Conflicts:
arch/arm/mach-tegra/board-paz00.c

13 years agoMerge branch 'next/devel' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:53:08 +0000 (16:53 +0200)]
Merge branch 'next/devel' into for-next

Conflicts:
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-mx5/devices-imx53.h

13 years agoMerge branch 'depends/rmk/gpio' into next/devel
Arnd Bergmann [Fri, 21 Oct 2011 14:47:34 +0000 (16:47 +0200)]
Merge branch 'depends/rmk/gpio' into next/devel

Conflicts:
arch/arm/mach-mxs/include/mach/gpio.h
arch/arm/plat-mxc/include/mach/gpio.h

13 years agoMerge branch 'depends/rmk/gpio' into next/board
Arnd Bergmann [Fri, 21 Oct 2011 14:46:26 +0000 (16:46 +0200)]
Merge branch 'depends/rmk/gpio' into next/board

Conflicts:
arch/arm/mach-at91/board-usb-a9260.c
arch/arm/mach-at91/board-usb-a9263.c
arch/arm/mach-tegra/board-paz00.h
arch/arm/mach-tegra/board-seaboard.h

13 years agoMerge branch 'next/deletion' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:41:46 +0000 (16:41 +0200)]
Merge branch 'next/deletion' into for-next

Conflicts:
arch/arm/mach-nuc93x/mach-nuc932evb.c

13 years agoMerge branch 'next/dmtimer' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:41:35 +0000 (16:41 +0200)]
Merge branch 'next/dmtimer' into for-next

13 years agoMerge branch 'next/timer' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:41:24 +0000 (16:41 +0200)]
Merge branch 'next/timer' into for-next

Conflicts:
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/cpu.c

13 years agoMerge branch 'next/voltage' into for-next
Arnd Bergmann [Fri, 21 Oct 2011 14:41:09 +0000 (16:41 +0200)]
Merge branch 'next/voltage' into for-next